/* ==========================================================================
   Maison Brivo – Homepage styles (loaded only on the front page)
   Section 1: Hero
   ========================================================================== */


/* Remove Astra's content-area spacing so the last dark section meets the footer. */
body.home .site-content,
body.home #content {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

body.home #primary,
body.home .site-main {
	padding: 0 !important;
	margin: 0 !important;
}

/* The full-bleed dark CTA is the last block before the footer — no gap. */
body.home .mb-bh-section {
	margin-bottom: 0;
}

.mb-hero-section {
	max-width: 1120px;
	margin: 26px auto 0;
	padding: 0 24px;
	font-family: 'Figtree', system-ui, sans-serif;
}

.mb-hero {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
}

.mb-hero-media {
	display: block;
}

.mb-hero-img {
	width: 100%;
	display: block;
	min-height: 380px;
	height: auto;
	object-fit: cover;
}

.mb-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(43, 33, 28, .62) 0%, rgba(43, 33, 28, .25) 55%, rgba(43, 33, 28, 0) 80%);
}

.mb-hero-inner {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 40px 48px;
	max-width: 520px;
}

.mb-hero-eyebrow {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	color: #D9A87C;
}

.mb-hero-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 38px;
	font-weight: 600;
	line-height: 1.12;
	color: #F7F1E7;
	margin: 8px 0 12px;
	text-wrap: balance;
}

.mb-hero-text {
	color: #E5D9C9;
	font-size: 15.5px;
	line-height: 1.6;
	max-width: 44ch;
	margin: 0 0 20px;
}

.mb-hero-btn {
	display: inline-block;
	background: #B0764A;
	color: #FFF7ED;
	border: 0;
	border-radius: 12px;
	padding: 15px 26px;
	font-family: 'Figtree', sans-serif;
	font-size: 15.5px;
	font-weight: 700;
	text-decoration: none;
	width: fit-content;
	cursor: pointer;
	transition: opacity .15s ease;
}

.mb-hero-btn:hover,
.mb-hero-btn:focus {
	color: #FFF7ED;
	opacity: .92;
}

.mb-hero-note {
	color: #CBBFAF;
	font-size: 12.5px;
	margin-top: 10px;
}

/* ==========================================================================
   Section 2: Trust band
   ========================================================================== */

.mb-trust-section {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	max-width: 1120px;
	margin: 22px auto 0;
	padding: 0 24px;
	font-family: 'Figtree', system-ui, sans-serif;
}

.mb-trust-item {
	background: #FCFAF6;
	border: 1px solid #E2DACC;
	border-radius: 12px;
	padding: 13px 14px;
	font-size: 12.5px;
	line-height: 1.6;
	color: #4A3E36;
	text-align: center;
}

.mb-trust-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: #2B211C;
}

/* ==========================================================================
   Section 3: Feature product
   ========================================================================== */

.mb-fp-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 44px;
	align-items: center;
	max-width: 1120px;
	margin: 0 auto;
	padding: 52px 24px;
	font-family: 'Figtree', system-ui, sans-serif;
}

.mb-fp-main {
	position: relative;
	aspect-ratio: 1 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: #E3E8DE;
}

.mb-fp-slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity .3s ease;
}

.mb-fp-slide.is-active {
	opacity: 1;
}

.mb-fp-thumbs {
	display: flex;
	gap: 10px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.mb-fp-thumb {
	width: 72px;
	height: 72px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	background: #E3E8DE;
	cursor: pointer;
	transition: border-color .15s ease;
}

.mb-fp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mb-fp-thumb.is-active,
.mb-fp-thumb:hover {
	border-color: #B0764A;
}

.mb-fp-eyebrow {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	color: #B0764A;
}

.mb-fp-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	color: #2B211C;
	margin: 8px 0 6px;
	text-wrap: balance;
}

.mb-fp-rating {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 2px 0 6px;
	font-size: 15px;
	color: #4A3E36;
}

.mb-fp-stars {
	color: #B0764A;
	letter-spacing: 3px;
	font-size: 17px;
}

.mb-fp-rating-score {
	color: #2B211C;
	font-weight: 700;
}

.mb-fp-price {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin: 8px 0 2px;
}

.mb-fp-now {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	color: #2B211C;
}

.mb-fp-was {
	color: #9A8D80;
	font-size: 16px;
}

.mb-fp-desc {
	color: #4A3E36;
	font-size: 15px;
	line-height: 1.6;
	max-width: 50ch;
	margin-top: 6px;
}

.mb-fp-btn {
	display: inline-block;
	background: #B0764A;
	color: #FFF7ED;
	border: 0;
	border-radius: 12px;
	padding: 15px 26px;
	font-size: 15.5px;
	font-weight: 700;
	text-decoration: none;
	width: fit-content;
	margin-top: 14px;
	cursor: pointer;
	transition: opacity .15s ease;
}

.mb-fp-btn:hover,
.mb-fp-btn:focus {
	color: #FFF7ED;
	opacity: .92;
}

/* ==========================================================================
   Section 4: Product trust ("pourquoi")
   ========================================================================== */

.mb-pts-section {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 10px 24px 52px;
	font-family: 'Figtree', system-ui, sans-serif;
}

.mb-pts-item {
	background: #FCFAF6;
	border: 1px solid #E2DACC;
	border-radius: 14px;
	padding: 20px;
}

.mb-pts-title {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 17px;
	font-weight: 600;
	color: #2B211C;
	display: block;
	margin-bottom: 6px;
}

.mb-pts-text {
	font-size: 13.5px;
	line-height: 1.6;
	color: #4A3E36;
	margin: 0;
}

/* ==========================================================================
   Section 5: Reviews
   ========================================================================== */

.mb-rs-section {
	scroll-margin-top: 90px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px 56px;
	text-align: center;
	font-family: 'Figtree', system-ui, sans-serif;
}

.mb-rs-eyebrow {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	color: #B0764A;
}

.mb-rs-heading {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	color: #2B211C;
	margin: 8px 0 0;
	text-wrap: balance;
}

.mb-rs-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 12px;
	margin-top: 20px;
}

.mb-rs-card {
	background: #FCFAF6;
	border: 1px solid #E2DACC;
	border-radius: 12px;
	overflow: hidden;
	text-align: left;
}

.mb-rs-photo {
	aspect-ratio: 3 / 4;
	background: #E3E8DE;
}

.mb-rs-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.mb-rs-body {
	padding: 10px 12px;
}

.mb-rs-stars {
	color: #B0764A;
	font-size: 11px;
	letter-spacing: 1.5px;
	display: block;
}

.mb-rs-who {
	font-size: 11.5px;
	font-weight: 700;
	color: #2B211C;
	display: block;
}

.mb-rs-quote {
	font-size: 11.5px;
	color: #4A3E36;
	margin-top: 3px;
	line-height: 1.4;
}

.mb-rs-quote p {
	margin: 0;
}

.mb-rs-btn {
	display: inline-block;
	margin-top: 18px;
	color: #B0764A;
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	border-bottom: 1.5px solid #B0764A;
}

.mb-rs-btn:hover,
.mb-rs-btn:focus {
	color: #2B211C;
	border-bottom-color: #2B211C;
}

/* ==========================================================================
   Section 6: Brivo House (final dark CTA)
   ========================================================================== */

.mb-bh-section {
	background: #2B211C;
	color: #EFE8DD;
	text-align: center;
	padding: 60px 24px;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	font-family: 'Figtree', system-ui, sans-serif;
}

.mb-bh-inner {
	max-width: 680px;
	margin: 0 auto;
}

.mb-bh-eyebrow {
	font-size: 11px;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 700;
	color: #D9A87C;
}

.mb-bh-heading {
	font-family: 'Fraunces', Georgia, serif;
	font-size: 31px;
	font-weight: 600;
	line-height: 1.2;
	color: #F7F1E7;
	margin: 8px 0 12px;
	text-wrap: balance;
}

.mb-bh-text {
	color: #CBBFAF;
	font-size: 15.5px;
	line-height: 1.6;
	max-width: 56ch;
	margin: 0 auto 22px;
}

.mb-bh-text p {
	margin: 0 0 8px;
}

.mb-bh-btn {
	display: inline-block;
	background: #B0764A;
	color: #FFF7ED;
	border: 0;
	border-radius: 12px;
	padding: 17px 34px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .03em;
	text-decoration: none;
	cursor: pointer;
	transition: opacity .15s ease;
}

.mb-bh-btn:hover,
.mb-bh-btn:focus {
	color: #FFF7ED;
	opacity: .92;
}
section.mb-pd-bande-avis {
    margin-top: 80px;
}
/* ---------- Mobile ---------- */
@media (max-width: 900px) {

	.mb-bh-section {
		padding: 44px 14px;
	}

	.mb-bh-heading {
		font-size: 25px;
	}

	.mb-rs-section {
		padding: 0 12px 40px;
	}

	.mb-rs-grid {
		display: flex;
		overflow-x: auto;
		gap: 10px;
		padding-bottom: 8px;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.mb-rs-card {
		flex: 0 0 62%;
		scroll-snap-align: start;
	}

	.mb-pts-section {
		grid-template-columns: 1fr;
		padding: 0 12px 36px;
	}

	.mb-fp-section {
		grid-template-columns: 1fr;
		gap: 22px;
		padding: 36px 12px;
	}

	.mb-fp-thumb {
		width: 60px;
		height: 60px;
	}

	.mb-fp-title {
		font-size: 23px;
	}

	.mb-trust-section {
		grid-template-columns: 1fr 1fr;
		padding: 0 12px;
	}

	.mb-hero-section {
		margin-top: 14px;
		padding: 0 12px;
	}

	.mb-hero {
		border-radius: 14px;
	}

	.mb-hero-img {
		min-height: 540px;
	}

	.mb-hero-overlay {
		background: linear-gradient(180deg, rgba(43, 33, 28, .62) 0%, rgba(43, 33, 28, .45) 55%, rgba(43, 33, 28, .2) 100%);
	}

	.mb-hero-inner {
		padding: 30px 16px 22px;
		max-width: none;
		justify-content: flex-start;
		align-items: center;
		text-align: center;
	}

	.mb-hero-text {
		margin-left: auto;
		margin-right: auto;
	}

	.mb-hero-note {
		margin-left: auto;
		margin-right: auto;
		font-size: 11.5px;
		margin-top: 8px;
	}

	.mb-hero-eyebrow {
		font-size: 10px;
	}

	.mb-hero-title {
		font-size: 22px;
		margin: 6px 0 8px;
	}

	.mb-hero-text {
		font-size: 13px;
		line-height: 1.55;
		max-width: 38ch;
		margin-bottom: 14px;
	}

	.mb-hero-btn {
		padding: 13px 22px;
		font-size: 14px;
	}
}
