/**
 * Page "Pistache" (/pistache/) — lecteur vidéo aléatoire pour les enfants.
 * Réutilise la palette/typo de theme.css (--lmp-*, --font-heading/--font-body)
 * et les mêmes conventions visuelles que .pistache-band (bandeau mauve,
 * coeurs décoratifs) plutôt que d'inventer un nouveau style.
 */

.pistache-videos {
	padding: 3rem 1.5rem 5rem;
}

.pistache-videos-intro {
	max-width: 640px;
	margin: 0 auto 2.5rem;
	text-align: center;
}

.pistache-videos-intro .eyebrow {
	display: block;
	margin-bottom: 0.5rem;
}

.pistache-videos-intro h1 {
	font-size: 42px;
	margin-bottom: 0.75rem;
}

.pistache-videos-intro p {
	color: var(--lmp-text-light);
	font-size: 1.05rem;
}

.pistache-player-wrap {
	max-width: 760px;
	margin: 0 auto;
	position: relative;
}

.pistache-player-card {
	position: relative;
	background: var(--lmp-brun);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 16px 30px -18px rgba(61, 43, 31, 0.45);
	aspect-ratio: 16 / 9;
}

.pistache-player-card video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background: var(--lmp-brun);
}

.pistache-play-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(61, 43, 31, 0.35);
	border: none;
	padding: 0;
	cursor: pointer;
	color: var(--lmp-blanc);
}

.pistache-play-overlay[hidden] {
	display: none;
}

.pistache-play-overlay .pistache-play-circle {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--lmp-lavande-aa);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.5);
	transition: transform 0.15s ease, background-color 0.15s ease;
}

.pistache-play-overlay:hover .pistache-play-circle {
	background: var(--lmp-brun);
	transform: scale(1.06);
}

.pistache-play-overlay svg {
	width: 34px;
	height: 34px;
	margin-left: 5px;
	fill: var(--lmp-blanc);
}

.pistache-player-controls {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.75rem;
}

.pistache-player-controls .btn svg {
	width: 20px;
	height: 20px;
}

.pistache-videos-count {
	font-size: 0.9rem;
	color: var(--lmp-text-light);
}

@media (max-width: 600px) {
	.pistache-videos-intro h1 {
		font-size: 30px;
	}

	.pistache-player-wrap {
		max-width: 100%;
	}

	.pistache-play-overlay .pistache-play-circle {
		width: 68px;
		height: 68px;
	}

	.pistache-play-overlay svg {
		width: 26px;
		height: 26px;
	}
}
