/* -------------------------------------------------------------
   Home — Inspiration / Sound Book
   Fichier dédié à la section #inspiration
   ------------------------------------------------------------- */

#inspiration.inspiration-home {
	max-height: 300px;
	overflow: hidden;
	padding: clamp(1.75rem, 3vw, 2.5rem) 0;
	background: #fbf7f1;
	color: #281b12;
}

#inspiration .row {
	min-height: 220px;
}

#inspiration .col-md-6:first-child {
	padding-right: clamp(2rem, 5vw, 5rem);
}

#inspiration .eyebrow {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	margin: 0 0 0.7rem;
	color: var(--color-primary, #bd3d1f);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

#inspiration .eyebrow::before {
	display: block;
	width: 34px;
	height: 1px;
	background: currentColor;
	content: "";
}

#inspiration h2 {
	max-width: 560px;
	margin: 0 0 0.8rem;
	color: #281b12;
	font-family: "Playfair Display", serif;
	font-size: clamp(2rem, 3vw, 2.8rem);
	font-weight: 500;
	line-height: 1.05;
}

#inspiration p:not(.eyebrow) {
	max-width: 590px;
	margin: 0 0 0.65rem;
	color: #4f463e;
	font-size: 0.94rem;
	line-height: 1.5;
}

#inspiration p:not(.eyebrow):last-of-type {
	margin-bottom: 0;
}

#inspiration .btn {
	margin-top: 0.85rem;
}

#inspiration .col-md-6:last-child {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
}

#inspiration .col-md-6:last-child > a {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

#inspiration .col-md-6:last-child img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 230px;
	object-fit: contain;
	transition: transform 250ms ease;
}

#inspiration .col-md-6:last-child a:hover img,
#inspiration .col-md-6:last-child a:focus-visible img {
	transform: translateY(-3px);
}

#inspiration .col-md-6:last-child a:focus-visible {
	outline: 3px solid var(--color-primary, #bd3d1f);
	outline-offset: 5px;
}

@media (max-width: 991.98px) {
	#inspiration.inspiration-home {
		max-height: none;
		padding: 3.5rem 0;
	}

	#inspiration .row {
		min-height: 0;
	}

	#inspiration .col-md-6:first-child {
		padding-right: 2rem;
	}

	#inspiration h2 {
		font-size: clamp(2rem, 4vw, 2.6rem);
	}
}

@media (max-width: 767.98px) {
	#inspiration.inspiration-home {
		padding: 3.25rem 0;
	}

	#inspiration .col-md-6:first-child {
		padding-right: calc(var(--bs-gutter-x) * 0.5);
	}

	#inspiration .col-md-6:last-child {
		justify-content: flex-start;
		margin-top: 2rem;
	}

	#inspiration .col-md-6:last-child > a {
		justify-content: flex-start;
	}

	#inspiration .col-md-6:last-child img {
		max-height: 220px;
	}
}

@media (max-width: 575.98px) {
	#inspiration h2 {
		font-size: 2.2rem;
	}

	#inspiration p:not(.eyebrow) {
		font-size: 0.95rem;
	}
}
