/* ==========================================================================
   CPTS SUD — PAGE LA CPTS
   Aligné sur CPTS-webdesignLACPTS.pdf (595.276pt → 1440px, ×2.419)
   ========================================================================== */

.cpts-lacpts {
	background: #fff;
	color: #004080;
	overflow-x: hidden;
}

.cpts-lacpts .cpts-container {
	max-width: 1006px;
}

.cpts-lacpts-intro .cpts-container {
	/* PDF : contenu ~165→1290 (1125px) + padding container */
	max-width: 1165px;
}

.cpts-lacpts-center {
	display: flex;
	justify-content: center;
	margin-top: 28px;
}

.cpts-lacpts-btn-magenta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 161px;
	min-height: 30px;
	padding: 0 20px;
	border-radius: 999px;
	background: var(--cpts-magenta);
	color: #fff !important;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.2px;
	text-transform: uppercase;
	box-shadow: none;
	transition: transform 0.2s ease, filter 0.2s ease;
}

.cpts-lacpts-btn-magenta:hover {
	transform: translateY(-1px);
	filter: brightness(0.96);
}

.cpts-lacpts-adhesion {
	display: inline-flex;
	line-height: 0;
}

.cpts-lacpts-adhesion img {
	display: block;
	height: 34px;
	width: auto;
}

.cpts-lacpts-section-title {
	margin: 0 0 4px;
	color: #004080;
	font-size: 26.6px;
	font-weight: 300;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
}

.cpts-lacpts-section-title--large {
	font-size: 33.9px;
}

.cpts-lacpts-section-subtitle {
	margin: 0 0 22px;
	color: #004080;
	font-size: 19.4px;
	font-weight: 300;
	line-height: 1.2;
	text-align: center;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Hero — texte centré uniquement (illustration sous le hero, à gauche)
   -------------------------------------------------------------------------- */
.cpts-lacpts-hero {
	background: var(--cpts-magenta);
}

.cpts-lacpts-hero-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	max-width: 1240px;
	min-height: 149px;
	padding: 18px 20px;
	text-align: center;
}

.cpts-lacpts-hero-kicker {
	margin: 0 0 2px;
	max-width: 780px;
	color: #fff;
	font-size: 9.7px;
	font-weight: 400;
	letter-spacing: 0.35px;
	line-height: 1.3;
	text-transform: uppercase;
}

.cpts-lacpts-hero-title {
	margin: 0;
	max-width: 1100px;
	color: #fff;
	font-size: 26.6px;
	font-weight: 400;
	line-height: 1.25;
	text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Intro — personnages + texte | carte
   -------------------------------------------------------------------------- */
.cpts-lacpts-intro {
	padding: 90px 0 48px;
}

.cpts-lacpts-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 595px) minmax(0, 440px);
	justify-content: space-between;
	column-gap: 90px;
	row-gap: 24px;
	align-items: start;
}

.cpts-lacpts-intro-visual {
	margin: 0 0 34px;
}

.cpts-lacpts-intro-visual img {
	display: block;
	width: min(100%, 533px);
	height: auto;
}

.cpts-lacpts-intro-copy {
	max-width: 595px;
}

.cpts-lacpts-intro-copy p {
	margin: 0 0 14px;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.35;
}

.cpts-lacpts-intro-ambition {
	margin-bottom: 8px !important;
	font-size: 16.9px !important;
	font-weight: 700 !important;
	line-height: 1.33 !important;
}

.cpts-lacpts-intro-list {
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.cpts-lacpts-intro-list li {
	position: relative;
	padding-left: 14px;
	font-size: 16.9px;
	font-weight: 400;
	line-height: 1.33;
}

.cpts-lacpts-intro-list li::before {
	content: "-";
	position: absolute;
	left: 0;
	top: 0;
}

.cpts-lacpts-intro-list li + li {
	margin-top: 0;
}

.cpts-lacpts-intro-map {
	display: flex;
	justify-content: flex-end;
	padding-top: 0;
}

.cpts-lacpts-intro-map img {
	display: block;
	width: min(100%, 440px);
	height: auto;
}

/* --------------------------------------------------------------------------
   Projet de santé + 6 missions
   -------------------------------------------------------------------------- */
.cpts-lacpts-project {
	padding: 8px 0 52px;
}

.cpts-lacpts-project-text {
	max-width: 900px;
	margin: 0 auto 28px;
	text-align: center;
}

.cpts-lacpts-project-text p {
	margin: 0 0 0;
	font-size: 16.9px;
	font-weight: 400;
	line-height: 1.33;
}

.cpts-lacpts-project-text p + p {
	margin-top: 0;
}

.cpts-lacpts-project-text p:last-child {
	margin-top: 18px;
	margin-bottom: 8px;
	font-size: 21.8px;
	font-weight: 400;
	line-height: 1.3;
}

.cpts-lacpts-missions-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	max-width: 947px;
	margin-inline: auto;
}

.cpts-lacpts-mission-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	min-height: 166px;
	padding: 14px 6px 12px;
	border-radius: 8px;
	color: #fff !important;
	text-align: center;
	transition: transform 0.2s ease;
}

.cpts-lacpts-mission-card:hover {
	transform: translateY(-2px);
}

.cpts-lacpts-mission-picto {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.cpts-lacpts-mission-title {
	display: block;
	flex: 1;
	margin: 10px 0 8px;
	font-size: 12.1px;
	font-weight: 700;
	letter-spacing: 0.05px;
	line-height: 1.2;
	text-transform: uppercase;
}

.cpts-lacpts-mission-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	color: var(--mission-color);
}

.cpts-lacpts-mission-arrow-icon {
	display: block;
	width: 100%;
	height: 100%;
}

.cpts-lacpts-project .cpts-lacpts-center {
	margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Fonctionnement + collèges + équipe (fond paysage)
   -------------------------------------------------------------------------- */
.cpts-lacpts-tail {
	position: relative;
	isolation: isolate;
	padding-bottom: 8px;
}

.cpts-lacpts-tail-scene {
	position: absolute;
	left: 50%;
	top: -48px;
	bottom: 28%;
	z-index: 0;
	width: 115vw;
	transform: translateX(-50%);
	background-image: url("../images/la-cpts/fond-equipe.svg");
	background-repeat: no-repeat;
	background-position: center top;
	background-size: 118% auto;
	filter: grayscale(1);
	opacity: 0.28;
	pointer-events: none;
}

.cpts-lacpts-functioning,
.cpts-lacpts-team {
	position: relative;
	z-index: 1;
}

.cpts-lacpts-functioning {
	padding: 36px 0 28px;
	overflow: hidden;
}

/* Motif croix du PDF (pleine largeur, derrière les cartes) */
.cpts-lacpts-functioning::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	z-index: 0;
	width: 100vw;
	transform: translateX(-50%);
	background-color: #fff;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14'%3E%3Cpath d='M6.5 3.5h1v7h-1zM3.5 6.5h7v1h-7z' fill='%23ececec'/%3E%3C/svg%3E");
	background-repeat: repeat;
	background-size: 14px 14px;
	pointer-events: none;
}

.cpts-lacpts-functioning .cpts-container {
	position: relative;
	z-index: 1;
}

.cpts-lacpts-functioning-founded {
	margin: 8px auto 14px;
	max-width: 820px;
	font-size: 19.4px;
	font-weight: 300;
	line-height: 1.3;
	text-align: center;
}

.cpts-lacpts-functioning-governance {
	margin: 0 auto 32px;
	max-width: 980px;
	font-size: 16.9px;
	font-weight: 400;
	line-height: 1.33;
	text-align: center;
}

.cpts-lacpts-colleges-title {
	margin: 0 0 22px;
	color: #004080;
	font-size: 26.6px;
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
}

.cpts-lacpts-colleges-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 28px;
}

.cpts-lacpts-college-card {
	min-height: 178px;
	padding: 18px 22px 16px;
	border: 2.4px solid var(--college-color);
	border-radius: 10px;
	background: #fff;
	box-shadow: 7px 7px 8px rgba(0, 0, 0, 0.18);
}

.cpts-lacpts-college-text {
	margin: 0;
	color: #004080;
	font-size: 16.9px;
	font-weight: 400;
	line-height: 1.2;
}

.cpts-lacpts-college-text strong {
	display: block;
	margin: 0;
	font-size: 19.4px;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.cpts-lacpts-college-card--inline .cpts-lacpts-college-text strong {
	display: inline;
}

.cpts-lacpts-functioning .cpts-lacpts-center {
	margin-top: 26px;
}

/* --------------------------------------------------------------------------
   Équipe
   -------------------------------------------------------------------------- */
.cpts-lacpts-team {
	padding: 48px 0 56px;
}

.cpts-lacpts-team-intro {
	margin: 18px auto 14px;
	max-width: 900px;
	font-size: 16.9px;
	font-weight: 400;
	line-height: 1.33;
	text-align: center;
}

.cpts-lacpts-team-heading {
	margin: 8px 0 36px;
	color: #004080;
	font-size: 26.6px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	text-transform: uppercase;
}

.cpts-lacpts-members-grid {
	display: grid;
	gap: 40px 10px;
	justify-items: center;
	margin-bottom: 48px;
}

.cpts-lacpts-members-grid--ca {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

.cpts-lacpts-members-grid--ca .cpts-lacpts-member:nth-child(13) {
	grid-column: 3;
}

.cpts-lacpts-members-grid--ca .cpts-lacpts-member:nth-child(14) {
	grid-column: 4;
}

.cpts-lacpts-members-grid--bureau {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	max-width: 900px;
	margin-inline: auto;
	margin-bottom: 48px;
	row-gap: 48px;
}

.cpts-lacpts-members-grid--staff {
	grid-template-columns: repeat(2, minmax(140px, 200px));
	justify-content: center;
	margin-bottom: 32px;
}

.cpts-lacpts-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 150px;
	text-align: center;
}

.cpts-lacpts-member-avatar {
	display: block;
	width: 78px;
	height: auto;
	margin-bottom: 10px;
}

.cpts-lacpts-member-label {
	margin: 0 0 2px;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: uppercase;
}

.cpts-lacpts-member-name {
	margin: 0;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.2;
}

.cpts-lacpts-member-role {
	margin: 2px 0 0;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.25;
}

.cpts-lacpts-team-quote {
	max-width: 860px;
	margin: 16px auto 0;
	font-size: 24.2px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.3;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Partenaires — une rangée fixe comme l’accueil (PDF)
   -------------------------------------------------------------------------- */
.cpts-lacpts-partners {
	padding: 48px 0 56px;
	background: #fff;
}

/* Même largeur de conteneur que l’accueil pour l’espacement space-between */
.cpts-lacpts-partners .cpts-container {
	max-width: var(--cpts-container-width);
}

.cpts-lacpts-partners-row {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 28px;
	width: 100%;
}

.cpts-lacpts-partner-logo {
	display: block;
	width: auto;
	max-width: 100%;
	object-fit: contain;
	flex-shrink: 1;
}

.cpts-lacpts-partner-logo--ars {
	height: 145px;
}

.cpts-lacpts-partner-logo--assurance {
	height: 112px;
}

.cpts-lacpts-partner-logo--msa {
	height: 73px;
}

.cpts-lacpts-partner-logo--departement {
	height: 68px;
}

.cpts-lacpts-partner-logo--mutualite {
	height: 118px;
}

.cpts-lacpts-partner-logo--ligue {
	height: 145px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.cpts-lacpts .cpts-container,
	.cpts-lacpts-intro .cpts-container {
		max-width: 1240px;
	}

	.cpts-lacpts-intro-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
	}

	.cpts-lacpts-missions-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: none;
	}

	.cpts-lacpts-members-grid--ca {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.cpts-lacpts-members-grid--ca .cpts-lacpts-member:nth-child(13),
	.cpts-lacpts-members-grid--ca .cpts-lacpts-member:nth-child(14) {
		grid-column: auto;
	}
}

@media (max-width: 991px) {
	.cpts-lacpts-intro {
		padding: 48px 0 36px;
	}

	.cpts-lacpts-intro-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.cpts-lacpts-intro-map {
		justify-content: center;
		order: -1;
	}

	.cpts-lacpts-hero-title {
		font-size: clamp(1.05rem, 4vw, 1.5rem);
	}

	.cpts-lacpts-colleges-grid {
		grid-template-columns: 1fr;
	}

	.cpts-lacpts-college-card {
		min-height: 0;
	}

	.cpts-lacpts-colleges-title {
		text-align: center;
	}

	.cpts-lacpts-members-grid--ca,
	.cpts-lacpts-members-grid--bureau {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: none;
	}

	.cpts-lacpts-members-grid--ca .cpts-lacpts-member:nth-child(13),
	.cpts-lacpts-members-grid--ca .cpts-lacpts-member:nth-child(14) {
		grid-column: auto;
	}

	.cpts-lacpts-team-quote {
		font-size: 18px;
	}

	.cpts-lacpts-partners-row {
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px 24px;
	}
}

@media (max-width: 640px) {
	.cpts-lacpts-hero-inner {
		min-height: 120px;
		padding: 18px 16px;
	}

	.cpts-lacpts-hero-title {
		font-size: 1rem;
	}

	.cpts-lacpts-section-title {
		font-size: 22px;
	}

	.cpts-lacpts-section-title--large {
		font-size: 26px;
	}

	.cpts-lacpts-missions-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cpts-lacpts-members-grid--ca,
	.cpts-lacpts-members-grid--bureau,
	.cpts-lacpts-members-grid--staff {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cpts-lacpts-project-text p:last-child {
		font-size: 18px;
	}

	.cpts-lacpts-college-text {
		font-size: 15px;
	}

	.cpts-lacpts-college-text strong {
		font-size: 17px;
	}

	.cpts-lacpts-partner-logo--ars,
	.cpts-lacpts-partner-logo--ligue {
		height: 96px;
	}

	.cpts-lacpts-partner-logo--assurance,
	.cpts-lacpts-partner-logo--mutualite {
		height: 72px;
	}

	.cpts-lacpts-partner-logo--msa,
	.cpts-lacpts-partner-logo--departement {
		height: 48px;
	}
}
