/* ==========================================================
   Hero Slider (style Smart Africa)
   ========================================================== */

.hss-slider {
	position: relative;
	width: 100%;
	height: var(--hss-height, 600px);
	overflow: hidden;
	font-family: inherit;
}

.hss-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.hss-slide {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease-in-out;
}

.hss-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

/* Bandeau coloré qui s'estompe progressivement vers la droite,
   pour faire ressortir le texte sur l'image de fond. */
.hss-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		100deg,
		var(--hss-overlay, #15296b) 0%,
		var(--hss-overlay, #15296b) 38%,
		color-mix(in srgb, var(--hss-overlay, #15296b) 55%, transparent) 55%,
		transparent 72%
	);
}

.hss-content {
	position: relative;
	z-index: 2;
	height: 100%;
	max-width: 560px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0 60px 0 90px;
	color: #fff;
}

.hss-label {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: 18px;
	opacity: 0.85;
}

.hss-title {
	font-size: 44px;
	line-height: 1.18;
	font-weight: 800;
	margin: 0 0 32px 0;
}

.hss-button {
	display: inline-block;
	align-self: flex-start;
	background: var(--hss-accent, #f5a623);
	color: #1a1a1a;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px 30px;
	border-radius: 2px;
	transition: filter 0.2s ease, transform 0.2s ease;
}

.hss-button:hover {
	filter: brightness(0.92);
	transform: translateY(-1px);
	color: #1a1a1a;
}

/* Pagination verticale (numéros + traits) sur le bord gauche */
.hss-pagination {
	position: absolute;
	left: 26px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.hss-dot {
	display: flex;
	align-items: center;
	gap: 10px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px 0;
	color: rgba(255, 255, 255, 0.45);
	font-size: 13px;
	font-weight: 600;
	transition: color 0.25s ease;
}

.hss-dot-line {
	width: 14px;
	height: 1px;
	background: rgba(255, 255, 255, 0.45);
	transition: width 0.25s ease, background 0.25s ease;
}

.hss-dot.is-active {
	color: #fff;
}

.hss-dot.is-active .hss-dot-line {
	width: 26px;
	background: #fff;
}

.hss-dot:hover {
	color: #fff;
}

.hss-dot:hover .hss-dot-line {
	background: #fff;
}

/* Responsive */
@media (max-width: 900px) {
	.hss-content {
		padding: 0 40px 0 70px;
		max-width: 100%;
	}
	.hss-title {
		font-size: 32px;
	}
}

@media (max-width: 600px) {
	.hss-slider {
		height: max(420px, calc(var(--hss-height, 600px) * 0.7));
	}
	.hss-content {
		padding: 0 24px;
		max-width: 100%;
	}
	.hss-title {
		font-size: 26px;
	}
	.hss-label {
		font-size: 11px;
	}
	.hss-pagination {
		left: 0;
		right: 0;
		top: auto;
		bottom: 16px;
		transform: none;
		flex-direction: row;
		justify-content: center;
	}
	.hss-dot {
		flex-direction: column;
	}
}
