/* ===========================================
    BEFORE/AFTER - VERSION 3 - GRILLE MULTIPLE
    =========================================== */
.ba-section-3 {
    padding: 100px 5%;
    background: var(--primary);
}
.ba-section-3 .header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}
.ba-section-3 .eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}
.ba-section-3 h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--white);
}
.ba-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.ba-grid-item {
    position: relative;
}
.ba-grid-item .ba-slider {
    max-width: none;
}
.ba-grid-item .ba-handle::before {
    width: 46px;
    height: 46px;
}
.ba-grid-item .ba-handle::after {
    width: 32px;
    height: 32px;
}
.ba-grid-item .ba-arrows svg {
    width: 10px;
    height: 10px;
}
.ba-grid-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: var(--white);
}
.ba-grid-caption h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--white);
}
.ba-grid-caption span {
    font-size: 0.8rem;
    color: var(--white);
}
@media (max-width: 768px) {
    .ba-grid { grid-template-columns: 1fr; }
}
/* ── 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-grid-caption h4:hover,
.ba-section-3 h2:hover {
  color: var(--white);
}
