/* ===========================================
    BEFORE/AFTER - VERSION 4 - VERTICAL
    =========================================== */
.ba-section-4 {
    padding: 100px 5%;
    background: var(--white);
}
.ba-section-4 .container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.ba-section-4 .content .eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}
.ba-section-4 .content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--black);
    margin-bottom: 20px;
}
.ba-section-4 .content p {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 30px;
}
.ba-section-4 .features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ba-section-4 .feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: color-mix(in srgb, var(--gray-light) 40%, var(--white));
}
.ba-section-4 .feature svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--secondary);
}
.ba-section-4 .feature span {
    font-size: 0.95rem;
    color: var(--gray-dark);
}
.ba-slider-vertical {
    position: relative;
    overflow: hidden;
    cursor: ns-resize;
    user-select: none;
}
.ba-slider-vertical img {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
}
.ba-slider-vertical .ba-before {
    width: 100%;
    height: 50%;
}
.ba-slider-vertical .ba-before img {
    width: 100%;
    height: auto;
    min-height: 100%;
}
.ba-slider-vertical .ba-handle {
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    transform: translateY(-50%);
}
.ba-slider-vertical .ba-label--before {
    top: 20px;
    left: 20px;
}
.ba-slider-vertical .ba-label--after {
    top: auto;
    bottom: 20px;
    right: 20px;
}
.ba-slider-vertical .ba-arrows {
    flex-direction: column;
    gap: 6px;
}
.ba-slider-vertical .ba-arrows svg {
    transform: rotate(90deg);
}
@media (max-width: 1024px) {
    .ba-section-4 .container { grid-template-columns: 1fr; gap: 40px; }
}
/* ── TITRES : couleur de survol explicite (CLAUDE.md §4.13) ──────────
   Le main.css des themes stylise les balises Hn, hover compris. Chaque
   titre reprend ici sa couleur de base pour neutraliser cet heritage. */
.ba-section-4 .content h2:hover {
  color: var(--black);
}
