/* ==========================================================================
   CARROUSEL SHOWCASE & DYNAMIC HERO & SPACING - LA CONGOLAISE DE L'AUTOMOBILE
   ========================================================================== */

/* ── Hero 100vh dynamique ────────────────────────────────────────────────── */
.lca-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #060709;
}

.lca-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    display: none;
}

.lca-hero-image-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    display: none;
}

.lca-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(6,7,9,0.3) 0%, rgba(6,7,9,0.85) 100%),
                linear-gradient(180deg, rgba(6,7,9,0.6) 0%, rgba(6,7,9,0.15) 45%, rgba(6,7,9,0.95) 100%);
    z-index: 2;
}

.lca-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    padding: 0 24px;
    max-width: 960px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.lca-hero-badge {
    display: inline-block;
    color: #B30000;
    font-family: "Darknet", "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.lca-hero-title {
    font-family: "Darknet", "Montserrat", sans-serif;
    font-size: clamp(38px, 6.5vw, 78px);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 6px 25px rgba(0,0,0,0.8);
}

.lca-hero-tagline {
    font-size: clamp(14px, 1.8vw, 19px);
    color: #d1d5db;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.lca-hero-badges-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 38px;
}

.lca-hero-pill {
    background: rgba(22, 24, 30, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 9px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}

.lca-hero-scroll-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 2.5px;
    font-weight: 700;
    opacity: 0.85;
    transition: all 0.3s ease;
    animation: lcaBounce 2.2s infinite;
}

.lca-hero-scroll-btn:hover {
    opacity: 1;
    color: #B30000;
    transform: translateY(4px);
}

@keyframes lcaBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ── Réduction des espaces excessifs entre sections ───────────────────────── */
.elementor-19718 .elementor-section {
    padding-top: 45px !important;
    padding-bottom: 45px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.elementor-19718 .elementor-section > .elementor-container {
    min-height: auto !important;
}

.elementor-19718 .elementor-widget-spacer {
    display: none !important;
}

.elementor-element-6ac0249 {
    margin-top: 0 !important;
}

.elementor-element-59864a07 {
    margin-top: 0 !important;
}

/* ── Section Showcase Galerie (Plein écran, Zéro décalage à droite) ──────── */
.lca-showcase-section {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    margin: 40px 0 0 0 !important;
    background: #060709;
    color: #ffffff;
    padding: 60px 0 0 0;
    overflow-x: hidden;
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
}

/* ── Header centré ───────────────────────────────────────────────────────── */
.lca-showcase-header {
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 36px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.lca-showcase-badge {
    display: inline-block;
    color: #B30000;
    font-family: "Darknet", "Montserrat", sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 700;
}

.lca-showcase-title {
    font-family: "Darknet", "Montserrat", sans-serif;
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.lca-showcase-subtitle {
    font-size: 14px;
    color: #9aa1ad;
    font-weight: 300;
    line-height: 1.65;
    margin: 0;
}

/* ── Carousel Outer (100% width, centré, sans padding droit qui déborde) ─── */
.lca-carousel-outer {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    z-index: 5;
}

/* ── Contrôles ───────────────────────────────────────────────────────────── */
.lca-carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    width: 100%;
}

.lca-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(18, 20, 26, 0.9);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.lca-carousel-btn:hover {
    background: #B30000;
    border-color: #B30000;
    transform: scale(1.08);
}

/* ── Track Wrapper (100% de la largeur) ─────────────────────────────────── */
.lca-carousel-track-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 16px 0 24px 0;
    display: flex;
    justify-content: flex-start;
}

/* ── Track (translation gérée par JS pour centrage absolu) ───────────────── */
.lca-carousel-track {
    display: flex;
    align-items: center;
    gap: 18px;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    cursor: grab;
    user-select: none;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.lca-carousel-track:active {
    cursor: grabbing;
}

/* ── Card vignette ───────────────────────────────────────────────────────── */
.lca-showcase-card {
    flex: 0 0 250px;
    height: 160px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #14161b;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.lca-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.lca-showcase-card:hover img {
    transform: scale(1.07);
}

.lca-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px 14px;
    pointer-events: none;
}

.lca-card-tag {
    font-size: 10px;
    text-transform: uppercase;
    color: #B30000;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 3px;
}

.lca-card-title {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card active */
.lca-showcase-card.is-active {
    border-color: #B30000;
    box-shadow: 0 0 24px rgba(179, 0, 0, 0.55), 0 12px 32px rgba(0,0,0,0.7);
    transform: translateY(-6px) scale(1.04);
}

.lca-showcase-card.is-active .lca-card-title {
    color: #ffffff;
    font-weight: 700;
}

/* ── Dots ────────────────────────────────────────────────────────────────── */
.lca-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
    width: 100%;
}

.lca-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.lca-carousel-dot.is-active {
    width: 28px;
    border-radius: 5px;
    background: #B30000;
}

/* ── Image fullscreen — Pleine largeur sans texte superposé ──────────────── */
.lca-fullscreen-stage {
    position: relative;
    width: 100%;
    min-height: 520px;
    height: 72vh;
    max-height: 840px;
    overflow: hidden;
    background: #060709;
    margin-top: 24px;
}

.lca-fullscreen-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity 0.5s ease-in-out, transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    transform: scale(1);
}

.lca-fullscreen-bg.is-changing {
    opacity: 0;
    transform: scale(1.03);
}

.lca-fullscreen-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 7, 9, 0.15) 0%,
        rgba(0, 0, 0, 0.25) 100%
    );
    pointer-events: none;
}

/* ── Coins arrondis triangles (cards avant) ──────────────────────────────── */
.lca-rounded-triangle,
[data-triangle-card],
.elementor-element-f2bb446,
.elementor-element-02f332b,
.elementor-element-4c50e9a1,
.elementor-element-6658dd32 {
    border-radius: 14px !important;
    overflow: hidden !important;
    transition: transform 0.35s ease;
}

.lca-rounded-triangle:hover {
    transform: scale(1.02);
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .lca-showcase-section {
        padding: 50px 0 0 0;
    }
    .lca-showcase-card {
        flex: 0 0 220px;
        height: 140px;
    }
    .lca-fullscreen-stage {
        min-height: 460px;
        height: 62vh;
    }
}

@media (max-width: 768px) {
    .lca-showcase-section {
        padding: 40px 0 0 0;
    }
    .lca-showcase-title {
        font-size: 22px;
    }
    .lca-showcase-card {
        flex: 0 0 180px;
        height: 118px;
        border-radius: 10px;
    }
    .lca-fullscreen-stage {
        min-height: 380px;
        height: 52vh;
    }
    .lca-hero-title {
        font-size: 38px;
    }
    .lca-hero-tagline {
        font-size: 13px;
        letter-spacing: 2px;
    }
    .lca-hero-pill {
        padding: 7px 14px;
        font-size: 12px;
    }
}
