/* ── Product Showcase ─────────────────────────────────────────── */

.bwa-product-showcase {
    /* background-color géré entièrement par GSAP (pas de transition CSS) */
}

/* Grid: 1 col mobile → 2 col desktop */
.bwa-product-showcase__grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (max-width: 764px){
    .bwa-product-showcase{
        overflow: hidden;
    }
}

@media (min-width: 1024px) {
    .bwa-product-showcase__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── Left: panels ──────────────────────────────────────────────── */

.bwa-product-showcase__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 750px;
    overflow: hidden;
    padding: 64px 20px;
    text-align: center;
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    .bwa-product-showcase__panel {
        height: 100vh;
        padding: 64px;
    }
}

/* Fade-in animation (JS adds .is-visible) */
.bwa-product-showcase__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.bwa-product-showcase__content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Title */
.bwa-product-showcase__title {
    font-family: var(--font-heading, serif);
    color: #fff;
    font-size: clamp(2.5rem, 3vw, 4rem);
    letter-spacing: 0;
    font-weight: 500;
    margin-bottom: 32px;
    line-height: 1.1;
}

.bwa-product-showcase__title sup {
    font-size: 0.35em;
    vertical-align: super;
    line-height: 0;
}

/* Sample image — 200 × 200 rounded */
.bwa-product-showcase__sample {
    width: 200px;
    height: 200px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.bwa-product-showcase__sample img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: block;
}

.bwa-product-showcase__sample:hover img {
    transform: scale(1.05);
}

/* Description */
.bwa-product-showcase__desc {
    color: rgba(255, 255, 255);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 400px;
    margin-bottom: 40px;
    font-weight: 600;
}

.bwa-product-showcase__subtitle {
    max-width: 420px;
    margin: -12px 0 40px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bwa-product-showcase__applications {
    display: grid;
    gap: 12px;
    width: min(100%, 440px);
    margin: 0 0 44px;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.84);
    font-size: 1rem;
    line-height: 1.55;
    text-align: left;
}

.bwa-product-showcase__applications ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bwa-product-showcase__applications p {
    margin: 0;
}

.bwa-product-showcase__applications li {
    position: relative;
    padding-left: 22px;
}

.bwa-product-showcase__applications li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.48);
}

.bwa-product-showcase--domaines .bwa-product-showcase__panel {
    min-height: 720px;
    height: auto;
}

.bwa-product-showcase--domaines .bwa-product-showcase__title {
    margin-bottom: 22px;
    font-weight: 700;
}

/* CTA button (pill) */
.bwa-product-showcase__btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.2s ease,
                transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bwa-product-showcase__btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* ── Right: sticky slab images ─────────────────────────────────── */

.bwa-product-showcase__right {
    display: none;
}

@media (min-width: 1024px) {
    .bwa-product-showcase--domaines .bwa-product-showcase__panel {
        min-height: 850px;
    }

    .bwa-product-showcase__right {
        display: block;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
        align-self: start; /* ensures sticky works inside grid */
    }
}

.bwa-product-showcase__slabs {
    position: relative;
    width: 100%;
    height: 100%;
}

.bwa-product-showcase__slab {
    position: absolute;
    inset: 0;
}

.bwa-product-showcase__slab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── CTA Simulateur ─────────────────────────────────────────────── */

.bwa-product-showcase__simulator {
    display: block;
    padding: 40px 32px;
    text-align: center;
    background-color: #176fa8;
    text-decoration: none;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .bwa-product-showcase__simulator {
        padding: 56px 32px;
    }
}

.bwa-product-showcase__simulator-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bwa-product-showcase__simulator-title {
    font-family: var(--font-heading, serif);
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.02em;
    font-weight: 600;
    margin: 0;
    line-height: 1.1;
}

.bwa-product-showcase__simulator-arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: #fff;
    transition: transform 0.3s ease;
}

.bwa-product-showcase__simulator:hover .bwa-product-showcase__simulator-arrow {
    transform: translateX(12px);
}

.bwa-product-showcase__simulator-sub {
    color: #fff;
    font-size: 1.125rem;
    margin-top: 16px;
    font-weight: 300;
    margin-bottom: 0;
}
