/* ==========================================================================
   Accueil 2 (page 95525) - redesign hero + bandeau partenaires
   Scopé à la page dupliquée pour ne pas impacter l'accueil de production.
   ========================================================================== */

/* ---------- Largeur du contenu : 1180px comme les modules lmec-* ---------- */
body.page-id-95525 #brxe-chlttq {
	max-width: var(--lmec-content-width, 1180px);
}

/* ---------- Marges de la section hero ---------- */
body.page-id-95525 #brxe-vvtgmt {
	padding-top: var(--space-m);
	padding-bottom: var(--space-m);
}

/* ---------- Layout hero : slider + colonne encart ---------- */
body.page-id-95525 #brxe-euakfc {
	grid-template-columns: 1fr 340px;
	gap: 24px;
	align-items: stretch;
}

body.page-id-95525 #brxe-ewlajw {
	align-self: stretch;
	height: 100%;
	border-radius: var(--lmec-radius-card, 16px);
}

body.page-id-95525 #brxe-432693,
body.page-id-95525 #brxe-432693 .bricks-swiper-container {
	height: 100%;
	border-radius: var(--lmec-radius-card, 16px);
	overflow: hidden;
}

body.page-id-95525 #brxe-432693 .swiper-slide {
	min-height: 440px;
}

/* Dégradé de lisibilité sur les slides */
body.page-id-95525 #brxe-432693 .swiper-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(30, 20, 12, .72) 0%, rgba(30, 20, 12, .28) 42%, rgba(30, 20, 12, 0) 68%);
}

/* ---------- Contenu des slides ---------- */
body.page-id-95525 #brxe-432693 .slider-content {
	bottom: 96px;
	left: 0;
	transform: none;
	max-width: none;
	width: auto;
	padding: 0 40px;
	background: none;
	border-radius: 0;
	text-align: left;
}

body.page-id-95525 #brxe-432693 .slider-content .title {
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 600;
	color: #fff;
	text-transform: none;
	line-height: 1.28;
	max-width: 560px;
}

/* ---------- Boutons : standard CTA des pages redesignées ---------- */
/* Pill teal 13px/600, sentence case, flèche →, hover color-mix, focus teal. */
body.page-id-95525 #brxe-432693 .slider-content .bricks-button,
body.page-id-95525 #brxe-glbdug,
body.page-id-95525 .brxe-button.intro-7__btn.bricks-button,
body.page-id-95525 .brxe-button.card-content-77-img__btn.bricks-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	background: var(--lmec-primary, #28A6A5);
	background-color: var(--lmec-primary, #28A6A5);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	border: none;
	border-radius: var(--lmec-radius-pill, 100px);
	transition: background .25s, transform .25s;
}

body.page-id-95525 #brxe-432693 .slider-content .bricks-button::after,
body.page-id-95525 #brxe-glbdug::after,
body.page-id-95525 .brxe-button.intro-7__btn.bricks-button::after,
body.page-id-95525 .brxe-button.card-content-77-img__btn.bricks-button::after {
	content: '→';
	font-size: 13px;
	line-height: 1;
}

body.page-id-95525 #brxe-432693 .slider-content .bricks-button:hover,
body.page-id-95525 #brxe-glbdug:hover,
body.page-id-95525 .brxe-button.intro-7__btn.bricks-button:hover,
body.page-id-95525 .brxe-button.card-content-77-img__btn.bricks-button:hover {
	background: var(--lmec-primary-hover, color-mix(in srgb, #28A6A5 85%, #1C1712));
	background-color: var(--lmec-primary-hover, color-mix(in srgb, #28A6A5 85%, #1C1712));
	color: #fff;
	transform: translateY(-2px);
}

body.page-id-95525 #brxe-432693 .slider-content .bricks-button:focus-visible,
body.page-id-95525 #brxe-glbdug:focus-visible,
body.page-id-95525 .brxe-button.intro-7__btn.bricks-button:focus-visible,
body.page-id-95525 .brxe-button.card-content-77-img__btn.bricks-button:focus-visible {
	outline: 2px solid var(--lmec-primary, #28A6A5);
	outline-offset: 2px;
}

body.page-id-95525 #brxe-432693 .slider-content .bricks-button {
	margin-top: 20px;
}

/* ---------- Flèches en bas à droite ---------- */
body.page-id-95525 #brxe-432693 .swiper-button {
	top: auto;
	bottom: 26px;
	margin-top: 0;
	transform: none;
	width: 34px;
	height: 34px;
	background: rgba(255, 255, 255, .92);
	color: var(--text-title);
	transition: background .2s, color .2s;
}

body.page-id-95525 #brxe-432693 .swiper-button svg,
body.page-id-95525 #brxe-432693 .swiper-button i {
	width: 13px;
	height: 13px;
	font-size: 13px;
}

body.page-id-95525 #brxe-432693 .swiper-button:hover {
	background: var(--primary);
	color: #fff;
}

body.page-id-95525 #brxe-432693 .swiper-button:focus-visible {
	outline: 2px solid var(--primary, #28A6A5);
	outline-offset: 2px;
}

body.page-id-95525 #brxe-432693 .bricks-swiper-button-prev {
	left: auto;
	right: 72px;
}

body.page-id-95525 #brxe-432693 .bricks-swiper-button-next {
	right: 26px;
}

/* ---------- Pagination centrée en bas ---------- */
body.page-id-95525 #brxe-432693 .swiper-pagination {
	bottom: 36px;
	left: 50%;
	right: auto;
	width: auto;
	transform: translateX(-50%);
	text-align: center;
}

body.page-id-95525 #brxe-432693 .swiper-pagination-bullet-active {
	width: 26px;
	border-radius: var(--radius-full);
}

/* ---------- Encart présentation (colonne droite) ---------- */
body.page-id-95525 #brxe-jszpev {
	background: var(--lmec-bg-surface, #fff);
	border: 1px solid var(--lmec-border, rgba(60, 46, 33, .09));
	border-radius: var(--lmec-radius-card, 16px);
	box-shadow: var(--lmec-shadow-card, 0 6px 18px rgba(60, 46, 33, .09));
	padding: 40px 30px 34px;
	overflow: hidden;
	justify-content: center;
}

body.page-id-95525 #brxe-jszpev::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: var(--secondary);
}

body.page-id-95525 #brxe-vxkhpf {
	justify-content: center;
}

body.page-id-95525 #brxe-mtvayc {
	width: 104px;
	max-width: 104px;
	height: 104px;
}

body.page-id-95525 #brxe-mtvayc img {
	border: 5px solid var(--bg-body);
	border-radius: var(--radius-full);
	box-shadow: var(--lmec-shadow-card, 0 6px 18px rgba(60, 46, 33, .09));
}

body.page-id-95525 #brxe-eieged {
	font-size: 20px;
	font-weight: 600;
}

body.page-id-95525 #brxe-cnwyml {
	font-size: 13.5px;
	color: var(--text-body);
	line-height: 1.7;
}

/* Bouton encart : stylé par le bloc CTA commun ci-dessus (ligne ~68). */

/* ---------- Bandeau partenaires : cartes blanches ---------- */
body.page-id-95525 #brxe-lcikbe {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
}

body.page-id-95525 #brxe-lcikbe > .brxe-block {
	background: var(--lmec-bg-surface, #fff);
	border: 1px solid var(--lmec-border, rgba(60, 46, 33, 0.09));
	border-radius: var(--lmec-radius-card, 16px);
	padding: 18px 14px 16px;
	text-align: center;
	box-shadow: var(--lmec-shadow-card, 0 6px 18px rgba(60, 46, 33, .09));
	transition: transform .25s, box-shadow .25s;
	justify-content: flex-start;
}

body.page-id-95525 #brxe-lcikbe > .brxe-block:hover {
	transform: translateY(-4px);
	box-shadow: var(--lmec-shadow-hover, 0 14px 34px rgba(60, 46, 33, .14));
}

body.page-id-95525 #brxe-lcikbe .brxe-image {
	max-width: none;
	max-height: none;
	width: 100%;
	margin-bottom: 12px;
}

body.page-id-95525 #brxe-lcikbe .brxe-image img {
	width: 100%;
	height: 80px;
	object-fit: cover;
	border-radius: var(--lmec-radius-field, 10px);
}

body.page-id-95525 #brxe-lcikbe .brxe-heading {
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.35;
}

/* ---------- Bannières catégories : overlay en dégradé ---------- */
body.page-id-95525 .intro-7__overlay {
	background: linear-gradient(105deg, rgba(30, 20, 12, .68) 0%, rgba(30, 20, 12, .32) 55%, rgba(30, 20, 12, .05) 100%);
}

/* Sections catégories sur le fond crème global */
body.page-id-95525 .blog-13 {
	background-color: transparent;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	body.page-id-95525 #brxe-euakfc {
		grid-template-columns: 1fr;
	}

	body.page-id-95525 #brxe-432693 .swiper-slide {
		min-height: 380px;
	}

	body.page-id-95525 #brxe-432693 .slider-content {
		bottom: 92px;
		padding: 0 24px;
	}

	body.page-id-95525 #brxe-432693 .slider-content .title {
		font-size: 22px;
	}

	body.page-id-95525 #brxe-432693 .swiper-pagination {
		bottom: 32px;
	}

	body.page-id-95525 #brxe-432693 .swiper-button {
		bottom: 20px;
		width: 34px;
		height: 34px;
	}

	body.page-id-95525 #brxe-432693 .bricks-swiper-button-next { right: 20px; }
	body.page-id-95525 #brxe-432693 .bricks-swiper-button-prev { right: 64px; }

	body.page-id-95525 #brxe-lcikbe {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 600px) {
	/* Contenu principal : gouttière latérale resserrée (space-m 17px -> space-xs 10.5px) */
	body.page-id-95525 #brxe-chlttq > .brxe-section {
		padding-left: var(--space-xs);
		padding-right: var(--space-xs);
	}

	/* Bandeau partenaires : 2 colonnes au lieu de 3 */
	body.page-id-95525 #brxe-lcikbe {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 479px) {
	body.page-id-95525 #brxe-432693 .swiper-slide {
		min-height: 340px;
	}
}
