/* ==========================================================================
   EKLAIA — Landing page "Deep Studio"
   Dark premium · verre · néon · profondeur 3D réelle
   Feuille autonome : aucune dépendance Tailwind / Vite.
   Portée : body.ekla-lp
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Jetons
   -------------------------------------------------------------------------- */

body.ekla-lp {
	/* Fonds — noir bleuté, jamais gris neutre */
	--void: #05060b;
	--carbon: #0a0c16;
	--slab: #0e1120;

	/* Accents — dérivés du logo Eklaia (bleu électrique + magenta) */
	--iris: #6d5bff;
	--iris-lo: #4a37e8;
	--magenta: #ff3d9a;
	--cyan: #35e7ff;

	/* Encre */
	--chalk: #f2f4ff;
	--haze: #a3aac9;
	--dim: #6c7597;

	/* Verre */
	--rim: rgba(255, 255, 255, 0.09);
	--rim-hi: rgba(255, 255, 255, 0.22);
	--glass: rgba(255, 255, 255, 0.026);
	--glass-hi: rgba(255, 255, 255, 0.05);

	/* Rythme */
	--gutter: clamp(1.25rem, 4vw, 3.5rem);
	--slab-radius: 32px;

	/* Typo */
	--display: 'Space Grotesk', 'Segoe UI', system-ui, sans-serif;
	--body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace;

	background: var(--void);
	color: var(--haze);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

body.ekla-lp *,
body.ekla-lp *::before,
body.ekla-lp *::after {
	box-sizing: border-box;
}

body.ekla-lp img {
	max-width: 100%;
	height: auto;
}

body.ekla-lp a {
	color: inherit;
	text-decoration: none;
}

body.ekla-lp :focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
	border-radius: 6px;
}

/* --------------------------------------------------------------------------
   2. Atmosphère — le fond vit sous toute la page
   -------------------------------------------------------------------------- */

.ekla-atmos {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	/* le contenu passe au-dessus, mais l'atmosphère reste sous tout */
}

/* Nappes d'aurore lentes */
.ekla-aurora {
	position: absolute;
	border-radius: 50%;
	filter: blur(90px);
	opacity: 0.55;
	will-change: transform;
}

.ekla-aurora--iris {
	width: 62vw;
	height: 62vw;
	top: -22vw;
	left: -12vw;
	background: radial-gradient(circle at 40% 40%, rgba(109, 91, 255, 0.85), transparent 62%);
	animation: ekla-drift-a 26s ease-in-out infinite alternate;
}

.ekla-aurora--magenta {
	width: 48vw;
	height: 48vw;
	top: -6vw;
	right: -14vw;
	background: radial-gradient(circle at 50% 50%, rgba(255, 61, 154, 0.62), transparent 64%);
	animation: ekla-drift-b 32s ease-in-out infinite alternate;
}

.ekla-aurora--cyan {
	width: 40vw;
	height: 40vw;
	top: 32vh;
	left: 42%;
	background: radial-gradient(circle at 50% 50%, rgba(53, 231, 255, 0.34), transparent 66%);
	animation: ekla-drift-c 38s ease-in-out infinite alternate;
}

@keyframes ekla-drift-a {
	to {
		transform: translate3d(9vw, 7vh, 0) scale(1.12);
	}
}
@keyframes ekla-drift-b {
	to {
		transform: translate3d(-8vw, 11vh, 0) scale(1.18);
	}
}
@keyframes ekla-drift-c {
	to {
		transform: translate3d(-11vw, -8vh, 0) scale(0.88);
	}
}

/* Sol en perspective — la profondeur, pas un décor plat */
.ekla-floor {
	position: absolute;
	inset: 46vh -40% -30% -40%;
	perspective: 340px;
	perspective-origin: 50% 0%;
	opacity: 0.5;
	mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

.ekla-floor-grid {
	position: absolute;
	inset: 0;
	transform: rotateX(78deg);
	transform-origin: 50% 0%;
	background-image: linear-gradient(rgba(109, 91, 255, 0.34) 1px, transparent 1px),
		linear-gradient(90deg, rgba(109, 91, 255, 0.22) 1px, transparent 1px);
	background-size: 90px 90px;
	animation: ekla-floor-run 9s linear infinite;
}

@keyframes ekla-floor-run {
	to {
		background-position: 0 90px, 0 0;
	}
}

/* Grain — casse la propreté numérique des dégradés */
.ekla-grain {
	position: absolute;
	inset: -200%;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
	animation: ekla-grain-shift 700ms steps(3) infinite;
}

@keyframes ekla-grain-shift {
	0% {
		transform: translate(0, 0);
	}
	33% {
		transform: translate(-4%, 3%);
	}
	66% {
		transform: translate(3%, -4%);
	}
}

/* Halo qui suit le pointeur */
.ekla-pointer-glow {
	position: absolute;
	width: 620px;
	height: 620px;
	margin: -310px 0 0 -310px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(109, 91, 255, 0.14), transparent 62%);
	transform: translate3d(var(--px, 50vw), var(--py, 40vh), 0);
	transition: opacity 400ms ease;
	opacity: 0;
}

body.ekla-pointer-active .ekla-pointer-glow {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   3. Coquille de page
   -------------------------------------------------------------------------- */

.ekla-shell {
	position: relative;
	z-index: 1;
}

.ekla-wrap {
	width: 100%;
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.ekla-section {
	position: relative;
	padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.ekla-section--tight {
	padding-block: clamp(3rem, 6vw, 5rem);
}

/* --------------------------------------------------------------------------
   4. Typographie
   -------------------------------------------------------------------------- */

body.ekla-lp h1,
body.ekla-lp h2,
body.ekla-lp h3,
body.ekla-lp h4,
body.ekla-lp h5,
body.ekla-lp h6 {
	font-family: var(--display);
	color: var(--chalk);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.035em;
	margin: 0;
}

body.ekla-lp p {
	margin: 0;
}

.ekla-h1 {
	font-size: clamp(2.65rem, 6vw, 4.85rem);
}

.ekla-h2 {
	font-size: clamp(2.15rem, 4.4vw, 3.5rem);
}

.ekla-h3 {
	font-size: clamp(1.4rem, 2.2vw, 1.9rem);
	letter-spacing: -0.028em;
}

.ekla-h4 {
	font-size: 1.14rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.ekla-lead {
	font-size: clamp(1.02rem, 1.35vw, 1.19rem);
	line-height: 1.62;
	color: var(--haze);
}

/* Le mot en dégradé — un seul par page, dans le H1 */
.ekla-glow-word {
	background: linear-gradient(96deg, var(--cyan) 0%, var(--iris) 42%, var(--magenta) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* Étiquette technique monospace — l'instrument, pas la décoration */
.ekla-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--mono);
	font-size: 0.688rem;
	font-weight: 500;
	letter-spacing: 0.19em;
	text-transform: uppercase;
	color: var(--haze);
	padding: 0.44rem 0.9rem 0.44rem 0.72rem;
	border: 1px solid var(--rim);
	border-radius: 999px;
	background: var(--glass);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.ekla-eyebrow b {
	color: var(--chalk);
	font-weight: 600;
}

.ekla-eyebrow::before {
	content: '';
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--cyan);
	box-shadow: 0 0 0 3px rgba(53, 231, 255, 0.16), 0 0 14px var(--cyan);
	animation: ekla-pulse 2.6s ease-in-out infinite;
	flex: none;
}

@keyframes ekla-pulse {
	50% {
		opacity: 0.35;
		box-shadow: 0 0 0 5px rgba(53, 231, 255, 0.05), 0 0 6px var(--cyan);
	}
}

/* En-tête de section */
.ekla-head {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
	margin-bottom: clamp(2.75rem, 5vw, 4.25rem);
}

.ekla-head .ekla-eyebrow {
	margin-bottom: 1.4rem;
}

.ekla-head .ekla-h2 {
	margin-bottom: 1.1rem;
}

.ekla-head--start {
	text-align: start;
	margin-inline: 0;
}

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */

.ekla-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.94rem 1.7rem;
	border-radius: 14px;
	border: 1px solid var(--rim);
	font-family: var(--body);
	font-size: 0.938rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--chalk);
	background: var(--glass-hi);
	cursor: pointer;
	isolation: isolate;
	overflow: hidden;
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), border-color 260ms ease,
		box-shadow 260ms ease, color 260ms ease;
}

.ekla-btn:hover {
	transform: translateY(-2px);
	border-color: var(--rim-hi);
}

.ekla-btn:active {
	transform: translateY(0);
}

.ekla-btn svg {
	flex: none;
}

/* Primaire — la seule surface pleinement lumineuse de la page */
.ekla-btn--primary {
	border-color: transparent;
	color: #fff;
	background: linear-gradient(120deg, var(--iris-lo), var(--iris) 45%, var(--magenta));
	background-size: 220% 100%;
	background-position: 0% 50%;
	box-shadow: 0 12px 34px -14px rgba(109, 91, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28);
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), background-position 620ms ease,
		box-shadow 260ms ease;
}

.ekla-btn--primary:hover {
	background-position: 100% 50%;
	box-shadow: 0 18px 46px -14px rgba(255, 61, 154, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

/* Balayage de lumière au survol */
.ekla-btn--primary::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, 0.42) 50%, transparent 62%);
	transform: translateX(-120%);
	z-index: -1;
}

.ekla-btn--primary:hover::after {
	animation: ekla-sheen 900ms ease;
}

@keyframes ekla-sheen {
	to {
		transform: translateX(120%);
	}
}

.ekla-btn--ghost {
	background: transparent;
}

.ekla-btn--ghost:hover {
	background: var(--glass-hi);
}

.ekla-btn--sm {
	padding: 0.6rem 1.05rem;
	font-size: 0.844rem;
	border-radius: 11px;
}

.ekla-btn--block {
	width: 100%;
}

/* Lien discret avec flèche */
.ekla-quiet-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--dim);
	transition: color 220ms ease, gap 220ms ease;
}

.ekla-quiet-link:hover {
	color: var(--chalk);
	gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   6. Verre — la matière de base de toutes les surfaces
   -------------------------------------------------------------------------- */

.ekla-glass {
	position: relative;
	background: linear-gradient(168deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.014) 42%),
		var(--slab);
	border: 1px solid var(--rim);
	border-radius: var(--slab-radius);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Liseré lumineux en haut — la lumière tombe d'en haut, partout, sans exception */
.ekla-glass::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 14%;
	right: 14%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--rim-hi) 30%, var(--rim-hi) 70%, transparent);
	pointer-events: none;
}

.ekla-slab {
	padding: clamp(1.6rem, 3.6vw, 3.4rem);
}

/* --------------------------------------------------------------------------
   7. En-tête
   -------------------------------------------------------------------------- */

.ekla-preheader {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	flex-wrap: wrap;
	padding: 0.62rem var(--gutter);
	font-size: 0.813rem;
	color: var(--haze);
	background: linear-gradient(90deg, rgba(109, 91, 255, 0.16), rgba(255, 61, 154, 0.16));
	border-bottom: 1px solid var(--rim);
	text-align: center;
}

.ekla-preheader b {
	font-family: var(--mono);
	font-size: 0.688rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--chalk);
}

.ekla-header {
	position: sticky;
	top: 0;
	z-index: 60;
}

.ekla-nav {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding: 0.85rem var(--gutter);
	border-bottom: 1px solid transparent;
	transition: background 380ms ease, border-color 380ms ease, backdrop-filter 380ms ease;
}

body.ekla-scrolled .ekla-nav {
	background: rgba(7, 8, 16, 0.78);
	backdrop-filter: blur(22px) saturate(1.5);
	-webkit-backdrop-filter: blur(22px) saturate(1.5);
	border-bottom-color: var(--rim);
}

.ekla-logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	margin-inline-end: auto;
}

.ekla-logo img {
	height: 34px;
	width: auto;
	display: block;
}

.ekla-menu {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ekla-menu > li {
	position: relative;
}

/* Doublon de « Se connecter » : visible uniquement quand la barre est trop
   étroite pour le porter (voir la requête média 560 px). */
.ekla-menu-auth {
	display: none;
}

.ekla-menu a {
	display: inline-block;
	padding: 0.5rem 0.85rem;
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--haze);
	transition: color 200ms ease, background 200ms ease;
}

.ekla-menu a:hover,
.ekla-menu a.active {
	color: var(--chalk);
	background: var(--glass-hi);
}

.ekla-nav-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex: none;
	margin-inline-start: auto;
}

/* Sélecteur de langue */
.ekla-lang {
	position: relative;
}

.ekla-lang-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	border: 1px solid var(--rim);
	background: var(--glass);
	color: var(--haze);
	cursor: pointer;
	transition: color 200ms ease, border-color 200ms ease;
}

.ekla-lang:hover .ekla-lang-btn {
	color: var(--chalk);
	border-color: var(--rim-hi);
}

.ekla-lang-menu {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 0.65rem);
	min-width: 172px;
	padding: 0.4rem;
	border-radius: 14px;
	border: 1px solid var(--rim);
	background: rgba(12, 14, 26, 0.96);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 30px 60px -30px #000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: all 220ms ease;
}

.ekla-lang:hover .ekla-lang-menu,
.ekla-lang:focus-within .ekla-lang-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.ekla-lang-menu a {
	display: block;
	padding: 0.55rem 0.7rem;
	border-radius: 9px;
	font-size: 0.844rem;
	color: var(--haze);
	transition: background 180ms ease, color 180ms ease;
}

.ekla-lang-menu a:hover {
	background: var(--glass-hi);
	color: var(--chalk);
}

/* Burger */
.ekla-burger {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--rim);
	background: var(--glass);
	cursor: pointer;
	padding: 0;
	place-content: center;
}

.ekla-burger span {
	display: block;
	width: 17px;
	height: 1.5px;
	margin: 3.5px auto;
	background: var(--chalk);
	border-radius: 2px;
	transition: transform 280ms ease, opacity 200ms ease;
}

/* 8,5 px = hauteur d'une barre (1,5) + ses marges (2 × 3,5) : c'est l'écart
   exact entre deux centres, donc la valeur qui fait une vraie croix. */
.ekla-burger.lqd-is-active span:nth-child(1) {
	transform: translateY(8.5px) rotate(45deg);
}
.ekla-burger.lqd-is-active span:nth-child(2) {
	opacity: 0;
}
.ekla-burger.lqd-is-active span:nth-child(3) {
	transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   8. HÉROS — le pont d'observation
   -------------------------------------------------------------------------- */

.ekla-hero {
	position: relative;
	padding-block: clamp(3.5rem, 7.5vw, 6.5rem) clamp(2rem, 4vw, 3.5rem);
	text-align: center;
}

.ekla-hero-inner {
	max-width: 54rem;
	margin-inline: auto;
}

.ekla-hero .ekla-eyebrow {
	margin-bottom: 1.7rem;
}

.ekla-hero .ekla-h1 {
	margin-bottom: 1.5rem;
}

.ekla-hero .ekla-lead {
	max-width: 34rem;
	margin-inline: auto;
	margin-bottom: 2.3rem;
	font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.ekla-hero-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	flex-wrap: wrap;
}

/* Rotateur de mots — pilote par frontend.js (classes lqd-*) */
/* Rotateur de mots — piloté par ekla-3d.js.
   Nom de classe volontairement distinct de .lqd-text-rotator pour que
   frontend.js ne s'en empare pas : sa mesure de largeur rogne la dernière
   lettre et on veut maîtriser le rythme. */
.ekla-lp .ekla-rotator {
	display: inline-grid;
	vertical-align: bottom;
	overflow: hidden;
	text-align: start;
	transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ekla-lp .ekla-rotator-item {
	grid-area: 1 / 1;
	display: flex;
	white-space: nowrap;
	opacity: 0;
	transform: translateY(0.4em);
	filter: blur(6px);
	transition: opacity 300ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
		filter 300ms ease;
}

.ekla-lp .ekla-rotator-item.is-on {
	opacity: 1;
	transform: none;
	filter: blur(0);
}

/* --- Le pupitre : signature de la page --------------------------------- */

.ekla-deck {
	position: relative;
	margin-top: clamp(2.25rem, 4.5vw, 3.75rem);
	perspective: 1500px;
	perspective-origin: 50% 42%;
}

.ekla-deck-stage {
	position: relative;
	height: clamp(272px, 27vw, 360px);
	transform-style: preserve-3d;
	transform: rotateX(calc(9deg + var(--tilt-x, 0deg))) rotateY(var(--tilt-y, 0deg));
	transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Lueur de socle sous le pupitre */
.ekla-deck-stage::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -6%;
	width: 62%;
	height: 130px;
	transform: translateX(-50%) translateZ(-190px);
	background: radial-gradient(ellipse at center, rgba(109, 91, 255, 0.5), transparent 68%);
	filter: blur(38px);
	pointer-events: none;
}

/* Éventail : chaque ardoise a un rang (--i, de -2 à 2), une profondeur (--z),
   une rotation (--ry) et une élévation (--lift). L'écart horizontal suit la
   largeur d'écran pour que l'éventail respire sans jamais se chevaucher. */
.ekla-slate {
	--gap: clamp(62px, 13.2vw, 208px);

	position: absolute;
	top: 50%;
	left: 50%;
	width: clamp(128px, 14.5vw, 194px);
	padding: 1.25rem 1.15rem 1.4rem;
	border-radius: 22px;
	border: 1px solid var(--rim);
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 46%),
		rgba(12, 14, 26, 0.92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 42px 70px -34px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.12);
	text-align: start;
	transform-style: preserve-3d;
	transform: translate(-50%, -50%) translateX(calc(var(--i, 0) * var(--gap)))
		translateZ(var(--z, 0px)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0px));
	animation: ekla-float 7s ease-in-out infinite;
	animation-delay: var(--delay, 0s);
	transition: box-shadow 420ms ease, border-color 420ms ease;
	will-change: transform;
}

.ekla-slate:hover {
	border-color: var(--rim-hi);
	box-shadow: 0 46px 80px -30px rgba(109, 91, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes ekla-float {
	50% {
		translate: 0 -14px;
	}
}

/* Rim néon qui court sur le bord supérieur de chaque ardoise */
.ekla-slate::before {
	content: '';
	position: absolute;
	top: -1px;
	left: 18%;
	right: 18%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--tint, var(--iris)), transparent);
	box-shadow: 0 0 10px var(--tint, var(--iris));
}

.ekla-slate-icon {
	display: grid;
	place-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 1.05rem;
	border-radius: 13px;
	border: 1px solid var(--rim);
	background: color-mix(in srgb, var(--tint, var(--iris)) 18%, transparent);
	color: var(--tint, var(--iris));
}

.ekla-slate-icon svg {
	width: 20px;
	height: 20px;
}

.ekla-slate-name {
	font-family: var(--display);
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--chalk);
	letter-spacing: -0.02em;
	line-height: 1.28;
	margin-bottom: 0.5rem;
	min-height: 2.56em;
}

.ekla-slate-meta {
	font-family: var(--mono);
	font-size: 0.625rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--dim);
}

/* Barre d'activité — signale que le module tourne */
.ekla-slate-bar {
	margin-top: 1rem;
	height: 3px;
	border-radius: 3px;
	background: rgba(255, 255, 255, 0.07);
	overflow: hidden;
}

.ekla-slate-bar i {
	display: block;
	height: 100%;
	width: 40%;
	border-radius: 3px;
	background: var(--tint, var(--iris));
	box-shadow: 0 0 12px var(--tint, var(--iris));
	animation: ekla-scan 3.4s ease-in-out infinite;
	animation-delay: var(--delay, 0s);
}

@keyframes ekla-scan {
	0%,
	100% {
		transform: translateX(-105%);
	}
	50% {
		transform: translateX(255%);
	}
}

/* --------------------------------------------------------------------------
   9. Bandeau de confiance
   -------------------------------------------------------------------------- */

.ekla-trust {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(1.5rem, 5vw, 4rem);
	flex-wrap: wrap;
	padding-block: 2.25rem;
	border-block: 1px solid var(--rim);
}

.ekla-trust-label {
	font-family: var(--mono);
	font-size: 0.625rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--dim);
}

.ekla-trust-faces {
	display: flex;
	align-items: center;
}

.ekla-trust-faces img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--carbon);
	margin-inline-start: -10px;
	transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ekla-trust-faces img:first-child {
	margin-inline-start: 0;
}

.ekla-trust-faces img:hover {
	transform: translateY(-5px) scale(1.08);
	z-index: 2;
}

/* Bande des moteurs IA — logos blanchis pour tenir sur le fond sombre, et
   nom du fournisseur en repli quand le fichier n'est pas encore déposé. */
.ekla-trust-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: clamp(1rem, 2.6vw, 2.2rem);
}

.ekla-trust-logos img {
	height: 24px;
	width: auto;
	opacity: 0.55;
	filter: brightness(0) invert(1);
	transition: opacity 260ms ease;
}

.ekla-trust-logos img:hover {
	opacity: 1;
}

.ekla-trust-name {
	font-family: var(--display);
	font-size: 0.938rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--chalk);
	opacity: 0.52;
	white-space: nowrap;
	transition: opacity 260ms ease;
}

.ekla-trust-name:hover {
	opacity: 1;
}

/* --------------------------------------------------------------------------
   10. Cartes 3D réactives (fonctionnalités, outils)
   -------------------------------------------------------------------------- */

.ekla-grid {
	display: grid;
	gap: 1.1rem;
}

.ekla-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

/* Carte inclinable — la profondeur répond au pointeur */
.ekla-tilt {
	position: relative;
	padding: 1.9rem 1.7rem;
	border-radius: 22px;
	border: 1px solid var(--rim);
	background: linear-gradient(168deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.012) 55%),
		rgba(11, 13, 24, 0.7);
	transform-style: preserve-3d;
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
		translateZ(var(--tz, 0px));
	transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1), border-color 300ms ease,
		box-shadow 420ms ease;
	overflow: hidden;
	isolation: isolate;
}

.ekla-tilt:hover {
	border-color: var(--rim-hi);
	box-shadow: 0 34px 62px -34px rgba(109, 91, 255, 0.6);
}

/* Réflexion qui suit le pointeur sur la carte */
.ekla-tilt::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0;
	background: radial-gradient(
		420px circle at var(--mx, 50%) var(--my, 50%),
		rgba(109, 91, 255, 0.22),
		transparent 62%
	);
	transition: opacity 320ms ease;
}

.ekla-tilt:hover::after {
	opacity: 1;
}

.ekla-tilt-icon {
	display: grid;
	place-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 1.35rem;
	border-radius: 14px;
	border: 1px solid var(--rim);
	background: var(--glass-hi);
	color: var(--iris);
	transform: translateZ(28px);
	transition: color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.ekla-tilt-icon svg {
	width: 21px;
	height: 21px;
}

.ekla-tilt:hover .ekla-tilt-icon {
	color: var(--cyan);
	border-color: rgba(53, 231, 255, 0.34);
	background: rgba(53, 231, 255, 0.09);
}

/* Capture d'écran dans une carte : bord franc, léger recul, elle avance
   quand la carte s'incline. */
/* Ratio imposé : les visuels du back-office ont des formats variés et les
   titres se décaleraient d'une carte à l'autre. */
.ekla-tilt-shot {
	margin: -0.4rem 0 1.4rem;
	aspect-ratio: 16 / 10;
	border-radius: 14px;
	border: 1px solid var(--rim);
	overflow: hidden;
	transform: translateZ(10px);
	background: #f4f4f7;
}

.ekla-tilt-shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ekla-tilt-body {
	transform: translateZ(16px);
}

.ekla-tilt-body .ekla-h4 {
	margin-bottom: 0.5rem;
}

.ekla-tilt-body p {
	font-size: 0.875rem;
	line-height: 1.58;
	color: var(--haze);
}

/* --------------------------------------------------------------------------
   11. Onglets (générateurs, tarifs, filtres)
   -------------------------------------------------------------------------- */

.ekla-tabs-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.ekla-tab {
	padding: 0.72rem 1.15rem;
	border-radius: 12px;
	border: 1px solid transparent;
	background: transparent;
	font-family: var(--body);
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--haze);
	cursor: pointer;
	transition: all 260ms ease;
}

.ekla-tab:hover {
	color: var(--chalk);
	background: var(--glass-hi);
}

.ekla-tab.lqd-is-active {
	color: var(--chalk);
	border-color: var(--rim-hi);
	background: linear-gradient(140deg, rgba(109, 91, 255, 0.28), rgba(255, 61, 154, 0.16));
	box-shadow: 0 10px 26px -14px rgba(109, 91, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ekla-tab-badge {
	display: inline-block;
	margin-inline-start: 0.45rem;
	padding: 0.16rem 0.44rem;
	border-radius: 6px;
	font-family: var(--mono);
	font-size: 0.625rem;
	letter-spacing: 0.05em;
	color: var(--cyan);
	background: rgba(53, 231, 255, 0.13);
}

/* Barre segmentée (tarifs) */
.ekla-segment {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.25rem;
	padding: 0.3rem;
	border-radius: 15px;
	border: 1px solid var(--rim);
	background: rgba(6, 7, 14, 0.6);
	margin-inline: auto;
	margin-bottom: 2.75rem;
}

.ekla-segment .ekla-tab {
	border-radius: 11px;
	padding-inline: 1.35rem;
}

/* Filtres compacts (templates) */
.ekla-chipbar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
	margin-bottom: 2.25rem;
}

.ekla-chip {
	padding: 0.42rem 0.82rem;
	border-radius: 999px;
	border: 1px solid var(--rim);
	background: transparent;
	font-family: var(--body);
	font-size: 0.781rem;
	font-weight: 600;
	color: var(--dim);
	cursor: pointer;
	transition: all 220ms ease;
}

.ekla-chip:hover {
	color: var(--chalk);
	border-color: var(--rim-hi);
}

.ekla-chip.lqd-is-active {
	color: var(--void);
	background: var(--chalk);
	border-color: var(--chalk);
}

/* --------------------------------------------------------------------------
   12. Générateurs — panneau démonstration
   -------------------------------------------------------------------------- */

.ekla-gen {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 1.4rem;
	align-items: stretch;
}

.ekla-gen-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.5rem, 3vw, 2.6rem);
	border-radius: 24px;
	border: 1px solid var(--rim);
	background: linear-gradient(168deg, rgba(255, 255, 255, 0.05), transparent 60%),
		rgba(11, 13, 24, 0.6);
}

.ekla-gen-text .ekla-eyebrow {
	align-self: flex-start;
	margin-bottom: 1.5rem;
}

.ekla-gen-text .ekla-h3 {
	margin-bottom: 0.9rem;
}

.ekla-gen-text p {
	font-size: 0.938rem;
	line-height: 1.62;
}

.ekla-gen-text strong {
	color: var(--chalk);
	font-weight: 700;
}

/* Le visuel flotte en 3D dans son cadre */
.ekla-gen-visual {
	position: relative;
	padding: clamp(1.4rem, 3vw, 2.4rem);
	border-radius: 24px;
	border: 1px solid var(--rim);
	background: radial-gradient(120% 90% at 50% 0%, rgba(109, 91, 255, 0.22), transparent 62%),
		rgba(9, 10, 20, 0.7);
	perspective: 1100px;
	overflow: hidden;
	text-align: center;
}

.ekla-gen-visual figure {
	margin: 0 0 1.15rem;
	transform: rotateX(9deg) rotateZ(-1.5deg) translateZ(0);
	transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ekla-gen-visual:hover figure {
	transform: rotateX(0deg) rotateZ(0deg) translateZ(34px);
}

.ekla-gen-visual img {
	width: 100%;
	border-radius: 16px;
	border: 1px solid var(--rim);
	box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.95);
	display: block;
}

.ekla-gen-caption {
	font-family: var(--display);
	font-size: 0.938rem;
	font-weight: 700;
	color: var(--chalk);
}

.ekla-gen-sub {
	font-family: var(--mono);
	font-size: 0.625rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dim);
	margin-top: 0.35rem;
}

/* --------------------------------------------------------------------------
   13. Pour qui — pastilles
   -------------------------------------------------------------------------- */

.ekla-audience {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	justify-content: center;
}

.ekla-persona {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	padding: 0.82rem 1.35rem;
	border-radius: 999px;
	border: 1px solid var(--rim);
	background: var(--glass);
	font-family: var(--display);
	font-size: 1rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--haze);
	transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), color 280ms ease,
		border-color 280ms ease, box-shadow 280ms ease;
}

.ekla-persona:hover {
	transform: translateY(-4px);
	color: var(--chalk);
	border-color: var(--rim-hi);
	box-shadow: 0 16px 34px -18px var(--dot, var(--iris));
}

.ekla-persona i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dot, var(--iris));
	box-shadow: 0 0 12px var(--dot, var(--iris));
	flex: none;
}

/* --------------------------------------------------------------------------
   14. Templates
   -------------------------------------------------------------------------- */

.ekla-tpl-shell {
	position: relative;
}

.ekla-tpl-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.85rem;
	max-height: 27rem;
	overflow: hidden;
}

.ekla-tpl {
	padding: 1.35rem 1.3rem;
	border-radius: 18px;
	border: 1px solid var(--rim);
	background: rgba(255, 255, 255, 0.022);
	transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), background 300ms ease,
		border-color 300ms ease;
}

.ekla-tpl:hover {
	transform: translateY(-4px);
	background: var(--glass-hi);
	border-color: var(--rim-hi);
}

.ekla-tpl-icon {
	display: grid;
	place-content: center;
	width: 36px;
	height: 36px;
	margin-bottom: 0.95rem;
	border-radius: 11px;
	background: rgba(109, 91, 255, 0.14);
	color: var(--iris);
}

.ekla-tpl-icon svg {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

.ekla-tpl h4 {
	font-family: var(--display);
	font-size: 0.938rem;
	font-weight: 700;
	color: var(--chalk);
	letter-spacing: -0.02em;
	margin-bottom: 0.4rem;
}

.ekla-tpl p {
	font-size: 0.813rem;
	line-height: 1.55;
	color: var(--dim);
}

.ekla-tpl-fade {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 15rem;
	z-index: 2;
	pointer-events: none;
	background: linear-gradient(to top, var(--slab) 12%, rgba(14, 17, 32, 0.75) 45%, transparent);
}

.ekla-tpl-more {
	position: relative;
	z-index: 3;
	display: flex;
	justify-content: center;
	margin-top: 1.4rem;
}

/* --------------------------------------------------------------------------
   15. Étapes — sur un rail, parce que c'est une vraie séquence
   -------------------------------------------------------------------------- */

.ekla-steps {
	position: relative;
	display: grid;
	gap: 1.1rem;
}

.ekla-steps::before {
	content: '';
	position: absolute;
	top: 30px;
	inset-inline: 12%;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--iris), var(--magenta), transparent);
	opacity: 0.42;
}

.ekla-step {
	position: relative;
	text-align: center;
	padding-top: 0;
}

.ekla-step-num {
	position: relative;
	display: grid;
	place-content: center;
	width: 60px;
	height: 60px;
	margin: 0 auto 1.5rem;
	border-radius: 50%;
	border: 1px solid var(--rim);
	background: var(--void);
	font-family: var(--mono);
	font-size: 0.938rem;
	font-weight: 600;
	color: var(--chalk);
	transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), border-color 340ms ease,
		box-shadow 340ms ease;
}

.ekla-step:hover .ekla-step-num {
	transform: translateY(-6px);
	border-color: var(--iris);
	box-shadow: 0 0 0 6px rgba(109, 91, 255, 0.1), 0 18px 34px -16px var(--iris);
}

.ekla-step p {
	font-family: var(--display);
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--chalk);
	max-width: 15rem;
	margin-inline: auto;
	line-height: 1.35;
}

/* --------------------------------------------------------------------------
   16. Témoignages
   -------------------------------------------------------------------------- */

.ekla-quote-shell {
	max-width: 44rem;
	margin-inline: auto;
	text-align: center;
}

.ekla-quote-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin-bottom: 2.25rem;
}

.ekla-quote-face {
	width: 46px;
	height: 46px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--rim);
	background: none;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.4;
	filter: grayscale(1);
	transition: all 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ekla-quote-face img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ekla-quote-face:hover {
	opacity: 0.75;
}

.ekla-quote-face.is-active {
	opacity: 1;
	filter: none;
	transform: scale(1.28);
	border-color: var(--iris);
	box-shadow: 0 0 0 4px rgba(109, 91, 255, 0.16), 0 14px 30px -12px var(--iris);
}

.ekla-quote {
	position: relative;
	min-height: 9.5rem;
}

.ekla-quote-item {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 460ms ease, transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.ekla-quote-item.is-active {
	position: relative;
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.ekla-quote-item blockquote {
	margin: 0 0 1.5rem;
	font-family: var(--display);
	font-size: clamp(1.15rem, 2.1vw, 1.63rem);
	font-weight: 500;
	line-height: 1.42;
	letter-spacing: -0.025em;
	color: var(--chalk);
}

.ekla-quote-name {
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--chalk);
}

.ekla-quote-role {
	font-family: var(--mono);
	font-size: 0.625rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dim);
	margin-top: 0.3rem;
}

/* --------------------------------------------------------------------------
   17. Tarifs
   -------------------------------------------------------------------------- */

/* Flex plutôt que grille fixe : quand une formule ne compte que deux plans
   (l'annuel, sans offre gratuite), ils restent centrés au lieu de se coller
   à gauche avec une colonne vide. */
.ekla-plans {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 1rem;
}

.ekla-plans > * {
	flex: 1 1 17rem;
	max-width: 24rem;
}

.ekla-plan {
	position: relative;
	padding: 2rem 1.6rem 2.2rem;
	border-radius: 24px;
	border: 1px solid var(--rim);
	background: rgba(255, 255, 255, 0.022);
	text-align: start;
	transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1), border-color 340ms ease,
		box-shadow 340ms ease;
}

.ekla-plan:hover {
	transform: translateY(-6px);
	border-color: var(--rim-hi);
	box-shadow: 0 40px 70px -40px rgba(109, 91, 255, 0.7);
}

/* Le plan mis en avant est surélevé — hiérarchie par la profondeur */
.ekla-plan--featured {
	border-color: rgba(109, 91, 255, 0.42);
	background: linear-gradient(170deg, rgba(109, 91, 255, 0.16), rgba(255, 61, 154, 0.05) 55%),
		rgba(13, 15, 28, 0.85);
	box-shadow: 0 46px 90px -44px rgba(109, 91, 255, 0.85);
}

.ekla-plan-flag {
	position: absolute;
	top: -1px;
	inset-inline-end: 1.6rem;
	padding: 0.28rem 0.7rem;
	border-radius: 0 0 9px 9px;
	font-family: var(--mono);
	font-size: 0.625rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(120deg, var(--iris), var(--magenta));
}

.ekla-plan-name {
	font-family: var(--mono);
	font-size: 0.688rem;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--haze);
	margin-bottom: 1.1rem;
}

.ekla-plan-price {
	font-family: var(--display);
	font-size: clamp(2.2rem, 3.4vw, 2.9rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--chalk);
	margin-bottom: 0.4rem;
}

/* Le symbole est rendu par displayPlanPrice() dans un span dédié. En français
   l'euro se place après le montant, précédé d'une espace. */
.ekla-plan-price .currency-symbol {
	margin-inline-start: 0.18em;
	letter-spacing: 0;
}

.ekla-plan-period {
	font-size: 0.813rem;
	color: var(--dim);
	margin-bottom: 1.6rem;
}

.ekla-plan-cta {
	margin-bottom: 1.5rem;
}

/* Liste de caractéristiques — restylage du composant Blade existant */
.ekla-plan ul {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.844rem;
	line-height: 1.5;
	color: var(--haze);
}

.ekla-plan ul > li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin-bottom: 0.7rem;
}

.ekla-plan ul strong {
	color: var(--chalk);
	font-weight: 700;
}

.ekla-plan ul svg {
	flex: none;
}

.ekla-plan ul > li > span:first-child {
	display: inline-grid;
	place-content: center;
	width: 20px;
	height: 20px;
	margin-top: 1px;
	border-radius: 7px;
	background: rgba(109, 91, 255, 0.16);
	color: var(--iris);
	flex: none;
}

/* Infobulle des détails de plan */
.ekla-plan .lqd-price-table-info {
	position: absolute;
	z-index: 20;
	inset-inline-start: 100%;
	top: 50%;
	transform: translateY(-50%) translateX(8px);
	min-width: 15rem;
	max-height: 22rem;
	overflow-y: auto;
	margin-inline-start: 0.5rem;
	padding: 1.1rem;
	border-radius: 14px;
	border: 1px solid var(--rim);
	background: rgba(10, 12, 22, 0.97);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	box-shadow: 0 30px 60px -28px #000;
	opacity: 0;
	visibility: hidden;
	transition: all 240ms ease;
	text-align: start;
}

.ekla-plan .group:hover > .lqd-price-table-info {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0);
}

.ekla-plan .lqd-price-table-info h5 {
	font-size: 0.813rem;
	margin-bottom: 0.4rem;
}

.ekla-plan .lqd-price-table-info li {
	margin-bottom: 0.35rem;
	font-size: 0.75rem;
}

.ekla-pay-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.7rem;
	margin-top: 2.25rem;
	font-size: 0.781rem;
	color: var(--dim);
}

.ekla-pay-note span:first-child {
	display: inline-grid;
	place-content: center;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	border: 1px solid var(--rim);
	background: var(--glass);
	color: var(--haze);
	flex: none;
}

.ekla-pay-note strong {
	color: var(--chalk);
}

/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */

.ekla-faq {
	max-width: 48rem;
	margin-inline: auto;
}

.ekla-faq-item {
	border-bottom: 1px solid var(--rim);
}

.ekla-faq-item:last-child {
	border-bottom: 0;
}

.ekla-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	padding: 1.4rem 0.25rem;
	border: 0;
	background: none;
	font-family: var(--display);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
	font-weight: 600;
	letter-spacing: -0.022em;
	color: var(--haze);
	text-align: start;
	cursor: pointer;
	transition: color 240ms ease;
}

.ekla-faq-q:hover,
.ekla-faq-q.lqd-is-active {
	color: var(--chalk);
}

.ekla-faq-sign {
	position: relative;
	display: grid;
	place-content: center;
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 10px;
	border: 1px solid var(--rim);
	transition: all 300ms ease;
}

/* Ouvert : le plus devient un moins — l'affordance « replier », pas une croix
   de fermeture. Le carré ne tourne pas, il s'allume. */
.ekla-faq-q.lqd-is-active .ekla-faq-sign {
	border-color: transparent;
	background: linear-gradient(120deg, var(--iris), var(--magenta));
	color: #fff;
	box-shadow: 0 8px 20px -10px var(--magenta);
}

.ekla-faq-q.lqd-is-active .ekla-faq-sign::after {
	opacity: 0;
	transform: scaleY(0.2);
}

.ekla-faq-sign::after {
	transition: opacity 240ms ease, transform 240ms ease;
}

.ekla-faq-sign::before,
.ekla-faq-sign::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	background: currentColor;
	border-radius: 2px;
}

.ekla-faq-sign::before {
	width: 11px;
	height: 1.5px;
	margin: -0.75px 0 0 -5.5px;
}

.ekla-faq-sign::after {
	width: 1.5px;
	height: 11px;
	margin: -5.5px 0 0 -0.75px;
}

.ekla-faq-a {
	padding: 0 3rem 1.6rem 0.25rem;
}

.ekla-faq-a p {
	font-size: 0.938rem;
	line-height: 1.66;
	color: var(--haze);
}

/* --------------------------------------------------------------------------
   19. Blog
   -------------------------------------------------------------------------- */

.ekla-posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.2rem;
	margin-bottom: 2.5rem;
}

.ekla-posts > * {
	border-radius: 20px;
	border: 1px solid var(--rim);
	background: rgba(255, 255, 255, 0.022);
	overflow: hidden;
	transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1), border-color 320ms ease;
}

.ekla-posts > *:hover {
	transform: translateY(-5px);
	border-color: var(--rim-hi);
}

.ekla-posts img {
	width: 100%;
	display: block;
}

.ekla-posts h3,
.ekla-posts h4,
.ekla-posts h5 {
	font-size: 1.02rem;
	letter-spacing: -0.02em;
}

.ekla-posts p {
	font-size: 0.875rem;
	color: var(--haze);
}

/* --------------------------------------------------------------------------
   20. Pied de page
   -------------------------------------------------------------------------- */

.ekla-footer {
	position: relative;
	z-index: 1;
	margin-top: clamp(3rem, 7vw, 6rem);
	border-top: 1px solid var(--rim);
	background: linear-gradient(180deg, transparent, rgba(109, 91, 255, 0.09) 55%, rgba(255, 61, 154, 0.09));
}

.ekla-footer-cta {
	text-align: center;
	padding-block: clamp(4rem, 9vw, 7.5rem) clamp(3rem, 6vw, 5rem);
	max-width: 44rem;
	margin-inline: auto;
}

.ekla-footer-cta .ekla-eyebrow {
	margin-bottom: 1.6rem;
}

.ekla-footer-cta h2 {
	font-size: clamp(2.6rem, 7vw, 5rem);
	margin-bottom: 1.2rem;
}

.ekla-footer-cta p {
	margin-bottom: 2.2rem;
	font-size: clamp(1rem, 1.4vw, 1.15rem);
}

.ekla-footer-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding-block: 2rem;
	border-top: 1px solid var(--rim);
}

.ekla-footer-bar img {
	height: 30px;
	width: auto;
}

.ekla-footer-links {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.844rem;
}

.ekla-footer-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--haze);
	transition: color 220ms ease;
}

.ekla-footer-links a:hover {
	color: var(--chalk);
}

.ekla-footer-links svg {
	width: 15px;
	height: auto;
}

.ekla-copyright {
	padding-block: 1.75rem;
	border-top: 1px solid var(--rim);
	text-align: center;
	font-size: 0.813rem;
	color: var(--dim);
}

/* --------------------------------------------------------------------------
   21. Révélation au défilement
   -------------------------------------------------------------------------- */

/* Le contenu est visible par défaut. On ne le masque que si le script a
   confirmé qu'il tourne (html.ekla-js) — sans JS, la page reste lisible. */
.ekla-js .ekla-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 780ms cubic-bezier(0.22, 1, 0.36, 1),
		transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--d, 0ms);
}

.ekla-js .ekla-reveal.is-in {
	opacity: 1;
	transform: none;
}

/* Séquence de chargement du héros — pure CSS, aucune dépendance au script */
body.ekla-lp .ekla-lift {
	animation: ekla-rise 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms) both;
}

@keyframes ekla-rise {
	from {
		opacity: 0;
		transform: translateY(24px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   22. Adaptatif
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.ekla-grid--3,
	.ekla-tpl-grid,
	.ekla-posts,
	.ekla-plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ekla-gen {
		grid-template-columns: 1fr;
	}
}

/* Liste des langues repliée dans le menu mobile */
.ekla-nav-langs {
	display: none;
	padding: 0.5rem 0 0.9rem;
	border-top: 1px solid var(--rim);
	margin-top: 0.6rem;
}

.ekla-nav-langs a {
	display: block;
	padding: 0.7rem 0.9rem;
	border-radius: 10px;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--haze);
}

.ekla-nav-langs a:hover {
	background: var(--glass-hi);
	color: var(--chalk);
}

@media (max-width: 991px) {
	.ekla-burger {
		display: grid;
	}

	/* La barre reste sur une seule ligne : le menu se déploie par-dessus
	   la page au lieu de pousser l'en-tête sur deux lignes. */
	.ekla-nav {
		position: relative;
		flex-wrap: nowrap;
	}

	/* Le sélecteur de langue rejoint le menu déroulant. */
	.ekla-lang {
		display: none;
	}

	.ekla-nav-langs {
		display: block;
	}

	.ekla-nav-container {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		max-height: 0;
		overflow: hidden;
		padding-inline: var(--gutter);
		background: rgba(7, 8, 16, 0.97);
		backdrop-filter: blur(22px);
		-webkit-backdrop-filter: blur(22px);
		transition: max-height 420ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	.ekla-nav-container.lqd-is-active {
		max-height: 72vh;
		overflow-y: auto;
		border-bottom: 1px solid var(--rim);
	}

	.ekla-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.9rem 0 0.4rem;
	}

	.ekla-menu a {
		display: block;
		padding: 0.85rem 0.9rem;
	}

	.ekla-steps::before {
		display: none;
	}
}

@media (max-width: 767px) {
	body.ekla-lp {
		--slab-radius: 24px;
	}

	.ekla-grid--3,
	.ekla-grid--2,
	.ekla-tpl-grid,
	.ekla-posts,
	.ekla-plans {
		grid-template-columns: minmax(0, 1fr);
	}

	.ekla-slate {
		padding: 1.1rem 1rem 1.25rem;
	}

	.ekla-plan .lqd-price-table-info {
		inset-inline: 0;
		inset-inline-start: auto;
		top: calc(100% + 0.6rem);
		transform: none;
		margin: 0;
		min-width: 0;
		width: 100%;
	}

	.ekla-plan .group:hover > .lqd-price-table-info {
		transform: none;
	}

	.ekla-footer-bar {
		justify-content: center;
		text-align: center;
	}
}

/* Sous 640 px, l'éventail complet ne tient plus sans se chevaucher.
   On retire les deux ardoises extérieures plutôt que d'écraser la
   composition : trois modules lisibles valent mieux que cinq illisibles. */
@media (max-width: 640px) {
	.ekla-slate--edge {
		display: none;
	}

	.ekla-slate {
		--gap: clamp(92px, 25vw, 130px);
		width: clamp(104px, 28vw, 150px);
	}

	.ekla-slate-name {
		font-size: 0.813rem;
	}

	.ekla-deck-stage {
		height: 244px;
	}
}

@media (max-width: 560px) {
	.ekla-nav {
		gap: 0.4rem;
	}

	.ekla-logo img {
		height: 24px;
	}

	/* La barre ne garde que le logo, l'action principale et le menu. */
	.ekla-nav-actions > .ekla-btn--ghost {
		display: none;
	}

	.ekla-menu-auth {
		display: block;
	}

	.ekla-btn--sm {
		padding: 0.55rem 0.8rem;
		font-size: 0.813rem;
	}

	.ekla-burger {
		width: 38px;
		height: 38px;
	}

	/* Les libellés français sont plus longs : on desserre moins pour que
	   l'étiquette tienne sans casser bizarrement. */
	.ekla-eyebrow {
		font-size: 0.625rem;
		letter-spacing: 0.12em;
		text-align: center;
		padding-inline: 0.75rem 0.85rem;
	}
}

@media (max-width: 430px) {
	.ekla-btn {
		padding: 0.85rem 1.25rem;
	}
}

/* --------------------------------------------------------------------------
   23. Mouvement réduit
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	body.ekla-lp *,
	body.ekla-lp *::before,
	body.ekla-lp *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.ekla-js .ekla-reveal,
	body.ekla-lp .ekla-lift {
		opacity: 1;
		transform: none;
		animation: none;
	}

	.ekla-deck-stage {
		transform: rotateX(9deg);
	}

	.ekla-grain,
	.ekla-pointer-glow {
		display: none;
	}
}
