/* =====================================================
   Floratek – Logo Carousel  |  Beekom Studio  |  v1.0.0
   ===================================================== */

/* ── Wrapper ── */
.flc-wrapper {
    width: 300px;
    overflow: hidden;
}

/* ── Viewport : fenêtre visible avec masque fondu ── */
.flc-viewport {
    overflow: hidden;
    width: 100%;
    /* hauteur calculée par JS */
}

/* ── Piste de défilement ── */
.flc-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* animation injectée par JS */
    will-change: transform;
}

/* Animation vers le haut */
@keyframes flc-scroll-up {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

/* Animation vers le bas */
@keyframes flc-scroll-down {
    0%   { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* ── Carte logo ── */
.flc-card {
    flex-shrink: 0;
    width: 100%;
    height: 140px;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.flc-card img,
.flc-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.flc-card img {
    width: auto;
    max-width: 100%;
    max-height: 80px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

.flc-card a:hover img {
    opacity: 0.75;
}

/* ── Filtres logo ── */
.flc-filter-bw .flc-card img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.flc-filter-bw-opacity .flc-card img {
    filter: grayscale(100%);
    opacity: var(--flc-opacity, 0.5);
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.flc-filter-hover.flc-filter-bw .flc-card:hover img,
.flc-filter-hover.flc-filter-bw-opacity .flc-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ── Pause au survol ── */
.flc-wrapper.flc-pause-hover:hover .flc-track {
    animation-play-state: paused;
}

/* ── Éditeur Elementor ── */
.elementor-editor-active .flc-track {
    animation: none !important;
}

.elementor-editor-active .flc-viewport {
    mask-image: none !important;
    -webkit-mask-image: none !important;
}
