/*********************************************/
/*               HEADER – DESKTOP            */
/*********************************************/
.header {
	width: 100%;
	padding: 14px 40px;
	background: transparent;
	position: relative;
	z-index: 20;
}

.header-container {
	max-width: 1300px;
	margin: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* LOGO desktop */
.logo-web {
	display: block;
	height: 80px;
}

.logo-mobile {
	display: none;
}

/* HEADER RIGHT Desktop */
.header-right {
	display: flex;
	align-items: center;
	gap: 18px;
}

/* Bouton connexion Desktop */
.btn-login {
	background: #e9302a;
	color: white;
	padding: 10px 22px;
	border-radius: 30px;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

/* Menu Desktop visible */
.nav-collapse {
	display: flex !important;
}

.nav-collapse ul {
	display: flex;
	align-items: center;
	gap: 30px;
	margin: 0;
	padding: 0;
}

.nav-collapse li {
	list-style: none;
}

.nav-collapse a {
	text-decoration: none;
	color: #222;
	font-size: 16px;
	font-weight: 600;
}

/* Hamburger caché sur Desktop */
.hamburger {
	display: none;
}

/*********************************************/
/*                 HEADER MOBILE             */
/*********************************************/
@media ( max-width : 768px) {
	.header {
		padding: 12px 20px 34px 20px;
	}
	.header-container {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	/* LOGO mobile */
	.logo-web {
		display: none;
	}
	.logo-mobile {
		display: block;
		height: 54px;
	}

	/* HEADER RIGHT MOBILE */
	.header-right {
		display: flex;
		align-items: center;
		gap: 12px; /* 👉 espace correct entre bouton & hamburger */
	}

	/* Bouton Se connecter MOBILE */
	.btn-login {
		padding: 8px 16px;
		font-size: 14px;
		border-radius: 25px;
		white-space: nowrap;
	}

	/* Hamburger uniquement mobile */
	.hamburger {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 26px;
		height: 20px;
		background: none;
		border: none;
		padding: 0;
		cursor: pointer;
	}
	.hamburger span {
		height: 3px;
		width: 100%;
		background: #e9302a;
		border-radius: 2px;
	}

	/* Masquer le menu au chargement */
	.nav-collapse {
		display: none !important; /* 👈 FORCE bootstrap à obéir */
		width: 100%;
		background: white;
		position: absolute;
		top: 100%;
		left: 0;
		padding: 15px 0;
		border-bottom: 1px solid #eee;
		z-index: 20;
	}
	.nav-collapse.show {
		display: block !important;
		/* 👈 affiché uniquement si JS ajoute "show" */
	}
	.nav-collapse ul {
		display: block;
		padding: 0;
		margin: 0;
	}
	.nav-collapse li {
		padding: 14px 20px;
		border-bottom: 1px solid #f1f1f1;
	}
	.nav-collapse a {
		display: block;
		width: 100%;
		color: #222;
		font-size: 16px;
		text-decoration: none;
	}
	.nav-collapse li:last-child {
		border-bottom: none;
	}
}