/* ==== Reset rapide ==== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Segoe UI', Roboto, sans-serif;
	background: #ffffff;
	color: #2c2c2c;
	line-height: 1.6;
}

/* ==== HERO ==== */
.hero {
	position: relative;
	height: 60vh;
	min-height: 400px;
	background: url('/public/img/carrosserie/IMG_5802.jpg') center/cover no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	text-align: center;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
}

.hero-content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	padding: 20px;
}

.hero h1 {
	font-size: 48px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 auto 15px;
}

.hero p {
	font-size: 20px;
	margin-bottom: 25px;
}

.cta-btn {
	display: inline-block;
	background: #c62828;
	color: #fff;
	padding: 12px 24px;
	border-radius: 30px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
}

.cta-btn:hover {
	background: #a31414;
	transform: translateY(-2px);
}

/* ==== Sections ==== */
main section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 60px 20px;
	text-align: center;
}

.intro h2,
.gallery h2,
.work-process h2 {
	font-size: 32px;
	font-weight: 700;
	position: relative;
	margin: 0 auto 20px;
}

.intro h2::after,
.gallery h2::after,
.work-process h2::after {
	content: "";
	display: block;
	width: 60px;
	height: 4px;
	background: #c62828;
	margin: 12px auto 0;
	border-radius: 2px;
}

.intro p {
	max-width: 900px;
	margin: 0 auto;
	font-size: 18px;
	color: #444;
	line-height: 1.8;
}

/* ==== Galerie & Process (images + légendes) ==== */
.gallery-row,
.work-steps {
	display: flex;
	justify-content: center;
	align-items: stretch;
	gap: 25px;
	flex-wrap: wrap;
	margin-top: 40px;
}

figure {
	flex: 1 1 250px;
	max-width: 300px;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

figure:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

figure img {
	width: 100%;
	height: 200px; /* taille fixe pour égaliser */
	object-fit: cover;
	display: block;
}

figcaption {
	background: #f1f1f1;
	padding: 12px;
	font-size: 16px;
	font-weight: 500;
	color: #333;
	text-align: center;
}

/* ==== Highlight box ==== */
.highlight-box {
	margin-top: 50px;
	background: linear-gradient(135deg, #222, #444);
	color: #fff;
	padding: 30px;
	border-radius: 14px;
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-box:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.highlight-box p {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 20px;
	color: #ffcc00;
}

.highlight-box img {
	height: auto;
	width: 100%;
	aspect-ratio: 16/9;
	border-radius: 10px;
	object-fit: cover;
	object-position: center 70%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* ==== Responsive ==== */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 32px;
	}

	.hero p {
		font-size: 16px;
	}

	.cta-btn {
		padding: 10px 20px;
		font-size: 14px;
	}

	.gallery-row, .work-steps {
		gap: 15px;
	}

	figure {
		max-width: 100%;
	}

	figure img {
		height: 180px;
	}
}