/* Vénètes – Mise en avant (encart événement) */

.vmea {
	--vmea-bg: #1f1d1a;
	--vmea-text: #f3efe7;
	--vmea-muted: #e6dfd2;
	--vmea-accent: #b3a584;
	--vmea-border: #5a5246;
	--vmea-btn-bg: #e6dfd2;
	--vmea-btn-text: #1f1d1a;
	--vmea-btn-bg-hover: #ffffff;

	box-sizing: border-box;
	width: 100%;
	padding: 96px 0;
	background: var( --vmea-bg );
	color: var( --vmea-text );
	scroll-margin-top: 100px;
}

.vmea *,
.vmea *::before,
.vmea *::after {
	box-sizing: border-box;
}

.vmea-inner {
	display: flex;
	align-items: center;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto;
}

.vmea--reverse .vmea-inner {
	flex-direction: row-reverse;
}

/* ---------- Photos décalées ---------- */

.vmea-media {
	flex: 0 0 45%;
	max-width: 540px;
}

.vmea-photos {
	position: relative;
	width: 100%;
	aspect-ratio: 540 / 620;
}

.vmea-photo {
	position: absolute;
	overflow: hidden;
}

.vmea-photo img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
}

/* Grande photo en haut à gauche. */
.vmea-photo--1 {
	left: 0;
	top: 0;
	width: 61%;
	height: 76%;
}

/* Petite photo en bas à droite : ne chevauche que le dernier quart de la
   grande photo, pour ne jamais couvrir un visage centré. */
.vmea-photo--2 {
	right: 0;
	bottom: 0;
	width: 55.5%;
	height: 64.5%;
	outline: 12px solid var( --vmea-bg );
}

.vmea--reverse .vmea-photo--1 {
	left: auto;
	right: 0;
}

.vmea--reverse .vmea-photo--2 {
	right: auto;
	left: 0;
}

.vmea-amp {
	position: absolute;
	left: 3%;
	bottom: 2%;
	font-family: Georgia, 'Times New Roman', serif;
	font-style: italic;
	font-size: clamp( 56px, 7vw, 96px );
	line-height: 1;
	color: var( --vmea-accent );
	pointer-events: none;
}

.vmea--reverse .vmea-amp {
	left: auto;
	right: 3%;
}

/* Une seule image (montage, SVG) : affichée entière, sans recadrage. */
.vmea-media--single img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
}

/* ---------- Texte ---------- */

.vmea-content {
	flex: 1 1 auto;
	min-width: 0;
}

.vmea-eyebrow {
	font-size: 12px;
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var( --vmea-accent );
}

.vmea .vmea-title {
	margin: 20px 0 0;
	font-size: clamp( 38px, 4.2vw, 60px );
	font-weight: 400;
	line-height: 1.04;
	color: var( --vmea-text );
}

.vmea-subtitle {
	margin-top: 14px;
	font-style: italic;
	font-size: 24px;
	color: var( --vmea-muted );
}

.vmea-text {
	margin-top: 26px;
	max-width: 600px;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.75;
	color: var( --vmea-muted );
}

.vmea-text p {
	margin: 0 0 1em;
}

.vmea-text p:last-child {
	margin-bottom: 0;
}

/* ---------- Cartes ---------- */

.vmea-cards {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) ); /* toujours côte à côte (sauf petit mobile) */
	gap: 20px;
	max-width: 640px;
	margin-top: 36px;
}

.vmea-card {
	padding: 24px 26px;
	border: 1px solid var( --vmea-border );
}

/* Les lignes (date, intitulé, prix, mention) restent alignées d'une carte à l'autre. */
@supports ( grid-template-rows: subgrid ) {
	.vmea-card {
		display: grid;
		grid-row: span 4;
		grid-template-rows: subgrid;
		row-gap: 0;
		align-content: start;
	}
}

.vmea-card-label {
	font-size: 12px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --vmea-accent );
}

.vmea-card-title {
	margin-top: 12px;
	font-size: 16px;
}

.vmea-card-price {
	margin-top: 14px;
	font-size: 36px;
	line-height: 1;
}

.vmea-card-price span {
	font-size: 13px;
	opacity: 0.8;
}

.vmea-card-note {
	margin-top: 10px;
	font-size: 13px;
	opacity: 0.8;
}

/* ---------- Boutons ---------- */

.vmea-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 32px;
	margin-top: 36px;
}

.vmea a.vmea-btn {
	display: inline-block;
	padding: 18px 30px !important;
	background: var( --vmea-btn-bg ) !important;
	color: var( --vmea-btn-text ) !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background 0.25s ease;
}

.vmea a.vmea-btn:hover,
.vmea a.vmea-btn:focus-visible {
	background: var( --vmea-btn-bg-hover ) !important;
}

.vmea a.vmea-link {
	color: var( --vmea-muted ) !important;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vmea a.vmea-link:hover {
	color: var( --vmea-text ) !important;
}

/* ---------- Écrans intermédiaires (1025–1279 px) : on resserre ----------
   pour que les deux cartes restent côte à côte et que les dates tiennent. */

@media ( min-width: 1025px ) and ( max-width: 1279px ) {
	.vmea-media {
		flex-basis: 40%;
	}

	.vmea-cards {
		gap: 14px;
	}

	.vmea-card {
		padding: 20px 18px;
	}

	.vmea-card-label {
		font-size: 11px;
		letter-spacing: 0.12em;
	}

	.vmea-card-price {
		font-size: 30px;
	}
}

/* ---------- Texte de fin (infos pratiques) ---------- */

.vmea-footer {
	max-width: 640px;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var( --vmea-border );
	font-size: 14px;
	font-weight: 300;
	line-height: 1.7;
	color: var( --vmea-muted );
}

.vmea-footer p {
	margin: 0 0 0.8em;
}

.vmea-footer p:last-child {
	margin-bottom: 0;
}

.vmea-footer em {
	font-size: 16px;
}

.vmea .vmea-footer a {
	color: var( --vmea-text ) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Tablette / mobile ----------
   Ordre : titres → photos → texte → cartes → boutons. */

@media ( max-width: 1024px ) {
	.vmea {
		padding: 64px 0;
	}

	.vmea-inner,
	.vmea--reverse .vmea-inner {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.vmea-content {
		display: contents;
	}

	.vmea-head {
		order: 1;
	}

	.vmea-media {
		order: 2;
		flex: none;
		width: 100%;
		max-width: 560px;
		margin: 32px auto 0;
	}

	.vmea-body {
		order: 3;
		margin-top: 32px;
	}

	.vmea-text {
		margin-top: 0;
	}

	.vmea-photo--2 {
		outline-width: 8px;
	}

	/* Contenu centré (choix par défaut) */
	.vmea--m-center .vmea-head,
	.vmea--m-center .vmea-body {
		text-align: center;
	}

	.vmea--m-center .vmea-text,
	.vmea--m-center .vmea-cards,
	.vmea--m-center .vmea-footer {
		margin-left: auto;
		margin-right: auto;
	}

	.vmea--m-center .vmea-actions {
		justify-content: center;
	}

	.vmea--m-center .vmea-media,
	.vmea--m-center .vmea-media--single {
		margin-left: auto;
		margin-right: auto;
	}
}

@media ( max-width: 600px ) {
	.vmea-subtitle {
		font-size: 21px;
	}

	.vmea-text {
		font-size: 15px;
	}

	.vmea-cards {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.vmea-card {
		padding: 22px;
	}

	.vmea-card-price {
		font-size: 32px;
	}

	.vmea-actions {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}
}
