/* Section Émissions */		

.emissions-container {
	position: relative;
	font-family: 'canalplus';
	margin-bottom: 100px;
}

.emissions-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	transition: transform 0.3s ease;
}

.emission-card {
	flex: 0 0 calc(33% - 20px);
	transition: opacity 0.3s ease;
}

.emission-content {
	position: relative;
}

.emission-image {
	width:100%;
	height:auto;
	display:block;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
	cursor: pointer;
}

.emission-info {
	padding: 15px;
	cursor: pointer;
}

.emission-title {
	font-size: 1.2rem;
	margin-bottom: 2px;
	color: white;
}

.emission-presenter {
	color: #999;
	font-size: 1rem;
	font-weight: 400;
}

/* Section Films */
.films-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-bottom: 30px;
}

.film-card {
	flex: 0 0 calc(25% - 20px);
	position: relative;
	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 (max-width: 768px) {
	
	body {
		background-position: center bottom;
	}
	
	.emissions-list {
		gap: 10px;
	}
	.emission-card {
		flex: 0 0 calc(50% - 10px);
	}
	.emission-info {
		padding: 5px;
	}
	.emission-title {
		font-size: 0.9rem;
	}
	.emission-presenter {
		font-size: 0.6rem;
	}
	.films-grid {
		gap: 10px;
	}
	.film-card {
		flex: 0 0 calc(50% - 10px);
	}
	
}

@media (min-width: 768px) {
	.films-grid {
		gap: 20px;
	}
	.film-card {
		flex: 0 0 calc(33% - 20px);
	}
}

@media (min-width: 1024px) {
	.films-grid {
		gap: 20px;
	}
	.film-card {
		flex: 0 0 calc(25% - 20px);
	}
}
/* Fiche film autonome (accès direct à /film/<url>/) */
.fiche-film {
	display: flex;
	gap: 40px;
	align-items: flex-start;
	font-family: 'canalplus';
	color: white;
	margin-bottom: 40px;
}

.fiche-poster {
	flex: 0 0 300px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.fiche-poster img {
	width: 100%;
	height: auto;
	display: block;
}

.fiche-infos {
	flex: 1;
}

.fiche-film h1,
.trop-tard h1 {
	font-family: 'canalplus';
	font-weight: 700;
	font-style: italic;
	font-size: 2.2rem;
	color: white;
	margin-bottom: 20px;
}

.fiche-a-venir,
.fiche-fiction {
	display: inline-block;
	font-size: 0.8rem;
	padding: 3px 6px;
	margin-bottom: 15px;
	text-transform: uppercase;
	color: white;
}

.fiche-a-venir {
	background-color: #ff0050;
}

.fiche-fiction {
	background-color: #62BFF9;
}

.fiche-meta {
	color: #999;
	line-height: 1.5;
	margin-bottom: 20px;
}

.fiche-synopsis {
	font-size: 1.1rem;
	line-height: 1.6;
	margin-bottom: 30px;
}

.fiche-abo {
	display: inline-block;
	padding: 10px 30px;
	background: #62BFF9;
	color: #091E68;
	border-radius: 25px;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.fiche-abo:hover {
	background: #0056b3;
	color: white;
}

.fiche-video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
	overflow: hidden;
	background: black;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
	margin-bottom: 30px;
}

.fiche-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: none;
}

.trop-tard {
	font-family: 'canalplus';
	color: white;
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.trop-tard p {
	font-size: 1.2rem;
	line-height: 1.6;
	margin-bottom: 15px;
}

@media (max-width: 768px) {
	.fiche-film {
		flex-direction: column;
		gap: 20px;
	}
	.fiche-poster {
		flex: none;
		width: 60%;
		margin: 0 auto;
	}
	.fiche-film h1,
	.trop-tard h1 {
		font-size: 1.5rem;
	}
}

/* Titre et introduction de la page Programmes */
.titre-section {
	font-family: 'canalplus';
	font-weight: 700;
	font-size: 1.5em;
	color: white;
	margin-bottom: 30px;
}

.intro-programmes {
	font-family: 'canalplus';
	color: #ccc;
	line-height: 1.5;
	max-width: 900px;
	margin-bottom: 30px;
}

.intro-programmes a,
.fil-ariane a {
	color: #62BFF9;
}

/* Fiche autonome : fil d'Ariane, disponibilité, titre bande-annonce */
.fil-ariane {
	font-family: 'canalplus';
	font-size: 0.9rem;
	color: #999;
	margin-bottom: 30px;
}

.fiche-dispo {
	color: #ccc;
	margin-bottom: 25px;
}

.fiche-ba {
	font-size: 1.3rem;
}

/* Bloc « Disponible dès maintenant sur ICI TOU.TV EXTRA » */
.dispo-toutv {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex-wrap: wrap;
	font-family: 'canalplus';
	font-weight: 700;
	font-size: 1.1rem;
	color: white;
	text-decoration: none;
	margin-bottom: 20px;
}

.dispo-toutv img {
	width: 200px;
	height: auto;
	display: block;
	border: none;
	transition: transform 0.2s ease;
}

.dispo-toutv:hover img {
	transform: scale(1.05);
}
