/* =========================================================
   SPHERCRAFT — HERO HOME
   PHASE 1 + STRUCTURE PHASE 2
   ========================================================= */


/* =========================================================
   CONTENEUR ELEMENTOR DU HERO
   ========================================================= */

#sc-hero {
	position: relative;

	width: 100%;

	min-height: 100vh;
	min-height: 100svh;

	overflow: clip;

	background: var(--sc-bg);
}


/*
 * Le widget HTML Elementor doit pouvoir occuper
 * toute la largeur disponible.
 */
#sc-hero .elementor-widget-html {
	width: 100%;
}


/* =========================================================
   EXPÉRIENCE HERO COMPLÈTE
   ========================================================= */

.sc-hero__experience {
	position: relative;

	width: 100%;

	background: var(--sc-bg);

	isolation: isolate;
}


/* =========================================================
   STAGE PRINCIPAL
   Phase 1 + canvas Three.js partagé avec la Phase 2
   ========================================================= */

.sc-hero__stage {
	position: relative;

	display: flex;
	align-items: center;

	width: 100%;

	min-height: 100vh;
	min-height: 100svh;

	overflow: hidden;

	background: var(--sc-bg);

	isolation: isolate;
}


/* =========================================================
   UNIVERS VISUEL
   ========================================================= */

.sc-hero__visual {
	position: absolute;
	inset: 0;

	z-index: 0;

	overflow: hidden;

	pointer-events: none;
}


/* =========================================================
   HALOS
   ========================================================= */

.sc-hero__glow {
	position: absolute;

	border-radius: 50%;

	filter: blur(90px);

	opacity: 0.42;

	transform: translateZ(0);
}


/* Halo violet */
.sc-hero__glow--violet {
	top: 8%;
	right: 10%;

	width: clamp(320px, 38vw, 720px);
	aspect-ratio: 1;

	background:
		radial-gradient(
			circle,
			rgba(108, 60, 255, 0.72) 0%,
			rgba(108, 60, 255, 0.28) 42%,
			rgba(108, 60, 255, 0) 72%
		);
}


/* Halo magenta */
.sc-hero__glow--magenta {
	right: -6%;
	bottom: 0;

	width: clamp(260px, 32vw, 620px);
	aspect-ratio: 1;

	background:
		radial-gradient(
			circle,
			rgba(233, 79, 216, 0.56) 0%,
			rgba(233, 79, 216, 0.20) 44%,
			rgba(233, 79, 216, 0) 74%
		);
}


/* =========================================================
   CANVAS THREE.JS
   Caché tant que Three.js n'est pas initialisé.
   ========================================================= */

.sc-hero__canvas {
	position: absolute;
	inset: 0;

	width: 100%;
	height: 100%;

	opacity: 0;

	visibility: hidden;

	transition: opacity 0.6s ease;
}


/*
 * Ajouté par hero-home.js uniquement après
 * un premier rendu WebGL réussi.
 */
.sc-hero__stage.is-webgl-ready .sc-hero__canvas {
	opacity: 1;

	visibility: visible;
}


/* =========================================================
   PHASE 1 — CONTENU PRINCIPAL
   ========================================================= */

.sc-hero__content {
	position: relative;

	z-index: 2;

	display: flex;
	flex-direction: column;
	align-items: flex-start;

	padding-top: 96px;
	padding-bottom: 96px;
}


/*
 * Conteneur complet de la Phase 1.
 *
 * Cette classe est utilisée par GSAP pour faire
 * disparaître progressivement le Hero initial.
 */
.sc-hero__intro-panel {
	will-change: auto;
}


/* =========================================================
   SUR-TITRE
   ========================================================= */

.sc-hero__eyebrow {
	display: inline-flex;
	align-items: center;

	margin: 0 0 24px;

	padding: 9px 14px;

	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 999px;

	background: rgba(255, 255, 255, 0.035);

	color: var(--sc-muted);

	font-size: 14px;
	font-weight: 500;
	line-height: 1.3;

	letter-spacing: 0.01em;

	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}


/* =========================================================
   TITRE
   ========================================================= */

.sc-hero__title {
	max-width: 980px;

	margin: 0;

	color: var(--sc-white);

	font-size: clamp(
		52px,
		6.4vw,
		112px
	);

	font-weight: 700;
	line-height: 0.94;

	letter-spacing: -0.055em;
}


.sc-hero__title span {
	display: block;

	margin-top: 8px;

	background: var(--sc-gradient);

	-webkit-background-clip: text;
	background-clip: text;

	-webkit-text-fill-color: transparent;
	color: transparent;
}


/* =========================================================
   INTRODUCTION
   ========================================================= */

.sc-hero__intro-text {
	max-width: 700px;

	margin: 30px 0 0;

	color: var(--sc-muted);

	font-size: clamp(
		17px,
		1.35vw,
		21px
	);

	font-weight: 400;
	line-height: 1.65;
}


/* =========================================================
   ACTIONS
   ========================================================= */

.sc-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;

	gap: 14px;

	margin-top: 38px;
}


/* =========================================================
   MICRO-RÉASSURANCE
   ========================================================= */

.sc-hero__reassurance {
	max-width: 760px;

	margin: 18px 0 0;

	color: rgba(232, 236, 243, 0.62);

	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.01em;
}


/* =========================================================
   BOUTONS
   ========================================================= */

.sc-hero__cta {
	position: relative;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 54px;

	padding: 0 25px;

	border-radius: 999px;

	font-size: 15px;
	font-weight: 600;
	line-height: 1;

	text-decoration: none;

	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease;
}


/* Bouton principal */
.sc-hero__cta--primary {
	border: 1px solid transparent;

	background:
		linear-gradient(
			var(--sc-bg),
			var(--sc-bg)
		) padding-box,
		var(--sc-gradient) border-box;

	color: var(--sc-white);

	box-shadow:
		0 12px 40px rgba(0, 0, 0, 0.22),
		0 0 34px rgba(108, 60, 255, 0.12);
}


.sc-hero__cta--primary:hover {
	transform: translateY(-2px);

	box-shadow:
		0 16px 46px rgba(0, 0, 0, 0.28),
		0 0 42px rgba(108, 60, 255, 0.20);
}


/* Bouton secondaire */
.sc-hero__cta--secondary {
	/*
	 * Même langage de bordure que le CTA principal,
	 * mais volontairement plus discret pour conserver
	 * la hiérarchie "Parler de votre projet" > "Réalisations".
	 */
	border: 1px solid transparent;

	background:
		linear-gradient(
			rgba(255, 255, 255, 0.035),
			rgba(255, 255, 255, 0.035)
		) padding-box,
		linear-gradient(
			135deg,
			rgba(108, 60, 255, 0.52),
			rgba(233, 79, 216, 0.38)
		) border-box;

	color: var(--sc-text);
}


.sc-hero__cta--secondary:hover {
	transform: translateY(-2px);

	border-color: transparent;

	background:
		linear-gradient(
			rgba(255, 255, 255, 0.065),
			rgba(255, 255, 255, 0.065)
		) padding-box,
		linear-gradient(
			135deg,
			rgba(108, 60, 255, 0.72),
			rgba(233, 79, 216, 0.58)
		) border-box;
}


/*
 * Verrouillage local de la couleur des liens CTA.
 *
 * Le #sc-hero augmente volontairement la spécificité afin
 * d'empêcher les règles globales de WordPress / Elementor
 * de modifier le texte au survol ou après visite.
 */
#sc-hero
.sc-hero__cta.sc-hero__cta--primary:visited {
	color: var(--sc-white);
}


#sc-hero
.sc-hero__cta.sc-hero__cta--secondary:visited {
	color: var(--sc-text);
}


#sc-hero
.sc-hero__cta.sc-hero__cta--primary:hover,
#sc-hero
.sc-hero__cta.sc-hero__cta--primary:focus-visible,
#sc-hero
.sc-hero__cta.sc-hero__cta--secondary:hover,
#sc-hero
.sc-hero__cta.sc-hero__cta--secondary:focus-visible {
	color: var(--sc-white);
}


/* =========================================================
   FOCUS CLAVIER
   ========================================================= */

.sc-hero__cta:focus-visible {
	outline: 2px solid var(--sc-magenta);
	outline-offset: 4px;
}


/* =========================================================
   PHASE 2 — EXPERTISES
   MODE DE SECOURS / SANS JAVASCRIPT

   Par défaut :
   - aucun sticky ;
   - aucun pin ;
   - aucune superposition ;
   - les quatre services sont lisibles normalement.
   ========================================================= */

.sc-hero__services {
	position: relative;

	z-index: 2;

	width: 100%;

	background: var(--sc-bg);
}


/* =========================================================
   SERVICE — FALLBACK ÉDITORIAL
   ========================================================= */

.sc-hero__service {
	position: relative;

	width: 100%;

	padding: 120px 0;

	border-top:
		1px solid
		rgba(255, 255, 255, 0.07);

	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.012) 0%,
			rgba(255, 255, 255, 0) 100%
		);
}


/*
 * Très légère ambiance lumineuse différente
 * selon les étapes, sans créer de cartes séparées.
 */
.sc-hero__service::before {
	content: "";

	position: absolute;
	inset: 0;

	z-index: 0;

	pointer-events: none;

	opacity: 0.45;
}


.sc-hero__service:nth-of-type(odd)::before {
	background:
		radial-gradient(
			circle at 82% 50%,
			rgba(108, 60, 255, 0.08) 0%,
			rgba(108, 60, 255, 0) 42%
		);
}


.sc-hero__service:nth-of-type(even)::before {
	background:
		radial-gradient(
			circle at 78% 50%,
			rgba(233, 79, 216, 0.07) 0%,
			rgba(233, 79, 216, 0) 42%
		);
}


/* =========================================================
   CONTENEUR D'UN SERVICE
   ========================================================= */

.sc-hero__service-container {
	position: relative;

	z-index: 1;

	display: flex;
	align-items: center;
}


/* =========================================================
   CONTENU ÉDITORIAL D'UN SERVICE
   ========================================================= */

.sc-hero__service-content {
	width: min(
		100%,
		640px
	);
}


/* =========================================================
   NUMÉRO
   ========================================================= */

.sc-hero__service-index {
	display: inline-flex;
	align-items: center;

	margin: 0 0 18px;

	color: var(--sc-magenta);

	font-size: 13px;
	font-weight: 700;
	line-height: 1;

	letter-spacing: 0.18em;

	text-transform: uppercase;
}


.sc-hero__service-index::after {
	content: "";

	width: 44px;
	height: 1px;

	margin-left: 14px;

	background:
		linear-gradient(
			90deg,
			var(--sc-violet),
			var(--sc-magenta)
		);
}


/* =========================================================
   TITRE SERVICE
   ========================================================= */

.sc-hero__service-title {
	max-width: 720px;

	margin: 0;

	color: var(--sc-white);

	font-size: clamp(
		46px,
		5.3vw,
		82px
	);

	font-weight: 700;
	line-height: 0.98;

	letter-spacing: -0.045em;
}


/* =========================================================
   DESCRIPTION SERVICE
   ========================================================= */

.sc-hero__service-description {
	max-width: 590px;

	margin: 24px 0 0;

	color: var(--sc-muted);

	font-size: clamp(
		17px,
		1.35vw,
		21px
	);

	font-weight: 400;
	line-height: 1.65;
}


/* =========================================================
   MOTS-CLÉS SERVICE
   ========================================================= */

.sc-hero__service-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;

	gap: 10px 18px;

	margin: 26px 0 0;
	padding: 0;

	list-style: none;
}


.sc-hero__service-tag {
	display: inline-flex;
	align-items: center;

	color: rgba(232, 236, 243, 0.78);

	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;

	letter-spacing: 0.01em;
}


.sc-hero__service-tag::before {
	content: "";

	flex: 0 0 auto;

	width: 4px;
	height: 4px;

	margin-right: 9px;

	border-radius: 50%;

	background: var(--sc-magenta);

	box-shadow: 0 0 10px rgba(233, 79, 216, 0.30);
}


/* =========================================================
   PHRASE DE CLÔTURE SERVICE
   ========================================================= */

.sc-hero__service-closing {
	max-width: 520px;

	margin: 28px 0 0;

	color: var(--sc-text);

	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;

	letter-spacing: 0.005em;
}


/* =========================================================
   MODULE DE PREUVE — CE QUI EST INCLUS
   ========================================================= */

.sc-hero__service-proof {
	max-width: 480px;

	margin: 32px 0 0;

	padding: 24px 26px;

	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;

	background: rgba(255, 255, 255, 0.02);
}


.sc-hero__service-proof-title {
	margin: 0 0 16px;

	color: rgba(232, 236, 243, 0.55);

	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;

	letter-spacing: 0.12em;

	text-transform: uppercase;
}


.sc-hero__service-checklist {
	display: flex;
	flex-direction: column;

	gap: 12px;

	margin: 0;
	padding: 0;

	list-style: none;
}


.sc-hero__service-checklist li {
	position: relative;

	padding-left: 28px;

	color: var(--sc-text);

	font-size: 14.5px;
	font-weight: 500;
	line-height: 1.5;
}


.sc-hero__service-checklist li::before {
	content: "";

	position: absolute;
	top: 2px;
	left: 0;

	width: 18px;
	height: 18px;

	border-radius: 50%;

	background:
		linear-gradient(
			135deg,
			var(--sc-violet),
			var(--sc-magenta)
		);

	opacity: 0.16;
}


.sc-hero__service-checklist li::after {
	content: "✓";

	position: absolute;
	top: 1px;
	left: 3px;

	color: var(--sc-magenta);

	font-size: 11px;
	font-weight: 700;
}


/* =========================================================
   MINI SERP — SEO / PROGRESSION DE VISIBILITÉ (V2)

   Desktop uniquement :
   - langage visuel SpherCraft, sans reproduction de Google ;
   - animation 3 → 1 conservée ;
   - aucune dépendance JavaScript ;
   - mobile déjà validé strictement inchangé ;
   - mode compact dédié aux hauteurs desktop <= 820px.
   ========================================================= */

.sc-serp {
	display: none;
}


@media (min-width: 1025px) {

	.sc-serp {
		--sc-serp-step: 42px;
		--sc-serp-result-height: 38px;

		display: block;

		width: 100%;
		max-width: 405px;

		margin: 24px 0 0;
	}


	.sc-serp__head {
		display: flex;
		align-items: center;
		justify-content: space-between;

		gap: 16px;

		margin-bottom: 10px;
	}


	.sc-serp__label {
		color: var(--sc-magenta);

		font-size: 10.5px;
		font-weight: 700;
		line-height: 1.2;

		letter-spacing: 0.08em;
		text-transform: uppercase;
	}


	.sc-serp__trend {
		color: rgba(232, 236, 243, 0.82);

		font-size: 10.5px;
		font-weight: 700;
		line-height: 1.2;

		opacity: 0;

		animation:
			scSerpTrend
			6.2s
			ease-in-out
			infinite;
	}


	.sc-serp__board {
		position: relative;

		display: grid;
		grid-template-columns: 26px 1fr;
		gap: 10px 11px;

		padding: 14px 15px;

		border: 1px solid rgba(255, 255, 255, 0.09);
		border-radius: 14px;

		background:
			linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.035),
				rgba(255, 255, 255, 0.020)
			);

		box-shadow:
			0 18px 42px rgba(5, 8, 20, 0.20);

		overflow: hidden;
	}


	.sc-serp__board::after {
		content: "";

		position: absolute;
		inset: 0;

		border-radius: inherit;

		background:
			radial-gradient(
				circle at 82% 14%,
				rgba(108, 60, 255, 0.11),
				transparent 38%
			),
			radial-gradient(
				circle at 68% 74%,
				rgba(233, 79, 216, 0.075),
				transparent 46%
			);

		pointer-events: none;
	}


	/* Fausse recherche : sombre, générique, volontairement non-Google. */

	.sc-serp__query {
		position: relative;
		z-index: 1;

		grid-column: 1 / -1;

		display: flex;
		align-items: center;

		gap: 9px;

		min-height: 34px;

		padding: 0 12px;

		border: 1px solid rgba(108, 60, 255, 0.22);
		border-radius: 10px;

		background:
			linear-gradient(
				135deg,
				rgba(108, 60, 255, 0.075),
				rgba(233, 79, 216, 0.035)
			);
	}


	.sc-serp__query-icon {
		position: relative;

		width: 12px;
		height: 12px;
		flex: 0 0 12px;

		border: 1.5px solid rgba(232, 236, 243, 0.52);
		border-radius: 50%;
	}


	.sc-serp__query-icon::after {
		content: "";

		position: absolute;
		right: -4px;
		bottom: -3px;

		width: 5px;
		height: 1.5px;

		border-radius: 999px;

		background: rgba(232, 236, 243, 0.52);

		transform: rotate(45deg);
		transform-origin: left center;
	}


	.sc-serp__query-text {
		color: rgba(232, 236, 243, 0.72);

		font-size: 11.5px;
		font-weight: 600;
		line-height: 1.2;

		letter-spacing: 0.01em;
	}


	.sc-serp__ranks {
		position: relative;
		z-index: 1;

		display: grid;
		grid-template-rows: repeat(3, var(--sc-serp-step));
		align-items: center;

		color: rgba(232, 236, 243, 0.38);

		font-size: 10px;
		font-weight: 800;
		line-height: 1;
		text-align: center;
	}


	.sc-serp__track {
		position: relative;
		z-index: 1;

		height:
			calc(
				var(--sc-serp-step) * 3
			);
	}


	.sc-serp__result {
		position: absolute;
		left: 0;

		display: flex;
		flex-direction: column;
		justify-content: center;

		width: 100%;
		height: var(--sc-serp-result-height);

		padding: 0 12px;

		border: 1px solid rgba(255, 255, 255, 0.05);
		border-radius: 9px;

		background: rgba(255, 255, 255, 0.020);

		will-change: transform, opacity;
	}


	.sc-serp__result--a {
		top: 2px;

		animation:
			scSerpCompetitorA
			6.2s
			cubic-bezier(0.22, 1, 0.36, 1)
			infinite;
	}


	.sc-serp__result--b {
		top:
			calc(
				var(--sc-serp-step) + 2px
			);

		animation:
			scSerpCompetitorB
			6.2s
			cubic-bezier(0.22, 1, 0.36, 1)
			infinite;
	}


	.sc-serp__result--target {
		top:
			calc(
				var(--sc-serp-step) * 2 + 2px
			);

		z-index: 2;

		border-color: rgba(233, 79, 216, 0.30);

		background:
			linear-gradient(
				135deg,
				rgba(108, 60, 255, 0.12),
				rgba(233, 79, 216, 0.09)
			);

		animation:
			scSerpTargetRise
			6.2s
			cubic-bezier(0.22, 1, 0.36, 1)
			infinite;
	}


	.sc-serp__domain {
		color: rgba(232, 236, 243, 0.70);

		font-size: 12px;
		font-weight: 700;
		line-height: 1.15;
	}


	.sc-serp__result--target .sc-serp__domain {
		color: #ffffff;
	}


	.sc-serp__meta {
		margin-top: 3px;

		color: rgba(232, 236, 243, 0.36);

		font-size: 10px;
		font-weight: 500;
		line-height: 1.1;
	}


	.sc-serp__result--target .sc-serp__meta {
		color: rgba(232, 236, 243, 0.56);
	}


	.sc-serp + .sc-hero__service-proof {
		margin-top: 18px;
	}
}


/* =========================================================
   MINI SERP — DESKTOP À HAUTEUR UTILE LIMITÉE

   Le viewport-lock n'a pas de scroll interne. On compacte
   uniquement le nouveau module SEO afin de préserver le bas
   de la checklist sur 1366×768 et autres hauteurs modestes.
   ========================================================= */

@media
	(min-width: 1025px)
	and
	(max-height: 820px) {

	.sc-serp {
		--sc-serp-step: 34px;
		--sc-serp-result-height: 30px;

		margin-top: 18px;
	}


	.sc-serp__head {
		margin-bottom: 7px;
	}


	.sc-serp__board {
		gap: 7px 10px;

		padding: 10px 12px;
	}


	.sc-serp__query {
		min-height: 28px;

		padding: 0 10px;
	}


	.sc-serp__query-text {
		font-size: 10.5px;
	}


	.sc-serp__domain {
		font-size: 11px;
	}


	.sc-serp__meta {
		margin-top: 1px;

		font-size: 9px;
	}


	.sc-serp + .sc-hero__service-proof {
		margin-top: 12px;
	}
}


@keyframes scSerpTargetRise {

	0%, 16% {
		transform: translate3d(0, 0, 0);

		box-shadow: 0 0 0 rgba(233, 79, 216, 0);
	}

	48%, 82% {
		transform:
			translate3d(
				0,
				calc(var(--sc-serp-step) * -2),
				0
			);

		box-shadow:
			0 14px 32px rgba(108, 60, 255, 0.20),
			0 0 28px rgba(233, 79, 216, 0.15);
	}

	100% {
		transform: translate3d(0, 0, 0);

		box-shadow: 0 0 0 rgba(233, 79, 216, 0);
	}
}


@keyframes scSerpCompetitorA {

	0%, 16% {
		transform: translate3d(0, 0, 0);
		opacity: 0.82;
	}

	48%, 82% {
		transform:
			translate3d(
				0,
				var(--sc-serp-step),
				0
			);

		opacity: 0.48;
	}

	100% {
		transform: translate3d(0, 0, 0);
		opacity: 0.82;
	}
}


@keyframes scSerpCompetitorB {

	0%, 16% {
		transform: translate3d(0, 0, 0);
		opacity: 0.72;
	}

	48%, 82% {
		transform:
			translate3d(
				0,
				var(--sc-serp-step),
				0
			);

		opacity: 0.38;
	}

	100% {
		transform: translate3d(0, 0, 0);
		opacity: 0.72;
	}
}


@keyframes scSerpTrend {

	0%, 34% {
		opacity: 0;
		transform: translate3d(0, 3px, 0);
	}

	52%, 82% {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}

	100% {
		opacity: 0;
		transform: translate3d(0, 3px, 0);
	}
}


@media (prefers-reduced-motion: reduce) and (min-width: 1025px) {

	.sc-serp__trend {
		opacity: 1;
		transform: none;
		animation: none;
	}


	.sc-serp__result--target {
		transform:
			translate3d(
				0,
				calc(var(--sc-serp-step) * -2),
				0
			);

		animation: none;

		box-shadow:
			0 14px 32px rgba(108, 60, 255, 0.20),
			0 0 28px rgba(233, 79, 216, 0.15);
	}


	.sc-serp__result--a,
	.sc-serp__result--b {
		transform:
			translate3d(
				0,
				var(--sc-serp-step),
				0
			);

		animation: none;
	}


	.sc-serp__result--a {
		opacity: 0.48;
	}


	.sc-serp__result--b {
		opacity: 0.38;
	}
}


/* =========================================================
   MINI SERP — SEO / MOBILE

   Patch strictement limité au service SEO sur téléphone :
   - la checklist SEO est masquée ;
   - la mini SERP V2 prend sa place ;
   - l'animation 3 → 1 est conservée ;
   - tablette (>= 768px) inchangée ;
   - aucun impact sur Création / Refonte / Performance ;
   - aucun changement JS / Three.js / viewport-lock.
   ========================================================= */

@media (max-width: 767px) {

	/* SEO uniquement : la SERP remplace la carte "Ce qui est inclus". */

	.sc-hero__service[data-sc-service="seo"]
	.sc-hero__service-proof {
		display: none;
	}


	.sc-serp {
		--sc-serp-step: 32px;
		--sc-serp-result-height: 29px;

		display: block;

		width: 100%;
		max-width: 100%;

		margin: 20px 0 0;
	}


	.sc-serp__head {
		display: flex;
		align-items: center;
		justify-content: space-between;

		gap: 10px;

		margin-bottom: 7px;
	}


	.sc-serp__label {
		color: var(--sc-magenta);

		font-size: 9.5px;
		font-weight: 700;
		line-height: 1.2;

		letter-spacing: 0.075em;
		text-transform: uppercase;
	}


	.sc-serp__trend {
		color: rgba(232, 236, 243, 0.82);

		font-size: 9.5px;
		font-weight: 700;
		line-height: 1.2;

		opacity: 0;

		animation:
			scSerpTrend
			6.2s
			ease-in-out
			infinite;
	}


	.sc-serp__board {
		position: relative;

		display: grid;
		grid-template-columns: 22px 1fr;
		gap: 6px 8px;

		padding: 9px 10px;

		border: 1px solid rgba(255, 255, 255, 0.09);
		border-radius: 12px;

		background:
			linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.035),
				rgba(255, 255, 255, 0.020)
			);

		box-shadow:
			0 14px 34px rgba(5, 8, 20, 0.18);

		overflow: hidden;
	}


	.sc-serp__board::after {
		content: "";

		position: absolute;
		inset: 0;

		border-radius: inherit;

		background:
			radial-gradient(
				circle at 82% 14%,
				rgba(108, 60, 255, 0.11),
				transparent 38%
			),
			radial-gradient(
				circle at 68% 74%,
				rgba(233, 79, 216, 0.075),
				transparent 46%
			);

		pointer-events: none;
	}


	.sc-serp__query {
		position: relative;
		z-index: 1;

		grid-column: 1 / -1;

		display: flex;
		align-items: center;

		gap: 8px;

		min-height: 27px;

		padding: 0 10px;

		border: 1px solid rgba(108, 60, 255, 0.22);
		border-radius: 9px;

		background:
			linear-gradient(
				135deg,
				rgba(108, 60, 255, 0.075),
				rgba(233, 79, 216, 0.035)
			);
	}


	.sc-serp__query-icon {
		position: relative;

		width: 10px;
		height: 10px;
		flex: 0 0 10px;

		border: 1.3px solid rgba(232, 236, 243, 0.52);
		border-radius: 50%;
	}


	.sc-serp__query-icon::after {
		content: "";

		position: absolute;
		right: -4px;
		bottom: -3px;

		width: 5px;
		height: 1.3px;

		border-radius: 999px;

		background: rgba(232, 236, 243, 0.52);

		transform: rotate(45deg);
		transform-origin: left center;
	}


	.sc-serp__query-text {
		color: rgba(232, 236, 243, 0.72);

		font-size: 10.5px;
		font-weight: 600;
		line-height: 1.2;

		letter-spacing: 0.01em;
	}


	.sc-serp__ranks {
		position: relative;
		z-index: 1;

		display: grid;
		grid-template-rows: repeat(3, var(--sc-serp-step));
		align-items: center;

		color: rgba(232, 236, 243, 0.38);

		font-size: 9px;
		font-weight: 800;
		line-height: 1;
		text-align: center;
	}


	.sc-serp__track {
		position: relative;
		z-index: 1;

		height:
			calc(
				var(--sc-serp-step) * 3
			);
	}


	.sc-serp__result {
		position: absolute;
		left: 0;

		display: flex;
		flex-direction: column;
		justify-content: center;

		width: 100%;
		height: var(--sc-serp-result-height);

		padding: 0 9px;

		border: 1px solid rgba(255, 255, 255, 0.05);
		border-radius: 7px;

		background: rgba(255, 255, 255, 0.020);

		will-change: transform, opacity;
	}


	.sc-serp__result--a {
		top: 2px;

		animation:
			scSerpCompetitorA
			6.2s
			cubic-bezier(0.22, 1, 0.36, 1)
			infinite;
	}


	.sc-serp__result--b {
		top:
			calc(
				var(--sc-serp-step) + 2px
			);

		animation:
			scSerpCompetitorB
			6.2s
			cubic-bezier(0.22, 1, 0.36, 1)
			infinite;
	}


	.sc-serp__result--target {
		top:
			calc(
				var(--sc-serp-step) * 2 + 2px
			);

		z-index: 2;

		border-color: rgba(233, 79, 216, 0.30);

		background:
			linear-gradient(
				135deg,
				rgba(108, 60, 255, 0.12),
				rgba(233, 79, 216, 0.09)
			);

		animation:
			scSerpTargetRise
			6.2s
			cubic-bezier(0.22, 1, 0.36, 1)
			infinite;
	}


	.sc-serp__domain {
		color: rgba(232, 236, 243, 0.70);

		font-size: 10.5px;
		font-weight: 700;
		line-height: 1.1;
	}


	.sc-serp__result--target .sc-serp__domain {
		color: #ffffff;
	}


	.sc-serp__meta {
		margin-top: 2px;

		color: rgba(232, 236, 243, 0.36);

		font-size: 8.5px;
		font-weight: 500;
		line-height: 1.05;
	}


	.sc-serp__result--target .sc-serp__meta {
		color: rgba(232, 236, 243, 0.56);
	}
}


/* Hauteurs mobiles très contraintes : on compacte uniquement la SERP SEO. */

@media
	(max-width: 767px)
	and
	(max-height: 760px) {

	.sc-serp {
		--sc-serp-step: 28px;
		--sc-serp-result-height: 25px;

		margin-top: 16px;
	}


	.sc-serp__head {
		margin-bottom: 5px;
	}


	.sc-serp__board {
		gap: 5px 7px;

		padding: 8px 9px;
	}


	.sc-serp__query {
		min-height: 24px;

		padding: 0 9px;
	}


	.sc-serp__query-text,
	.sc-serp__domain {
		font-size: 9.5px;
	}


	.sc-serp__meta {
		margin-top: 1px;

		font-size: 7.8px;
	}
}


/* Reduced motion : afficher directement l'état final 3 → 1 sur mobile. */

@media
	(max-width: 767px)
	and
	(prefers-reduced-motion: reduce) {

	.sc-serp__trend {
		opacity: 1;
		transform: none;
		animation: none;
	}


	.sc-serp__result--target {
		transform:
			translate3d(
				0,
				calc(var(--sc-serp-step) * -2),
				0
			);

		animation: none;

		box-shadow:
			0 12px 26px rgba(108, 60, 255, 0.18),
			0 0 22px rgba(233, 79, 216, 0.13);
	}


	.sc-serp__result--a,
	.sc-serp__result--b {
		transform:
			translate3d(
				0,
				var(--sc-serp-step),
				0
			);

		animation: none;
	}


	.sc-serp__result--a {
		opacity: 0.48;
	}


	.sc-serp__result--b {
		opacity: 0.38;
	}
}


/* =========================================================
   MODULE SIGNATURE — PERFORMANCE / EXEMPLE D’OPTIMISATION

   Desktop uniquement en V1 :
   - illustration pédagogique, jamais présentée comme mesure live ;
   - aucun lien avec Lighthouse / PageSpeed ;
   - HTML + CSS uniquement ;
   - aucun impact sur Three.js, les particules ou le viewport-lock ;
   - la checklist Performance reste en place pour cette V1.
   ========================================================= */

.sc-perf {
	display: none;
}


@media (min-width: 1025px) {

	.sc-perf {
		display: block;

		width: 100%;
		max-width: 405px;

		margin: 22px 0 0;
	}


	.sc-perf__head {
		display: flex;
		align-items: center;
		justify-content: space-between;

		gap: 14px;

		margin-bottom: 9px;
	}


	.sc-perf__label {
		color: var(--sc-magenta);

		font-size: 10.5px;
		font-weight: 700;
		line-height: 1.2;

		letter-spacing: 0.08em;
		text-transform: uppercase;
	}


	.sc-perf__transition {
		color: rgba(232, 236, 243, 0.44);

		font-size: 9.5px;
		font-weight: 700;
		line-height: 1.2;

		letter-spacing: 0.04em;
		text-transform: uppercase;
	}


	.sc-perf__panel {
		position: relative;

		display: grid;
		grid-template-columns: 118px 1fr;
		align-items: center;

		gap: 18px;

		min-height: 144px;

		padding: 13px 16px;

		border: 1px solid rgba(255, 255, 255, 0.09);
		border-radius: 15px;

		background:
			linear-gradient(
				145deg,
				rgba(108, 60, 255, 0.060),
				rgba(255, 255, 255, 0.020) 48%,
				rgba(233, 79, 216, 0.040)
			);

		box-shadow:
			0 18px 42px rgba(5, 8, 20, 0.20);

		overflow: hidden;
	}


	.sc-perf__panel::before {
		content: "";

		position: absolute;
		inset: 0;

		background:
			radial-gradient(
				circle at 22% 50%,
				rgba(108, 60, 255, 0.10),
				transparent 34%
			),
			radial-gradient(
				circle at 82% 22%,
				rgba(233, 79, 216, 0.065),
				transparent 38%
			);

		pointer-events: none;
	}


	.sc-perf__panel::after {
		content: "";

		position: absolute;
		inset: -28%;

		background:
			radial-gradient(
				circle at 28% 50%,
				rgba(233, 79, 216, 0.11),
				transparent 28%
			);

		opacity: 0;
		transform: scale(0.88);

		pointer-events: none;

		animation:
			scPerfHalo
			5.8s
			ease-in-out
			infinite;
	}


	.sc-perf__gauge {
		position: relative;
		z-index: 1;

		width: 112px;
		height: 112px;
	}


	.sc-perf__ring {
		display: block;

		width: 100%;
		height: 100%;

		transform: rotate(-90deg);
	}


	.sc-perf__ring-track,
	.sc-perf__ring-value {
		fill: none;

		stroke-linecap: round;
	}


	.sc-perf__ring-track {
		stroke: rgba(232, 236, 243, 0.075);
		stroke-width: 8;
	}


	.sc-perf__ring-value {
		stroke: url(#sc-perf-gradient);
		stroke-width: 8;
		stroke-dasharray: 100;
		stroke-dashoffset: 28;

		filter: drop-shadow(0 0 7px rgba(233, 79, 216, 0.18));

		will-change: stroke-dashoffset;

		animation:
			scPerfRing
			5.8s
			cubic-bezier(0.22, 1, 0.36, 1)
			infinite;
	}


	.sc-perf__score {
		position: absolute;
		inset: 0;

		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;

		text-align: center;
	}


	.sc-perf__score-number {
		position: absolute;
		top: 28px;

		color: #ffffff;

		font-size: 31px;
		font-weight: 750;
		line-height: 1;

		letter-spacing: -0.045em;

		will-change: transform, opacity;
	}


	.sc-perf__score-number--before {
		animation:
			scPerfValueBefore
			5.8s
			ease-in-out
			infinite;
	}


	.sc-perf__score-number--after {
		opacity: 0;

		animation:
			scPerfValueAfter
			5.8s
			ease-in-out
			infinite;
	}


	.sc-perf__score-caption {
		position: absolute;
		top: 66px;

		width: 76px;

		color: rgba(232, 236, 243, 0.48);

		font-size: 8.5px;
		font-weight: 600;
		line-height: 1.22;
	}


	.sc-perf__metrics {
		position: relative;
		z-index: 1;

		display: grid;
		grid-template-columns: 1fr;

		gap: 7px;
	}


	.sc-perf__metric {
		display: grid;
		grid-template-columns: 42px 1fr;
		align-items: center;

		min-height: 31px;

		padding: 0 10px;

		border: 1px solid rgba(255, 255, 255, 0.055);
		border-radius: 9px;

		background: rgba(255, 255, 255, 0.020);
	}


	.sc-perf__metric-name {
		color: rgba(232, 236, 243, 0.46);

		font-size: 9.5px;
		font-weight: 800;
		line-height: 1;

		letter-spacing: 0.08em;
	}


	.sc-perf__metric-values {
		position: relative;

		display: block;

		height: 14px;
	}


	.sc-perf__metric-value {
		position: absolute;
		top: 0;
		right: 0;

		font-size: 11.5px;
		font-weight: 700;
		line-height: 1.2;

		will-change: transform, opacity;
	}


	.sc-perf__metric-value--before {
		color: rgba(232, 236, 243, 0.48);

		animation:
			scPerfValueBefore
			5.8s
			ease-in-out
			infinite;
	}


	.sc-perf__metric-value--after {
		color: rgba(255, 255, 255, 0.94);

		opacity: 0;

		animation:
			scPerfValueAfter
			5.8s
			ease-in-out
			infinite;
	}


	.sc-hero__service[data-sc-service="performance"]
	.sc-perf + .sc-hero__service-proof {
		margin-top: 16px;
	}
}


/* =========================================================
   PERFORMANCE — DESKTOP À HAUTEUR UTILE LIMITÉE

   Le viewport-lock n'a pas de scroll interne. Sous 821px de
   hauteur, on compacte uniquement le service Performance et
   son nouveau module afin que jauge + checklist restent dans
   le viewport sur un portable type 1366×768.
   ========================================================= */

@media
	(min-width: 1025px)
	and
	(max-height: 820px) {

	.sc-perf {
		margin-top: 13px;
	}


	.sc-perf__head {
		margin-bottom: 6px;
	}


	.sc-perf__panel {
		grid-template-columns: 86px 1fr;

		gap: 12px;

		min-height: 102px;

		padding: 8px 12px;
	}


	.sc-perf__gauge {
		width: 82px;
		height: 82px;
	}


	.sc-perf__ring-track,
	.sc-perf__ring-value {
		stroke-width: 7;
	}


	.sc-perf__score-number {
		top: 20px;

		font-size: 23px;
	}


	.sc-perf__score-caption {
		top: 47px;

		width: 62px;

		font-size: 7px;
	}


	.sc-perf__metrics {
		gap: 5px;
	}


	.sc-perf__metric {
		grid-template-columns: 38px 1fr;

		min-height: 25px;

		padding: 0 8px;
	}


	.sc-perf__metric-name {
		font-size: 8.5px;
	}


	.sc-perf__metric-value {
		font-size: 10px;
	}


	.sc-hero__service[data-sc-service="performance"]
	.sc-perf + .sc-hero__service-proof {
		margin-top: 10px;
	}


	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-proof {
		padding: 14px 18px;
	}


	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-proof-title {
		margin-bottom: 8px;

		font-size: 10.5px;
	}


	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-checklist {
		gap: 6px;
	}


	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-checklist li {
		padding-left: 24px;

		font-size: 12.5px;
		line-height: 1.3;
	}


	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-checklist li::before {
		top: 0;

		width: 16px;
		height: 16px;
	}


	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-checklist li::after {
		top: -1px;
		left: 3px;

		font-size: 10px;
	}
}


@keyframes scPerfRing {

	0%, 16% {
		stroke-dashoffset: 28;
	}

	48%, 82% {
		stroke-dashoffset: 2;
	}

	100% {
		stroke-dashoffset: 28;
	}
}


@keyframes scPerfValueBefore {

	0%, 22% {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}

	46%, 86% {
		opacity: 0;
		transform: translate3d(0, -4px, 0);
	}

	100% {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}


@keyframes scPerfValueAfter {

	0%, 22% {
		opacity: 0;
		transform: translate3d(0, 4px, 0);
	}

	46%, 86% {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}

	100% {
		opacity: 0;
		transform: translate3d(0, 4px, 0);
	}
}


@keyframes scPerfHalo {

	0%, 30% {
		opacity: 0;
		transform: scale(0.88);
	}

	52%, 78% {
		opacity: 1;
		transform: scale(1);
	}

	100% {
		opacity: 0;
		transform: scale(0.88);
	}
}


@media (prefers-reduced-motion: reduce) and (min-width: 1025px) {

	.sc-perf__panel::after,
	.sc-perf__ring-value,
	.sc-perf__score-number,
	.sc-perf__metric-value {
		animation: none;
	}


	.sc-perf__ring-value {
		stroke-dashoffset: 2;
	}


	.sc-perf__score-number--before,
	.sc-perf__metric-value--before {
		display: none;
	}


	.sc-perf__score-number--after,
	.sc-perf__metric-value--after {
		opacity: 1;
		transform: none;
	}
}


/* =========================================================
   MODULE SIGNATURE — PERFORMANCE / MOBILE

   Patch strictement limité au service Performance sur téléphone :
   - la checklist Performance est masquée ;
   - la jauge "Exemple d’optimisation" prend sa place ;
   - l’animation 72 → 98 et les 3 métriques sont conservées ;
   - tablette (>= 768px) inchangée ;
   - aucun impact sur Création / SEO / Refonte ;
   - aucun changement JS / Three.js / viewport-lock.
   ========================================================= */

@media (max-width: 767px) {

	/* Performance uniquement : la jauge remplace "Ce qui est inclus". */

	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-proof {
		display: none;
	}


	.sc-perf {
		display: block;

		width: 100%;
		max-width: 100%;

		margin: 20px 0 0;
	}


	.sc-perf__head {
		display: flex;
		align-items: center;
		justify-content: space-between;

		gap: 10px;

		margin-bottom: 7px;
	}


	.sc-perf__label {
		color: var(--sc-magenta);

		font-size: 9.5px;
		font-weight: 700;
		line-height: 1.2;

		letter-spacing: 0.075em;
		text-transform: uppercase;
	}


	.sc-perf__transition {
		color: rgba(232, 236, 243, 0.44);

		font-size: 8.5px;
		font-weight: 700;
		line-height: 1.2;

		letter-spacing: 0.035em;
		text-transform: uppercase;
	}


	.sc-perf__panel {
		position: relative;

		display: grid;
		grid-template-columns: 82px minmax(0, 1fr);
		align-items: center;

		gap: 10px;

		min-height: 104px;

		padding: 9px 10px;

		border: 1px solid rgba(255, 255, 255, 0.09);
		border-radius: 13px;

		background:
			linear-gradient(
				145deg,
				rgba(108, 60, 255, 0.060),
				rgba(255, 255, 255, 0.020) 48%,
				rgba(233, 79, 216, 0.040)
			);

		box-shadow:
			0 14px 34px rgba(5, 8, 20, 0.18);

		overflow: hidden;
	}


	.sc-perf__panel::before {
		content: "";

		position: absolute;
		inset: 0;

		background:
			radial-gradient(
				circle at 22% 50%,
				rgba(108, 60, 255, 0.10),
				transparent 34%
			),
			radial-gradient(
				circle at 82% 22%,
				rgba(233, 79, 216, 0.065),
				transparent 38%
			);

		pointer-events: none;
	}


	.sc-perf__panel::after {
		content: "";

		position: absolute;
		inset: -28%;

		background:
			radial-gradient(
				circle at 28% 50%,
				rgba(233, 79, 216, 0.11),
				transparent 28%
			);

		opacity: 0;
		transform: scale(0.88);

		pointer-events: none;

		animation:
			scPerfHalo
			5.8s
			ease-in-out
			infinite;
	}


	.sc-perf__gauge {
		position: relative;
		z-index: 1;

		width: 78px;
		height: 78px;
	}


	.sc-perf__ring {
		display: block;

		width: 100%;
		height: 100%;

		transform: rotate(-90deg);
	}


	.sc-perf__ring-track,
	.sc-perf__ring-value {
		fill: none;

		stroke-linecap: round;
	}


	.sc-perf__ring-track {
		stroke: rgba(232, 236, 243, 0.075);
		stroke-width: 7;
	}


	.sc-perf__ring-value {
		stroke: url(#sc-perf-gradient);
		stroke-width: 7;
		stroke-dasharray: 100;
		stroke-dashoffset: 28;

		filter: drop-shadow(0 0 6px rgba(233, 79, 216, 0.18));

		will-change: stroke-dashoffset;

		animation:
			scPerfRing
			5.8s
			cubic-bezier(0.22, 1, 0.36, 1)
			infinite;
	}


	.sc-perf__score {
		position: absolute;
		inset: 0;

		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;

		text-align: center;
	}


	.sc-perf__score-number {
		position: absolute;
		top: 18px;

		color: #ffffff;

		font-size: 23px;
		font-weight: 750;
		line-height: 1;

		letter-spacing: -0.045em;

		will-change: transform, opacity;
	}


	.sc-perf__score-number--before {
		animation:
			scPerfValueBefore
			5.8s
			ease-in-out
			infinite;
	}


	.sc-perf__score-number--after {
		opacity: 0;

		animation:
			scPerfValueAfter
			5.8s
			ease-in-out
			infinite;
	}


	.sc-perf__score-caption {
		position: absolute;
		top: 44px;

		width: 58px;

		color: rgba(232, 236, 243, 0.48);

		font-size: 6.7px;
		font-weight: 600;
		line-height: 1.18;
	}


	.sc-perf__metrics {
		position: relative;
		z-index: 1;

		display: grid;
		grid-template-columns: 1fr;

		gap: 5px;
	}


	.sc-perf__metric {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 58px;
		align-items: center;

		min-height: 27px;

		padding: 0 8px;

		border: 1px solid rgba(255, 255, 255, 0.055);
		border-radius: 8px;

		background: rgba(255, 255, 255, 0.020);
	}


	.sc-perf__metric-name {
		min-width: 0;

		color: rgba(232, 236, 243, 0.52);

		font-size: 8.7px;
		font-weight: 750;
		line-height: 1.08;
	}


	.sc-perf__metric-values {
		position: relative;

		display: block;

		height: 13px;
	}


	.sc-perf__metric-value {
		position: absolute;
		top: 0;
		right: 0;

		font-size: 10px;
		font-weight: 700;
		line-height: 1.2;

		will-change: transform, opacity;
	}


	.sc-perf__metric-value--before {
		color: rgba(232, 236, 243, 0.48);

		animation:
			scPerfValueBefore
			5.8s
			ease-in-out
			infinite;
	}


	.sc-perf__metric-value--after {
		color: rgba(255, 255, 255, 0.94);

		opacity: 0;

		animation:
			scPerfValueAfter
			5.8s
			ease-in-out
			infinite;
	}
}


/* Hauteurs mobiles très contraintes : on compacte uniquement la jauge Performance. */

@media
	(max-width: 767px)
	and
	(max-height: 760px) {

	.sc-perf {
		margin-top: 16px;
	}


	.sc-perf__head {
		margin-bottom: 5px;
	}


	.sc-perf__panel {
		grid-template-columns: 72px minmax(0, 1fr);

		gap: 8px;

		min-height: 92px;

		padding: 7px 8px;
	}


	.sc-perf__gauge {
		width: 68px;
		height: 68px;
	}


	.sc-perf__score-number {
		top: 15px;

		font-size: 20px;
	}


	.sc-perf__score-caption {
		top: 38px;

		width: 52px;

		font-size: 6px;
	}


	.sc-perf__metrics {
		gap: 4px;
	}


	.sc-perf__metric {
		grid-template-columns: minmax(0, 1fr) 54px;

		min-height: 24px;

		padding: 0 7px;
	}


	.sc-perf__metric-name {
		font-size: 8px;
	}


	.sc-perf__metric-value {
		font-size: 9.2px;
	}
}


/* Reduced motion : afficher directement l'état final sur mobile. */

@media
	(max-width: 767px)
	and
	(prefers-reduced-motion: reduce) {

	.sc-perf__panel::after,
	.sc-perf__ring-value,
	.sc-perf__score-number,
	.sc-perf__metric-value {
		animation: none;
	}


	.sc-perf__ring-value {
		stroke-dashoffset: 2;
	}


	.sc-perf__score-number--before,
	.sc-perf__metric-value--before {
		display: none;
	}


	.sc-perf__score-number--after,
	.sc-perf__metric-value--after {
		opacity: 1;
		transform: none;
	}
}


/* =========================================================
   MODULE AVANT / APRÈS — REFONTE (V2)
   ========================================================= */

.sc-compare {
	position: relative;

	display: flex;
	align-items: center;

	gap: 18px;

	max-width: 560px;

	margin: 32px 0 0;
}


.sc-compare__card {
	position: relative;

	width: 230px;
	flex: 0 0 auto;

	padding: 18px;

	border-radius: 14px;
}


.sc-compare__card--before {
	border: 1px solid rgba(255, 255, 255, 0.11);

	background: rgba(255, 255, 255, 0.02);

	will-change: transform, opacity;

	animation: scCompareBeforeFade 2.6s ease-in-out infinite;
}


.sc-compare__card--after {
	z-index: 0;

	border: 1px solid rgba(233, 79, 216, 0.28);

	background: rgba(255, 255, 255, 0.03);

	box-shadow:
		0 18px 46px rgba(108, 60, 255, 0.22),
		0 0 30px rgba(233, 79, 216, 0.14);

	will-change: transform;

	animation: scCompareAfterLift 2.6s ease-in-out infinite;

	/*
	 * Établit un contexte d'empilement local pour que le
	 * halo en ::after (z-index: -1) reste cantonné derrière
	 * cette carte, sans jamais passer sous le reste de la page.
	 */
	isolation: isolate;
}


/*
 * Halo additionnel superposé à la carte "après".
 * Seule son opacité est animée (jamais box-shadow
 * directement) afin de rester sur des propriétés
 * peu coûteuses pour le navigateur.
 */
.sc-compare__card--after::after {
	content: "";

	position: absolute;
	inset: -6px;

	z-index: -1;

	border-radius: inherit;

	box-shadow:
		0 24px 62px rgba(108, 60, 255, 0.32),
		0 0 48px rgba(233, 79, 216, 0.26);

	opacity: 0;

	will-change: opacity;

	animation: scCompareAfterGlow 2.6s ease-in-out infinite;
}


/*
 * Micro-transformation Avant → Après.
 *
 * Boucle douce synchronisée avec la flèche :
 * - l'ancienne version reste nette au repos, puis
 *   s'efface légèrement pendant le passage de la flèche ;
 * - la nouvelle version se soulève très légèrement et
 *   son halo devient plus perceptible au même instant ;
 * - retour progressif à l'état de repos avant la
 *   prochaine itération, sans coupure brutale.
 *
 * Uniquement transform + opacity (+ un halo séparé en
 * opacité) : aucune propriété coûteuse n'est animée.
 */
@keyframes scCompareBeforeFade {

	0%,
	15% {
		opacity: 1;

		transform: translateX(0);
	}

	65% {
		opacity: 0.55;

		transform: translateX(-5px);
	}

	100% {
		opacity: 1;

		transform: translateX(0);
	}
}


@keyframes scCompareAfterLift {

	0%,
	15% {
		transform: translateY(0);
	}

	65% {
		transform: translateY(-4px);
	}

	100% {
		transform: translateY(0);
	}
}


@keyframes scCompareAfterGlow {

	0%,
	15% {
		opacity: 0;
	}

	65% {
		opacity: 1;
	}

	100% {
		opacity: 0;
	}
}


/* Connecteur lumineux animé */

.sc-compare__connector {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 42px;
	flex: 0 0 auto;
}


.sc-compare__connector-arrow {
	position: relative;

	width: 30px;
	height: 2px;

	border-radius: 2px;

	background:
		linear-gradient(
			90deg,
			rgba(108, 60, 255, 0),
			var(--sc-violet),
			var(--sc-magenta)
		);

	/*
	 * Halo léger et statique (jamais animé) : un simple
	 * accompagnement lumineux pour que le trait devienne un
	 * vrai lien visuel entre les deux cartes, sans coût de
	 * rendu supplémentaire pendant la boucle.
	 */
	box-shadow:
		0 0 12px rgba(233, 79, 216, 0.35),
		0 0 20px rgba(108, 60, 255, 0.20);

	animation: scCompareArrow 2.6s ease-in-out infinite;
}


.sc-compare__connector-arrow::after {
	content: "";

	position: absolute;
	top: 50%;
	right: -2px;

	width: 7px;
	height: 7px;

	border-top: 2px solid var(--sc-magenta);
	border-right: 2px solid var(--sc-magenta);

	transform: translateY(-50%) rotate(45deg);
}


@keyframes scCompareArrow {

	0% {
		opacity: 0;

		transform: translateX(-6px);
	}

	40% {
		opacity: 1;
	}

	75% {
		opacity: 1;

		transform: translateX(6px);
	}

	100% {
		opacity: 0;

		transform: translateX(10px);
	}
}


@media (prefers-reduced-motion: reduce) {

	.sc-compare__connector-arrow {
		opacity: 1;

		animation: none;

		transform: none;
	}


	/*
	 * Version statique de la transformation : on garde
	 * la lecture "avant → après" sans aucun mouvement,
	 * figée sur l'état final du cycle.
	 */
	.sc-compare__card--before,
	.sc-compare__card--after,
	.sc-compare__card--after::after {
		animation: none;

		transform: none;
	}


	.sc-compare__card--before {
		opacity: 0.6;
	}


	.sc-compare__card--after::after {
		opacity: 0.85;
	}
}


.sc-compare__label {
	margin: 0 0 12px;

	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.08em;

	text-transform: uppercase;
}


.sc-compare__card--before .sc-compare__label {
	color: rgba(232, 236, 243, 0.52);
}


.sc-compare__card--after .sc-compare__label {
	color: var(--sc-magenta);
}


/* Barre de navigation miniature */

.sc-compare__nav {
	display: flex;
	align-items: center;

	gap: 5px;

	margin: 0 0 14px;
}


.sc-compare__nav span {
	width: 6px;
	height: 6px;

	border-radius: 50%;
}


.sc-compare__card--before .sc-compare__nav span {
	background: rgba(255, 255, 255, 0.20);
}


.sc-compare__card--after .sc-compare__nav span {
	background:
		linear-gradient(
			135deg,
			var(--sc-violet),
			var(--sc-magenta)
		);
}


/* Mini bloc Hero */

.sc-compare__hero {
	display: flex;
	flex-direction: column;

	gap: 7px;

	margin: 0 0 12px;

	padding: 12px;

	border-radius: 8px;
}


.sc-compare__hero--before {
	align-items: flex-start;

	background: rgba(255, 255, 255, 0.03);
}


.sc-compare__hero--after {
	align-items: flex-start;

	background: rgba(255, 255, 255, 0.04);
}


.sc-compare__hero-title {
	display: block;

	height: 8px;

	border-radius: 4px;
}


.sc-compare__hero--before .sc-compare__hero-title {
	width: 68%;

	margin-left: 12%;

	background: rgba(255, 255, 255, 0.18);
}


.sc-compare__hero--after .sc-compare__hero-title {
	width: 78%;

	background:
		linear-gradient(
			90deg,
			var(--sc-violet),
			var(--sc-magenta)
		);

	opacity: 0.9;
}


.sc-compare__hero-sub {
	display: block;

	height: 6px;

	border-radius: 3px;
}


.sc-compare__hero--before .sc-compare__hero-sub {
	width: 46%;

	background: rgba(255, 255, 255, 0.11);
}


.sc-compare__hero--after .sc-compare__hero-sub {
	width: 55%;

	background: rgba(232, 236, 243, 0.35);
}


.sc-compare__hero-btn {
	display: block;

	width: 46px;
	height: 14px;

	margin-top: 4px;

	border-radius: 999px;

	background:
		linear-gradient(
			90deg,
			var(--sc-violet),
			var(--sc-magenta)
		);
}


/* Mini blocs de contenu */

.sc-compare__grid {
	display: flex;

	gap: 6px;
}


.sc-compare__block {
	display: block;

	height: 26px;

	border-radius: 4px;
}


.sc-compare__card--before .sc-compare__block {
	background: rgba(255, 255, 255, 0.09);
}


.sc-compare__card--before .sc-compare__block:nth-child(1) {
	width: 58%;
}


.sc-compare__card--before .sc-compare__block:nth-child(2) {
	width: 34%;

	margin-top: 8px;
}


.sc-compare__card--after .sc-compare__block {
	flex: 1;

	background: rgba(255, 255, 255, 0.05);

	border-top: 2px solid rgba(233, 79, 216, 0.55);
}


/* Bouton neutre — ancienne version */

.sc-compare__btn-neutral {
	display: block;

	width: 52px;
	height: 14px;

	margin-top: 10px;

	border-radius: 999px;

	background: rgba(255, 255, 255, 0.14);
}


/* =========================================================
   MODULE CONSTRUCTION — CRÉATION (V1)

   Un mini-site unique qui se construit pièce par pièce en
   boucle (nav → hero → grille), tient un instant une fois
   "complet", puis s'efface pour recommencer.

   Uniquement transform + opacity, comme le reste du site.
   ========================================================= */

.sc-build {
	margin: 32px 0 0;

	max-width: 360px;
}


/* =========================================================
   DESKTOP — MODULE CONSTRUCTION CRÉATION +12,5 %

   Le module gagne uniquement en largeur sur desktop.
   Tablette et mobile conservent leur géométrie actuelle.
   ========================================================= */

@media (min-width: 1025px) {

	.sc-build {
		max-width: 405px;
	}
}


.sc-build__label {
	margin: 0 0 12px;

	color: var(--sc-magenta);

	font-size: 10.5px;
	font-weight: 700;
	line-height: 1.2;

	letter-spacing: 0.08em;

	text-transform: uppercase;
}


.sc-build__frame {
	position: relative;

	padding: 18px;

	border: 1px solid rgba(233, 79, 216, 0.28);
	border-radius: 14px;

	background: rgba(255, 255, 255, 0.03);

	box-shadow:
		0 18px 46px rgba(108, 60, 255, 0.18),
		0 0 26px rgba(233, 79, 216, 0.10);

	overflow: hidden;
}


.sc-build__nav {
	display: flex;
	align-items: center;

	gap: 5px;

	margin: 0 0 14px;

	opacity: 0;

	will-change: transform, opacity;

	animation: scBuildNav 4.8s ease-in-out infinite;
}


.sc-build__nav span {
	width: 6px;
	height: 6px;

	border-radius: 50%;

	background:
		linear-gradient(
			135deg,
			var(--sc-violet),
			var(--sc-magenta)
		);
}


.sc-build__hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;

	gap: 7px;

	margin: 0 0 12px;

	padding: 12px;

	border-radius: 8px;

	background: rgba(255, 255, 255, 0.04);
}


.sc-build__hero-title {
	display: block;

	width: 78%;
	height: 8px;

	border-radius: 4px;

	background:
		linear-gradient(
			90deg,
			var(--sc-violet),
			var(--sc-magenta)
		);

	opacity: 0;

	will-change: transform, opacity;

	animation: scBuildHeroTitle 4.8s ease-in-out infinite;
}


.sc-build__hero-sub {
	display: block;

	width: 55%;
	height: 6px;

	border-radius: 3px;

	background: rgba(232, 236, 243, 0.35);

	opacity: 0;

	will-change: transform, opacity;

	animation: scBuildHeroSub 4.8s ease-in-out infinite;
}


.sc-build__hero-btn {
	display: block;

	width: 46px;
	height: 14px;

	margin-top: 4px;

	border-radius: 999px;

	background:
		linear-gradient(
			90deg,
			var(--sc-violet),
			var(--sc-magenta)
		);

	opacity: 0;

	will-change: transform, opacity;

	animation: scBuildHeroBtn 4.8s ease-in-out infinite;
}


.sc-build__grid {
	display: flex;

	gap: 6px;
}


.sc-build__block {
	display: block;

	flex: 1;

	height: 26px;

	border-radius: 4px;

	background: rgba(255, 255, 255, 0.05);

	border-top: 2px solid rgba(233, 79, 216, 0.45);

	opacity: 0;

	will-change: transform, opacity;
}


.sc-build__block:nth-child(1) {
	animation: scBuildBlock1 4.8s ease-in-out infinite;
}


.sc-build__block:nth-child(2) {
	animation: scBuildBlock2 4.8s ease-in-out infinite;
}


/*
 * Chaque pièce apparaît l'une après l'autre (nav → titre →
 * sous-titre → bouton → blocs), tient pendant que le site
 * "existe" à l'écran, puis tout s'efface ensemble avant que
 * la boucle recommence. Les pourcentages sont décalés d'une
 * pièce à l'autre sur une même durée totale (4,8s), plutôt
 * que d'utiliser animation-delay, afin que toutes les pièces
 * se figent et disparaissent exactement au même instant.
 */

@keyframes scBuildNav {

	0%,
	6% {
		opacity: 0;

		transform: translateY(6px);
	}

	14% {
		opacity: 1;

		transform: translateY(0);
	}

	88% {
		opacity: 1;

		transform: translateY(0);
	}

	96%,
	100% {
		opacity: 0;

		transform: translateY(6px);
	}
}


@keyframes scBuildHeroTitle {

	0%,
	16% {
		opacity: 0;

		transform: translateY(6px);
	}

	24% {
		opacity: 1;

		transform: translateY(0);
	}

	88% {
		opacity: 1;

		transform: translateY(0);
	}

	96%,
	100% {
		opacity: 0;

		transform: translateY(6px);
	}
}


@keyframes scBuildHeroSub {

	0%,
	26% {
		opacity: 0;

		transform: translateY(6px);
	}

	34% {
		opacity: 1;

		transform: translateY(0);
	}

	88% {
		opacity: 1;

		transform: translateY(0);
	}

	96%,
	100% {
		opacity: 0;

		transform: translateY(6px);
	}
}


@keyframes scBuildHeroBtn {

	0%,
	36% {
		opacity: 0;

		transform: translateY(6px);
	}

	44% {
		opacity: 1;

		transform: translateY(0);
	}

	88% {
		opacity: 1;

		transform: translateY(0);
	}

	96%,
	100% {
		opacity: 0;

		transform: translateY(6px);
	}
}


@keyframes scBuildBlock1 {

	0%,
	46% {
		opacity: 0;

		transform: translateY(6px);
	}

	54% {
		opacity: 1;

		transform: translateY(0);
	}

	88% {
		opacity: 1;

		transform: translateY(0);
	}

	96%,
	100% {
		opacity: 0;

		transform: translateY(6px);
	}
}


@keyframes scBuildBlock2 {

	0%,
	56% {
		opacity: 0;

		transform: translateY(6px);
	}

	64% {
		opacity: 1;

		transform: translateY(0);
	}

	88% {
		opacity: 1;

		transform: translateY(0);
	}

	96%,
	100% {
		opacity: 0;

		transform: translateY(6px);
	}
}


@media (prefers-reduced-motion: reduce) {

	.sc-build__nav,
	.sc-build__hero-title,
	.sc-build__hero-sub,
	.sc-build__hero-btn,
	.sc-build__block {
		opacity: 1;

		transform: none;

		animation: none;
	}
}


/* =========================================================
   MODE SCROLL ENHANCED

   Cette classe n'existe PAS par défaut.

   Elle est ajoutée uniquement lorsque :
   - GSAP est chargé ;
   - ScrollTrigger est chargé ;
   - l'initialisation Phase 2 réussit ;
   - prefers-reduced-motion n'est pas actif.

   Sans cette classe, le fallback éditorial reste actif.
   ========================================================= */

.sc-hero__experience.is-scroll-enhanced {
	position: relative;
}


/*
 * MODE HISTORIQUE / COMPATIBILITÉ
 *
 * Tant que le nouveau système de pin ScrollTrigger
 * n'est pas activé, le stage continue d'utiliser
 * le sticky CSS actuellement validé.
 */
.sc-hero__experience.is-scroll-enhanced
.sc-hero__stage {
	position: sticky;

	top: 0;

	z-index: 1;

	height: 100vh;
	height: 100svh;

	min-height: 100vh;
	min-height: 100svh;
}


/*
 * Les services sont remontés sur le même espace
 * visuel que le stage.
 *
 * Le margin-top négatif est volontairement conservé :
 * il permet à la première expertise de commencer
 * sur le même écran que le stage.
 */
.sc-hero__experience.is-scroll-enhanced
.sc-hero__services {
	z-index: 2;

	margin-top: -100vh;
	margin-top: -100svh;

	padding-bottom: 100vh;
	padding-bottom: 100svh;

	background: transparent;

	/*
	 * La couche éditoriale recouvre visuellement le stage
	 * pendant le scrub, mais ne contient encore aucun lien.
	 * Elle ne doit donc jamais bloquer les CTA du Hero.
	 */
	pointer-events: none;
}


/*
 * Chaque étape correspond à environ un écran.
 */
.sc-hero__experience.is-scroll-enhanced
.sc-hero__service {
	display: flex;
	align-items: center;

	min-height: 100vh;
	min-height: 100svh;

	padding: 0;

	border-top: 0;

	background: transparent;

	/*
	 * Les étapes sont purement éditoriales pour l'instant.
	 * Elles ne doivent jamais intercepter les clics destinés
	 * aux CTA du Hero placés sous cette couche.
	 *
	 * À réévaluer le jour où un lien / bouton est ajouté
	 * directement dans une expertise.
	 */
	pointer-events: none;
}


/*
 * Les fonds décoratifs du fallback disparaissent
 * pendant l'expérience animée.
 */
.sc-hero__experience.is-scroll-enhanced
.sc-hero__service::before {
	display: none;
}


/*
 * La zone éditoriale reste centrée verticalement.
 */
.sc-hero__experience.is-scroll-enhanced
.sc-hero__service-container {
	display: flex;
	align-items: center;

	min-height: 100vh;
	min-height: 100svh;

	pointer-events: none;
}


/*
 * Les contenus démarrent visuellement masqués.
 *
 * GSAP prend le contrôle de :
 * - opacity ;
 * - transform ;
 * - pointer-events du Hero initial.
 */
.sc-hero__experience.is-scroll-enhanced
.sc-hero__service-content {
	width: min(
		46vw,
		620px
	);

	opacity: 0;

	transform:
		translate3d(
			0,
			28px,
			0
		);

	will-change:
		transform,
		opacity;

	/*
	 * Pas d'interaction dans les expertises à ce stade :
	 * le contenu ne doit pas réactiver les pointer-events
	 * désactivés sur l'article parent.
	 */
	pointer-events: none;
}


/*
 * La Phase 1 reste visible tant que GSAP
 * ne commence pas sa transition.
 */
.sc-hero__experience.is-scroll-enhanced
.sc-hero__intro-panel {
	opacity: 1;

	transform:
		translate3d(
			0,
			0,
			0
		);

	will-change:
		transform,
		opacity;
}


/* =========================================================
   MODE PIN SCROLLTRIGGER

   IMPORTANT :
   Cette deuxième classe est utilisée par le JS lorsque
   le pin natif ScrollTrigger est créé avec succès.

   Les DEUX classes sont volontairement exigées :
   .is-scroll-enhanced.is-scrolltrigger-pin

   Cela garantit qu'une classe isolée ne peut pas modifier
   accidentellement le comportement du Hero.

   Dans ce mode :
   - sticky CSS est neutralisé ;
   - ScrollTrigger devient l'unique gestionnaire du pin ;
   - margin-top reste volontairement actif comme piste
     éditoriale pendant le pin ;
   - ScrollTrigger utilise pinSpacing:false.
   ========================================================= */

.sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin
.sc-hero__stage {
	position: relative;

	top: auto;
}


/*
 * Avec le pin natif ScrollTrigger, la fin du pin correspond
 * déjà à la fin réelle de 04 — Performance.
 *
 * Le padding-bottom de 100svh utilisé par l'ancien mode
 * sticky n'a donc plus de rôle de sortie ici et créerait
 * seulement un écran vide avant le footer.
 */
.sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin
.sc-hero__services {
	padding-bottom: 0;
}


/*
 * Le margin-top négatif reste volontairement utilisé
 * comme piste éditoriale pendant le pin ScrollTrigger.
 */


/* =========================================================
   VERROUILLAGE VIEWPORT — CONTENU SERVICES TABLETTE / DESKTOP

   La classe .is-service-viewport-locked est ajoutée uniquement
   pendant l'activité réelle du pin ScrollTrigger.

   Important :
   - on fixe le CONTAINER, jamais .sc-hero__service-content ;
   - GSAP reste donc l'unique propriétaire du transform/opacity
     de .sc-hero__service-content ;
   - mobile <= 767px reste strictement inchangé ;
   - prefers-reduced-motion reste sur le fallback éditorial.
   ========================================================= */

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {

	.sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin.is-service-viewport-locked
	.sc-hero__service-container {
		position: fixed;

		top: 0;
		left: var(--sc-service-lock-left, 0px);

		width: var(--sc-service-lock-width, 100%);
		max-width: none;

		height: 100vh;
		height: 100svh;

		min-height: 100vh;
		min-height: 100svh;

		margin-left: 0;
		margin-right: 0;

		z-index: 3;

		pointer-events: none;
	}
}


@media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {

	/*
	 * ALIGNEMENT DES 4 SERVICES — DESKTOP
	 *
	 * Repère commun : padding-top 76px + y:24 GSAP
	 * => index autour de 100px depuis le haut.
	 *
	 * Tablette et mobile restent inchangés.
	 */
	.sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin.is-service-viewport-locked
	.sc-hero__service-container {
		padding-top: 76px;
		align-items: flex-start;
	}
}


/*
 * NETTOYAGE VISUEL SEO + PERFORMANCE — DESKTOP UNIQUEMENT
 *
 * Les cartes "Ce qui est inclus" restent dans le HTML pour
 * conserver le rendu tablette (768–1024px), où la mini SERP
 * et la jauge Performance ne sont pas affichées.
 *
 * Sur mobile, les règles existantes les masquent déjà.
 */
@media (min-width: 1025px) {

	.sc-hero__service[data-sc-service="seo"]
	.sc-hero__service-proof,
	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-proof {
		display: none;
	}
}


/* =========================================================
   VERROUILLAGE VIEWPORT — CONTENU SERVICES MOBILE

   Le verrouillage utilise le même état JS que desktop/tablette,
   mais la géométrie est volontairement différente :
   - contenu ancré dans la partie haute du viewport ;
   - jamais centré verticalement ;
   - GSAP reste seul propriétaire du transform/opacity du content ;
   - aucune position de particules n'est modifiée ici.

   Le padding-top de base (52px) + le repos GSAP y:24 place
   les services 01/02/03 autour de 76px depuis le haut, juste
   sous le header mobile observé. Performance conserve son y:-24
   historique ; son container reçoit donc +48px afin de garder
   le même repère éditorial sans modifier le tween GSAP.
   ========================================================= */

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {

	.sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin.is-service-viewport-locked
	.sc-hero__service-container {
		position: fixed;

		top: 0;
		left: var(--sc-service-lock-left, 0px);

		width: var(--sc-service-lock-width, 100%);
		max-width: none;

		height: 100vh;
		height: 100svh;

		min-height: 100vh;
		min-height: 100svh;

		margin-left: 0;
		margin-right: 0;

		padding-top:
			calc(
				52px +
				env(safe-area-inset-top, 0px)
			);

		align-items: flex-start;

		z-index: 3;

		pointer-events: none;
	}


	.sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin.is-service-viewport-locked
	.sc-hero__service[data-sc-service="performance"]
	.sc-hero__service-container {
		padding-top:
			calc(
				100px +
				env(safe-area-inset-top, 0px)
			);
	}
}


/* =========================================================
   MOBILE — RECOUVREMENT TRUST AU-DESSUS DU HERO PINNÉ

   Pendant le handoff final, le stage et les containers services
   restent verrouillés. .sc-trust doit donc peindre explicitement
   au-dessus du stacking context du Hero lorsqu'elle monte.

   - z-index 4 > container service (3) ;
   - position relative rend le z-index effectif ;
   - aucune géométrie / marge / hauteur n'est modifiée ;
   - le fond existant de .sc-trust reste inchangé.
   ========================================================= */

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {

	.sc-trust {
		position: relative;

		z-index: 4;
	}
}


/* =========================================================
   DESKTOP — POSITION VERTICALE DU HERO

   Le contenu Phase 1 est aligné en haut uniquement sur
   desktop afin de contrôler directement l'espace entre le
   header et le sur-titre.

   Mobile / tablette restent inchangés.
   ========================================================= */

@media (min-width: 1025px) {

	.sc-hero__stage {
		align-items: flex-start;
	}


	.sc-hero__content {
		padding-top: 80px;
	}
}


/* =========================================================
   ZONE INTERMÉDIAIRE — PETITS ORDINATEURS / GRANDES TABLETTES
   PAYSAGE (≈1025–1160px)

   Le module Avant/Après de Refonte a besoin d'environ 538px
   (230 + 18 + 42 + 18 + 230, connecteur élargi pour la flèche
   premium) pour ne jamais se chevaucher. La règle desktop par
   défaut (46vw) tombe sous ce seuil dans cette plage précise
   (ex. 46vw ≈ 506px à 1100px), ce qui peut faire déborder
   .sc-compare de sa colonne.

   On élargit donc temporairement la colonne éditoriale animée
   dans cette seule plage, sans toucher au reste du desktop.
   ========================================================= */

@media (min-width: 1025px) and (max-width: 1160px) {

	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service-content {
		width: min(
			58vw,
			620px
		);
	}
}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1024px) {

	.sc-hero__content {
		padding-top: 80px;
		padding-bottom: 80px;
	}


	.sc-hero__title {
		max-width: 820px;

		font-size: clamp(
			48px,
			8vw,
			82px
		);
	}


	.sc-hero__intro-text {
		max-width: 620px;
	}


	.sc-hero__glow--violet {
		top: 12%;
		right: -8%;
	}


	.sc-hero__glow--magenta {
		right: -18%;
		bottom: 6%;
	}


	/* Phase 2 fallback */

	.sc-hero__service {
		padding: 100px 0;
	}


	.sc-hero__service-title {
		font-size: clamp(
			44px,
			7vw,
			68px
		);
	}


	.sc-hero__service-content {
		max-width: 590px;
	}


	/* Phase 2 animée */

	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service-content {
		width: min(
			52vw,
			560px
		);
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	#sc-hero,
	.sc-hero__stage {
		min-height: 100vh;
		min-height: 100svh;
	}


	.sc-hero__content {
		justify-content: center;

		padding-top: 72px;
		padding-bottom: 72px;
	}


	.sc-hero__eyebrow {
		margin-bottom: 20px;

		padding: 8px 12px;

		font-size: 12px;
	}


	.sc-hero__title {
		max-width: 100%;

		font-size: clamp(
			43px,
			13.5vw,
			68px
		);

		line-height: 0.96;

		letter-spacing: -0.045em;
	}


	.sc-hero__title span {
		margin-top: 6px;
	}


	.sc-hero__intro-text {
		max-width: 100%;

		margin-top: 24px;

		font-size: 16px;
		line-height: 1.6;
	}


	.sc-hero__actions {
		width: 100%;

		margin-top: 30px;
	}


	.sc-hero__cta {
		width: 100%;

		min-height: 52px;
	}


	.sc-hero__reassurance {
		align-self: stretch;

		margin-top: 16px;
		padding: 0 8px;

		font-size: 12px;
		line-height: 1.5;
		text-align: center;
	}


	.sc-hero__glow {
		filter: blur(70px);

		opacity: 0.34;
	}


	.sc-hero__glow--violet {
		top: 6%;
		right: -38%;

		width: 115vw;
	}


	.sc-hero__glow--magenta {
		right: -40%;
		bottom: 2%;

		width: 100vw;
	}


	/* =====================================================
	   PHASE 2 — FALLBACK MOBILE
	   ===================================================== */

	.sc-hero__service {
		padding: 82px 0;
	}


	.sc-hero__service-index {
		margin-bottom: 16px;

		font-size: 12px;
	}


	.sc-hero__service-index::after {
		width: 34px;

		margin-left: 12px;
	}


	.sc-hero__service-title {
		max-width: 100%;

		font-size: clamp(
			40px,
			12vw,
			58px
		);

		line-height: 0.98;

		letter-spacing: -0.04em;
	}


	.sc-hero__service-description {
		max-width: 100%;

		margin-top: 20px;

		font-size: 16px;
		line-height: 1.6;
	}


	.sc-hero__service-tags {
		gap: 8px 14px;

		margin-top: 18px;
	}


	.sc-hero__service-tag {
		font-size: 12px;
	}


	.sc-hero__service-tag::before {
		width: 3px;
		height: 3px;

		margin-right: 7px;
	}


	.sc-hero__service-closing {
		max-width: 100%;

		margin-top: 18px;

		font-size: 14.5px;
	}


	.sc-hero__service-proof {
		max-width: 100%;

		margin-top: 22px;

		padding: 18px 20px;
	}


	.sc-hero__service-proof-title {
		margin-bottom: 12px;

		font-size: 11px;
	}


	.sc-hero__service-checklist {
		gap: 10px;
	}


	.sc-hero__service-checklist li {
		padding-left: 25px;

		font-size: 13.5px;
	}


	.sc-hero__service-checklist li::before {
		width: 16px;
		height: 16px;
	}


	.sc-hero__service-checklist li::after {
		font-size: 10px;
	}


	.sc-compare {
		width: 100%;
		max-width: 100%;

		gap: 10px;

		margin-top: 22px;
	}


	.sc-compare__card {
		width: calc(50% - 20px);

		padding: 14px;
	}


	.sc-compare__connector {
		width: 20px;
	}


	.sc-compare__connector-arrow {
		width: 16px;
	}


	.sc-compare__label {
		margin-bottom: 10px;

		font-size: 9.5px;
	}


	.sc-compare__nav {
		margin-bottom: 11px;
	}


	.sc-compare__nav span {
		width: 5px;
		height: 5px;
	}


	.sc-compare__hero {
		gap: 6px;

		margin-bottom: 10px;

		padding: 10px;
	}


	.sc-compare__hero-title {
		height: 7px;
	}


	.sc-compare__hero-sub {
		height: 5px;
	}


	.sc-compare__hero-btn {
		width: 40px;
		height: 12px;
	}


	.sc-compare__grid {
		gap: 5px;
	}


	.sc-compare__block {
		height: 22px;
	}


	.sc-compare__btn-neutral {
		width: 44px;
		height: 12px;

		margin-top: 8px;
	}


	/* =====================================================
	   MODULE CONSTRUCTION — CRÉATION (mobile)
	   ===================================================== */

	.sc-build {
		max-width: 100%;

		margin-top: 22px;
	}


	.sc-build__frame {
		padding: 14px;
	}


	.sc-build__block {
		height: 22px;
	}


	/* =====================================================
	   PHASE 2 — MODE SCROLL MOBILE
	   ===================================================== */

	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service-content {
		width: 100%;
		max-width: 100%;

		padding-right: 8px;

		transform:
			translate3d(
				0,
				22px,
				0
			);
	}
}


/* =========================================================
   PETITS MOBILES
   ========================================================= */

@media (max-width: 420px) {

	.sc-hero__content {
		padding-top: 58px;
		padding-bottom: 58px;
	}


	.sc-hero__title {
		font-size: clamp(
			40px,
			13vw,
			54px
		);
	}


	.sc-hero__intro-text {
		font-size: 15px;
	}


	.sc-hero__service {
		padding: 70px 0;
	}


	.sc-hero__service-title {
		font-size: clamp(
			38px,
			11.5vw,
			50px
		);
	}


	.sc-hero__service-description {
		font-size: 15px;
	}
}


/* =========================================================
   MOBILE — HAUTEUR UTILE RÉDUITE
   CTA COMPLETS SUR VRAIS NAVIGATEURS ANDROID

   IMPORTANT :
   Le Hero utilise déjà 100svh sur mobile. Le problème observé
   sur le Samsung réel ne vient donc pas d'un simple 100vh
   ignoré par le navigateur.

   Sur certains écrans, la barre d'adresse + la barre système
   réduisent suffisamment la hauteur utile pour que le contenu
   Phase 1, centré verticalement, dépasse le stage et que le
   second CTA soit coupé.

   Cette règle ne touche :
   - ni au pin ScrollTrigger ;
   - ni aux hauteurs des services ;
   - ni à la fragmentation ;
   - ni au canvas Three.js.

   Elle compacte uniquement la Phase 1 lorsque la hauteur CSS
   réellement disponible est limitée.
   ========================================================= */

@media
	(max-width: 767px)
	and
	(max-height: 900px) {

	/*
	 * Sur les vrais navigateurs mobiles à hauteur utile
	 * réduite, le contenu Phase 1 ne doit plus être centré
	 * verticalement dans le stage : sinon le compactage du
	 * Hero recrée un grand vide au-dessus du sur-titre.
	 */
	.sc-hero__stage {
		align-items: flex-start;
	}


	.sc-hero__content {
		padding-top: 34px;
		padding-bottom:
			max(
				28px,
				env(safe-area-inset-bottom)
			);
	}


	.sc-hero__eyebrow {
		margin-bottom: 14px;

		padding: 7px 10px;

		font-size: 11px;
	}


	.sc-hero__title {
		font-size: clamp(
			38px,
			11.4vw,
			50px
		);

		line-height: 0.94;
	}


	.sc-hero__title span {
		margin-top: 4px;
	}


	.sc-hero__intro-text {
		margin-top: 18px;

		font-size: 14px;
		line-height: 1.48;
	}


	.sc-hero__actions {
		gap: 10px;

		margin-top: 20px;
	}


	.sc-hero__cta {
		min-height: 46px;

		padding: 0 18px;

		font-size: 14px;
	}


	.sc-hero__reassurance {
		margin-top: 12px;

		font-size: 11.5px;
		line-height: 1.45;
	}
}


/* =========================================================
   RÉDUCTION DES ANIMATIONS

   Même si les classes d'amélioration étaient ajoutées
   accidentellement, reduced-motion force une lecture
   éditoriale normale et complète.
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.sc-hero__glow,
	.sc-hero__canvas,
	.sc-hero__cta,
	.sc-hero__intro-panel,
	.sc-hero__service-content {
		transition: none !important;
		animation: none !important;
	}


	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__stage,
	.sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin
	.sc-hero__stage {
		position: relative;

		top: auto;

		height: auto;

		min-height: 100vh;
		min-height: 100svh;
	}


	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__services {
		margin-top: 0;

		padding-bottom: 0;

		background: var(--sc-bg);

		pointer-events: auto;
	}


	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service {
		display: block;

		min-height: 0;

		padding: 120px 0;

		border-top:
			1px solid
			rgba(255, 255, 255, 0.07);

		background:
			linear-gradient(
				180deg,
				rgba(255, 255, 255, 0.012) 0%,
				rgba(255, 255, 255, 0) 100%
			);

		pointer-events: auto;
	}


	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service::before {
		display: block;
	}


	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service-container {
		display: flex;

		min-height: 0;

		pointer-events: auto;
	}


	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service-content {
		width: min(
			100%,
			640px
		);

		opacity: 1 !important;

		transform: none !important;

		will-change: auto;

		pointer-events: auto;
	}


	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__intro-panel {
		opacity: 1 !important;

		transform: none !important;

		will-change: auto;
	}
}


/* =========================================================
   REDUCED MOTION — TABLETTE
   ========================================================= */

@media
	(max-width: 1024px)
	and
	(prefers-reduced-motion: reduce) {

	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service {
		padding: 100px 0;
	}
}


/* =========================================================
   REDUCED MOTION — MOBILE
   ========================================================= */

@media
	(max-width: 767px)
	and
	(prefers-reduced-motion: reduce) {

	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service {
		padding: 82px 0;
	}
}


/* =========================================================
   REDUCED MOTION — PETITS MOBILES
   ========================================================= */

@media
	(max-width: 420px)
	and
	(prefers-reduced-motion: reduce) {

	.sc-hero__experience.is-scroll-enhanced
	.sc-hero__service {
		padding: 70px 0;
	}
}


/* =========================================================
   SPHERCRAFT — TABLETTE V1 (768–1199 px)
   Portrait : texte au-dessus, particules centrées en dessous.
   Paysage : répartition sur deux zones avec centrage vertical.
   Aucun changement de géométrie sur mobile ou PC >= 1200 px.
   ========================================================= */
@media (min-width:768px) and (max-width:1199px){
  .sc-hero__stage{align-items:center}
  .sc-hero__content{padding-top:84px;padding-bottom:84px}
  .sc-hero__title{font-size:clamp(52px,6.3vw,72px)}
  .sc-hero__intro-text,.sc-hero__service-description{font-size:18px;line-height:1.65}
  .sc-hero__service-tag{font-size:14px}
  .sc-hero__service-checklist li{font-size:15px}
  .sc-hero__experience.is-scroll-enhanced .sc-hero__service-content{width:min(58vw,680px);max-width:680px}
  .sc-hero__service-title{font-size:clamp(44px,5vw,60px)}
  .sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin.is-service-viewport-locked .sc-hero__service-container{align-items:center;padding-top:84px;padding-bottom:84px;box-sizing:border-box}
  .sc-build__label,.sc-compare__label,.sc-serp__label,.sc-perf__label{font-size:12px}
  .sc-hero__service-proof{max-width:520px;padding:22px 24px}
}
@media (min-width:768px) and (max-width:1199px) and (orientation:portrait){
  .sc-hero__content{padding-top:84px;padding-bottom:30vh;padding-bottom:30svh}
  .sc-hero__title{max-width:740px}
  .sc-hero__intro-text{max-width:680px}
  .sc-hero__experience.is-scroll-enhanced .sc-hero__service-content{width:min(100%,700px);max-width:700px}
  .sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin.is-service-viewport-locked .sc-hero__service-container{justify-content:center;padding-top:84px;padding-bottom:30vh;padding-bottom:30svh}
  .sc-hero__service-description{max-width:680px}
  .sc-hero__service-closing{max-width:640px}
}
@media (min-width:768px) and (max-width:1199px) and (prefers-reduced-motion:no-preference){
  /* La section suivante recouvre l'état final, sans écran noir préalable. */
  .sc-trust{position:relative;z-index:4}
}
@media (min-width:768px) and (max-width:1199px) and (prefers-reduced-motion:reduce){
  .sc-hero__content{padding-bottom:84px}
}


/* TABLETTE V10 — Espacements du Hero, titre reduit de 9vw a 8.1vw.
   Base : CSS V7. Conserver le JavaScript V7 actuel.
   Stage, pin, services, canvas et particules inchanges.
   Le header mesure 87px et l'espace Elementor 10px dans le rendu releve.
   --sc-header-offset est une compensation configurable, pas une mesure dynamique.
   Tailles continues : aucune bascule brutale a max-height:1000px.
*/
@media (min-width:768px) and (max-width:1199px) and (orientation:portrait){
  #sc-hero .sc-hero__content{
    --sc-hero-content-padding:clamp(48px,6vw,84px);
    padding-top:var(--sc-hero-content-padding);
    padding-bottom:calc(var(--sc-hero-content-padding) + var(--sc-header-offset));
  }
  #sc-hero .sc-hero__eyebrow{
    max-width:64%;
    box-sizing:border-box;
    font-size:clamp(14px,1.5vw,18px);
    line-height:1.3;
    padding:clamp(9px,1vw,12px) clamp(14px,1.6vw,20px);
    margin-bottom:clamp(28px,3svh,44px);
  }
  #sc-hero .sc-hero__title{
    max-width:64%;
    font-size:clamp(60px,min(8.1vw,7.2svh),96px);
    line-height:.98;
    text-wrap:balance;
  }
  #sc-hero .sc-hero__intro-text{
    max-width:55%;
    font-size:clamp(20px,2.1vw,26px);
    line-height:1.65;
    margin-top:clamp(32px,3.5svh,48px);
  }
  #sc-hero .sc-hero__actions{
    max-width:64%;
    gap:clamp(14px,1.6vw,20px);
    margin-top:clamp(40px,5svh,68px);
  }
  #sc-hero .sc-hero__actions .sc-hero__cta{
    box-sizing:border-box;
    min-height:clamp(54px,5.6vw,64px);
    font-size:clamp(15px,1.7vw,19px);
    padding:0 clamp(20px,2.4vw,28px);
  }
  #sc-hero .sc-hero__reassurance{
    max-width:62%;
    font-size:clamp(14px,1.4vw,16px);
    line-height:1.5;
    margin-top:clamp(22px,2.2svh,30px);
  }
}

/* TABLETTE V11 — Compensation commune, valeur configurable unique. */
@media (min-width:768px) and (max-width:1199px){
  #sc-hero .sc-hero__content{--sc-header-offset:97px}
}

/* TABLETTE V11 — Hero paysage : colonne editoriale a gauche.
   Aucun selecteur de stage, service, canvas ou particules.
   Conserver le JavaScript actuel et le portrait V10 valide.
*/
@media (min-width:768px) and (max-width:1199px) and (orientation:landscape){
  #sc-hero .sc-hero__content{
    --sc-hero-content-padding:clamp(20px,4svh,32px);
    padding-top:var(--sc-hero-content-padding);
    padding-bottom:calc(var(--sc-hero-content-padding) + var(--sc-header-offset));
  }
  #sc-hero .sc-hero__eyebrow{
    max-width:54%;
    box-sizing:border-box;
    margin-bottom:clamp(16px,3svh,22px);
  }
  #sc-hero .sc-hero__title{
    max-width:54%;
    font-size:clamp(42px,min(5vw,7.2svh),58px);
    line-height:.98;
    text-wrap:balance;
  }
  #sc-hero .sc-hero__intro-text{
    max-width:54%;
    font-size:clamp(16px,1.8vw,20px);
    line-height:1.55;
    margin-top:clamp(16px,3svh,24px);
  }
  #sc-hero .sc-hero__actions{
    max-width:54%;
    gap:12px;
    margin-top:clamp(22px,4svh,32px);
  }
  #sc-hero .sc-hero__actions .sc-hero__cta{
    box-sizing:border-box;
    min-height:54px;
    padding:0 clamp(18px,2vw,24px);
    font-size:14px;
  }
  #sc-hero .sc-hero__reassurance{
    max-width:54%;
    font-size:13px;
    line-height:1.5;
    margin-top:16px;
  }
}

/* TABLETTE V12 — Repere commun des quatre services en portrait.
   Mode epingle uniquement. Le translateY:24px reste gere par GSAP.
   A 768x1024 : padding 150px + translateY 24px = index vers 174px.
   Aucun changement de hauteur du stage ou de piste de scroll.
*/
@media (min-width:768px) and (max-width:1199px) and (orientation:portrait) and (prefers-reduced-motion:no-preference){
  #sc-hero .sc-hero__experience.is-scroll-enhanced.is-scrolltrigger-pin.is-service-viewport-locked .sc-hero__service-container{
    align-items:flex-start;
    justify-content:flex-start;
    padding-top:clamp(150px,14.65svh,200px);
    padding-bottom:48px;
  }
}
