/* Section Émissions */
.emissions {
    font-family: 'canalplus';
    font-weight: 700;
    position: relative;
    margin-bottom: 40px;
}

.emissions-container {
    position: relative;
    overflow: hidden;
}

.emission-content {
    position: relative;
}

.emission-image {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.emission-info {
    padding: 15px;
    cursor: pointer;
}

.emission-title {
    font-size: 1rem;
    margin-bottom: 2px;
    color: white;
}

.emission-presenter {
    color: #999;
    font-size: 0.875rem;
    font-weight: 400;
}

/* Section Films */
.films-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
	justify-content: center;
	justify-self: center; /* centre horizontalement */
	align-self: center;   /* centre verticalement */
    gap: 20px;
    margin-bottom: 30px;
}

.film-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    cursor: pointer;
}

.film-card img {
    width: 100%;
    height: auto;
    display: block;
}

.film-overlay {
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-family: 'canalplus';
    color: white;
}

.film-overlay .film-titre {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.film-overlay .film-genre {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
}

.film-overlay .film-acteurs {
    position: relative;
    display: block;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.film-card:hover .film-overlay {
    opacity: 1;
}

@media (min-width: 768px) {
    .films-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .films-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}