/* Vidéo de présentation de l'accueil : texte à gauche, lecteur à droite (l'un sous l'autre sur téléphone).
   La vidéo est servie par le site ; rien n'est chargé avant le clic sur lecture (preload="none"). */

.mbc-video-bloc {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 32px 56px;
	align-items: center;
}
@media (max-width: 900px) {
	.mbc-video-bloc { grid-template-columns: minmax(0, 1fr); }
}

.mbc-video {
	position: relative;
	margin: 0;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	overflow: hidden;
	background: #111214;
	box-shadow: 0 20px 50px rgba(25, 27, 31, .2);
}
.mbc-video video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #111214;
}

/* Bouton de lecture et durée, posés sur l'image d'attente tant que la vidéo n'a pas démarré. */
.mbc-video__lire {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 76px;
	height: 76px;
	border: 0;
	border-radius: 50%;
	background: var(--mbc-accent);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease;
}
.mbc-video__lire:hover { background: var(--mbc-accent-dark); transform: translate(-50%, -50%) scale(1.05); }
.mbc-video__lire:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mbc-video__lire svg { width: 30px; height: 30px; margin-left: 4px; }
.mbc-video__duree {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 4px 8px;
	border-radius: 6px;
	background: rgba(17, 18, 20, .85);
	color: #fff;
	font-family: var(--mbc-mono);
	font-size: 13px;
	line-height: 1.3;
	pointer-events: none;
}
.mbc-video--lue .mbc-video__lire,
.mbc-video--lue .mbc-video__duree { display: none; }

/* Lien « Voir la vidéo » du haut de page. */
.mbc-lien-video {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 4px;
	color: inherit;
	font-weight: 600;
	font-size: 16px;
	text-decoration: none;
}
.mbc-lien-video:hover { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.mbc-lien-video__rond {
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 0 1px var(--mbc-line-2);
}
.mbc-lien-video__rond svg { width: 14px; height: 14px; margin-left: 2px; }

@media print {
	.mbc-video__lire, .mbc-video__duree, .mbc-lien-video { display: none; }
}
