/**
 * Page cas client Colvert — grille captures + textes
 *
 * @package Emotta
 */

.emotta-colvert-stack {
	margin: 0;
	padding: 0;
}

.emotta-colvert-stack--pairs {
	max-width: 72rem;
	margin-left: auto;
	margin-right: auto;
}

.emotta-colvert-card {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	min-width: 0;
}

.emotta-colvert-card__shots {
	display: grid;
	gap: 1.25rem;
}

@media (min-width: 768px) {
	.emotta-colvert-card__shots {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem 1.5rem;
		align-items: start;
	}
}

.emotta-colvert-card__shot {
	min-width: 0;
}

.emotta-colvert-card__shot-label {
	margin: 0 0 0.5rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(148, 163, 184, 0.95);
}

html[data-emotta-theme='light'] .emotta-colvert-card__shot-label {
	color: rgb(100 116 139);
}

.emotta-colvert-card__media {
	margin: 0;
}

/* Clic pour agrandir */
.emotta-colvert-card__img-btn {
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	border: none;
	background: none;
	cursor: zoom-in;
	border-radius: inherit;
	line-height: 0;
	text-align: left;
	-webkit-tap-highlight-color: transparent;
}

.emotta-colvert-card__img-btn:focus-visible {
	outline: 2px solid rgba(167, 139, 250, 0.95);
	outline-offset: 3px;
}

html[data-emotta-theme='light'] .emotta-colvert-card__img-btn:focus-visible {
	outline-color: rgb(91 33 182);
}

.emotta-colvert-card__img-btn .emotta-colvert-card__img {
	vertical-align: middle;
}

/* Lightbox (<dialog>) */
.emotta-colvert-lightbox {
	width: 100vw;
	max-width: 100vw;
	height: 100vh;
	max-height: 100vh;
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-sizing: border-box;
}

.emotta-colvert-lightbox::backdrop {
	background: rgba(2, 6, 12, 0.92);
	backdrop-filter: blur(4px);
}

.emotta-colvert-lightbox__close {
	position: fixed;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 9999px;
	background: rgba(15, 23, 42, 0.75);
	color: #f8fafc;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	transition:
		background 0.2s ease,
		border-color 0.2s ease;
}

.emotta-colvert-lightbox__close:hover {
	background: rgba(30, 41, 59, 0.9);
	border-color: rgba(255, 255, 255, 0.35);
}

.emotta-colvert-lightbox__close:focus-visible {
	outline: 2px solid rgba(167, 139, 250, 0.95);
	outline-offset: 2px;
}

.emotta-colvert-lightbox__frame {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	width: 100%;
	padding: 4rem 1rem 2rem;
	box-sizing: border-box;
}

.emotta-colvert-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 5rem);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 0.35rem;
	box-shadow: 0 24px 64px -12px rgba(0, 0, 0, 0.55);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.emotta-colvert-card__media .emotta-demo-preview-shell__inner {
	border-radius: 1.2rem;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: rgb(10 10 15);
}

.emotta-colvert-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.emotta-colvert-card__placeholder {
	min-height: 12rem;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		145deg,
		rgba(124, 58, 237, 0.22) 0%,
		rgba(59, 130, 246, 0.15) 45%,
		rgba(244, 114, 182, 0.12) 100%
	);
}

html[data-emotta-theme='light'] .emotta-colvert-card__media .emotta-demo-preview-shell__inner {
	background: #f1f5f9;
}

html[data-emotta-theme='light'] .emotta-colvert-card__placeholder {
	background: linear-gradient(145deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.08));
}

.emotta-colvert-card__body {
	min-width: 0;
}

.emotta-colvert-card__kind {
	margin: 0 0 0.35rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(167, 139, 250, 0.95);
}

html[data-emotta-theme='light'] .emotta-colvert-card__kind {
	color: rgb(91 33 182);
}

.emotta-colvert-card__title {
	margin: 0 0 0.65rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
	letter-spacing: -0.02em;
}

html[data-emotta-theme='light'] .emotta-colvert-card__title {
	color: #0f172a;
}

.emotta-colvert-card__desc p {
	margin: 0 0 0.65rem;
}

.emotta-colvert-card__desc p:last-child {
	margin-bottom: 0;
}

.emotta-colvert-card__action {
	margin: 1rem 0 0;
}

.emotta-colvert-card__link {
	display: inline-flex;
	align-items: center;
	font-size: 0.875rem;
	font-weight: 600;
	color: #c4b5fd;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s ease;
}

.emotta-colvert-card__link:hover {
	color: #e9d5ff;
}

html[data-emotta-theme='light'] .emotta-colvert-card__link {
	color: rgb(91 33 182);
}

html[data-emotta-theme='light'] .emotta-colvert-card__link:hover {
	color: rgb(76 29 149);
}

/* Contenu éditorial WordPress (intro) */
.emotta-colvert-page-intro a {
	color: #c4b5fd;
	text-decoration: underline;
}

html[data-emotta-theme='light'] .emotta-colvert-page-intro {
	color: rgb(51 65 85);
}

html[data-emotta-theme='light'] .emotta-colvert-page-intro a {
	color: rgb(91 33 182);
}
