:root {
	--cns-lime: #c8f000;
	--cns-green: #1f3a2a;
	--cns-green-deep: #16291e;
	--cns-ink: #111;
	--cns-font: "Poppins", system-ui, sans-serif;
	--cns-hand: "Caveat", cursive;
}

.cns-tls-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.45rem;
	padding: 0.95rem 1.35rem;
	border-radius: 999px;
	background: var(--cns-lime);
	color: var(--cns-green-deep);
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	transition: transform 0.2s ease, background 0.2s ease;
}

.cns-tls-btn:hover {
	background: #d6ff2e;
	color: var(--cns-green-deep);
	transform: translateY(-1px);
}

.cns-tls-btn--ghost {
	background: transparent;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
	color: #fff;
}

.cns-tls-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	border-color: #fff;
}


/* —— Formats —— */
.cns-tls-formats {
	background: #f6f6f3;
	padding: clamp(3.25rem, 7vw, 5.5rem) clamp(1.25rem, 4vw, 3rem);
}

.cns-tls-formats__inner {
	max-width: 1140px;
	margin: 0 auto;
}

.cns-tls-formats__top {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
	gap: clamp(1.25rem, 3vw, 2.5rem);
	align-items: end;
	margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.cns-tls-formats__title {
	margin: 0;
	font-size: clamp(1.4rem, 2.4vw, 1.95rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: #111;
}

.cns-tls-formats__lead {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #444;
	justify-self: end;
	max-width: 34rem;
}

.cns-tls-formats__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.cns-tls-formats__aside {
	margin: 0 0 0.65rem;
	max-width: 46rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #444;
}

.cns-tls-formats__aside a {
	color: #1f3a2a;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.cns-tls-formats__card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 100%;
	padding: 1.5rem 1.25rem 1.35rem;
	background: #fff;
	border: 1.5px solid transparent;
	border-radius: 1.15rem;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	text-decoration: none;
	color: #111;
	transition: transform 0.2s ease;
}

.cns-tls-formats__card:hover {
	transform: translateY(-3px);
	color: #111;
}

.cns-tls-formats__card--featured {
	border-color: #c8f000;
	padding-top: 1.85rem;
}

.cns-tls-formats__badge {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: #c8f000;
	color: #16291e;
	font-size: 0.7rem;
	font-weight: 800;
	white-space: nowrap;
}

.cns-tls-formats__icon {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	margin-bottom: 1.1rem;
	border-radius: 0.75rem;
	background: #1f3a2a;
	color: #fff;
}

.cns-tls-formats__card-title {
	margin: 0 0 0.4rem;
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.cns-tls-formats__card-sub {
	margin: 0 0 0.65rem;
	font-size: 0.9rem;
	font-weight: 700;
	color: #1f3a2a;
}

.cns-tls-formats__facts {
	list-style: none;
	margin: 0 0 1.25rem;
	padding: 0;
	display: grid;
	gap: 0.55rem;
	flex: 1;
}

.cns-tls-formats__facts li {
	font-size: 0.86rem;
	line-height: 1.45;
	color: #444;
}

.cns-tls-formats__facts strong {
	display: block;
	margin-bottom: 0.1rem;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1f3a2a;
}

.cns-tls-formats__arrow {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	margin-top: auto;
	align-self: center;
	border-radius: 50%;
	background: #1f3a2a;
	color: #c8f000;
}

.cns-tls-formats__cta-wrap {
	margin: 0;
	text-align: center;
}

@media (max-width: 900px) {
	.cns-tls-formats__top {
		grid-template-columns: 1fr;
	}

	.cns-tls-formats__title {
		max-width: none;
	}

	.cns-tls-formats__lead {
		justify-self: start;
		max-width: none;
	}

	.cns-tls-formats__grid {
		grid-template-columns: 1fr;
	}
}

/* Hotfix: cartes = <a> → thème souligne / colore tout le contenu */
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card,
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card:hover,
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card:focus,
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card:visited {
	text-decoration: none !important;
	color: #111 !important;
}
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card *,
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card h3,
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card p,
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card li,
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card strong,
.wpcursor-component.wpcursor-tls-formules a.cns-tls-formats__card span {
	text-decoration: none !important;
}
.wpcursor-component.wpcursor-tls-formules .cns-tls-formats__title {
	color: #111 !important;
	text-decoration: none !important;
}
.wpcursor-component.wpcursor-tls-formules .cns-tls-formats__card-title {
	color: #111 !important;
	text-decoration: none !important;
}
.wpcursor-component.wpcursor-tls-formules .cns-tls-formats__card-sub {
	color: #1f3a2a !important;
	text-decoration: none !important;
}
.wpcursor-component.wpcursor-tls-formules .cns-tls-formats__facts li,
.wpcursor-component.wpcursor-tls-formules .cns-tls-formats__facts strong {
	text-decoration: none !important;
}
.wpcursor-component.wpcursor-tls-formules .cns-tls-formats__aside a {
	/* lien utilitaire hors carte : soulignement OK */
	text-decoration: underline !important;
}