/* Cercle Color Scroll — voir inc/assets/js/cercle-color-scroll.js.
   Le calque .hk-ccs-fill est posé par le script en premier enfant de la section, derrière son contenu.
   Pour qu'un élément garde sa couleur de texte quand la section est remplie, lui ajouter la classe CSS « hk-ccs-keep ». */

.hk-ccs-fill {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	border-radius: inherit;
	clip-path: circle(0 at 50% 50%);
	will-change: clip-path;
}

/* couleur du texte une fois la section remplie (réglage facultatif) */
.hk-ccs-on :is(h1, h2, h3, h4, h5, h6, p, span, a, li, i, .elementor-heading-title, .elementor-icon) {
	transition: color var(--hk-ccs-dur, .4s) ease;
}

.hk-ccs-on.hk-ccs-fg,
.hk-ccs-on.hk-ccs-fg :is(h1, h2, h3, h4, h5, h6, p, span, a, li, i, .elementor-heading-title, .elementor-icon):not(.elementor-button, .elementor-button *, .hk-ccs-keep, .hk-ccs-keep *) {
	color: var(--hk-ccs-fg) !important;
}

.hk-ccs-on.hk-ccs-fg .elementor-icon svg:not(.hk-ccs-keep *) {
	fill: var(--hk-ccs-fg) !important;
}
