/* =========================================================
   WIDGET : Hero — commun
   ========================================================= */

.hero {
	overflow: hidden;
}

/* ── Blocs texte communs ── */
.hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: var(--sp-6);
	font-family: var(--ff-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--c-accent-deep);
}

/* Style eyebrow : line (défaut) */
.eyebrow-style--line .hero__eyebrow::before {
	content: "";
	display: inline-block;
	width: 24px;
	height: 1.5px;
	background: var(--c-accent);
	flex-shrink: 0;
}

/* Style eyebrow : pill */
.eyebrow-style--pill .hero__eyebrow {
	background: var(--c-accent-tint);
	color: var(--c-accent-deep);
	padding: 5px 14px;
	border-radius: var(--radius-pill);
	letter-spacing: 0.08em;
}
.eyebrow-style--pill .hero__eyebrow::before { display: none; }

/* Style eyebrow : uppercase */
.eyebrow-style--uppercase .hero__eyebrow {
	color: var(--c-ink-muted);
	letter-spacing: 0.18em;
}
.eyebrow-style--uppercase .hero__eyebrow::before { display: none; }

.hero h1 .accent {
	font-style: italic;
	font-weight: 400;
	color: var(--c-accent-deep);
}

.hero__sub {
	margin-top: var(--sp-5);
	font-size: clamp(17px, 1.5vw, 20px);
	color: var(--c-ink-muted);
	line-height: 1.55;
	max-width: 50ch;
}

.hero__annotations {
	list-style: none;
	margin: var(--sp-5) 0 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-2);
}

/* Centré + plein écran : annotations en ligne avec séparateur */
.hero--centered .hero__annotations,
.hero--fullscreen .hero__annotations {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0;
}

.hero--centered .hero__annotations { justify-content: center; }
.hero--fullscreen .hero__annotations { justify-content: flex-start; }

.hero--centered .hero__annotation,
.hero--fullscreen .hero__annotation {
	padding: 0 var(--sp-4);
}

.hero--centered .hero__annotation:first-child,
.hero--fullscreen .hero__annotation:first-child {
	padding-left: 0;
}

.hero--centered .hero__annotation + .hero__annotation,
.hero--fullscreen .hero__annotation + .hero__annotation {
	border-left: 1px solid var(--c-line-strong);
}

.hero__annotation {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	font-family: var(--ff-body);
	font-size: 14px;
	color: var(--c-ink-muted);
}

.hero__annotation-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--c-accent);
	object-fit: contain;
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	margin-top: var(--sp-7);
}

.hero__trust {
	margin-top: var(--sp-8);
	padding-top: var(--sp-5);
	border-top: 1px solid var(--c-line);
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-6) var(--sp-7);
}

.trust-item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.trust-item__value {
	font-family: var(--ff-display);
	font-size: 28px;
	line-height: 1;
	color: var(--c-ink);
	letter-spacing: -0.01em;
}

.trust-item__label {
	font-size: 13px;
	color: var(--c-ink-muted);
	letter-spacing: 0.02em;
}

/* ── Fil d'Ariane ── */
.hero__breadcrumb {
	margin-bottom: var(--sp-5);
}

.hero__breadcrumb__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.hero__breadcrumb__item {
	display: flex;
	align-items: center;
	gap: 4px;
}

.hero__breadcrumb__link {
	font-family: var(--ff-body);
	font-size: 13px;
	color: var(--c-ink-muted);
	text-decoration: none;
	transition: color 0.2s;
}
.hero__breadcrumb__link:hover {
	color: var(--c-accent);
}

.hero__breadcrumb__current {
	font-family: var(--ff-body);
	font-size: 13px;
	color: var(--c-ink);
	font-weight: 500;
}

.hero__breadcrumb__sep {
	color: var(--c-ink-muted);
	opacity: 0.5;
	display: flex;
	align-items: center;
}

/* Variante hero fullscreen (fond sombre) */
.hero__copy--overlay .hero__breadcrumb__link {
	color: rgba(255,255,255,0.55);
}
.hero__copy--overlay .hero__breadcrumb__link:hover {
	color: rgba(255,255,255,0.9);
}
.hero__copy--overlay .hero__breadcrumb__current {
	color: rgba(255,255,255,0.9);
}
.hero__copy--overlay .hero__breadcrumb__sep {
	color: rgba(255,255,255,0.4);
}

/* ── Badge avis Google ── */
.hero__google-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: var(--sp-5);
	padding: 8px 14px;
	background: var(--c-bg);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-pill);
	font-size: 13px;
	font-weight: 500;
	color: var(--c-ink);
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.hero__google-badge__stars {
	display: flex;
	gap: 2px;
	color: #FBBC05;
}

.hero__google-badge__score {
	font-weight: 700;
	color: var(--c-ink);
}

.hero__google-badge__sep {
	color: var(--c-ink-muted);
}

.hero__google-badge__total {
	color: var(--c-ink-muted);
}

.hero__google-badge__logo {
	flex-shrink: 0;
	margin-left: 2px;
}

/* ── Ligne KPI + badge (fullscreen uniquement) ── */
.hero__kpis-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--sp-6);
	flex-wrap: wrap;
}

.hero__kpis-row .hero__trust,
.hero__kpis-row .hero__kpis {
	margin-top: 0;
	border-top: none;
	padding-top: 0;
	flex: 1;
}

.hero__kpis-row__badge {
	flex-shrink: 0;
}

/* ── Séparateur au-dessus de la ligne ── */
.hero__copy--overlay .hero__kpis-row {
	margin-top: var(--sp-8);
	padding-top: var(--sp-5);
	border-top: 1px solid rgba(255, 255, 255, 0.22);
}

/* Variante hero fullscreen (fond sombre) */
.hero__copy--overlay .hero__google-badge {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
	box-shadow: none;
}
.hero__copy--overlay .hero__google-badge__score,
.hero__copy--overlay .hero__google-badge__total,
.hero__copy--overlay .hero__google-badge__sep {
	color: rgba(255, 255, 255, 0.85);
}

/* Hero centré : badge centré */
.hero__copy--centered .hero__google-badge {
	align-self: center;
}

/* ── Image commune ── */
.hero__image,
.hero__image-placeholder {
	display: block;
	width: 100%;
	object-fit: cover;
}

.hero__image-placeholder {
	background: var(--c-bg-alt);
}

/* =========================================================
   HERO 1 — Split gauche/droite
   ========================================================= */

.hero--split {
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(60px, 7vw, 96px);
}

.hero__grid {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: clamp(36px, 6vw, 88px);
	align-items: center;
}

.hero__copy { position: relative; }

.hero--split h1 { font-size: clamp(32px, 4.8vw, 62px); }

/* Colonne image */
.hero__media {
	position: relative;
	aspect-ratio: 4 / 5;
	margin-top: 20px;
}

.hero--split .hero__image,
.hero--split .hero__image-placeholder {
	height: 100%;
	border-radius: var(--radius-lg);
}

/* Décoration image — base */
.hero__media::before {
	content: "";
	position: absolute;
	z-index: -1;
	border-radius: var(--radius-lg);
}

/* Offset (défaut) */
.img-deco--offset .hero__media::before {
	inset: 24px -28px -28px 24px;
	background: var(--c-accent-tint);
}

/* Border */
.img-deco--border .hero__media::before {
	inset: -10px -10px 10px 10px;
	background: transparent;
	border: 2px solid var(--c-accent);
}

/* Shadow */
.img-deco--shadow .hero__media::before {
	inset: 16px -16px -16px 16px;
	background: var(--c-accent);
	opacity: 0.35;
}

/* Responsive Hero 1 */
@media (max-width: 820px) {
	.hero__grid {
		grid-template-columns: 1fr;
	}
	.hero__media {
		max-width: 480px;
		margin: var(--sp-8) auto 0;
	}
}

/* =========================================================
   HERO 2 — Centré + image pleine largeur
   ========================================================= */

.hero--centered {
	padding-top: clamp(64px, 8vw, 112px);
	padding-bottom: 0;
}

.hero__copy--centered {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-bottom: clamp(48px, 6vw, 80px);
}

.hero__copy--centered .hero__sub {
	margin-left: auto;
	margin-right: auto;
}

.hero__copy--centered .hero__ctas {
	justify-content: center;
}

.hero__copy--centered .hero__trust {
	justify-content: center;
}

.hero__fullimg {
	width: 100%;
	position: relative;
}

.hero__fullimg .hero__image,
.hero__fullimg .hero__image-placeholder {
	height: clamp(280px, 45vw, 560px);
	border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* =========================================================
   HERO 3 — Plein écran image en fond
   ========================================================= */

.hero--fullscreen {
	position: relative;
	min-height: clamp(520px, 85vh, 900px);
	display: flex;
	align-items: flex-end;
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.hero__bg .hero__image,
.hero__bg .hero__image-placeholder {
	height: 100%;
	position: absolute;
	inset: 0;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.38) 50%,
		rgba(0, 0, 0, 0.10) 100%
	);
}

.hero__copy--overlay {
	position: relative;
	z-index: 1;
	padding-top: clamp(48px, 6vw, 80px);
	padding-bottom: clamp(56px, 7vw, 96px);
	color: #fff;
}

.hero__copy--overlay .hero__eyebrow {
	color: rgba(255, 255, 255, 0.80);
}

.eyebrow-style--line .hero__copy--overlay .hero__eyebrow::before {
	background: rgba(255, 255, 255, 0.60);
}

.eyebrow-style--pill .hero__copy--overlay .hero__eyebrow {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

.hero__copy--overlay h1 {
	color: #fff;
}

.hero__copy--overlay h1 .accent {
	color: var(--c-accent-tint);
}

.hero__copy--overlay .hero__sub {
	color: rgba(255, 255, 255, 0.78);
}

.hero__copy--overlay .hero__trust {
	border-top-color: rgba(255, 255, 255, 0.22);
}

.hero__copy--overlay .trust-item__value {
	color: #fff;
}

.hero__copy--overlay .trust-item__label {
	color: rgba(255, 255, 255, 0.65);
}

/* Bouton ghost en contexte foncé */
.hero__copy--overlay .btn--ghost {
	border-color: rgba(255, 255, 255, 0.55);
	color: #fff;
}

.hero__copy--overlay .btn--ghost:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.12);
}

/* Responsive Hero 2 & 3 */
@media (max-width: 820px) {
	.hero--fullscreen {
		min-height: clamp(420px, 75vh, 700px);
	}
}

@media (max-width: 820px) {
	.hero__trust {
		margin-top: var(--sp-6);
		padding-top: var(--sp-4);
		gap: var(--sp-4) var(--sp-6);
	}

	.hero__kpis-row {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--sp-4);
	}

	.hero__kpis-row .hero__trust,
	.hero__kpis-row .hero__kpis {
		flex: unset;
		width: 100%;
	}

	.hero__kpis-row__badge {
		width: 100%;
	}
}

@media (max-width: 520px) {
	.hero__copy--centered .hero__ctas {
		flex-direction: column;
		align-items: stretch;
	}
	.hero__copy--centered .hero__trust {
		gap: var(--sp-4);
		justify-content: flex-start;
	}
}

/* =========================================================
   HERO — Carrousel logos
   ========================================================= */

.hero-bottom {
	background: var(--c-bg-alt);
	border-top: 1px solid var(--c-line);
}

/* ── Logos statiques ── */
.hero-bottom__logos-wrap {
	max-width: var(--container);
	margin: 0 auto;
	padding: clamp(28px, 3.5vw, 48px) var(--gutter);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-5);
}

.hero-logos__label {
	font-family: var(--ff-body);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-ink-muted);
	margin: 0;
}

.hero-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(28px, 4vw, 60px);
	width: 100%;
}

.hero-logos__item {
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-logos__img {
	height: 56px;
	width: auto;
	object-fit: contain;
	opacity: 0.5;
	filter: grayscale(1);
	transition: opacity 0.2s, filter 0.2s;
	display: block;
}

/* Taille adaptive selon le nombre de logos */
.hero-logos--1 .hero-logos__img,
.hero-logos--2 .hero-logos__img  { height: 64px; }
.hero-logos--3 .hero-logos__img,
.hero-logos--4 .hero-logos__img  { height: 56px; }
.hero-logos--5 .hero-logos__img,
.hero-logos--6 .hero-logos__img  { height: 48px; }

.hero-logos__img:hover {
	opacity: 0.85;
	filter: grayscale(0);
}

/* =========================================================
   HERO — Animations d'entrée
   ========================================================= */

/* État initial — invisible, décalé vers le bas */
.hero-animate {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
	            transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

/* État final — visible, en place */
.hero-animate--in {
	opacity: 1;
	transform: translateY(0);
}

/* Mots du titre : animation plus rapide et légèrement différente */
.hero-word {
	display: inline-block;
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
	            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-word.hero-animate--in {
	opacity: 1;
	transform: translateY(0);
}

/* Image hero : glisse depuis la droite (split) ou depuis le bas (centered/fullscreen) */
.hero--split .hero__media.hero-animate {
	transform: translateX(32px);
}
.hero--split .hero__media.hero-animate--in {
	transform: translateX(0);
}
.hero--centered .hero__fullimg.hero-animate,
.hero--fullscreen .hero__bg.hero-animate {
	transform: scale(1.04);
	transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
	            transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero--centered .hero__fullimg.hero-animate--in,
.hero--fullscreen .hero__bg.hero-animate--in {
	transform: scale(1);
}

/* Désactivé si prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
	.hero-animate,
	.hero-word {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

