/* ==========================================================================
   Témoignages — « Ils nous font confiance » / "They trust us"
   Section autonome, indépendante des styles Elementor.
   ========================================================================== */

.lpb-testimonials {
	position: relative;
	isolation: isolate;
	padding: clamp(52px, 7vw, 92px) 20px;
	background:
		radial-gradient(circle at 6% 0%, rgba(249, 176, 0, 0.1), transparent 38%),
		radial-gradient(circle at 100% 100%, rgba(249, 176, 0, 0.08), transparent 36%),
		#fdf8ee;
	overflow: hidden;
}

/* Cercles décoratifs discrets en arrière-plan */
.lpb-testimonials::before,
.lpb-testimonials::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(249, 176, 0, 0.14);
	border-radius: 50%;
}

.lpb-testimonials::before {
	top: -170px;
	left: -120px;
}

.lpb-testimonials::after {
	right: -140px;
	bottom: -210px;
	width: 420px;
	height: 420px;
}

.lpb-testimonials__container {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

.lpb-testimonials__header {
	margin: 0 auto clamp(34px, 5vw, 56px);
	text-align: center;
}

.lpb-testimonials__mark {
	display: block;
	margin-bottom: 8px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(52px, 8vw, 72px);
	line-height: 0.7;
	color: #f9b000;
}

.lpb-testimonials__title {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0 0 18px;
	font-family: "Dosis", sans-serif;
	font-size: clamp(30px, 4.4vw, 44px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: 0.01em;
	color: #3a3226;
}

.lpb-testimonials__title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 72px;
	height: 5px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f9b000, #ffd36b);
	transform: translateX(-50%);
}

.lpb-testimonials__grid {
	column-count: 3;
	column-gap: clamp(18px, 2.2vw, 28px);
}

.lpb-testimonial {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	margin: 0 0 clamp(18px, 2.2vw, 28px);
	padding: 34px 28px 26px;
	background: #fff;
	border: 1px solid rgba(249, 176, 0, 0.22);
	border-radius: 18px;
	box-shadow: 0 18px 40px -30px rgba(70, 54, 17, 0.55);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	break-inside: avoid;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
}

/* Guillemet décoratif */
.lpb-testimonial::before {
	content: "\201C";
	position: absolute;
	top: 2px;
	right: 20px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 82px;
	line-height: 1;
	color: rgba(249, 176, 0, 0.22);
	pointer-events: none;
}

/* Filet jaune en haut de la carte */
.lpb-testimonial::after {
	content: "";
	position: absolute;
	top: 0;
	right: 28px;
	left: 28px;
	height: 4px;
	border-radius: 0 0 999px 999px;
	background: linear-gradient(90deg, #f9b000, #ffd36b);
	opacity: 0.85;
}

.lpb-testimonial:hover {
	border-color: rgba(249, 176, 0, 0.45);
	box-shadow: 0 26px 50px -28px rgba(70, 54, 17, 0.5);
	transform: translateY(-4px);
}

.lpb-testimonial__quote {
	margin: 0 0 22px;
	font-size: 16px;
	line-height: 1.72;
	color: #4b453b;
}

.lpb-testimonial__quote p {
	margin: 0 0 0.85em;
}

.lpb-testimonial__quote p:last-child {
	margin-bottom: 0;
}

.lpb-testimonial__author {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px dashed rgba(58, 50, 38, 0.16);
}

.lpb-testimonial__avatar {
	display: grid;
	flex: 0 0 44px;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f9b000, #ffcf5c);
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
	color: #3a3226;
	font-family: "Dosis", sans-serif;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.lpb-testimonial__meta {
	min-width: 0;
}

.lpb-testimonial__name,
.lpb-testimonial__role {
	display: block;
}

.lpb-testimonial__name {
	color: #3a3226;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.lpb-testimonial__role {
	margin-top: 2px;
	color: #6f6556;
	font-size: 13px;
	line-height: 1.45;
}

@media (max-width: 1024px) {
	.lpb-testimonials__grid {
		column-count: 2;
	}
}

@media (max-width: 680px) {
	.lpb-testimonials {
		padding-right: 16px;
		padding-left: 16px;
	}

	.lpb-testimonials__grid {
		column-count: 1;
	}

	.lpb-testimonial {
		padding: 30px 22px 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lpb-testimonial {
		transition: none;
	}

	.lpb-testimonial:hover {
		box-shadow: 0 18px 40px -30px rgba(70, 54, 17, 0.55);
		transform: none;
	}
}
