/* [LMNP.Blog] Hero Accueil — v1.4.0 */

.lmnp-home-hero {
	width: min(1290px, calc(100% - 40px));
	margin: 34px auto 28px;
	padding: 34px 40px;
	background: #fff;
	border: 1px solid #dfe5e9;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(31, 52, 72, .05);
	box-sizing: border-box;
}

.lmnp-home-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.22fr) minmax(300px, .78fr);
	gap: 34px;
	align-items: center;
}

.lmnp-home-hero__content,
.lmnp-home-hero__visual {
	min-width: 0;
}

.lmnp-home-hero__title {
	margin: 0 0 15px;
	color: #304e68;
	font-size: clamp(31px, 3vw, 43px);
	line-height: 1.14;
	font-weight: 750;
	letter-spacing: -.025em;
}

.lmnp-home-hero__intro {
	max-width: 780px;
	margin: 0 0 20px;
	color: #42515d;
	font-size: 18px;
	line-height: 1.55;
}

.lmnp-home-hero__benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px 26px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.lmnp-home-hero__benefits li {
	position: relative;
	margin: 0;
	padding-left: 28px;
	color: #42515d;
	font-size: 15px;
	line-height: 1.4;
}

.lmnp-home-hero__benefits li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 1px;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: #20a75a;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 19px;
	text-align: center;
}

.lmnp-home-hero__cta {
	margin: 0 0 24px;
}

.lmnp-home-hero__cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 28px;
	border-radius: 5px;
	background: #3487bf;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 17px;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(52, 135, 191, .16);
	transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.lmnp-home-hero__cta a:hover {
	background: #244f73;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(36, 79, 115, .18);
}

/* Offre promotionnelle : bloc compact placé à gauche du bouton. */
.lmnp-home-hero__action-row {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0 0 24px;
}

.lmnp-home-hero__action-row .lmnp-home-hero__cta {
	margin: 0;
}

.lmnp-home-hero__offer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
	min-width: max-content;
	line-height: 1.2;
}

.lmnp-home-hero__rating {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
}

.lmnp-home-hero__stars {
	color: #f5a000;
	font-size: 15px;
	letter-spacing: 1px;
	line-height: 1;
}

.lmnp-home-hero__rating-text {
	color: #5b6f80;
	font-weight: 400;
	white-space: nowrap;
}

.lmnp-home-hero__price-line {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.lmnp-home-hero__promo-price {
	color: #132f49;
	font-size: 19px;
	font-weight: 800;
	white-space: nowrap;
}

.lmnp-home-hero__old-price {
	color: #a5afb7;
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
}

.lmnp-home-hero__promo-label {
	color: #5b6f80;
	font-size: 12px;
	font-weight: 500;
}

.lmnp-home-hero__reassurance {
	display: grid;
	grid-template-columns: minmax(0, .85fr) minmax(0, .9fr) minmax(0, 1.25fr);
	gap: 12px 18px;
	padding-top: 2px;
}

.lmnp-home-hero__trust {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	color: #304e68;
}

.lmnp-home-hero__trust-icon {
	display: inline-flex;
	flex: 0 0 34px;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid #d5e3ed;
	border-radius: 50%;
	background: #f4f9fc;
	color: #3487bf;
	font-size: 17px;
	font-weight: 750;
	line-height: 1;
	box-sizing: border-box;
}

.lmnp-home-hero__trust-copy {
	min-width: 0;
}

.lmnp-home-hero__trust strong,
.lmnp-home-hero__trust small {
	display: block;
}

.lmnp-home-hero__trust strong {
	color: #304e68;
	font-size: 13px;
	line-height: 1.25;
}

.lmnp-home-hero__trust small {
	margin-top: 2px;
	color: #5c6b77;
	font-size: 12px;
	line-height: 1.3;
}

/* Colonne visuelle : plus compacte pour laisser la priorité au texte */
.lmnp-home-hero__visual {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

/* Le visuel est déjà "mis en scène" : cadre discret uniquement. */
.lmnp-home-hero__image-frame {
	position: relative;
	width: 100%;
	max-width: 500px;
	padding: 7px;
	background: #fff;
	border: 1px solid #dfe5e9;
	border-radius: 11px;
	box-shadow: 0 10px 30px rgba(31, 52, 72, .08);
	overflow: hidden;
}

.lmnp-home-hero__image-frame img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	border-radius: 7px;
}

/* Tablette */
@media (max-width: 1100px) {
	.lmnp-home-hero__inner {
		grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
		gap: 28px;
	}

	.lmnp-home-hero__reassurance {
		grid-template-columns: 1fr;
	}

	.lmnp-home-hero__benefits {
		grid-template-columns: 1fr;
	}
}

/* Mobile */
@media (max-width: 781px) {
	.lmnp-home-hero {
		width: min(100% - 24px, 1290px);
		margin-top: 20px;
		padding: 23px 20px;
	}

	.lmnp-home-hero__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.lmnp-home-hero__title {
		font-size: 30px;
	}

	.lmnp-home-hero__intro {
		font-size: 16px;
	}

	.lmnp-home-hero__cta a {
		width: 100%;
		box-sizing: border-box;
	}

	.lmnp-home-hero__action-row {
		align-items: flex-start;
		gap: 16px;
	}

	.lmnp-home-hero__action-row .lmnp-home-hero__cta {
		flex: 1 1 auto;
	}

	.lmnp-home-hero__offer {
		flex: 0 0 auto;
	}

	.lmnp-home-hero__visual {
		order: -1;
		justify-content: center;
	}

	.lmnp-home-hero__image-frame {
		max-width: none;
	}

	.lmnp-home-hero__image-frame img {
		aspect-ratio: 16 / 10;
	}
}


/* v1.4.7 — bloc avis/promo inspiré des widgets Trustindex, sans logo ni marque tierce. */
.lmnp-home-hero .lmnp-home-hero__action-row--marketing {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 5px 0 24px;
	flex-wrap: wrap;
}

.lmnp-home-hero .lmnp-home-hero__offer--marketing {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 7px;
	min-width: 285px;
	padding: 14px 17px 13px;
	background: #fff;
	border: 1px solid #d9e4ea;
	border-radius: 13px;
	box-shadow: 0 8px 22px rgba(31, 52, 72, .08);
	box-sizing: border-box;
}

.lmnp-home-hero .lmnp-home-hero__rating--marketing {
	display: flex;
	align-items: center;
	gap: 7px;
	min-height: 20px;
	flex-wrap: nowrap;
}

.lmnp-home-hero .lmnp-home-hero__rating-label {
	color: #213d55;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.lmnp-home-hero .lmnp-home-hero__star-boxes {
	display: inline-flex;
	gap: 2px;
	white-space: nowrap;
}

.lmnp-home-hero .lmnp-home-hero__star-boxes > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	border-radius: 3px;
	background: #f4a21a;
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.lmnp-home-hero .lmnp-home-hero__rating-score {
	color: #536a7c;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.lmnp-home-hero .lmnp-home-hero__rating-meta {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #7a8995;
	font-size: 11px;
	line-height: 1.25;
	white-space: nowrap;
}

.lmnp-home-hero .lmnp-home-hero__rating-meta strong {
	color: #657987;
	font-weight: 700;
}

.lmnp-home-hero .lmnp-home-hero__rating-separator {
	color: #bcc5cb;
}

.lmnp-home-hero .lmnp-home-hero__price-line--marketing {
	display: flex;
	align-items: baseline;
	gap: 10px;
	min-height: 34px;
	margin-top: 3px;
	padding-top: 8px;
	border-top: 1px solid #eef2f4;
	width: 100%;
}

.lmnp-home-hero .lmnp-home-hero__promo-price--marketing {
	color: var(--lmnp-promo-color, #1f7ea8);
	font-size: 32px;
	font-weight: 850;
	line-height: 1;
	letter-spacing: -.025em;
	white-space: nowrap;
}

.lmnp-home-hero .lmnp-home-hero__old-price--marketing {
	color: #a5afb7;
	font-size: 17px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration-thickness: 1px;
}

.lmnp-home-hero .lmnp-home-hero__promo-label--marketing {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border-radius: 999px;
	background: #eaf7ef;
	color: #17834a;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.lmnp-home-hero .lmnp-home-hero__cta--marketing {
	display: flex;
	align-items: stretch;
	margin: 0;
}

.lmnp-home-hero .lmnp-home-hero__cta--marketing a {
	min-width: 275px;
	min-height: 60px;
	padding: 0 30px;
	border-radius: 8px;
	font-size: 18px;
	box-shadow: 0 7px 18px rgba(52, 135, 191, .22);
	box-sizing: border-box;
}

@media (max-width: 781px) {
	.lmnp-home-hero .lmnp-home-hero__action-row--marketing {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.lmnp-home-hero .lmnp-home-hero__offer--marketing {
		width: 100%;
		min-width: 0;
	}

	.lmnp-home-hero .lmnp-home-hero__cta--marketing,
	.lmnp-home-hero .lmnp-home-hero__cta--marketing a {
		width: 100%;
		min-width: 0;
	}
}
