* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	text-decoration: none;
	color: black;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	min-height: 100vh;
}

.stepper {
	position: fixed;
	left: 30px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	z-index: 10;
}

.step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.step-circle {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 1rem;
}

.step.active .step-circle {
	background: linear-gradient(135deg, #a8d5b5, #4a9e6b);
	color: white;
}

.step.inactive .step-circle {
	background: #e5e5e5;
	color: #aaa;
}

.step.active span {
	color: #4a9e6b;
	font-weight: bold;
	font-size: 0.75rem;
}

.step.inactive span {
	color: #aaa;
	font-size: 0.75rem;
}

.step-line {
	width: 3px;
	height: 40px;
	background: #e5e5e5;
}

main {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	margin: 0 15%;
	padding: 50px 0;
}

h1,
p {
	text-align: center;
}

h1 {
	margin-bottom: 20px;
}

p {
	margin-bottom: 50px;
}

a {
	transition: transform 0.3s;
}

a:hover {
	transform: scale(1.05);
}

.container {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 25px;
	width: 100%;
}

.container > a > div {
	position: relative;
	overflow: hidden;
	height: 250px;
	border: 1.5px solid #e5e5e5;
	border-radius: 25px;
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.05);
}

.container > a > div:hover {
	box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.container > a > div > img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.3) 0%,
		rgba(255, 255, 255, 1) 75%
	);
}

.card-content {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 25px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.retour {
	margin-top: 25px;
	padding: 15px;
	border-radius: 25px;
	border: 1.5px solid #e5e5e5;
	align-self: flex-start;
	color: #7f7f7f;
}
