/* ==========================================================================
   Accueil — Section « Avis clients » (fond beige-clair)
   ========================================================================== */

.brabois-avis {
	background: var(--beige-clair, #fffcf5);
	margin-block-start: 0;
	/* padding-top généreux : les cartes chambres de la section précédente débordent ici. */
	padding: 300px 24px 90px;
}
.brabois-avis__inner {
	max-width: 1440px;
	margin: 0 auto;
}

/* --- Titre + règle --- */
.brabois-avis__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
	margin-bottom: 64px;
	text-align: center;
}
.brabois-avis__heading {
	margin: 0;
	color: var(--bleu-chateau, #3f5565);
	font-family: "Montserrat", sans-serif;
	font-size: 22px;
	font-weight: 600;
	line-height: 29.92px;
}
.brabois-avis__rule {
	display: block;
	width: 100%;
	max-width: 760px;
	height: 12px;
}

/* --- Slider d'avis --- */
.brabois-avis__track {
	display: flex;
	gap: 90px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	/* carrousel centré : la carte « active » est parfaitement au centre,
	   les voisines dépassent de part et d'autre. */
	padding-inline: max(0px, calc(50% - 250px));
	padding-bottom: 6px;
	scrollbar-width: none;
	cursor: grab;
}
.brabois-avis__track::-webkit-scrollbar {
	display: none;
}
.brabois-avis__track.is-dragging {
	cursor: grabbing;
}

.brabois-avis__item {
	flex: 0 0 500px;
	max-width: 500px;
	scroll-snap-align: center;
	display: flex;
	align-items: flex-start;
	gap: 28px;
}
/* Pastille (photo de l'auteur, ou aplat de couleur à défaut) : réduite de moitié
   (100 -> 50) le 27/07/2026, les pastilles colorées écrasaient le texte de l'avis. */
.brabois-avis__circle {
	flex: 0 0 50px;
	width: 50px;
	height: 50px;
	border-radius: 9999px;
	overflow: hidden;
}
.brabois-avis__avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.brabois-avis__body {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-top: 4px;
}
/* wpautop injecte des <p> vides (flex items à marges) entre les éléments -> on les retire. */
.brabois-avis__body > p:not(.brabois-avis__text),
.brabois-avis__body > p:empty {
	display: none;
}
.brabois-avis__quote {
	font-family: "Cormorant Infant", Georgia, serif;
	font-weight: 700;
	font-size: 30px;
	line-height: 0.6;
	color: var(--bleu-chateau, #3f5565);
	/* collé juste au-dessus du titre */
	margin-bottom: -8px;
}
.brabois-avis__title {
	margin: 0;
	color: var(--bleu-chateau, #3f5565);
	font-family: "Montserrat", sans-serif;
	font-size: 17px;
	font-weight: 600;
	line-height: 23.12px;
}
.brabois-avis__text {
	margin: 0;
	color: #828282;
	font-family: "Cormorant Infant", Georgia, serif;
	font-style: italic;
	font-weight: 600;
	font-size: 18px;
	line-height: 24.48px;
}
.brabois-avis__author {
	margin-top: 2px;
	color: var(--bleu-chateau, #3f5565);
	font-family: "Geist", sans-serif;
	font-size: 16px;
	font-weight: 500;
	/* plus de capitalize (29/09/2026) : les signatures réelles sont saisies telles quelles
	   (« Giovanna e Giusto », « Kasia et Fatima », « AL176 »). */
}
.brabois-avis__sign {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.brabois-avis__source {
	color: #828282;
	font-family: "Geist", "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 18px;
}

/* Avis longs : texte INTÉGRAL dans le HTML, replié à 6 lignes, déplié sur place. */
.brabois-avis__text.is-clamped {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
	line-clamp: 6;
	overflow: hidden;
}
.brabois-avis__item.is-open .brabois-avis__text.is-clamped {
	display: block;
	-webkit-line-clamp: unset;
	line-clamp: unset;
	overflow: visible;
}
.brabois-avis__morewrap {
	margin-top: -6px;
}
.brabois-avis__more {
	margin: 0;
	padding: 4px 0;
	min-height: 32px;
	border: 0;
	background: none;
	color: var(--vert-olive, #7e8b6f);
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}
.brabois-avis__more:hover {
	color: var(--bleu-chateau, #3f5565);
}

/* --- Nav prev / next --- */
.brabois-avis__nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 2px;
	margin-top: 56px;
}
.brabois-avis__nav button {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	line-height: 0;
}
.brabois-avis__nav img {
	height: 44px;
	width: auto;
	object-fit: contain;
}
.brabois-avis__next img {
	transform: scaleX(-1); /* pointe vers la droite */
}

/* --- Responsive --- */
@media (max-width: 560px) {
	.brabois-avis__item {
		flex-basis: 88vw;
		gap: 18px;
	}
	.brabois-avis__circle {
		flex-basis: 36px;
		width: 36px;
		height: 36px;
	}
}
