/* ============================================================
   GROUPE POLMAR — Page Le Groupe
   Dépend des variables de main.css (:root)
   ============================================================ */

/* ── Kicker ── */
.lg-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--pink);
	margin-bottom: 14px;
}
.lg-kicker::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--pink);
	border-radius: 2px;
}
.lg-kicker--light { color: #E3B8DA; }
.lg-kicker--light::before { background: #E3B8DA; }

.lg-section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lg-section__head .lg-kicker { justify-content: center; }
.lg-section__head h2 { margin-bottom: 10px; }
.lg-section__sub { color: var(--g600); font-size: .95rem; }

/* ════════ HERO ════════ */
.lg-hero {
	position: relative;
	min-height: 380px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	color: #fff;
}
.lg-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12,32,48,.9) 0%, rgba(15,49,76,.7) 100%);
}
.lg-hero__in {
	position: relative;
	z-index: 1;
	padding-top: 60px;
	padding-bottom: 60px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.lg-hero__in .lg-kicker::after {
	content: "";
	width: 26px;
	height: 2px;
	background: #E3B8DA;
	border-radius: 2px;
}
.lg-hero__in h1 {
	color: #fff;
	font-size: clamp(2.6rem, 6vw, 4.4rem);
	margin-bottom: 12px;
}
.lg-hero__sub {
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	color: rgba(255,255,255,.88);
}

/* ════════ INTRO ════════ */
.lg-intro { background: #fff; padding: 72px 0; }
.lg-intro__in {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 48px;
	align-items: start;
}
.lg-intro__head h2 { margin-bottom: 0; }
.lg-intro__text p {
	color: var(--g600);
	font-size: .95rem;
	line-height: 1.8;
	margin-bottom: 16px;
}
.lg-intro__text p:last-child { margin-bottom: 0; }

/* ════════ CHIFFRES CLÉS ════════ */
.lg-stats { background: var(--navy); color: #fff; }
.lg-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding-top: 44px;
	padding-bottom: 44px;
	gap: 24px;
}
.lg-stat { text-align: center; position: relative; }
.lg-stat + .lg-stat::before {
	content: "";
	position: absolute;
	left: -12px;
	top: 50%;
	transform: translateY(-50%);
	height: 46px;
	width: 1px;
	background: rgba(255,255,255,.16);
}
.lg-stat__num {
	display: block;
	font-family: var(--fc);
	font-size: clamp(2rem, 4vw, 2.9rem);
	font-weight: 800;
	line-height: 1.1;
	color: #fff;
}
.lg-stat__label {
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--pink);
}

/* ════════ CHRONOLOGIE (frise horizontale) ════════ */
.lg-timeline-section { background: var(--g50); padding: 84px 0; }

/* En-tête avec flèches de navigation */
.lg-section__head--row {
	max-width: none;
	margin-bottom: 40px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	text-align: left;
}
.lg-section__head--row .lg-kicker { justify-content: flex-start; }
.lg-tl-nav { display: flex; gap: 10px; flex-shrink: 0; }
.lg-tl-arrow {
	width: 46px;
	height: 46px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: var(--navy);
	border: 1.5px solid var(--g200);
	border-radius: 50%;
	cursor: pointer;
	transition: all var(--transition);
}
.lg-tl-arrow:hover:not(:disabled) {
	background: var(--navy);
	color: #fff;
	border-color: var(--navy);
}
.lg-tl-arrow:disabled { opacity: .35; cursor: default; }

/* Piste scrollable horizontale — style "route" façon Mary */
.lg-timeline {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	background: var(--g100);
}
.lg-timeline::-webkit-scrollbar { display: none; }

.lg-timeline__track {
	display: flex;
	width: max-content;
	padding: 0 max(24px, calc((100vw - var(--container)) / 2 + 24px));
	position: relative;
}

/* La "route" : ligne blanche épaisse au centre vertical de la frise */
.lg-road {
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	height: 14px;
	background: #fff;
	transform: translateY(-50%);
	box-shadow: 0 4px 18px rgba(12,32,48,.10);
}

/* Colonne année */
.lg-tl-col {
	scroll-snap-align: start;
	position: relative;
	flex: 0 0 340px;
	width: 340px;
	min-height: 660px;
	padding: 0 18px;
	border-left: 1px dashed var(--g200);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.lg-tl-col:last-child { border-right: 1px dashed var(--g200); }

/* Grand chiffre d'année en filigrane */
.lg-tl-bigyear {
	position: absolute;
	top: 28px;
	left: 18px;
	font-family: var(--fc);
	font-size: 5.5rem;
	font-weight: 800;
	line-height: 1;
	color: var(--navy);
	opacity: .07;
	letter-spacing: .01em;
	pointer-events: none;
}

/* Les jalons d'une année, empilés et répartis autour de la route */
.lg-tl-col__cards {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

/* Chaque jalon : carte + point + connecteur vers la route */
.lg-tl-item { position: relative; }

/* Point sur la route */
.lg-tl-dot {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 16px;
	height: 16px;
	background: var(--pink);
	border: 3px solid #fff;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 0 2px var(--pink);
	z-index: 3;
	display: none; /* activé seulement pour les colonnes à 1 jalon centré (cf. plus bas) */
}

.lg-tl-card {
	position: relative;
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	overflow: hidden;
	transition: transform var(--transition), box-shadow var(--transition);
}
.lg-tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lg-tl-card__img {
	height: 160px;
	background: var(--g100);
	overflow: hidden;
}
.lg-tl-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lg-tl-card__txt {
	padding: 14px 18px;
	font-size: .85rem;
	font-weight: 500;
	color: var(--text);
	line-height: 1.5;
}

/* Jalon sans image (création 2009, lancements) */
.lg-tl-card--lead {
	background: var(--navy);
	display: flex;
	align-items: center;
	min-height: 130px;
}
.lg-tl-card--lead .lg-tl-card__txt {
	font-family: var(--fc);
	text-transform: uppercase;
	letter-spacing: .02em;
	font-size: 1.15rem;
	font-weight: 800;
	color: #fff;
	padding: 22px;
	line-height: 1.25;
}

/* ════════ RECRUTEMENT ════════ */
.lg-jobs {
	position: relative;
	padding: 96px 0;
	background-size: cover;
	background-position: center;
	color: #fff;
}
.lg-jobs__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgba(12,32,48,.94) 0%, rgba(15,49,76,.82) 55%, rgba(15,49,76,.55) 100%);
}
.lg-jobs__in { position: relative; z-index: 1; max-width: 720px; }
.lg-jobs__in h2 { color: #fff; margin-bottom: 16px; }
.lg-jobs__in p {
	color: rgba(255,255,255,.85);
	font-size: .95rem;
	margin-bottom: 28px;
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 900px) {
	.lg-intro__in { grid-template-columns: 1fr; gap: 24px; }
	.lg-section__head--row { flex-direction: column; align-items: flex-start; gap: 18px; }
}
@media (max-width: 640px) {
	.lg-hero { min-height: 0; }
	.lg-intro { padding: 52px 0; }
	.lg-timeline-section { padding: 56px 0; }
	.lg-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
	.lg-stat + .lg-stat::before { display: none; }
	.lg-jobs { padding: 72px 0; }

	/* Colonnes un peu plus étroites sur mobile, padding de bord réduit */
	.lg-tl-col { flex: 0 0 80vw; width: 80vw; max-width: 320px; min-height: 580px; }
	.lg-timeline__track { padding: 0 16px; }
	.lg-tl-bigyear { font-size: 4rem; }
}
