.slider-section {
	width: 100%;
	max-width: 720px;
	margin: 2rem auto;
	padding: 0 1rem;
}

/* ---- ONGLETS ---- */
.group-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 1.2rem;
	flex-wrap: wrap;
	justify-content: center;
}

.tab {
	padding: 6px 16px;
	border-radius: 20px;
	border: 1.5px solid #ffd857;
	background: #ffffff;
	color: #2d2d2d;
	font-size: 18px;
	font-family: Arial, Helvetica, sans-serif;
	cursor: pointer;
	transition: all 0.2s;
}

.tab.active, .tab:hover {
	background: #ebc753;
	color: #ffffff;
	border-color: #ffd857;
}

/* ---- TITRE DYNAMIQUE ---- */
.slider-title-wrap {
	text-align: center;
	margin-bottom: 1rem;
	min-height: 55px;
}

.slider-group-name {
	font-size: 22px;
	font-weight: bold;
	color: #2d2d2d;
	font-family: Arial, Helvetica, sans-serif;
	transition: opacity 0.3s ease;
}

.slider-group-name.fade {
	opacity: 0;
}

.slider-sub {
	font-size: 12px;
	color: #ffd857;
	margin-top: 4px;
	font-family: Arial, Helvetica, sans-serif;
}

/* ---- SLIDER WRAP ---- */
.slider-wrap {
	position: relative;
	width: 100%;
	height: 100%px;
	overflow: hidden;
	border-radius: 16px;
	background: #d6e8fa;
}

.slider-track {
	display: flex;
	height: 100%;
	transition: transform 0.5s ease;
}

/* ---- SLIDES ---- */
.slide {
	min-width: 100%;
	height: 100%;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Fond flouté */
.slide::before {
	content: "";
	position: absolute;
	inset: -10%;
	background-image: var(--bg);
	background-size: cover;
	background-position: center;
	filter: blur(18px);
	transform: scale(1.1);
	z-index: 0;
}

/* Image principale */
.slide img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: contain;
	z-index: 1;
}

/* Placeholder si image absente */
.slide .placeholder {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	color: #3b5ea6;
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif;
}

.slide .placeholder span {
	font-size: 36px;
}

/* ---- BOUTONS ---- */
.btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.85);
	border: 1.5px solid #ffd857;
	border-radius: 50%;
	width: 42px;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	font-size: 22px;
	color: #1e3a5f;
	transition: background 0.2s;
	line-height: 1;
}

.btn:hover {
	background: #ffffff;
	border-color: #ffd857;
}

.btn-left {
	left: 12px;
}
.btn-right {
	right: 12px;
}

/* ---- DOTS ---- */
.dots {
	position: absolute;
	display: flex;
	justify-content: center;
	bottom: 12px;
	width: 100%;
	gap: 8px;
	margin-top: 14px;
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #ffd857;
	cursor: pointer;
	transition: background 0.3s;
}

.dot.active {
	background: #a6983b;
}

/* ---- COMPTEUR ---- */
.slider-counter {
	text-align: center;
	font-size: 12px;
	color: #ffd857;
	margin-top: 8px;
	font-family: Arial, Helvetica, sans-serif;
}
