/* Coractive light interactive 1.0.0 — brief, optional motion and keyboard feedback.
 * All content remains visible without JavaScript. No table or header parallax. */

.coractive-refonte-v2.coractive-refonte-light .cr-card .cr-card__scan {
	left: 0;
	width: 100%;
	background: linear-gradient(90deg, transparent 36%, rgba(116, 211, 218, 0.12) 50%, transparent 64%);
	transform: translateX(-120%) skewX(-14deg);
	transition: none;
	pointer-events: none;
}

.coractive-refonte-v2.coractive-refonte-light .cr-card:focus-within,
.coractive-refonte-v2.coractive-refonte-light .cr-latest-news:focus-within {
	border-color: var(--cr-green-dark);
}

.coractive-refonte-v2.coractive-refonte-light .cr-card__link:focus-visible,
.coractive-refonte-v2.coractive-refonte-light .cr-latest-news__link:focus-visible {
	outline: 2px solid var(--cr-green-dark);
	outline-offset: -4px;
	border-radius: inherit;
}

.coractive-refonte-v2.coractive-refonte-light .cr-card:focus-within .cr-card__arrow {
	border-color: var(--cr-green-dark);
	background: var(--cr-green);
	color: var(--cr-navy);
}

.coractive-refonte-v2.coractive-refonte-light .cr-latest-news__link:focus-visible .cr-latest-news__action {
	color: var(--cr-green-dark);
}

@media (prefers-reduced-motion: no-preference) {
	.coractive-refonte-v2.coractive-refonte-light .cr-latest-news {
		transition: transform 240ms var(--cr-ease), border-color 240ms ease, box-shadow 240ms ease;
	}

	.coractive-refonte-v2.coractive-refonte-light .cr-card:focus-within,
	.coractive-refonte-v2.coractive-refonte-light .cr-latest-news:focus-within {
		transform: translateY(-4px);
		box-shadow: 0 22px 56px rgba(0, 32, 91, 0.12);
	}

	.coractive-refonte-v2.coractive-refonte-light .cr-card:focus-within .cr-card__image {
		transform: scale(1.035);
		filter: saturate(0.92) contrast(1.06);
	}

	.coractive-refonte-v2.coractive-refonte-light .cr-card:focus-within .cr-card__scan {
		animation: cr-optical-scan 650ms var(--cr-ease) 1;
	}

	.coractive-refonte-v2.coractive-refonte-light .cr-button:active,
	.coractive-refonte-v2.coractive-refonte-light .cr-product-resource__button:active {
		transform: translateY(1px);
	}

	@keyframes cr-optical-scan {
		from { transform: translateX(-120%) skewX(-14deg); }
		to { transform: translateX(120%) skewX(-14deg); }
	}
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
	.coractive-refonte-v2.coractive-refonte-light .cr-card:hover,
	.coractive-refonte-v2.coractive-refonte-light .cr-latest-news:hover {
		transform: translateY(-4px);
		border-color: var(--cr-green-dark);
		box-shadow: 0 22px 56px rgba(0, 32, 91, 0.12);
	}

	.coractive-refonte-v2.coractive-refonte-light .cr-card:hover .cr-card__image {
		transform: scale(1.035);
	}

	.coractive-refonte-v2.coractive-refonte-light .cr-card:hover .cr-card__scan {
		animation: cr-optical-scan 650ms var(--cr-ease) 1;
	}
}

/* Prevent sticky hover zooms on touch devices. Colour feedback stays available. */
@media (hover: none) {
	.coractive-refonte-v2.coractive-refonte-light .cr-card:hover,
	.coractive-refonte-v2.coractive-refonte-light .cr-card:focus-within,
	.coractive-refonte-v2.coractive-refonte-light .cr-latest-news:focus-within,
	.coractive-refonte-v2.coractive-refonte-light .cr-card:hover .cr-card__image,
	.coractive-refonte-v2.coractive-refonte-light .cr-card:focus-within .cr-card__image {
		transform: none;
	}

	.coractive-refonte-v2.coractive-refonte-light .cr-card .cr-card__scan {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.coractive-refonte-v2.coractive-refonte-light .cr-card,
	.coractive-refonte-v2.coractive-refonte-light .cr-latest-news,
	.coractive-refonte-v2.coractive-refonte-light .cr-card .cr-card__image,
	.coractive-refonte-v2.coractive-refonte-light .cr-hero__ambient,
	.coractive-refonte-v2.coractive-refonte-light .cr-button,
	.coractive-refonte-v2.coractive-refonte-light .cr-product-resource__button {
		transform: none !important;
		translate: none !important;
		animation: none !important;
		transition: none !important;
	}

	.coractive-refonte-v2.coractive-refonte-light .cr-card .cr-card__scan {
		display: none;
	}

	/* Legacy AOS content must also be readable when motion is disabled. */
	.coractive-refonte-v2.coractive-refonte-light [data-aos] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}
