/* ==========================================================================
   Page « Organiser un événement au Château » (cérémonies & événements privés)
   Section 1 — Hero : fond pattern (média 13) + bloc texte centré
   (eyebrow point jaune + H1 + paragraphe). Classes .brabois-evc* (distinctes de
   la page « entreprise » qui utilise .brabois-evt*).
   ========================================================================== */

:root {
	--evc-blanc: #fcfcfc;
	--evc-jaune: #f6b83b;
}

/* Le hero est dans le flux après le header « pattern » (dans le flux lui aussi).
   La règle .brabois-header--pattern + .wp-block-post-content { margin-block-start:0 }
   (sejour.css) supprime déjà le block-gap TT5 en tête. */

.brabois-evc {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	margin-block-start: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* Espace pattern sous le texte : les 2 cartes de la section 2 remontent dessus. */
	padding: 130px 24px 210px;
	color: var(--evc-blanc);
	background-color: #44525f;
	background-image: var(--evc-pattern);
	background-size: cover;
	background-position: center;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brabois-evc__inner {
	position: relative;
	z-index: 5;
	width: 100%;
	max-width: 860px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	text-align: center;
}

.brabois-evc__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.brabois-evc__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: "Geist", "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: var(--evc-blanc);
}
.brabois-evc__eyebrow::before {
	content: "";
	width: 11px;
	height: 11px;
	border-radius: 9999px;
	background: var(--evc-jaune);
}

.brabois-evc__title {
	margin: 0;
	max-width: 100%;
	font-family: "Montserrat", sans-serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 37.12px;
	color: var(--evc-blanc);
}

.brabois-evc__text {
	width: 827px;
	max-width: 100%;
	margin: 0;
	font-family: "Geist", "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	color: var(--evc-blanc);
}

@media (max-width: 640px) {
	.brabois-evc {
		padding: 90px 20px 180px;
	}
	.brabois-evc__title {
		font-size: 26px;
		line-height: 1.2;
	}
}

/* ==========================================================================
   Section 2 — fond --beige-lumineux + 2 encarts cliquables (image en arche
   pré-détourée média 134/135 + encart olive titre/CTA). Les cartes REMONTENT
   sur le hero (grid margin-top négatif) : leurs arches empiètent sur le pattern.
   ========================================================================== */

.brabois-evc2 {
	position: relative;
	/* Le hero (.brabois-evc) est position:relative -> il peindrait AU-DESSUS des
	   éléments statiques suivants. On force la section 2 au-dessus pour que les
	   arches qui remontent passent DEVANT le pattern du hero, pas derrière. */
	z-index: 2;
	background: var(--beige-lumineux, #f8efe8);
	margin-block-start: 0;
	padding: 0 24px 200px;
	display: flex;
	justify-content: center;
	overflow: visible;
	font-family: "Montserrat", sans-serif;
}

.brabois-evc2__grid {
	width: 100%;
	max-width: 1560px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 120px;
	justify-items: center;
	/* Remonte les cartes sur le bas du hero (pattern). */
	margin-top: calc(-1 * var(--evc2-rise, 200px));
}

.brabois-evc2__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 760px;
	text-decoration: none;
	color: inherit;
}

/* Image en arche (PNG pré-détouré : arche + fin filet décoratif bakés). */
.brabois-evc2__img {
	display: block;
	width: 100%;
	height: auto;
}

/* Encart olive : chevauche le bas de l'image (margin-top négatif). Largeur =
   partie droite de la photo (~84,5 % de la largeur du PNG). */
.brabois-evc2__box {
	position: relative;
	z-index: 2;
	width: 84.5%;
	box-sizing: border-box;
	margin-top: calc(-1 * var(--evc2-overlap, 104px));
	padding: 28px 74px;
	background: var(--vert-olive, #7e8b6f);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	transition: background 0.18s ease;
}
.brabois-evc2__card:hover .brabois-evc2__box,
.brabois-evc2__card:focus-visible .brabois-evc2__box {
	background: #71805f;
	outline: none;
}

.brabois-evc2__head {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.brabois-evc2__title {
	text-align: center;
	color: #fcfcfc;
	font-family: "Montserrat", sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 29.92px;
}
.brabois-evc2__rule {
	width: 100%;
	max-width: 390px;
	height: 1px;
	background: #fcfcfc;
	opacity: 0.3;
}

.brabois-evc2__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}
.brabois-evc2__cta-arrow {
	width: auto;
	height: 16px;
	flex: none;
}
.brabois-evc2__cta-label {
	color: #fcfcfc;
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
}

@media (max-width: 1100px) {
	.brabois-evc2__grid {
		gap: 64px;
	}
	.brabois-evc2__box {
		padding: 24px 32px;
	}
}
@media (max-width: 820px) {
	.brabois-evc2__grid {
		grid-template-columns: 1fr;
		gap: 48px;
		max-width: 520px;
		margin-top: calc(-1 * var(--evc2-rise-sm, 120px));
	}
	.brabois-evc2 {
		padding-bottom: 140px;
	}
	.brabois-evc2__card {
		max-width: 520px;
	}
}

/* ==========================================================================
   Section 3 (dernière) — Textes SEO éditables. Fond = texture « pattern clair ».
   Blocs { titre italique bleu Château + paragraphe }, séparés d'un filet #E0E0E0.
   Grosse marge basse : le footer (arche foncée) remonte et empiéterait sinon.
   ========================================================================== */

.brabois-seotx {
	margin-block-start: 0;
	background-color: var(--beige-clair, #fffcf5);
	background-image: var(--seotx-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 96px 24px 440px;
	display: flex;
	justify-content: center;
	font-family: "Geist", "Montserrat", sans-serif;
}

.brabois-seotx__inner {
	width: 100%;
	max-width: 1160px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.brabois-seotx__block {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.brabois-seotx__title {
	margin: 0;
	color: var(--bleu-chateau, #3f5565);
	font-family: "Cormorant Infant", serif;
	font-style: italic;
	font-weight: 700;
	font-size: 24px;
	line-height: 32.64px;
}

.brabois-seotx__text {
	color: var(--anthracite, #404040);
	font-family: "Geist", "Montserrat", sans-serif;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
}
.brabois-seotx__text p {
	margin: 0 0 16px;
}
.brabois-seotx__text p:last-child {
	margin-bottom: 0;
}

.brabois-seotx__rule {
	align-self: stretch;
	height: 1px;
	background: #e0e0e0;
}

@media (max-width: 640px) {
	.brabois-seotx {
		padding: 64px 20px 180px;
	}
}

/* Une seule carte (événements privés, 23/09/2026) : colonne unique centrée. */
.brabois-evc2__grid--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
