/* ----------------------------------------------------- */
/* GLOBAL */
/* ----------------------------------------------------- */
*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow: hidden; /* No global scroll */
	font-family: 'Inter', sans-serif;
	background: #ffffff;
}

/* ----------------------------------------------------- */
/* SECTION */
/* ----------------------------------------------------- */
.hero-inscription {
	height: calc(100dvh);
	background: linear-gradient(180deg, #ffffff 0%, #ffeaea 90%);
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding-top: 12px;
	overflow-y: auto;
}

/* ----------------------------------------------------- */
/* FORM WRAPPER */
/* ----------------------------------------------------- */
.form-wrapper {
	width: 100%;
	max-width: 380px;
	background: white;
	padding: 18px 20px;
	border-radius: 18px;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.07);
}

/* ----------------------------------------------------- */
/* HEADER (LOGO + LOGIN) */
/* ----------------------------------------------------- */
.form-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 22px;
}

.form-logo img.logo-web {
	height: 22px;
}

.form-logo img.logo-mobile {
	display: none;
	height: 20px;
}

.btn-login {
	background: #e9302a;
	color: white;
	padding: 7px 16px;
	border-radius: 18px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

/* MOBILE SWITCH */
@media ( max-width : 768px) {
	.form-logo img.logo-web {
		display: none;
	}
	.form-logo img.logo-mobile {
		display: block;
	}
}

/* ----------------------------------------------------- */
/* TITRE */
/* ----------------------------------------------------- */
h1 {
	margin: 0 0 10px 0;
	font-size: 20px;
	font-weight: 700;
	text-align: center;
}

/* ----------------------------------------------------- */
/* RÉASSURANCE */
/* ----------------------------------------------------- */
.reassurance-top {
	font-size: 11px;
	text-align: center;
	color: #444;
	margin: 8px 0;
	line-height: 1.4;
}

.reassurance-bottom {
	font-size: 11px;
	text-align: center;
	color: #444;
	margin: 8px 0;
	line-height: 1.4;
	font-weight: bold;
}

/* ----------------------------------------------------- */
/* FORM & CHAMPS */
/* ----------------------------------------------------- */
.form-group {
	margin-bottom: 12px;
	font-size: 12px;
}

.input {
	width: 100%;
	padding: 8px 10px;
	font-size: 13px;
	height: 36px;
	border: 1px solid #ddd;
	border-radius: 6px;
	transition: all 0.25s ease;
	outline: none;
}

/* ✅✅ FOCUS ROUGE eDary PREMIUM */
.input:focus, input:focus, select:focus {
	border-color: #e9302a !important;
	box-shadow: 0 0 6px rgba(233, 48, 42, 0.45);
	outline: none;
}

/* Hover desktop */
@media ( min-width : 1024px) {
	.input:hover {
		border-color: #e9302a;
		transition: 0.2s;
	}
}

/* ----------------------------------------------------- */
/* BUTTON */
/* ----------------------------------------------------- */
.btn-primary {
	width: 100%;
	padding: 13px;
	background: #e9302a;
	color: white;
	border-radius: 22px;
	font-size: 15px;
	border: none;
	font-weight: 600;
	cursor: pointer;
	transition: 0.25s ease;
}

/* Hover desktop */
@media ( min-width : 1024px) {
	.btn-primary:hover {
		background: #c52a25;
	}
}

/* ----------------------------------------------------- */
/* MESSAGES */
/* ----------------------------------------------------- */
.messages {
	background: #ffe3e3;
	color: #c62828;
	padding: 6px 8px;
	border-radius: 6px;
	font-size: 11px;
	margin-top: 6px;
}

/* ----------------------------------------------------- */
/* MOBILE TUNING – respiration */
/* ----------------------------------------------------- */
@media ( max-width : 768px) {
	.hero-inscription {
		padding-top: 18px; /* +6px breathing */
	}
	.form-wrapper {
		padding-top: 18px;
		padding-bottom: 18px;
	}
	.form-header {
		margin-bottom: 22px; /* spacing header → title */
	}
	.form-group {
		margin-bottom: 12px;
	}
	.btn-primary {
		margin-top: 4px;
		margin-bottom: 0px;
	}
	.reassurance-top {
		margin-top: 0px;
		margin-bottom: 34px;
	}
	.reassurance-bottom {
		margin-top: 12px;
	}
}

/* ----------------------------------------------------- */
/* DESKTOP OPTIMISATION */
/* ----------------------------------------------------- */
@media ( min-width : 1024px) {
	.hero-inscription {
		background: linear-gradient(180deg, #ffffff 0%, #ffeaea 70%);
		display: flex;
		justify-content: center;
		align-items: flex-start;
		padding-top: 40px;
		height: 100vh;
		overflow: hidden;
	}
	.form-wrapper {
		max-width: 520px;
		padding: 34px 40px;
		margin-top: 0;
		margin-bottom: 40px;
		border-radius: 20px;
	}
	.form-logo img.logo-web {
		height: 55px;
	}
	.btn-login {
		padding: 8px 22px;
		font-size: 15px;
		border-radius: 24px;
	}
	h1 {
		font-size: 28px;
		margin-bottom: 20px;
	}
	.reassurance-top {
		font-size: 15px;
		margin: 0px 0px 34px 0px;
		color: #555;
		line-height: 1.55;
	}
	.reassurance-bottom {
		font-size: 15px;
		margin: 14px 0;
		color: #555;
		line-height: 1.55;
	}
	.form-group {
		margin-bottom: 18px;
		font-size: 15px;
	}
	.input {
		padding: 12px 14px;
		height: 46px;
		font-size: 16px;
		border-radius: 8px;
	}
	.btn-primary {
		padding: 16px;
		font-size: 18px;
		border-radius: 28px;
	}
	.messages {
		font-size: 14px;
		padding: 10px 12px;
	}
}

#form\\:hp {
	display: none !important;
	visibility: hidden !important;
}