/* ══════════════════════════════════════
   LAYOUT DEUX COLONNES
   ══════════════════════════════════════ */
.home-body {
    display: grid;
    grid-template-columns: 75fr 25fr;
    min-height: calc(100vh - 260px);
    align-items: start;
}
.col-films {
    border-right: 1px solid rgba(255,255,255,.06);
    min-width: 0;
}
.col-salles {
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.1) transparent;
}
.col-salles::-webkit-scrollbar { width: 3px; }
.col-salles::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); }

/* ══════════════════════════════════════
   DIAPORAMA SALLES
   ══════════════════════════════════════ */
.diapo-wrapper {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    background: #0a0a0a;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.diapo-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
}
.diapo-slide.actif { opacity: 1; }
.diapo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.diapo-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0,0,0,.75) 0%,
        rgba(0,0,0,.2) 40%,
        transparent 70%);
    pointer-events: none;
}
.diapo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .9rem 1rem .8rem;
    z-index: 2;
    pointer-events: none;
}
.diapo-caption-nom {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.2;
}
.diapo-caption-ville {
    font-family: 'DM Sans', sans-serif;
    font-size: .68rem;
    font-weight: 300;
    color: rgba(255,255,255,.65);
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: .15rem;
}
.diapo-caption-ae {
    display: inline-block;
    background: var(--or);
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .15rem .45rem;
    border-radius: 1px;
    margin-top: .35rem;
}
.diapo-dots {
    position: absolute;
    bottom: .55rem;
    right: .8rem;
    display: flex;
    gap: .3rem;
    z-index: 3;
}
.diapo-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    transition: background .3s;
    cursor: pointer;
}
.diapo-dot.actif { background: var(--or); }

/* En-tête colonne salles */
.col-salles-header {
    padding: .85rem 1.1rem .6rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.col-salles-titre {
    font-family: 'DM Sans', sans-serif;
    font-size: .68rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--or);
}
.col-salles-lien {
    font-family: 'DM Sans', sans-serif;
    font-size: .65rem;
    font-weight: 300;
    color: var(--gris);
    text-decoration: none;
    letter-spacing: .04em;
    transition: color .2s;
}
.col-salles-lien:hover { color: var(--blanc); }

/* ══════════════════════════════════════
   FLUX CNC
   ══════════════════════════════════════ */
.flux-cnc {
    padding: .8rem 1.1rem;
    border-top: 1px solid rgba(255,255,255,.06);
}
.flux-cnc-titre {
    font-family: 'DM Sans', sans-serif;
    font-size: .62rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gris);
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.flux-cnc-titre::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--or);
    opacity: .7;
    flex-shrink: 0;
}
.flux-item {
    padding: .65rem 0;
    border-bottom: 1px solid rgba(255,255,255,.04);
    text-decoration: none;
    display: block;
    transition: opacity .2s;
}
.flux-item:last-child { border-bottom: none; }
.flux-item:hover { opacity: .75; }
.flux-item-date {
    font-family: 'DM Sans', sans-serif;
    font-size: .6rem;
    font-weight: 300;
    color: var(--gris);
    letter-spacing: .04em;
    margin-bottom: .2rem;
}
.flux-item-titre {
    font-family: 'DM Sans', sans-serif;
    font-size: .73rem;
    font-weight: 300;
    color: var(--blanc);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.flux-loading {
    font-family: 'DM Sans', sans-serif;
    font-size: .72rem;
    color: var(--gris);
    font-weight: 300;
    padding: .5rem 0;
    font-style: italic;
}
.flux-source {
    margin-top: .7rem;
    font-family: 'DM Sans', sans-serif;
    font-size: .58rem;
    color: rgba(255,255,255,.2);
    letter-spacing: .06em;
    text-align: right;
}
.flux-source a { color: rgba(255,255,255,.3); text-decoration: none; }
.flux-source a:hover { color: var(--or); }

.nav-actif { color: var(--or) !important; }

/* ── Slider "Sorties cette semaine" ──────────────────────────── */
/* Régler ici le nombre de vignettes visibles simultanément      */
:root { --slider-vignettes: 7; }   /* ← AJUSTER ICI : 5, 6, 7, 8 */

.films-section-slider { padding-bottom: 0; padding-left: 0; padding-right: 0; }
.films-section-slider .section-header { padding-left: 2.5rem; padding-right: 2.5rem; }

/* Wrapper externe : flex row — bouton | slider | bouton */
.films-slider-wrap {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0 2.5rem;
}

/* Conteneur du scroll */
.films-slider-outer {
    flex: 1;
    overflow: hidden;
    padding: 1.2rem 0 1.4rem;
}

.films-slider {
    display: flex;
    gap: 0;
    transition: transform .38s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.slider-card {
    flex: 0 0 calc(100% / var(--slider-vignettes));
    min-width: 0;
    border: 0.5px solid var(--noir);
}

/* Boutons chevrons — layout flex, pas de position absolute */
.slider-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #fff;
    width: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: opacity .2s;
    opacity: .7;
    align-self: center;
}
.slider-btn svg {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 0 4px rgba(0,0,0,.9)) drop-shadow(0 2px 6px rgba(0,0,0,.7));
}
.slider-btn:hover { opacity: 1; }
.slider-btn:disabled { opacity: .15; cursor: default; }

.section-lien-tous {
    font-family: 'DM Sans', sans-serif;
    font-size: .65rem;
    font-weight: 300;
    color: var(--gris);
    text-decoration: none;
    letter-spacing: .06em;
    margin-left: auto;
    transition: color .2s;
}
.section-lien-tous:hover { color: var(--or); }