/*
 * MC À propos — Marché Conclu
 * Version : 2.0.2
 * Architecture : gardes (0,2,0), composants (0,3,0) — insensible au thème
 * ET à l'ordre de chargement des autres plugins MC.
 */

/* ==================================================================
   SOCLE MC — gardes (0,2,0) + primitives de la charte
   Toute règle de composant est déclarée APRÈS ces gardes et pèse au
   moins (0,2,0) : le thème (règles à balise nue OU composées
   `.elementor h1..h6` à (0,1,1)) ne peut plus rien écraser.
   ================================================================== */

:root {
	--mc-bleu: #274480;
	--mc-bleu-fonce: #1c3260;
	--mc-nuit: #16233f;
	--mc-or: #d9af61;
	--mc-or-clair: #e8cd97;
	--mc-or-sombre: #b9903f;
	--mc-creme: #faf7f0;
	--mc-ivoire: #fcfbf7;
	--mc-encre: #2b2b28;
	--mc-gris: #6b6b66;
	--mc-sable: #e7dfcc;
	--mc-font-titres: "Playfair Display", Georgia, serif;
	--mc-font-texte: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mc-w {
	overflow-x: clip;
	padding-left: var(--mc-pad-x, 20px);
	padding-right: var(--mc-pad-x, 20px);
	font-family: var(--mc-font-texte);
	color: var(--mc-encre);
	box-sizing: border-box;
}

.mc-w *,
.mc-w *::before,
.mc-w *::after {
	box-sizing: border-box;
	min-width: 0;
}

.mc-w.mc-w [hidden] {
	display: none !important;
}

/* Gardes texte à (0,2,0) : battent `.elementor h3` (0,1,1) du thème */
.mc-w.mc-w :where(h1, h2, h3, h4, h5, h6, p) {
	margin: 0;
	padding: 0;
	letter-spacing: normal;
	text-transform: none;
}

.mc-w.mc-w :where(h1, h2, h3, h4, h5, h6) {
	font-family: var(--mc-font-titres);
	font-weight: 600;
	line-height: 1.25;
}

.mc-w.mc-w :where(ul, ol) {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Réinitialisation button à (0,2,0) */
.mc-w.mc-w :where(button) {
	background: none;
	border: 0;
	border-radius: 0;
	padding: 0;
	margin: 0;
	font-family: var(--mc-font-texte);
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
	position: static;
	z-index: auto;
	box-shadow: none;
	cursor: pointer;
	text-align: inherit;
	text-transform: none;
	letter-spacing: normal;
}

.mc-w.mc-w :where(button):hover {
	opacity: 1;
	box-shadow: none;
	color: inherit;
	background: none;
}

.mc-w.mc-w :where(a) {
	text-decoration: none;
}

.mc-w .mc-shrink {
	overflow-wrap: anywhere;
}

/* Sur-titre */
.mc-w .mc-surtitre {
	display: block;
	font-family: var(--mc-font-texte);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--mc-or-sombre);
	margin: 0;
}

/* Boutons de la suite */
.mc-w .mc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background: var(--mc-btn-bg, var(--mc-or));
	color: var(--mc-btn-color, var(--mc-bleu-fonce));
	border-radius: var(--mc-btn-radius, 6px);
	font-family: var(--mc-font-texte);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.01em;
	text-decoration: none;
	text-align: center;
	overflow-wrap: break-word;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	max-width: 100%;
}

.mc-w .mc-btn:hover {
	background: var(--mc-btn-bg-h, var(--mc-bleu));
	color: var(--mc-btn-color-h, #ffffff);
	transform: translateY(-1px);
}

.mc-w .mc-btn:focus-visible {
	outline: 2px solid var(--mc-or);
	outline-offset: 2px;
}

.mc-w .mc-btn--ghost {
	--mc-btn-bg: transparent;
	--mc-btn-color: var(--mc-or);
	box-shadow: inset 0 0 0 1px var(--mc-or);
}

/* Icônes */
.mc-w .mc-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
}

.mc-w .mc-ico i,
.mc-w .mc-ico i::before,
.mc-w .mc-ico svg {
	line-height: 1 !important;
	vertical-align: middle;
}

.mc-w .mc-ico svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* Champs : hauteur UNIFORME champs texte / select */
.mc-w.mc-w :where(input[type="text"], input[type="tel"], input[type="email"], select) {
	height: 50px;
	padding: 0 14px;
	line-height: normal;
}

.mc-w.mc-w :where(textarea) {
	padding: 13px 14px;
	resize: vertical;
}

.mc-w.mc-w :where(input[type="text"], input[type="tel"], input[type="email"], textarea, select) {
	font-size: 16px;
	font-family: var(--mc-font-texte);
	width: 100%;
	background: #ffffff;
	background-image: none;
	border: 1px solid #d8d8d2;
	border-radius: 8px;
	color: var(--mc-encre);
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.mc-w.mc-w :where(input, textarea, select):hover {
	border-color: var(--mc-or);
}

.mc-w.mc-w :where(input, textarea, select):focus {
	outline: none;
	border-color: var(--mc-or);
	box-shadow: 0 0 0 3px rgba(217, 175, 97, 0.2);
}

.mc-w.mc-w :where(input, textarea)::placeholder {
	color: #a9a9a2;
	opacity: 1;
}

/* Masquage accessible */
.mc-w .mc-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	padding: 0;
}

/* Images plaquées : (0,2,0) bat .elementor img (0,1,1) */
.mc-w .mc-media {
	height: 100%;
	min-height: 100%;
	width: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
}

/* Ornements partagés */
.mc-w .mc-filet {
	display: block;
	width: 58px;
	height: 2px;
	background: linear-gradient(90deg, var(--mc-or), var(--mc-or-clair));
}

.mc-w .mc-losange {
	display: inline-block;
	width: 7px;
	height: 7px;
	background: var(--mc-or);
	transform: rotate(45deg);
}


/* ================== Widget Qui sommes-nous — 6 designs ================== */

.mc-w.mc-apropos {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(26px, 4.2vmin, 60px);
	align-items: stretch;
	padding-top: 34px;
	padding-bottom: 34px;
	max-width: 1120px;
	margin: 0 auto;
}

.mc-w.mc-apropos--inv .mc-apropos__media {
	order: 2;
}

.mc-w.mc-apropos .mc-apropos__media {
	display: flex;
}

.mc-w.mc-apropos .mc-apropos__photo {
	position: relative;
	width: 100%;
	min-height: 340px;
	border-radius: 14px;
	overflow: hidden;
}

.mc-w.mc-apropos .mc-apropos__panneau {
	width: 100%;
	min-height: 340px;
	border-radius: 14px;
	background:
		radial-gradient(circle at 20% 12%, rgba(217, 175, 97, 0.2), transparent 45%),
		radial-gradient(circle at 85% 92%, rgba(217, 175, 97, 0.12), transparent 40%),
		linear-gradient(165deg, var(--mc-bleu), var(--mc-bleu-fonce));
	border: 1px solid rgba(217, 175, 97, 0.5);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 15px;
	text-align: center;
	padding: 34px 22px;
}

.mc-w.mc-apropos .mc-apropos__panneau-ico {
	color: var(--mc-or);
	width: 46px;
	height: 46px;
	display: inline-flex;
}

.mc-w.mc-apropos .mc-apropos__panneau-ico svg {
	width: 100%;
	height: 100%;
}

.mc-w.mc-apropos .mc-apropos__panneau-txt {
	font-family: var(--mc-font-titres);
	font-size: 27px;
	line-height: 1.35;
	color: #ffffff;
}

.mc-w.mc-apropos .mc-apropos__panneau-ligne {
	width: 54px;
	height: 2px;
	background: linear-gradient(90deg, var(--mc-or), var(--mc-or-clair));
}

.mc-w.mc-apropos .mc-apropos__panneau-sous {
	font-family: var(--mc-font-texte);
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #b5c3e0;
}

.mc-w.mc-apropos .mc-apropos__txt {
	align-self: center;
}

.mc-w.mc-apropos .mc-apropos__titre {
	font-family: var(--mc-font-titres);
	font-size: clamp(25px, 3.6vmin, 34px);
	font-weight: 600;
	line-height: 1.22;
	color: var(--mc-bleu);
	margin: 10px 0 0;
	padding: 0;
	letter-spacing: normal;
	text-transform: none;
}

.mc-w.mc-apropos .mc-apropos__corps {
	margin-top: 16px;
	font-family: var(--mc-font-texte);
	color: var(--mc-gris);
	line-height: 1.85;
	font-size: 15.5px;
}

.mc-w.mc-apropos .mc-apropos__corps p {
	margin: 0;
	padding: 0;
	letter-spacing: normal;
}

.mc-w.mc-apropos .mc-apropos__corps p + p {
	margin-top: 13px;
}

.mc-w.mc-apropos .mc-apropos__points {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 11px 22px;
}

.mc-w.mc-apropos .mc-apropos__points li {
	display: flex;
	align-items: flex-start;
	font-family: var(--mc-font-texte);
	font-size: 14.5px;
	color: var(--mc-encre);
	line-height: 1.55;
}

.mc-w.mc-apropos .mc-apropos__points .mc-ico {
	color: var(--mc-or-sombre);
	font-size: 15px;
	margin-right: 10px !important;
	margin-top: 3px !important;
}

.mc-w.mc-apropos .mc-apropos__signature {
	margin: 24px 0 0;
	padding: 0;
	font-family: var(--mc-font-titres);
	font-style: italic;
	font-size: 18px;
	letter-spacing: 0.01em;
	color: var(--mc-bleu);
}

/* ================================================================
   Design 1 — CLAIR : fond de page, photo à ombre crème (défaut)
   ================================================================ */

.mc-w.mc-apropos--clair .mc-apropos__photo {
	box-shadow: 14px 14px 0 0 var(--mc-creme), 15px 15px 0 1px var(--mc-sable);
}

/* ================================================================
   Design 2 — ENCADRÉ : cadre or décalé derrière le visuel
   ================================================================ */

.mc-w.mc-apropos--encadre .mc-apropos__media {
	position: relative;
	padding: 16px 16px 0 0;
}

.mc-w.mc-apropos--encadre.mc-apropos--inv .mc-apropos__media {
	padding: 16px 0 0 16px;
}

.mc-w.mc-apropos--encadre .mc-apropos__media::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 16px;
	left: 16px;
	border: 1px solid var(--mc-or);
	border-radius: 14px;
	pointer-events: none;
}

.mc-w.mc-apropos--encadre.mc-apropos--inv .mc-apropos__media::before {
	left: 0;
	right: 16px;
}

/* ================================================================
   Design 3 — CRÈME : encart crème englobant
   ================================================================ */

.mc-w.mc-apropos--creme {
	background: linear-gradient(180deg, #fffdf8 0%, var(--mc-creme) 100%);
	border: 1px solid var(--mc-sable);
	border-top: 3px solid var(--mc-or);
	border-radius: 16px;
	padding: clamp(26px, 4vmin, 52px);
	box-shadow: 0 26px 52px -34px rgba(28, 50, 96, 0.4);
}

/* ================================================================
   Design 4 — LETTRINE : grande initiale or, filet latéral
   ================================================================ */

.mc-w.mc-apropos--lettrine .mc-apropos__txt {
	border-left: 3px solid var(--mc-or);
	padding-left: clamp(18px, 2.6vmin, 30px);
}

.mc-w.mc-apropos--lettrine .mc-apropos__corps > p:first-child::first-letter {
	font-family: var(--mc-font-titres);
	font-size: 3.4em;
	line-height: 0.85;
	color: var(--mc-or-sombre);
	float: left;
	padding: 4px 10px 0 0;
}

/* ================================================================
   Design 5 — NUIT : tout sur bleu profond
   ================================================================ */

.mc-w.mc-apropos--nuit {
	background:
		radial-gradient(circle at 12% 6%, rgba(217, 175, 97, 0.14), transparent 42%),
		linear-gradient(170deg, var(--mc-bleu-fonce), var(--mc-nuit));
	border-radius: 18px;
	padding: clamp(26px, 4vmin, 52px);
}

.mc-w.mc-apropos--nuit .mc-apropos__titre,
.mc-w.mc-apropos--nuit .mc-apropos__signature {
	color: #ffffff;
}

.mc-w.mc-apropos--nuit .mc-surtitre {
	color: var(--mc-or);
}

.mc-w.mc-apropos--nuit .mc-apropos__corps {
	color: #ccd6ec;
}

.mc-w.mc-apropos--nuit .mc-apropos__points li {
	color: #dfe6f4;
}

.mc-w.mc-apropos--nuit .mc-apropos__points .mc-ico {
	color: var(--mc-or);
}

.mc-w.mc-apropos--nuit .mc-apropos__panneau {
	background:
		radial-gradient(circle at 20% 12%, rgba(217, 175, 97, 0.22), transparent 45%),
		rgba(255, 255, 255, 0.04);
}

/* ================================================================
   Design 6 — GALERIE : carte blanche ombrée
   ================================================================ */

.mc-w.mc-apropos--galerie {
	background: #ffffff;
	border: 1px solid #efe9db;
	border-radius: 16px;
	padding: clamp(26px, 4vmin, 52px);
	box-shadow: 0 22px 48px -30px rgba(28, 50, 96, 0.45);
}

.mc-w.mc-apropos--galerie .mc-apropos__photo,
.mc-w.mc-apropos--galerie .mc-apropos__panneau {
	border-radius: 12px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 860px) {
	.mc-w.mc-apropos {
		grid-template-columns: minmax(0, 1fr);
	}

	.mc-w.mc-apropos--inv .mc-apropos__media {
		order: 0;
	}
	.mc-w.mc-apropos .mc-apropos__photo,
	.mc-w.mc-apropos .mc-apropos__panneau {
		min-height: 250px;
	}
	.mc-w.mc-apropos .mc-apropos__points {
		grid-template-columns: minmax(0, 1fr);
	}
}
