/* ==========================================================================
   CPTS SUD — PAGE PROJET
   Mesures issues de CPTS-webdesignPROJET.pdf (595.276pt → 1440px, ×2.419)
   ========================================================================== */

.cpts-project {
	background: #fff;
}

.cpts-project-shell {
	width: 100%;
	max-width: 994px;
	margin-inline: auto;
	padding-inline: 20px;
}

@media (min-width: 1040px) {
	.cpts-project-shell {
		padding-inline: 0;
	}
}

/* Hero — barre 61.4pt ≈ 148px, illustration à droite qui déborde */
.cpts-project-hero {
	position: relative;
	z-index: 1;
	overflow: visible;
	background: var(--cpts-magenta);
}

.cpts-project-hero-inner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 148px;
	max-width: var(--cpts-container-width);
	margin-inline: auto;
	padding-inline: 20px;
}

.cpts-project-hero-copy {
	position: relative;
	z-index: 1;
	/* Picto aligné sur le shell 994px, légèrement en retrait comme sur le PDF */
	padding-left: max(0px, calc((100% - 994px) / 2 + 13px));
}

.cpts-project-hero-mission {
	display: flex;
	align-items: center;
	gap: 40px;
}

.cpts-project-hero-picto {
	flex-shrink: 0;
	width: 80px;
	height: auto;
}

.cpts-project-hero-label {
	margin: 0;
	color: #fff;
	font-size: 27px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.2px;
	text-transform: uppercase;
}

.cpts-project-hero-visual {
	position: absolute;
	right: max(0px, calc((100% - 994px) / 2));
	bottom: 0;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	width: 280px;
	max-width: 32%;
	pointer-events: none;
}

.cpts-project-hero-visual img {
	display: block;
	width: auto;
	height: 100%;
	max-height: 148px;
	object-fit: contain;
	object-position: right bottom;
}

/* Intro — 2 colonnes, gouttière ~145px, texte #004080 */
.cpts-project-intro {
	position: relative;
	z-index: 2;
	padding: 60px 0 28px;
	background: transparent;
}

.cpts-project-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 148px;
	row-gap: 32px;
	align-items: start;
}

.cpts-project-eyebrow {
	margin: 0 0 6px;
	color: var(--cpts-magenta);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.15;
	letter-spacing: 0.15px;
	text-transform: uppercase;
}

.cpts-project-title {
	margin: 0 0 36px;
	color: #004080;
	font-size: 41px;
	font-weight: 300;
	line-height: 1.2;
}

.cpts-project-section-label,
.cpts-project-side-title {
	margin: 0 0 6px;
	color: var(--cpts-magenta);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
}

.cpts-project-objective {
	margin: 0;
	color: #004080;
	font-size: 22px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
}

.cpts-project-note {
	margin: 22px 0 0;
	color: #004080;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.2;
}

.cpts-project-intro-side {
	display: grid;
	gap: 28px;
	padding-top: 0;
}

.cpts-project-side-text,
.cpts-project-figures {
	margin: 0;
	color: #004080;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.2;
}

.cpts-project-figures {
	padding-left: 0;
	list-style: none;
}

.cpts-project-figures li + li {
	margin-top: 2px;
}

/* Actions + perspectives : paysage en fond dès les cartes */
.cpts-project-tail {
	position: relative;
	isolation: isolate;
}

.cpts-project-tail-scene {
	position: absolute;
	left: 50%;
	bottom: 0;
	z-index: 0;
	width: 100vw;
	height: 520px;
	transform: translateX(-50%);
	background-image: url("../images/accueil/hero-scene.png");
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
	filter: grayscale(1);
	opacity: 0.26;
	pointer-events: none;
}

.cpts-project-actions {
	position: relative;
	z-index: 1;
	padding: 18px 0 0;
}

.cpts-project-block-title {
	margin: 0 0 22px;
	color: #004080;
	font-size: 27px;
	font-weight: 400;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
}

.cpts-project-action-list {
	display: grid;
	gap: 22px;
}

.cpts-project-action-card {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	gap: 18px;
	min-height: 79px;
	padding: 12px 28px 12px 22px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 8px 18px rgba(0, 32, 64, 0.14);
}

.cpts-project-action-icon {
	display: flex;
	justify-content: center;
	align-items: center;
}

.cpts-project-action-icon img {
	display: block;
	width: 52px;
	height: 52px;
	object-fit: contain;
}

.cpts-project-action-text {
	margin: 0;
	color: var(--cpts-magenta);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
}

.cpts-project-action-text strong {
	font-weight: 700;
}

.cpts-project-action-text span {
	color: var(--cpts-magenta);
	font-weight: 700;
}

.cpts-project-perspectives {
	position: relative;
	z-index: 1;
	padding: 56px 0 72px;
}

.cpts-project-perspectives-inner {
	position: relative;
}

.cpts-project-perspectives-title {
	margin: 0;
	color: var(--cpts-magenta);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.1;
	text-align: center;
	text-transform: uppercase;
}

.cpts-project-perspectives-list,
.cpts-project-plexus-note {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.cpts-project-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 142px;
	margin-top: 164px;
}

.cpts-project-link-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cpts-project-link-button img {
	display: block;
	height: 31px;
	width: auto;
}

.cpts-project-empty {
	padding: 80px 0 96px;
}

.cpts-project-empty-title {
	margin: 0 0 12px;
	color: #004080;
	font-size: 32px;
	font-weight: 500;
	text-align: center;
}

.cpts-project-empty-text {
	margin: 0;
	color: #004080;
	font-size: 17px;
	text-align: center;
}

@media (max-width: 1100px) {
	.cpts-project-hero-copy {
		padding-left: 0;
	}

	.cpts-project-hero-visual {
		width: 220px;
		max-width: 36%;
	}

	.cpts-project-intro-grid {
		column-gap: 64px;
	}

	.cpts-project-links {
		gap: 48px 80px;
		margin-top: 96px;
	}
}

@media (max-width: 991px) {
	.cpts-project-hero-inner {
		flex-direction: column;
		align-items: center;
		min-height: 0;
		padding-top: 28px;
		padding-bottom: 0;
	}

	.cpts-project-hero-copy {
		padding-left: 0;
	}

	.cpts-project-hero-mission {
		justify-content: center;
	}

	.cpts-project-hero-visual {
		position: relative;
		right: auto;
		bottom: auto;
		top: auto;
		width: 200px;
		max-width: 56%;
		height: 110px;
		margin-top: 8px;
	}

	.cpts-project-hero-visual img {
		max-height: 110px;
	}

	.cpts-project-intro {
		padding-top: 48px;
	}

	.cpts-project-intro-grid {
		grid-template-columns: 1fr;
		column-gap: 0;
	}

	.cpts-project-title {
		font-size: clamp(1.85rem, 6vw, 2.55rem);
		margin-bottom: 24px;
	}

	.cpts-project-links {
		gap: 28px 48px;
		margin-top: 56px;
	}

	.cpts-project-tail-scene {
		height: 420px;
	}
}

@media (max-width: 640px) {
	.cpts-project-shell {
		padding-inline: 16px;
	}

	.cpts-project-hero-inner {
		padding-top: 22px;
	}

	.cpts-project-hero-mission {
		gap: 14px;
	}

	.cpts-project-hero-picto {
		width: 52px;
	}

	.cpts-project-hero-label {
		font-size: 17px;
	}

	.cpts-project-hero-visual {
		width: 160px;
		max-width: 64%;
		height: 90px;
	}

	.cpts-project-hero-visual img {
		max-height: 90px;
	}

	.cpts-project-objective,
	.cpts-project-section-label,
	.cpts-project-side-title,
	.cpts-project-perspectives-title {
		font-size: 18px;
	}

	.cpts-project-action-card {
		grid-template-columns: 1fr;
		justify-items: center;
		text-align: center;
		padding: 16px 18px;
	}

	.cpts-project-action-text {
		font-size: 16px;
	}

	.cpts-project-block-title {
		font-size: 20px;
	}

	.cpts-project-perspectives {
		padding: 40px 0 48px;
	}

	.cpts-project-link-button img {
		height: 28px;
	}

	.cpts-project-links {
		gap: 16px;
		margin-top: 36px;
	}
}
