/* Visionneuse / lecteur média intégré */

body.cftc-lb-open {
	overflow: hidden;
}

.cftc-lb {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 36px 20px 24px;
}

.cftc-lb[hidden] {
	display: none !important;
}

.cftc-lb-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(12, 21, 41, 0.86);
	backdrop-filter: blur(8px);
}

.cftc-lb-dialog {
	position: relative;
	z-index: 1;
	width: auto;
	max-width: min(1120px, 100%);
	max-height: min(92vh, 900px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.cftc-lb-frame {
	position: relative;
	display: inline-flex;
	max-width: 100%;
}

.cftc-lb--youtube .cftc-lb-frame,
.cftc-lb--vimeo .cftc-lb-frame {
	width: min(960px, 100%);
	display: flex;
}

button.cftc-lb-close,
.cftc-lb-close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px !important;
	height: 40px !important;
	min-width: 40px !important;
	min-height: 40px !important;
	max-width: 40px !important;
	max-height: 40px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	aspect-ratio: 1 / 1;
	box-sizing: border-box;
	-webkit-appearance: none;
	appearance: none;
	background: #0f3f93 !important;
	color: #fff !important;
	line-height: 1 !important;
	font-size: 0 !important;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(15, 63, 147, 0.35);
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cftc-lb-close svg {
	display: block;
	width: 16px;
	height: 16px;
	pointer-events: none;
}

button.cftc-lb-close:hover,
button.cftc-lb-close:focus,
button.cftc-lb-close:active,
.cftc-lb-close:hover,
.cftc-lb-close:focus,
.cftc-lb-close:active {
	width: 40px !important;
	height: 40px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #20b29e !important;
	color: #fff !important;
	transform: scale(1.05);
	box-shadow: 0 8px 22px rgba(32, 178, 158, 0.4);
}

.cftc-lb-stage {
	width: auto;
	max-width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 120px;
}

.cftc-lb--youtube .cftc-lb-stage,
.cftc-lb--vimeo .cftc-lb-stage {
	width: 100%;
}

.cftc-lb-stage img,
.cftc-lb-stage video {
	max-width: 100%;
	max-height: min(82vh, 820px);
	width: auto;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
	background: #0c1529;
	display: block;
}

.cftc-lb-stage iframe {
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	min-height: 240px;
	border: 0;
	border-radius: 8px;
	background: #000;
	display: block;
}

.cftc-lb-stage audio {
	width: min(100%, 480px);
}

.cftc-lb-audio-cover {
	width: min(280px, 70vw);
	height: auto;
	border-radius: 8px;
	margin-bottom: 16px;
}

.cftc-lb--audio .cftc-lb-stage {
	flex-direction: column;
}

.cftc-lb--audio .cftc-lb-frame {
	flex-direction: column;
	align-items: center;
	min-width: min(320px, 100%);
}

.cftc-lb-caption {
	margin: 0;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-align: center;
	max-width: 40em;
}

.cftc-lb-trigger {
	cursor: zoom-in;
}

.rp-drawer-av img {
	pointer-events: none;
}

.rp-drawer-av[data-cftc-lb] {
	cursor: zoom-in;
}

.rp-drawer-av[data-cftc-lb]:hover,
.rp-drawer-av[data-cftc-lb]:focus {
	border-color: rgba(255, 255, 255, 0.85);
	outline: none;
	box-shadow: 0 0 0 2px rgba(32, 178, 158, 0.55);
}

.sng-hero-cover.cftc-lb-trigger,
.acc-hero-cover.cftc-lb-trigger {
	position: relative;
	cursor: zoom-in;
}

.sng-hero-cover.cftc-lb-trigger::after,
.acc-hero-cover.cftc-lb-trigger::after {
	content: '';
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: rgba(12, 21, 41, 0.62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3M11 8v6M8 11h6'/%3E%3C/svg%3E") center no-repeat;
	pointer-events: none;
}

.cftc-hero-zoom {
	display: none !important;
}

button.svc-media-play,
a.svc-media-play {
	font: inherit;
	-webkit-appearance: none;
	appearance: none;
	width: 56px !important;
	height: 56px !important;
	min-width: 56px !important;
	min-height: 56px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.94) !important;
}

button.svc-media-play:hover,
button.svc-media-play:focus,
button.svc-media-play:active,
a.svc-media-play:hover,
a.svc-media-play:focus,
a.svc-media-play:active,
.svc-media-play:hover,
.svc-media-play:focus,
.svc-media-play:active {
	width: 56px !important;
	height: 56px !important;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #0f3f93 !important;
	color: #fff !important;
	transform: translate(-50%, -50%) scale(1.05);
	box-shadow: 0 8px 24px rgba(15, 63, 147, 0.4);
}

.svc-media-play:hover .svc-media-play-icon,
.svc-media-play:focus .svc-media-play-icon {
	border-color: transparent transparent transparent #fff;
}
