/* ==========================================================
   Kwanty – Hero d'accueil (remplace Slider Revolution)
   ========================================================== */

.kw-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh;
	overflow: hidden;
	background-color: #1b978b;
	color: #fff;
	font-family: "Muli", Arial, Tahoma, sans-serif;
}

.admin-bar .kw-hero {
	min-height: calc(100vh - 32px);
	min-height: calc(100svh - 32px);
}

.kw-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	z-index: 0;
}

.kw-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	column-gap: 53px;
	width: 100%;
	max-width: 1240px;
	padding: 40px 20px;
	box-sizing: border-box;
}

/* --- Bloc logo ------------------------------------------- */
.kw-hero__brand {
	justify-self: end;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	width: 212px;
}

.kw-hero__logo {
	display: block;
	width: 212px;
	height: auto;
	margin: 0;
}

.kw-hero .kw-hero__title {
	margin: 6px 0 0;
	padding: 0;
	font-family: inherit;
	font-size: 46px;
	line-height: 1;
	font-weight: 400;
	letter-spacing: 0;
	color: #fff;
}

.kw-hero__sr {
	display: none;
}

.kw-hero .kw-hero__brandline {
	margin: 10px 0 0;
	font-size: 20px;
	line-height: 22px;
	font-weight: 200;
	color: #fff;
}

/* --- Bloc texte ------------------------------------------ */
.kw-hero__content {
	justify-self: start;
	max-width: 420px;
	text-align: left;
}

.kw-hero .kw-hero__kicker {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 18px;
	font-weight: 400;
	color: #fff;
}

.kw-hero .kw-hero__lead {
	margin: 0 0 20px;
	font-size: 36px;
	line-height: 36px;
	font-weight: 300;
	color: #fff;
}

.kw-hero .kw-hero__services {
	margin: 0 0 29px;
	font-size: 14px;
	line-height: 18px;
	font-weight: 400;
	color: #fff;
}

.kw-hero .kw-hero__btn {
	display: inline-block;
	padding: 15px 30px;
	border: 2px solid #1b978b;
	background: transparent;
	color: #fff;
	font-size: 16px;
	line-height: 17px;
	font-weight: 300;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .3s ease-in-out, color .3s ease-in-out;
}

.kw-hero .kw-hero__btn:hover,
.kw-hero .kw-hero__btn:focus-visible {
	background-color: #1b978b;
	color: #fff;
	text-decoration: none;
}

/* --- Apparition légère ----------------------------------- */
@keyframes kwHeroFadeUp {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: none; }
}

@keyframes kwHeroFade {
	from { opacity: 0; }
	to   { opacity: 1; }
}

.kw-hero__brand,
.kw-hero__kicker,
.kw-hero__lead,
.kw-hero__services,
.kw-hero__btn {
	animation: kwHeroFadeUp .9s ease-out both;
}

.kw-hero__bg       { animation: kwHeroFade .6s ease-out both; }
.kw-hero__brand    { animation-name: kwHeroFade; animation-duration: 1.2s; }
.kw-hero__kicker   { animation-delay: .2s; }
.kw-hero__lead     { animation-delay: .35s; }
.kw-hero__services { animation-delay: .5s; }
.kw-hero__btn      { animation-delay: .65s; }

@media (prefers-reduced-motion: reduce) {
	.kw-hero__bg,
	.kw-hero__brand,
	.kw-hero__kicker,
	.kw-hero__lead,
	.kw-hero__services,
	.kw-hero__btn {
		animation: none;
	}
}

/* --- Tablette ---------------------------------------------- */
@media (max-width: 959px) {
	.kw-hero__inner {
		column-gap: 36px;
	}
	.kw-hero__brand,
	.kw-hero__logo {
		width: 170px;
	}
	.kw-hero .kw-hero__title {
		font-size: 38px;
	}
	.kw-hero .kw-hero__lead {
		font-size: 30px;
		line-height: 32px;
	}
}

/* --- Mobile ----------------------------------------------- */
@media (max-width: 767px) {
	.kw-hero,
	.admin-bar .kw-hero {
		min-height: 85vh;
		min-height: 85svh;
	}
	.kw-hero__inner {
		grid-template-columns: 1fr;
		row-gap: 28px;
		padding: 40px 20px;
		text-align: center;
	}
	.kw-hero__brand,
	.kw-hero__content {
		justify-self: center;
	}
	.kw-hero__brand,
	.kw-hero__logo {
		width: 130px;
	}
	.kw-hero__content {
		text-align: center;
	}
	.kw-hero .kw-hero__title {
		font-size: 32px;
	}
	.kw-hero .kw-hero__brandline {
		margin-top: 6px;
		font-size: 16px;
	}
	.kw-hero .kw-hero__kicker {
		margin-bottom: 12px;
	}
	.kw-hero .kw-hero__lead {
		font-size: 26px;
		line-height: 30px;
		margin-bottom: 14px;
	}
	.kw-hero .kw-hero__services {
		margin-bottom: 22px;
	}
	.kw-hero__services br {
		display: none;
	}
}
