.pc-9aa5dd17-wrapper {
    position: relative;
    width: 100%;
    min-height: 600px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-color: #000;
}
.pc-9aa5dd17-backgrounds { position: absolute; inset: 0; z-index: 1; }
.pc-9aa5dd17-bg {
    position: absolute;
    inset: -2px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 3s ease-in-out;
    transform: scale(1.05);
    z-index: 1;
}
.pc-9aa5dd17-bg.is-active { opacity: 1; transform: scale(1); z-index: 2; }
.pc-9aa5dd17-cards-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: row;
    gap: 2px;
    padding: 20px;
    margin-top: auto;
}
.pc-9aa5dd17-card {
    position: relative;
    flex: 1;
    padding: 30px 20px 66px 20px; /* bas réservé pour la flèche */
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.pc-9aa5dd17-card:hover { background: rgba(255, 255, 255, 0.95); }
.pc-9aa5dd17-card.has-glass:not(.is-active) {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}
.pc-9aa5dd17-card.has-glass:not(.is-active):hover { background: rgba(255, 255, 255, 0.25); }
.pc-9aa5dd17-card.is-active {
    background: #ffffff;
    flex: 1.2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.pc-9aa5dd17-progress-bar {
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background-color: rgba(255, 255, 255, 0.2); overflow: hidden;
}
.pc-9aa5dd17-progress-bar-fill { height: 100%; width: 0%; background-color: var(--e-global-color-accent, #ffffff); }
.pc-9aa5dd17-card:not(.is-active) .pc-9aa5dd17-progress-bar-fill { width: 0% !important; transition: none !important; }
.pc-9aa5dd17-badge-wrapper { display: flex; width: 100%; margin-bottom: 12px; }
.pc-9aa5dd17-badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px;
    background-color: var(--e-global-color-accent, #333); color: #fff;
    font-size: 14px; font-weight: 600; transition: background-color 0.4s ease, color 0.4s ease;
}
.pc-9aa5dd17-card.is-active .pc-9aa5dd17-badge { background-color: #000; color: #fff; }
.pc-9aa5dd17-title { margin: 0 0 8px 0; font-size: 18px; line-height: 1.3; color: var(--e-global-color-primary, #000); }
.pc-9aa5dd17-card:not(.is-active) .pc-9aa5dd17-title { opacity: 0.9; }
.pc-9aa5dd17-card.has-glass:not(.is-active) .pc-9aa5dd17-title { color: #fff; }
.pc-9aa5dd17-desc { margin: 0; font-size: 15px; line-height: 1.4; color: #333; }
.pc-9aa5dd17-card:not(.is-active) .pc-9aa5dd17-desc { opacity: 0.8; }
.pc-9aa5dd17-card.has-glass:not(.is-active) .pc-9aa5dd17-desc { color: #fff; }

/* Icône flèche (lien) */
.pc-9aa5dd17-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 6;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #111111;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, background-color 0.25s ease;
}
.pc-9aa5dd17-arrow:hover { transform: translateX(3px); }
.pc-9aa5dd17-arrow i { font-size: 18px; line-height: 1; }
.pc-9aa5dd17-arrow svg { width: 18px; height: 18px; }
.pc-text-dir-rtl .pc-9aa5dd17-arrow { right: auto; left: 16px; }
.pc-text-dir-rtl .pc-9aa5dd17-arrow:hover { transform: translateX(-3px); }

/* Card Layout Direction */
.pc-dir-rtl .pc-9aa5dd17-cards-container { flex-direction: row-reverse; }
body.rtl .pc-9aa5dd17-cards-container { flex-direction: row-reverse; }
body.rtl .pc-dir-ltr .pc-9aa5dd17-cards-container { flex-direction: row; }
/* Text Direction */
.pc-text-dir-rtl .pc-9aa5dd17-card { text-align: right; direction: rtl; }
.pc-text-dir-ltr .pc-9aa5dd17-card { text-align: left; direction: ltr; }
/* Badge/Pill Alignment */
.pc-pill-align-rtl .pc-9aa5dd17-badge-wrapper { justify-content: flex-end; }
.pc-pill-align-ltr .pc-9aa5dd17-badge-wrapper { justify-content: flex-start; }
/* Progress Bar Direction */
.pc-progress-dir-rtl .pc-9aa5dd17-progress-bar-fill { float: right; }
.pc-progress-dir-ltr .pc-9aa5dd17-progress-bar-fill { float: left; }

/* Mobile Layout */
@media (max-width: 767px) {
    .pc-mobile-layout-stacked .pc-9aa5dd17-cards-container { flex-direction: column; }
    .pc-mobile-layout-stacked .pc-9aa5dd17-card.is-active { transform: translateY(-5px); }
    .pc-dir-rtl.pc-mobile-layout-stacked .pc-9aa5dd17-card.is-active,
    body.rtl.pc-mobile-layout-stacked .pc-9aa5dd17-card.is-active { transform: translateY(-5px); }
    .pc-mobile-layout-slider .pc-9aa5dd17-cards-container {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
    }
    .pc-mobile-layout-slider .pc-9aa5dd17-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
        margin-right: 10px;
    }
    .pc-dir-rtl.pc-mobile-layout-slider .pc-9aa5dd17-card,
    body.rtl.pc-mobile-layout-slider .pc-9aa5dd17-card { margin-right: 0; margin-left: 10px; }
    .pc-mobile-layout-slider .pc-9aa5dd17-cards-container::-webkit-scrollbar { display: none; }
    .pc-mobile-layout-slider .pc-9aa5dd17-cards-container { -ms-overflow-style: none; scrollbar-width: none; }
}
