/* ==========================================================================
   Raypath — Accueil v2 « Eau pure »
   Chargé après main.css. Tout est scopé sous body.rp2.
   ========================================================================== */

.rp2 {
	--x-abyss: #041a2d;
	--x-deep: #06223a;
	--x-ocean: #0b3a5b;
	--x-aqua: #3fb8d9;
	--x-aqua-soft: #9fdcef;
	--x-glacier: #d7eefb;
	--x-pearl: #f6fafc;
	--x-rose: #f2c6cf;
	--x-ink: #0d2236;
	--x-muted: #5d6f80;
	--x-line: rgba(11, 58, 91, 0.12);
	--x-radius: 28px;
	--x-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--x-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

	background: var(--x-pearl);
	color: var(--x-ink);
	overflow-x: hidden;
}

.rp2 ::selection { background: var(--x-aqua); color: #fff; }
.rp2 :focus-visible { outline: 2px solid var(--x-aqua); outline-offset: 4px; }

.rp2 h1, .rp2 h2, .rp2 h3 { color: inherit; }
.rp2 h1 em, .rp2 h2 em {
	font-style: italic;
	background: linear-gradient(100deg, var(--x-aqua) 0%, #7fd3ea 40%, var(--x-ocean) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-right: 0.06em;
}

/* Header au-dessus du hero sombre --------------------------------------- */
.rp2 .site-header:not(.is-solid) .brand__img { filter: brightness(0) invert(1); }
.rp2 .site-header {
	transition: background 0.4s var(--x-ease), transform 0.5s var(--x-ease), box-shadow 0.4s;
}
.rp2 .site-header.is-solid {
	background: rgba(246, 250, 252, 0.78);
	-webkit-backdrop-filter: saturate(1.6) blur(18px);
	backdrop-filter: saturate(1.6) blur(18px);
	box-shadow: 0 10px 40px -20px rgba(4, 26, 45, 0.25);
}
.rp2 .site-header.is-hidden { transform: translateY(-110%); }
.rp2.menu-open .site-header { transform: none; }
/* Le flou de l'en-tête transforme celui-ci en « bloc conteneur » : le menu mobile (position: fixed) se réduirait à 80 px de haut. */
.rp2.menu-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Barre de progression ------------------------------------------------- */
.rp2-progress {
	position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none;
}
.rp2-progress span {
	display: block; height: 100%; width: 100%;
	transform-origin: 0 50%; transform: scaleX(0);
	background: linear-gradient(90deg, var(--x-aqua), var(--x-rose));
}

/* Curseur goutte (desktop) --------------------------------------------- */
.rp2-cursor {
	position: fixed; top: 0; left: 0; z-index: 300;
	width: 34px; height: 34px; margin: -17px 0 0 -17px;
	border-radius: 50%;
	border: 1.5px solid rgba(63, 184, 217, 0.85);
	background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.55), rgba(63,184,217,0.08) 60%);
	pointer-events: none; opacity: 0;
	transition: width 0.35s var(--x-ease), height 0.35s var(--x-ease), margin 0.35s var(--x-ease), opacity 0.3s, background 0.3s;
	mix-blend-mode: normal;
}
.rp2-cursor.is-on { opacity: 1; }
.rp2-cursor.is-hover {
	width: 64px; height: 64px; margin: -32px 0 0 -32px;
	background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.4), rgba(63,184,217,0.22) 70%);
}
@media (hover: none), (pointer: coarse) { .rp2-cursor { display: none; } }

/* Utilitaires ----------------------------------------------------------- */
.x-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 18px;
	font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--x-aqua);
}
.x-dot {
	width: 8px; height: 8px; border-radius: 50%; background: var(--x-aqua);
	box-shadow: 0 0 0 0 rgba(63,184,217,0.7);
	animation: x-ping 2.4s var(--x-ease) infinite;
}
@keyframes x-ping {
	0% { box-shadow: 0 0 0 0 rgba(63,184,217,0.7); }
	80%, 100% { box-shadow: 0 0 0 14px rgba(63,184,217,0); }
}

.x-section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }

.x-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 80px); }
.x-head h2 {
	font-size: clamp(2.5rem, 5.6vw, 5rem);
	line-height: 0.98; letter-spacing: -0.025em;
	margin-bottom: 22px;
}
.x-head p { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--x-muted); max-width: 560px; }
.x-head--center { text-align: center; margin-inline: auto; }
.x-head--center p { margin-inline: auto; }
.x-head--row {
	max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
}
.x-head--row > div { max-width: 720px; }
.x-head--light p { color: rgba(215, 238, 251, 0.75); }

.x-inline {
	color: var(--x-ocean);
	background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
	transition: background-size 0.4s var(--x-ease);
}
.x-inline:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Boutons -------------------------------------------------------------- */
.x-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.x-ctas--center { justify-content: center; }

.x-btn {
	--bg: #fff; --fg: var(--x-deep);
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 56px; padding: 0 30px;
	border-radius: 999px;
	font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
	background: var(--bg); color: var(--fg);
	transition: transform 0.45s var(--x-ease), box-shadow 0.45s var(--x-ease), background 0.3s;
	will-change: transform;
}
.x-btn span { position: relative; z-index: 2; display: inline-block; transition: transform 0.45s var(--x-ease); }
.x-btn::before {
	/* reflet qui traverse */
	content: ""; position: absolute; z-index: 1; inset: -2px auto -2px -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
	transform: skewX(-20deg) translateX(0);
	transition: transform 0.9s var(--x-ease);
}
.x-btn:hover::before { transform: skewX(-20deg) translateX(420%); }
.x-btn:hover { box-shadow: 0 18px 40px -16px rgba(63, 184, 217, 0.6); }

.x-btn--light { --bg: #fff; --fg: var(--x-deep); }
.x-btn--dark { --bg: var(--x-deep); --fg: #fff; }
.x-btn--dark::before { background: linear-gradient(100deg, transparent, rgba(159,220,239,0.35), transparent); }
.x-btn--glass {
	--bg: rgba(255,255,255,0.08); --fg: #fff;
	border: 1px solid rgba(255,255,255,0.35);
	-webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.x-btn--glass::before { background: linear-gradient(100deg, transparent, rgba(255,255,255,0.25), transparent); }

/* ==========================================================================
   1. HERO
   ========================================================================== */
/* Le hero est 2× plus haut que l'écran : son contenu reste épinglé (sticky)
   pendant que la goutte explose, puis la page continue vers les références. */
.x-hero {
	--xp: 0;   /* progression de l'explosion, 0 → 1, pilotée par le JS */
	position: relative; isolation: isolate;
	height: 185vh;
	color: #fff;
	overflow: clip;
	background: radial-gradient(120% 60% at 70% 5%, #0f4f78 0%, var(--x-deep) 30%, var(--x-abyss) 70%, #021120 100%);
}
.x-hero__pin {
	position: sticky; top: 0;
	height: 100svh; overflow: hidden; isolation: isolate;
	display: flex; align-items: center;
	padding: calc(var(--header-h) + 24px) 0 70px;
}
.x-hero__pin .x-hero__inner > .x-hero__title { font-size: clamp(2.6rem, min(7.6vw, 10vh), 7.6rem); margin-bottom: clamp(14px, 2.6vh, 28px); }
.x-hero__pin .x-hero__subtitle { margin-bottom: clamp(18px, 3.4vh, 40px); font-size: clamp(1rem, min(1.4vw, 2.2vh), 1.25rem); }
.x-hero__pin .x-eyebrow { margin-bottom: clamp(10px, 2vh, 18px); }
@media (max-height: 900px) { .x-hero__pin .x-hero__hint { display: none; } }
/* Le texte s'efface pendant l'explosion */
.x-hero__inner {
	opacity: clamp(0, calc(1 - var(--xp) * 2.6), 1);
	transform: translate3d(0, calc(var(--xp) * -90px), 0) scale(calc(1 - var(--xp) * 0.08));
	filter: blur(calc(var(--xp) * 14px));
}
.x-scroll { opacity: clamp(0, calc(1 - var(--xp) * 5), 1); }
/* Éclair au moment où la goutte éclate */
.x-hero__flash {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: radial-gradient(circle at var(--fx, 70%) var(--fy, 50%), rgba(200, 240, 255, 0.9), rgba(63, 184, 217, 0.25) 30%, transparent 60%);
	opacity: 0; mix-blend-mode: screen;
}
/* Fin de l'explosion : on reste dans l'océan, la scène s'assombrit doucement
   et se fond dans la section « Ils nous font confiance » (même couleur). */
.x-hero__pin::after {
	content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
	background: linear-gradient(180deg, rgba(2, 17, 32, 0) 0%, rgba(2, 17, 32, 0.55) 60%, #021120 100%);
	opacity: clamp(0, calc((var(--xp) - 0.7) * 3.4), 1);
}
.x-hero .x-hero__wave { display: none; } /* la vague nacrée passe en bas des références */

/* Sans 3D (WebGL indisponible) ou mouvement réduit : hero classique, pas d'épinglage */
.x-hero.is-static { height: auto; }
.x-hero.is-static .x-hero__pin { position: relative; height: auto; min-height: 100svh; }
@media (prefers-reduced-motion: reduce) {
	.x-hero { height: auto; }
	.x-hero__pin { position: relative; height: auto; min-height: 100svh; }
}
/* Aurores lumineuses en fond */
.x-hero__aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.x-hero__aurora i {
	position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55;
	animation: x-aurora 22s ease-in-out infinite alternate;
}
.x-hero__aurora i:nth-child(1) { width: 60vw; height: 60vw; left: 40%; top: -25%; background: #1a6e9c; }
.x-hero__aurora i:nth-child(2) { width: 40vw; height: 40vw; left: 60%; top: 45%; background: #3fb8d9; opacity: 0.28; animation-duration: 28s; }
.x-hero__aurora i:nth-child(3) { width: 35vw; height: 35vw; left: -10%; top: 50%; background: #f2c6cf; opacity: 0.12; animation-duration: 34s; }
@keyframes x-aurora { to { transform: translate3d(-8%, 6%, 0) scale(1.15); } }

/* Canvas 3D */
.x-hero__3d {
	position: absolute; inset: 0; z-index: -1;
	width: 100%; height: 100%; display: block;
	opacity: 0; transition: opacity 1.6s var(--x-ease);
}
.x-hero.has-3d .x-hero__3d { opacity: 1; }

/* Repli sans WebGL : orbe en CSS */
.x-hero__orb {
	position: absolute; z-index: -2; right: 8%; top: 50%;
	width: min(38vw, 520px); aspect-ratio: 1; border-radius: 50%;
	transform: translateY(-50%);
	background:
		radial-gradient(circle at 32% 28%, rgba(255,255,255,0.9) 0 4%, transparent 18%),
		radial-gradient(circle at 70% 75%, rgba(63,184,217,0.55), transparent 55%),
		radial-gradient(circle at 50% 50%, #0b3a5b 0%, #06223a 60%, #3fb8d9 100%);
	box-shadow: 0 0 120px 20px rgba(63,184,217,0.35), inset -30px -40px 80px rgba(4,26,45,0.7), inset 20px 20px 60px rgba(159,220,239,0.4);
	animation: x-morph 12s ease-in-out infinite alternate;
}
@keyframes x-morph {
	0% { border-radius: 50% 50% 50% 50%; }
	33% { border-radius: 58% 42% 55% 45% / 45% 55% 45% 55%; }
	66% { border-radius: 44% 56% 46% 54% / 56% 44% 58% 42%; }
	100% { border-radius: 52% 48% 40% 60% / 50% 60% 40% 50%; }
}
.x-hero.has-3d .x-hero__orb { display: none; }

/* Produits stars en orbite autour de la goutte -------------------------- */
.x-stars { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.x-star {
	--cw: clamp(116px, 12vw, 196px);
	position: absolute; left: 0; top: 0; z-index: 1;
	width: var(--cw);
	pointer-events: auto;
	opacity: 0;
	will-change: transform, opacity;
}
.x-star.is-back { z-index: -2; }
.x-star a {
	display: block; padding: 7px 7px 9px;
	border-radius: 22px;
	background: linear-gradient(160deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08));
	border: 1px solid rgba(255,255,255,0.38);
	box-shadow: 0 24px 50px -22px rgba(0, 10, 25, 0.75), inset 0 1px 0 rgba(255,255,255,0.5);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	transform: perspective(700px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
	transition: box-shadow 0.4s, background 0.4s, transform 0.5s var(--x-ease);
}
.x-star img {
	width: 100%; aspect-ratio: 1; object-fit: contain;
	padding: 6%;
	border-radius: 16px; background: #fff;
}
.x-star img.x-star__img--cover { object-fit: cover; padding: 0; }
.x-star span {
	display: block; margin-top: 7px; padding: 0 4px;
	font-size: 12px; font-weight: 500; line-height: 1.2; color: #fff; text-align: center;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.x-star a:hover, .x-star a:focus-visible {
	background: linear-gradient(160deg, rgba(255,255,255,0.45), rgba(159,220,239,0.18));
	box-shadow: 0 30px 60px -20px rgba(63, 184, 217, 0.65), inset 0 1px 0 rgba(255,255,255,0.7);
	transform: perspective(700px) scale(1.12);
}
/* Sans 3D (ou mouvement réduit) : rangée fixe en bas du hero */
.x-hero:not(.has-3d) .x-stars {
	inset: auto var(--gutter) 150px auto; z-index: 3;
	display: flex; gap: 12px; pointer-events: auto;
}
.x-hero:not(.has-3d) .x-star { position: relative; opacity: 1; --cw: clamp(80px, 8vw, 120px); }
@media (max-width: 760px) {
	.x-star { --cw: 82px; }
	.x-star a { padding: 5px 5px 6px; border-radius: 16px; }
	.x-star img { border-radius: 11px; }
	.x-star span { font-size: 10px; margin-top: 4px; }
	.x-hero:not(.has-3d) .x-stars { position: relative; inset: auto; overflow-x: auto; margin-top: 30px; }
}

/* Produits détourés : plus de carte, le produit flotte librement ------- */
.x-star { --cw: clamp(130px, 13vw, 210px); }
.x-star a {
	padding: 0; border: 0; border-radius: 0;
	background: none; box-shadow: none;
	-webkit-backdrop-filter: none; backdrop-filter: none;
	text-align: center;
	transform: perspective(700px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) rotateZ(var(--rz, 0deg));
}
.x-star img {
	aspect-ratio: auto; height: auto; max-height: calc(var(--cw) * 0.9);
	object-fit: contain; padding: 0; border-radius: 0; background: none;
	filter: drop-shadow(0 18px 22px rgba(0, 10, 25, 0.55)) drop-shadow(0 0 18px rgba(159, 220, 239, 0.25));
	transition: filter 0.4s, transform 0.5s var(--x-spring);
}
.x-star span {
	display: inline-block; max-width: 100%;
	margin-top: 8px; padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.25);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	opacity: 0; transform: translateY(-4px);
	transition: opacity 0.35s, transform 0.4s var(--x-ease);
}
.x-star:not(.is-back) span { opacity: 0.9; transform: none; }
.x-star a:hover, .x-star a:focus-visible {
	background: none; box-shadow: none;
	transform: perspective(700px) scale(1.14);
}
.x-star a:hover img, .x-star a:focus-visible img {
	filter: drop-shadow(0 24px 28px rgba(0, 10, 25, 0.6)) drop-shadow(0 0 30px rgba(63, 184, 217, 0.65));
}
.x-star a:hover span { opacity: 1; background: rgba(63,184,217,0.35); }
.x-star.is-back img { filter: drop-shadow(0 10px 14px rgba(0,10,25,0.4)) saturate(0.85); }
@media (max-width: 760px) {
	.x-star { --cw: 92px; }
	.x-star a { padding: 0; }
	.x-star img { border-radius: 0; }
	.x-star span { display: none; }
}

/* Grain photo très léger */
.x-hero__grain {
	position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.08; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.x-hero__inner { position: relative; z-index: 2; pointer-events: none; }
.x-hero__inner a, .x-hero__inner button { pointer-events: auto; }
.x-hero__inner > * { max-width: min(640px, 52%); }
.x-hero__hint {
	display: inline-flex; align-items: center; gap: 10px; margin: 34px 0 0;
	font-size: 13px; letter-spacing: 0.04em; color: rgba(215,238,251,0.6);
}
.x-hero__hint-dot {
	width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid rgba(159,220,239,0.7); position: relative;
}
.x-hero__hint-dot::after {
	content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--x-aqua);
	animation: x-ring 2s var(--x-ease) infinite;
}
@media (hover: none) { .x-hero__hint { display: none; } }
.x-hero:not(.has-3d) .x-hero__hint { display: none; }
.x-hero__eyebrow { color: var(--x-aqua-soft); }
.x-hero__inner > .x-hero__title {
	max-width: 11ch;
	font-size: clamp(3rem, 8.4vw, 8.2rem);
	line-height: 0.92; letter-spacing: -0.035em;
	margin-bottom: 30px;
	text-shadow: 0 10px 60px rgba(4, 26, 45, 0.45);
}
.x-hero__title em {
	background: linear-gradient(100deg, #bff0ff 0%, var(--x-aqua) 50%, #ffffff 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: x-shimmer 6s ease-in-out infinite;
}
@keyframes x-shimmer { 50% { background-position: 100% 0; } }
.x-hero__subtitle {
	max-width: 540px; margin-bottom: 40px;
	font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65;
	color: rgba(230, 245, 252, 0.86);
}

/* Split text */
.x-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.x-word > span {
	display: inline-block;
	transform: translateY(105%) rotate(4deg);
	filter: blur(8px); opacity: 0;
	transition: transform 1.2s var(--x-ease), filter 1.2s var(--x-ease), opacity 1s var(--x-ease);
	transition-delay: calc(var(--i) * 70ms + 150ms);
}
.is-split-in .x-word > span { transform: none; filter: none; opacity: 1; }

/* Vagues bas de hero */
.x-hero__wave {
	position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3;
	width: 100%; height: clamp(70px, 10vw, 140px);
}
.x-wave { transform-box: fill-box; }
.x-wave--1 { fill: var(--x-pearl); animation: x-sway 9s ease-in-out infinite alternate; }
.x-wave--2 { fill: rgba(215, 238, 251, 0.55); animation: x-sway 12s ease-in-out infinite alternate-reverse; }
.x-wave--3 { fill: rgba(63, 184, 217, 0.28); animation: x-sway 15s ease-in-out infinite alternate; }
@keyframes x-sway {
	from { transform: translateX(-3%) scaleY(1); }
	to { transform: translateX(3%) scaleY(1.25); }
}

/* Indicateur de scroll goutte */
.x-scroll {
	position: absolute; left: 50%; bottom: clamp(90px, 12vw, 150px); z-index: 4;
	width: 30px; height: 50px; margin-left: -15px;
	border: 1.5px solid rgba(255,255,255,0.5); border-radius: 20px;
}
.x-scroll__drop {
	position: absolute; left: 50%; top: 9px; width: 8px; height: 8px; margin-left: -4px;
	background: #fff; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
	animation: x-drop 2s var(--x-ease) infinite;
}
@keyframes x-drop {
	0% { opacity: 0; transform: translateY(0) rotate(-45deg); }
	30% { opacity: 1; }
	100% { opacity: 0; transform: translateY(22px) rotate(-45deg); }
}

/* Bulles */
.x-bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.x-bubbles i {
	position: absolute; bottom: -60px;
	width: var(--s, 14px); height: var(--s, 14px); border-radius: 50%;
	left: var(--l, 50%);
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.85), rgba(159,220,239,0.15) 55%, rgba(255,255,255,0.05) 70%);
	border: 1px solid rgba(255,255,255,0.35);
	animation: x-rise var(--d, 12s) linear infinite;
	animation-delay: var(--dl, 0s);
	opacity: 0;
}
.x-bubbles i:nth-child(1) { --l: 6%; --s: 10px; --d: 13s; --dl: -2s; }
.x-bubbles i:nth-child(2) { --l: 14%; --s: 22px; --d: 17s; --dl: -9s; }
.x-bubbles i:nth-child(3) { --l: 23%; --s: 8px; --d: 11s; --dl: -4s; }
.x-bubbles i:nth-child(4) { --l: 34%; --s: 16px; --d: 15s; --dl: -12s; }
.x-bubbles i:nth-child(5) { --l: 46%; --s: 6px; --d: 9s; --dl: -1s; }
.x-bubbles i:nth-child(6) { --l: 55%; --s: 26px; --d: 19s; --dl: -7s; }
.x-bubbles i:nth-child(7) { --l: 63%; --s: 12px; --d: 12s; --dl: -5s; }
.x-bubbles i:nth-child(8) { --l: 71%; --s: 18px; --d: 16s; --dl: -14s; }
.x-bubbles i:nth-child(9) { --l: 79%; --s: 9px; --d: 10s; --dl: -3s; }
.x-bubbles i:nth-child(10) { --l: 86%; --s: 20px; --d: 18s; --dl: -10s; }
.x-bubbles i:nth-child(11) { --l: 92%; --s: 7px; --d: 11s; --dl: -6s; }
.x-bubbles i:nth-child(12) { --l: 97%; --s: 14px; --d: 14s; --dl: -8s; }
@keyframes x-rise {
	0% { opacity: 0; transform: translate3d(0, 0, 0); }
	10% { opacity: 0.9; }
	50% { transform: translate3d(18px, -55vh, 0); }
	90% { opacity: 0.6; }
	100% { opacity: 0; transform: translate3d(-12px, -115vh, 0); }
}

/* ==========================================================================
   2. RÉFÉRENCES
   ========================================================================== */
.x-refs {
	--sx: 50%; --sy: 50%;
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(80px, 10vw, 140px) 0 clamp(150px, 16vw, 230px);
	text-align: center;
	color: #fff;
	/* continuité parfaite avec la fin de l'explosion (#021120) */
	background:
		radial-gradient(60% 50% at 50% 55%, rgba(63, 184, 217, 0.16), transparent 70%),
		linear-gradient(180deg, #021120 0%, #041a2d 35%, #06223a 75%, #0a3352 100%);
}
.x-refs .x-bubbles { z-index: -1; }
.x-hero + .x-refs { margin-top: -3px; } /* aucune jointure visible avec la fin de l'explosion */
.x-hero__pin { background: transparent; }
.x-refs .x-eyebrow { color: var(--x-aqua-soft); }
.x-refs__head h2 { color: #fff; }
.x-refs__head h2 em {
	background: linear-gradient(100deg, #bff0ff 0%, var(--x-aqua) 55%, #7fd3ea 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.x-refs__sub { margin: 18px auto 0; max-width: 560px; font-size: 1.05rem; color: rgba(215, 238, 251, 0.7); }
/* vague nacrée qui ramène vers la suite du site */
.x-refs__wave {
	position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1;
	width: 100%; height: clamp(70px, 9vw, 130px); pointer-events: none;
}
.x-refs__wave .x-wave--1 { fill: var(--x-pearl); }
.x-refs__wave .x-wave--2 { fill: rgba(215, 238, 251, 0.35); }
.x-refs__wave .x-wave--3 { fill: rgba(63, 184, 217, 0.22); }
/* halo qui suit la souris */
.x-refs__spot {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(520px circle at var(--sx) var(--sy), rgba(63,184,217,0.22), transparent 65%);
	opacity: 0; transition: opacity 0.5s;
}
.x-refs.is-lit .x-refs__spot { opacity: 1; }

/* mot géant en filigrane qui glisse */
.x-refs__ghost {
	position: absolute; left: 0; top: 50%; z-index: -2; margin: 0;
	white-space: nowrap;
	font-family: var(--font-display); font-style: italic;
	font-size: clamp(7rem, 18vw, 17rem); line-height: 1;
	color: transparent; -webkit-text-stroke: 1px rgba(159, 220, 239, 0.1);
	transform: translate3d(0, -50%, 0);
	pointer-events: none; user-select: none;
	will-change: transform;
}

.x-refs__head { margin-bottom: clamp(36px, 5vw, 64px); }
.x-refs__head .x-eyebrow { justify-content: center; }
.x-refs__head h2 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1; letter-spacing: -0.025em; }

.x-refs__stage {
	perspective: 1400px;
	padding: 60px 0; margin: -60px 0; /* laisse de la place à l'inclinaison 3D sous le masque */
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.x-refs__tilt {
	display: grid; gap: clamp(14px, 1.6vw, 22px);
	padding: 30px 0;
	transform: rotateX(16deg) rotateZ(-3deg) scale(1.06);
	transform-style: preserve-3d;
}
.x-refs__row {
	display: flex; width: max-content;
	will-change: transform;
}
.x-refs__group {
	display: flex; gap: clamp(14px, 1.6vw, 22px);
	margin: 0; padding: 0 clamp(7px, 0.8vw, 11px); list-style: none;
}
.x-logo {
	--lift: 0px;
	position: relative; overflow: hidden;
	flex: 0 0 auto;
	width: clamp(150px, 15vw, 230px); height: clamp(84px, 7.6vw, 116px);
	display: flex; align-items: center; justify-content: center;
	border-radius: 24px;
	background: linear-gradient(160deg, #ffffff 0%, #eef7fc 100%);
	border: 1px solid rgba(255,255,255,0.95);
	/* tuiles nacrées qui flottent sur l'océan */
	box-shadow:
		inset 0 1px 0 #fff,
		inset 0 -10px 20px -14px rgba(63, 184, 217, 0.35),
		0 0 0 1px rgba(159, 220, 239, 0.18),
		0 26px 50px -22px rgba(0, 8, 20, 0.85),
		0 0 40px -18px rgba(63, 184, 217, 0.45);
	transform: translateY(var(--lift)) scale(var(--sc, 1));
	transition: transform 0.6s var(--x-spring), box-shadow 0.5s, opacity 0.4s;
}
.x-logo img {
	width: auto; height: auto; max-width: 78%; max-height: 74%; object-fit: contain;
	mix-blend-mode: multiply; /* fait disparaître le fond blanc des PNG */
	filter: grayscale(0.15);
	opacity: 1;
	transition: filter 0.5s, opacity 0.5s, transform 0.6s var(--x-ease);
}
/* reflet qui balaie la carte */
.x-logo::after {
	content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255,255,255,0.95), transparent);
	transform: skewX(-18deg); opacity: 0.8;
	transition: transform 0.9s var(--x-ease);
}
.x-logo:hover::after { transform: skewX(-18deg) translateX(520%); }
.x-refs__tilt:hover .x-logo { opacity: 0.6; }
.x-refs__tilt .x-logo:hover {
	--lift: -10px; --sc: 1.08;
	opacity: 1;
	box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(63,184,217,0.6), 0 34px 60px -20px rgba(0,8,20,0.9), 0 0 60px -10px rgba(63,184,217,0.7);
}
.x-refs__tilt:hover .x-logo { opacity: 0.45; }
.x-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
/* une vague de couleur traverse les logos de temps en temps */
.x-logo.is-wave img { filter: none; opacity: 0.95; }
.x-logo.is-wave { --lift: -6px; }

@media (max-width: 760px) {
	.x-refs__tilt { transform: rotateX(12deg) rotateZ(-4deg) scale(1.1); }
	.x-logo { width: 132px; height: 76px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.x-refs__stage { -webkit-mask-image: none; mask-image: none; }
	.x-refs__tilt { transform: none; }
	.x-refs__row { width: auto; justify-content: center; }
	.x-refs__group { flex-wrap: wrap; justify-content: center; }
	.x-refs__row--b { display: none; }
}

/* ==========================================================================
   RAYPATH DANS LE MONDE — carte réseau
   ========================================================================== */
.x-world {
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(80px, 10vw, 130px) 0 clamp(90px, 10vw, 140px);
	text-align: center;
	color: #fff;
	/* continuité parfaite avec l'explosion et les références (même recette) */
	background:
		radial-gradient(60% 50% at 50% 55%, rgba(63, 184, 217, 0.16), transparent 70%),
		linear-gradient(180deg, #021120 0%, #041a2d 35%, #06223a 75%, #0a3352 100%);
}
.x-hero + .x-world { margin-top: -3px; }
.x-world + .x-refs { margin-top: -3px; }
.x-world .x-bubbles { z-index: -1; }
.x-world .x-eyebrow { color: var(--x-aqua-soft); justify-content: center; }
.x-world .x-head h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -0.02em; }
.x-world .x-head h2 em {
	background: linear-gradient(100deg, #bff0ff 0%, var(--x-aqua) 55%, #7fd3ea 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	font-style: italic;
}
.x-world .x-head p { color: rgba(215, 238, 251, 0.7); }

.x-world__map { max-width: 1100px; margin: clamp(20px, 4vw, 48px) auto 0; overflow-x: auto; }
.x-world__svg { width: 100%; height: auto; min-width: 760px; display: block; }

.x-world__ambient circle { fill: rgba(159, 220, 239, 0.35); }

.x-world__arc { fill: none; stroke: rgba(63, 184, 217, 0.35); stroke-width: 1.4; stroke-dasharray: 4 5; }

.x-world__pulse { fill: #bff0ff; filter: drop-shadow(0 0 4px rgba(191, 240, 255, 0.8)); }
.x-world__pulse--long { fill: #9fdcef; }

.x-world__dot { fill: #fff; }
.x-world__node--hub .x-world__dot { fill: var(--x-aqua); }
.x-world__halo { fill: none; stroke: rgba(63, 184, 217, 0.7); stroke-width: 1.5; }
.x-world__node--hub .x-world__halo { stroke: #bff0ff; }

.x-world__land { fill: none; stroke: rgba(159, 220, 239, 0.24); stroke-width: 2.6; stroke-linecap: round; }
.x-world__land--lit { stroke: rgba(191, 240, 255, 0.9); stroke-width: 3.2; }
.x-world__ripples circle { fill: none; stroke: rgba(63, 184, 217, 0.7); stroke-width: 1.2; }
.x-world__label { font: 600 12px/1.3 "Inter", sans-serif; fill: #fff; paint-order: stroke; stroke: rgba(2, 17, 32, 0.85); stroke-width: 3px; stroke-linejoin: round; }
.x-world__label tspan:nth-child(2) { font-weight: 400; font-size: 9.5px; fill: rgba(215, 238, 251, 0.75); }
.x-world__label--hub { font-size: 15px; }

@media (max-width: 720px) {
	.x-world__map { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	.x-world__pulse, .x-world__halo, .x-world__ripples, .x-world__land--lit { visibility: hidden; }
}

/* ==========================================================================
   3. FAMILLES — bento
   ========================================================================== */
.x-bento {
	display: grid; gap: 18px;
	grid-template-columns: repeat(6, 1fr);
	grid-auto-rows: minmax(260px, auto);
}
.x-card {
	--c1: #e9f6fc; --c2: #ffffff; --accent: var(--x-aqua);
	--mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; flex-direction: column;
	padding: clamp(26px, 2.6vw, 40px);
	border-radius: var(--x-radius);
	background: linear-gradient(150deg, var(--c1), var(--c2));
	border: 1px solid rgba(255,255,255,0.9);
	box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 30px 60px -40px rgba(11, 58, 91, 0.35);
	transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform 0.6s var(--x-ease), box-shadow 0.6s var(--x-ease);
	transform-style: preserve-3d;
}
.x-card:hover { box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset, 0 40px 80px -36px rgba(11, 58, 91, 0.45); }
.x-card__glow {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--accent) 30%, transparent), transparent 60%);
	opacity: 0; transition: opacity 0.4s;
}
.x-card:hover .x-card__glow { opacity: 1; }
.x-card:nth-child(1) { grid-column: span 3; grid-row: span 2; --c1: #fde9ee; --c2: #fff7f9; --accent: #e88fa3; }
.x-card:nth-child(2) { grid-column: span 3; --c1: #d7eefb; --c2: #f4fbff; --accent: #3fb8d9; }
.x-card:nth-child(3) { grid-column: span 3; --c1: #f3ede3; --c2: #fffdf9; --accent: #c9a87a; }
.x-card:nth-child(4) { grid-column: span 3; --c1: #dfe9fb; --c2: #f7faff; --accent: #4d79c9; }
.x-card:nth-child(5) { grid-column: span 3; --c1: #e7f2ee; --c2: #f8fcfa; --accent: #58a847; }

/* Texture macro de la microfibre + voile nacré pour la lisibilité */
.x-card__tex {
	position: absolute; inset: 0; z-index: -3;
	background-size: cover; background-position: center;
	transform: scale(1.12);
	transition: transform 1.6s var(--x-ease), filter 0.8s;
	filter: saturate(1.05) contrast(1.02);
}
.x-card__tex--aqua {
	background:
		radial-gradient(60% 70% at 75% 25%, rgba(63,184,217,0.35), transparent 70%),
		radial-gradient(50% 60% at 20% 90%, rgba(88,168,71,0.18), transparent 70%),
		linear-gradient(160deg, #e7f2ee, #f8fcfa);
}
.x-card::before {
	content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
	background:
		linear-gradient(0deg, color-mix(in srgb, var(--c2) 96%, transparent) 0%, color-mix(in srgb, var(--c2) 82%, transparent) 34%, color-mix(in srgb, var(--c1) 30%, transparent) 70%, transparent 100%);
	transition: opacity 0.6s;
}
.x-card:hover .x-card__tex { transform: scale(1.22) translate3d(calc((var(--mx) - 50%) * -0.04), calc((var(--my) - 50%) * -0.04), 0); }

/* Le produit détouré flotte au-dessus de sa texture, en 3D */
.x-card__prod {
	position: absolute; z-index: 1; top: 7%; right: 5%;
	width: 42%; max-height: 62%; object-fit: contain;
	transform: translateZ(70px) rotate(-7deg);
	filter: drop-shadow(0 26px 22px rgba(11, 34, 54, 0.35)) drop-shadow(0 6px 8px rgba(11, 34, 54, 0.2));
	animation: x-card-float 7s ease-in-out infinite;
	transition: transform 0.8s var(--x-spring), filter 0.6s;
	pointer-events: none;
}
.x-card:nth-child(1) .x-card__prod { width: 64%; top: 9%; right: 4%; max-height: 52%; }
.x-card:nth-child(2) .x-card__prod { animation-delay: -1.4s; }
.x-card:nth-child(3) .x-card__prod { animation-delay: -2.8s; width: 26%; top: 6%; right: 6%; }
.x-card:nth-child(4) .x-card__prod { animation-delay: -4.2s; }
.x-card:nth-child(5) .x-card__prod { animation-delay: -5.6s; width: 32%; }
.x-card:hover .x-card__prod {
	transform: translateZ(110px) rotate(-2deg) scale(1.08);
	filter: drop-shadow(0 40px 30px rgba(11, 34, 54, 0.4)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
}
@keyframes x-card-float { 50% { translate: 0 -10px; } }
.x-card .x-card__num { right: auto; left: calc(clamp(26px, 2.6vw, 40px) + 82px); top: calc(clamp(26px, 2.6vw, 40px) + 18px); }
.x-card h3, .x-card p, .x-card__more { position: relative; z-index: 2; }
.x-card p { color: #3d4f60; }

.x-card__icon {
	width: 64px; height: 64px; display: grid; place-items: center;
	border-radius: 20px; margin-bottom: auto;
	background: rgba(255,255,255,0.75);
	box-shadow: 0 10px 30px -14px rgba(11,58,91,0.35);
	transform: translateZ(40px);
}
.x-card__icon svg {
	width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
	stroke-dasharray: 140; stroke-dashoffset: 0;
}
.x-card:hover .x-card__icon svg { animation: x-draw 1.3s var(--x-ease); }
@keyframes x-draw { from { stroke-dashoffset: 140; } }
.x-card__num {
	position: absolute; top: clamp(20px, 2vw, 32px); right: clamp(24px, 2.4vw, 36px);
	font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--accent);
}
.x-card h3 {
	margin: 40px 0 12px;
	font-size: clamp(1.7rem, 2.4vw, 2.4rem); line-height: 1.02;
	transform: translateZ(30px);
}
.x-card:nth-child(1) h3 { font-size: clamp(2.2rem, 4vw, 3.8rem); }
.x-card p { color: var(--x-muted); max-width: 42ch; margin-bottom: 22px; transform: translateZ(20px); }
.x-card__more {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 14px; font-weight: 600; color: var(--x-ocean);
}
.x-card__more span { transition: transform 0.4s var(--x-ease); }
.x-card:hover .x-card__more span { transform: translateX(6px); }

/* ==========================================================================
   4. PRODUITS — rail
   ========================================================================== */
.x-products { padding-top: 40px; }
.x-arrows { display: flex; gap: 10px; flex-shrink: 0; }
.x-arrow {
	width: 56px; height: 56px; border-radius: 50%;
	display: grid; place-items: center;
	border: 1px solid var(--x-line); background: #fff;
	transition: background 0.3s, transform 0.3s var(--x-ease), border-color 0.3s;
}
.x-arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--x-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.x-arrow:hover { background: var(--x-deep); border-color: var(--x-deep); transform: scale(1.06); }
.x-arrow:hover svg { stroke: #fff; }
.x-arrow:disabled { opacity: 0.35; pointer-events: none; }

.x-rail {
	display: flex; gap: 20px;
	overflow-x: auto; overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	padding: 10px max(var(--gutter), calc((100vw - 1440px) / 2)) 40px;
	scroll-padding-inline: max(var(--gutter), calc((100vw - 1440px) / 2));
	scrollbar-width: none; cursor: grab;
}
.x-rail::-webkit-scrollbar { display: none; }
.x-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.x-rail.is-dragging a { pointer-events: none; }

.x-prod {
	flex: 0 0 clamp(270px, 26vw, 360px);
	scroll-snap-align: start;
	display: flex; flex-direction: column;
	border-radius: var(--x-radius); overflow: hidden;
	background: #fff;
	border: 1px solid var(--x-line);
	transition: transform 0.6s var(--x-ease), box-shadow 0.6s var(--x-ease);
}
.x-prod:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(11,58,91,0.45); }
.x-prod__media {
	position: relative; display: block; aspect-ratio: 4 / 4.4; overflow: hidden;
	background: linear-gradient(160deg, var(--x-glacier), #fff);
}
.x-prod__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 1.2s var(--x-ease);
}
.x-prod:hover .x-prod__media img { transform: scale(1.07); }
.x-prod__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
	transform: translateX(-100%); transition: transform 1.1s var(--x-ease);
}
.x-prod:hover .x-prod__media::after { transform: translateX(100%); }
.x-ph {
	position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
	font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.2; color: var(--x-ocean);
	background:
		radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), transparent 40%),
		radial-gradient(circle at 70% 75%, rgba(63,184,217,0.25), transparent 50%),
		linear-gradient(160deg, var(--x-glacier), #fff);
}
.x-prod__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.x-prod__ref { margin: 0 0 6px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--x-aqua); font-weight: 600; }
.x-prod h3 { font-size: 1.75rem; line-height: 1.05; margin-bottom: 10px; }
.x-prod__price { font-size: 13px; color: var(--x-muted); margin-bottom: 20px; }
.x-prod__actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.x-link { font-size: 14px; font-weight: 500; color: var(--x-ocean); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.x-add {
	display: inline-flex; align-items: center; gap: 8px;
	height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
	background: var(--x-deep); color: #fff; font-size: 14px; font-weight: 500;
	transition: background 0.3s, transform 0.4s var(--x-spring);
}
.x-add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: transform 0.4s var(--x-ease); }
.x-add:hover { background: var(--x-aqua); }
.x-add:hover svg { transform: rotate(90deg); }
.x-add:active { transform: scale(0.94); }
.x-add.is-added { background: var(--x-aqua); }

/* « Les essentiels » : vitrine épinglée (desktop) ------------------------ */
.x-products__progress { display: none; }
.x-products.is-pinned { padding: 0; }
.x-products.is-pinned .x-products__pin {
	position: sticky; top: 0;
	height: 100vh; overflow: hidden;
	display: flex; flex-direction: column; justify-content: center;
	padding-top: var(--header-h);
	background:
		radial-gradient(50% 60% at 50% 70%, rgba(63, 184, 217, 0.12), transparent 70%),
		var(--x-pearl);
}
.x-products.is-pinned .x-head { margin-bottom: clamp(8px, 2vh, 30px); }
.x-products.is-pinned .x-head h2 { font-size: clamp(2.2rem, min(4.6vw, 6.6vh), 4.4rem); margin-bottom: 8px; }
.x-products.is-pinned .x-head p:not(.x-eyebrow) { font-size: 0.98rem; margin-bottom: 0; }
@media (max-height: 920px) { .x-products.is-pinned .x-head p:not(.x-eyebrow) { display: none; } }
.x-products.is-pinned .x-prod__body { padding: 16px 20px 18px; }
.x-products.is-pinned .x-prod h3 { font-size: 1.5rem; }
.x-products.is-pinned .x-prod__price { margin-bottom: 12px; }
.x-products.is-pinned .x-arrows { display: none; }
.x-products.is-pinned .x-rail {
	overflow: visible; scroll-snap-type: none; cursor: default;
	padding-top: 20px; padding-bottom: 20px;
	perspective: 1400px;
	will-change: transform;
}
.x-products.is-pinned .x-prod {
	flex-basis: clamp(220px, min(18vw, 30vh), 290px);
	transition: box-shadow 0.6s var(--x-ease);
	transform-origin: 50% 60%;
}
.x-products.is-pinned .x-prod__media { aspect-ratio: 1 / 0.8; }
.x-products.is-pinned .x-prod--all { min-height: 0; }
.x-products.is-pinned .x-products__progress {
	display: block; position: relative;
	width: min(420px, 60vw); height: 3px; margin: clamp(14px, 3vh, 30px) auto 0;
	border-radius: 3px; background: rgba(11, 58, 91, 0.12); overflow: hidden;
}
.x-products__progress span {
	position: absolute; inset: 0; transform-origin: 0 50%; transform: scaleX(0);
	background: linear-gradient(90deg, var(--x-aqua), var(--x-ocean));
}

/* Le titre se remplit d'eau à l'arrivée de la section */
.x-products { --fill: 0%; }
.x-products.is-pinned #produits-title,
.x-products.is-pinned #produits-title em {
	color: transparent;
	-webkit-text-stroke: 1px rgba(11, 58, 91, 0.45);
	background:
		linear-gradient(0deg, var(--x-ocean) 0%, var(--x-aqua) calc(var(--fill) - 2%), rgba(63, 184, 217, 0.15) var(--fill), transparent calc(var(--fill) + 1%));
	-webkit-background-clip: text; background-clip: text;
}

.x-prod--all {
	position: relative; align-items: center; justify-content: center; gap: 22px;
	min-height: 420px; text-align: center;
	background: radial-gradient(circle at 50% 40%, #0f4f78, var(--x-deep) 70%);
	color: #fff; border: 0;
}
.x-prod--all__txt { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; }
.x-prod--all__txt em { color: var(--x-aqua-soft); }
.x-prod--all__arrow {
	width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
	background: #fff; color: var(--x-deep); font-size: 22px;
	transition: transform 0.5s var(--x-spring);
}
.x-prod--all:hover .x-prod--all__arrow { transform: rotate(-45deg) scale(1.1); }
.x-prod--all__ring {
	position: absolute; width: 260px; height: 260px; border-radius: 50%;
	border: 1px solid rgba(159,220,239,0.3);
	animation: x-ring 4s var(--x-ease) infinite;
}
@keyframes x-ring { 0% { transform: scale(0.5); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ==========================================================================
   5. MÉTHODE — sticky
   ========================================================================== */
.x-method {
	position: relative;
	padding: clamp(100px, 12vw, 160px) 0;
	color: #fff;
	background:
		radial-gradient(80% 60% at 80% 0%, rgba(63,184,217,0.18), transparent 60%),
		linear-gradient(180deg, var(--x-deep), var(--x-abyss));
	border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0;
}
.x-method__grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start;
}
.x-method__sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.x-method .x-head { margin-bottom: 40px; }
.x-method .x-head h2 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); }

.x-glass { display: flex; align-items: center; gap: 22px; }
.x-glass__vessel {
	position: relative; overflow: hidden;
	width: min(100%, 420px); aspect-ratio: 1 / 0.82;
	border-radius: 36px;
	background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
	border: 1px solid rgba(255,255,255,0.2);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 40px 80px -40px rgba(0,0,0,0.6);
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* Le produit de l'étape en cours, posé dans le récipient (sous l'eau à l'étape « Mouillé ») */
.x-glass__prods { position: absolute; inset: 0; }
.x-glass__prods img {
	position: absolute; left: 50%; top: 56%;
	width: 62%; max-height: 62%; object-fit: contain;
	opacity: 0;
	transform: translate(-50%, -38%) scale(0.82) rotate(-10deg);
	filter: drop-shadow(0 24px 24px rgba(0, 10, 25, 0.55)) drop-shadow(0 0 24px rgba(159, 220, 239, 0.25));
	transition: opacity 0.7s var(--x-ease), transform 1.1s var(--x-spring);
}
.x-glass[data-step="1"] [data-step-prod="1"],
.x-glass[data-step="2"] [data-step-prod="2"],
.x-glass[data-step="3"] [data-step-prod="3"],
.x-glass[data-step="4"] [data-step-prod="4"] {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1) rotate(-4deg);
	animation: x-vessel-float 6s ease-in-out infinite;
}
.x-glass [data-step-prod="2"] { width: 44%; }
@keyframes x-vessel-float { 50% { translate: 0 -8px; } }
.x-glass__dust, .x-glass__shine { z-index: 2; position: absolute; inset: 0; }
.x-glass__label { z-index: 3; }

/* Desktop : seul le récipient reste épinglé à côté des étapes (le titre défile) */
@media (min-width: 1081px) {
	.x-method__grid { grid-template-rows: auto 1fr; row-gap: 0; }
	.x-method__sticky { display: contents; }
	.x-method .x-head { grid-column: 1; grid-row: 1; margin-bottom: 40px; }
	.x-method .x-glass {
		grid-column: 1; grid-row: 2; align-self: start;
		position: sticky; top: calc(var(--header-h) + max(24px, (100vh - var(--header-h) - 420px) / 2));
	}
	.x-steps { grid-column: 2; grid-row: 1 / span 2; }
	.x-glass__vessel { width: min(100%, 460px); }
}
/* Compteur d'étape + onde à chaque changement */
.x-glass__count {
	position: absolute; right: 22px; bottom: 18px; z-index: 3;
	font: 600 12px/1 "Inter", sans-serif; letter-spacing: 0.2em; color: rgba(215, 238, 251, 0.75);
}
.x-glass__label { transition: opacity 0.3s; }
.x-glass.is-changing .x-glass__label { animation: x-label-in 0.6s var(--x-ease); }
@keyframes x-label-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.x-glass__ripple {
	position: absolute; left: 50%; top: 52%; z-index: 2; pointer-events: none;
	width: 90%; aspect-ratio: 1; border-radius: 50%;
	border: 2px solid rgba(159, 220, 239, 0.8);
	box-shadow: 0 0 30px rgba(63, 184, 217, 0.5), inset 0 0 30px rgba(63, 184, 217, 0.35);
	transform: translate(-50%, -50%) scale(0); opacity: 0;
}
.x-glass.is-changing .x-glass__ripple { animation: x-vessel-ripple 0.9s var(--x-ease); }
@keyframes x-vessel-ripple {
	0% { transform: translate(-50%, -50%) scale(0.1); opacity: 1; }
	100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0; }
}
.x-glass.is-changing .x-glass__vessel { animation: x-vessel-pulse 0.6s var(--x-ease); }
@keyframes x-vessel-pulse { 40% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 0 0 2px rgba(63,184,217,0.55), 0 40px 80px -40px rgba(0,0,0,0.6); } }
/* le produit arrive avec un rebond, l'ancien part sur le côté */
.x-glass__prods img { transform: translate(-30%, -40%) scale(0.6) rotate(-24deg); filter: blur(6px) drop-shadow(0 24px 24px rgba(0, 10, 25, 0.55)); }
.x-glass[data-step="1"] [data-step-prod="1"],
.x-glass[data-step="2"] [data-step-prod="2"],
.x-glass[data-step="3"] [data-step-prod="3"],
.x-glass[data-step="4"] [data-step-prod="4"] {
	filter: drop-shadow(0 24px 24px rgba(0, 10, 25, 0.55)) drop-shadow(0 0 24px rgba(159, 220, 239, 0.25));
	transition: opacity 0.6s var(--x-ease) 0.12s, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.12s, filter 0.6s 0.12s;
}

/* Situation, outils et conseil de chaque étape */
.x-step__when {
	margin: 18px 0 0; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--x-aqua-soft);
}
.x-step h3 { margin-top: 6px; }
.x-step__tools { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 0; padding: 0; list-style: none; }
.x-step__tools a {
	display: inline-flex; align-items: baseline; gap: 8px;
	padding: 9px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(159, 220, 239, 0.25);
	font-size: 14px; font-weight: 500; color: #fff;
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	transition: background 0.3s, border-color 0.3s, transform 0.4s var(--x-spring);
}
.x-step__tools a small { font-size: 11px; font-weight: 400; color: rgba(215, 238, 251, 0.6); }
.x-step__tools a:hover { background: rgba(63, 184, 217, 0.25); border-color: var(--x-aqua); transform: translateY(-2px); }
.x-step__tip { margin: 16px 0 0; font-size: 14px; color: rgba(215, 238, 251, 0.65); font-style: italic; }
.x-step__tip span { color: var(--x-aqua); font-style: normal; margin-right: 6px; }

.x-glass__water {
	z-index: 1; opacity: 0.88;
	--lvl: 0%;
	position: absolute; left: 0; right: 0; bottom: 0; height: var(--lvl);
	background: linear-gradient(180deg, rgba(63,184,217,0.85), rgba(11,58,91,0.95));
	transition: height 1.4s var(--x-ease);
}
.x-glass__wave {
	position: absolute; left: 0; bottom: 100%; width: 200%; height: 28px; margin-bottom: -1px;
	fill: rgba(63,184,217,0.85);
	animation: x-wave-run 5s linear infinite;
}
.x-glass__wave--b { fill: rgba(159,220,239,0.45); animation-duration: 7s; animation-direction: reverse; }
@keyframes x-wave-run { to { transform: translateX(-50%); } }
.x-glass[data-step="1"] .x-glass__water { --lvl: 0%; }
.x-glass[data-step="2"] .x-glass__water { --lvl: 22%; }
.x-glass[data-step="3"] .x-glass__water { --lvl: 64%; }
.x-glass[data-step="4"] .x-glass__water { --lvl: 0%; transition-duration: 2s; }

.x-glass__dust i {
	position: absolute; width: 4px; height: 4px; border-radius: 50%;
	background: rgba(255,255,255,0.75);
	animation: x-float 6s ease-in-out infinite;
	transition: opacity 0.8s;
}
.x-glass__dust i:nth-child(1) { left: 18%; top: 30%; }
.x-glass__dust i:nth-child(2) { left: 32%; top: 58%; animation-delay: -1s; }
.x-glass__dust i:nth-child(3) { left: 48%; top: 22%; animation-delay: -2s; }
.x-glass__dust i:nth-child(4) { left: 62%; top: 46%; animation-delay: -3s; }
.x-glass__dust i:nth-child(5) { left: 76%; top: 28%; animation-delay: -4s; }
.x-glass__dust i:nth-child(6) { left: 84%; top: 64%; animation-delay: -5s; }
.x-glass__dust i:nth-child(7) { left: 24%; top: 76%; animation-delay: -2.5s; }
.x-glass__dust i:nth-child(8) { left: 56%; top: 72%; animation-delay: -3.5s; }
@keyframes x-float { 50% { transform: translate(10px, -14px); } }
.x-glass:not([data-step="1"]) .x-glass__dust i { opacity: 0; }

.x-glass__shine i {
	position: absolute; width: 22px; height: 22px; opacity: 0;
	background:
		linear-gradient(90deg, transparent 45%, #fff 50%, transparent 55%),
		linear-gradient(0deg, transparent 45%, #fff 50%, transparent 55%);
	transition: opacity 0.6s;
}
.x-glass__shine i:nth-child(1) { left: 22%; top: 30%; }
.x-glass__shine i:nth-child(2) { left: 64%; top: 22%; transform: scale(0.7); }
.x-glass__shine i:nth-child(3) { left: 46%; top: 62%; transform: scale(1.2); }
.x-glass[data-step="4"] .x-glass__shine i { opacity: 1; animation: x-twinkle 1.8s ease-in-out infinite; }
.x-glass[data-step="4"] .x-glass__shine i:nth-child(2) { animation-delay: -0.6s; }
.x-glass[data-step="4"] .x-glass__shine i:nth-child(3) { animation-delay: -1.2s; }
@keyframes x-twinkle { 50% { opacity: 0.2; transform: scale(0.6) rotate(45deg); } }

.x-glass__label {
	position: absolute; left: 26px; top: 22px;
	font-family: var(--font-display); font-style: italic; font-size: 1.6rem;
	color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.x-glass__dots { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.x-glass__dots li { width: 6px; height: 26px; border-radius: 6px; background: rgba(255,255,255,0.18); transition: background 0.4s, height 0.4s var(--x-ease); }
.x-glass[data-step="1"] .x-glass__dots li:nth-child(1),
.x-glass[data-step="2"] .x-glass__dots li:nth-child(2),
.x-glass[data-step="3"] .x-glass__dots li:nth-child(3),
.x-glass[data-step="4"] .x-glass__dots li:nth-child(4) { background: var(--x-aqua); height: 44px; }

.x-steps { margin: 0; padding: 0; list-style: none; }
.x-step {
	min-height: 62vh;
	display: flex; flex-direction: column; justify-content: center;
	padding: 40px 0;
	border-top: 1px solid rgba(255,255,255,0.12);
	opacity: 0.28;
	transition: opacity 0.7s var(--x-ease);
}
.x-step.is-active { opacity: 1; }
.x-step__num {
	font-family: var(--font-display); font-style: italic;
	font-size: clamp(5rem, 11vw, 10rem); line-height: 0.8;
	color: transparent; -webkit-text-stroke: 1px rgba(159,220,239,0.6);
	transition: color 0.8s var(--x-ease);
}
.x-step.is-active .x-step__num { color: rgba(63,184,217,0.2); }
.x-step h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin: 10px 0 14px; }
.x-step p { font-size: 1.1rem; max-width: 42ch; color: rgba(215,238,251,0.78); }
.x-step .x-btn { align-self: flex-start; margin-top: 18px; }

/* ==========================================================================
   6. UNIVERS — split
   ========================================================================== */
.x-split {
	display: flex; gap: 18px; min-height: 520px;
}
.x-split__side {
	position: relative; overflow: hidden;
	flex: 1 1 50%;
	display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
	padding: clamp(30px, 4vw, 60px);
	border-radius: var(--x-radius);
	transition: flex-grow 0.8s var(--x-ease);
}
.x-split:hover .x-split__side { flex-grow: 0.8; }
.x-split .x-split__side:hover, .x-split .x-split__side:focus-within { flex-grow: 1.3; }
.x-split__side--home {
	background:
		radial-gradient(70% 70% at 80% 10%, rgba(242,198,207,0.65), transparent 60%),
		linear-gradient(160deg, #eaf6fc, #fdfdfd);
}
.x-split__side--pro {
	color: #fff;
	background:
		radial-gradient(70% 70% at 20% 10%, rgba(63,184,217,0.35), transparent 60%),
		linear-gradient(160deg, var(--x-ocean), var(--x-abyss));
}
.x-split__side--pro p { color: rgba(215,238,251,0.8); }
.x-split__tag {
	position: absolute; top: clamp(26px, 3vw, 44px); left: clamp(30px, 4vw, 60px);
	padding: 8px 16px; border-radius: 999px;
	font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
	background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.8);
}
.x-split__side--pro .x-split__tag { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); }
.x-split h3 { font-size: clamp(2rem, 3.4vw, 3.3rem); max-width: 16ch; margin-bottom: 16px; }
.x-split p { max-width: 46ch; color: var(--x-muted); margin-bottom: 28px; }

/* ==========================================================================
   7. BESOINS — bulles
   ========================================================================== */
.x-needs { padding-top: 40px; }
.x-bubbles-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2vw, 26px); }
.x-need {
	--size: clamp(150px, 15vw, 200px);
	position: relative;
	width: var(--size); height: var(--size); border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
	text-align: center; padding: 18px;
	background: radial-gradient(circle at 32% 28%, #fff 0%, rgba(255,255,255,0.7) 22%, rgba(215,238,251,0.85) 60%, rgba(159,220,239,0.9) 100%);
	border: 1px solid rgba(255,255,255,0.9);
	box-shadow: inset -10px -14px 30px rgba(63,184,217,0.25), inset 8px 10px 20px rgba(255,255,255,0.9), 0 30px 50px -30px rgba(11,58,91,0.5);
	animation: x-bob 6s ease-in-out infinite;
	transition: transform 0.5s var(--x-spring);
}
.x-need:nth-child(2) { animation-delay: -1.2s; --size: clamp(170px, 17vw, 230px); }
.x-need:nth-child(3) { animation-delay: -2.4s; }
.x-need:nth-child(4) { animation-delay: -3.6s; --size: clamp(160px, 16vw, 215px); }
.x-need:nth-child(5) { animation-delay: -4.8s; --size: clamp(170px, 17vw, 230px); }
@keyframes x-bob { 50% { translate: 0 -12px; } }
.x-need:hover { transform: scale(1.08); }
.x-need strong { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.05; color: var(--x-deep); }
.x-need span { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--x-ocean); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.4s var(--x-ease); }
.x-need:hover span, .x-need:focus-visible span { opacity: 1; transform: none; }
.x-need.is-popping { animation: x-pop 0.45s var(--x-ease) forwards; }
@keyframes x-pop {
	40% { transform: scale(1.18); opacity: 1; }
	100% { transform: scale(1.6); opacity: 0; filter: blur(6px); }
}
.x-splash {
	position: fixed; z-index: 400; width: 8px; height: 8px; border-radius: 50%;
	background: var(--x-aqua); pointer-events: none;
	animation: x-splash 0.6s var(--x-ease) forwards;
}
@keyframes x-splash { to { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; } }

/* ==========================================================================
   8. MARQUE
   ========================================================================== */
.x-brand {
	position: relative; overflow: hidden; isolation: isolate;
	min-height: 90vh; display: flex; align-items: center;
	color: #fff; margin: 0 clamp(10px, 1.6vw, 24px);
	border-radius: clamp(28px, 4vw, 56px);
}
.x-brand__bg {
	position: absolute; inset: -15% 0; z-index: -1;
	background: url("../img/fond-eau.jpg") center / cover no-repeat;
	will-change: transform;
}
.x-brand::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, rgba(4,26,45,0.85) 0%, rgba(6,34,58,0.55) 50%, rgba(6,34,58,0.15) 100%);
}
.x-brand__inner { max-width: 1440px; padding: 80px 0; }
.x-brand h2 { font-size: clamp(2.4rem, 5vw, 4.6rem); max-width: 16ch; line-height: 1; margin-bottom: 24px; }
.x-brand h2 em { background: linear-gradient(100deg, #bff0ff, var(--x-aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-brand p { max-width: 560px; font-size: 1.12rem; color: rgba(230,245,252,0.85); margin-bottom: 34px; }

/* ==========================================================================
   9. FAQ
   ========================================================================== */
.x-faq__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.x-faq .x-head { position: sticky; top: calc(var(--header-h) + 30px); }
.x-faq .x-head h2 { font-size: clamp(2.4rem, 4.4vw, 4rem); }
.x-qa {
	border-bottom: 1px solid var(--x-line);
}
.x-qa summary {
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 28px 0; cursor: pointer; list-style: none;
	font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.85rem); line-height: 1.15; color: var(--x-deep);
	transition: color 0.3s;
}
.x-qa summary::-webkit-details-marker { display: none; }
.x-qa summary:hover { color: var(--x-aqua); }
.x-qa__icon {
	position: relative; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--x-line);
	transition: background 0.4s, border-color 0.4s, border-radius 0.5s var(--x-ease), transform 0.5s var(--x-ease);
}
.x-qa__icon::before, .x-qa__icon::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -0.75px 0 0 -7px;
	background: var(--x-deep); transition: transform 0.4s var(--x-ease), background 0.3s;
}
.x-qa__icon::after { transform: rotate(90deg); }
.x-qa[open] .x-qa__icon { background: var(--x-aqua); border-color: var(--x-aqua); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.x-qa[open] .x-qa__icon::before, .x-qa[open] .x-qa__icon::after { background: #fff; }
.x-qa[open] .x-qa__icon::after { transform: rotate(0deg); }
.x-qa__a { overflow: hidden; }
.x-qa__a p { margin: 0; padding: 0 60px 28px 0; color: var(--x-muted); font-size: 1.05rem; }

/* ==========================================================================
   10. CTA FINAL
   ========================================================================== */
.x-close {
	position: relative; overflow: hidden; isolation: isolate;
	padding: clamp(160px, 18vw, 240px) 0 clamp(120px, 14vw, 190px);
	text-align: center; color: #fff;
	background:
		radial-gradient(60% 70% at 50% 100%, rgba(63,184,217,0.35), transparent 70%),
		linear-gradient(180deg, var(--x-ocean), var(--x-abyss));
}
.x-close__wave { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(60px, 8vw, 120px); }
.x-close__wave .x-wave--1 { fill: var(--x-pearl); }
.x-close__inner { position: relative; z-index: 2; }
.x-close h2 { font-size: clamp(3rem, 8vw, 7.5rem); line-height: 0.95; letter-spacing: -0.03em; max-width: 14ch; margin: 0 auto 26px; }
.x-close h2 em { background: linear-gradient(100deg, #bff0ff, var(--x-aqua)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.x-close p { max-width: 520px; margin: 0 auto 40px; font-size: 1.15rem; color: rgba(215,238,251,0.8); }

/* Footer harmonisé */
.rp2 .site-footer { background: var(--x-abyss); }

/* ==========================================================================
   Apparitions (classe js-reveal posée par site.js)
   ========================================================================== */
.js-reveal .rp2 [data-reveal],
.js-reveal.rp2 [data-reveal],
html.js-reveal [data-reveal] {
	opacity: 0;
	transform: translateY(40px);
	filter: blur(6px);
	transition: opacity 1s var(--x-ease), transform 1.1s var(--x-ease), filter 1s var(--x-ease);
	transition-delay: var(--rd, 0ms);
}
html.js-reveal [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
html.js-reveal .x-card[data-reveal].is-visible { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.x-bento { grid-template-columns: repeat(2, 1fr); }
	.x-card:nth-child(n) { grid-column: span 1; grid-row: auto; }
	.x-card:nth-child(1) { grid-column: span 2; }
	.x-method__grid { grid-template-columns: 1fr; }
	.x-hero__inner > * { max-width: min(560px, 60%); }
	.x-method__grid { gap: 0; }
	.x-method__sticky { display: contents; }
	.x-method .x-head { margin-bottom: 30px; }
	.x-glass {
		position: sticky; top: calc(var(--header-h) + 8px); z-index: 2;
		padding: 10px 0 18px;
		background: linear-gradient(180deg, var(--x-deep) 82%, transparent);
	}
	.x-glass__vessel { aspect-ratio: 16 / 7; width: 100%; border-radius: 24px; }
	.x-step { min-height: 52vh; }
	.x-faq__grid { grid-template-columns: 1fr; }
	.x-faq .x-head { position: static; }
}
@media (max-width: 760px) {
	.x-hero { height: 190vh; }
	.x-hero__pin { padding-bottom: 120px; align-items: flex-end; padding-top: 44vh; }
	.x-hero__inner > * { max-width: 100%; }
	.x-hero__inner > .x-hero__title { font-size: clamp(2.7rem, 12vw, 4rem); }
	.x-hero__orb { right: 50%; top: 26%; width: 62vw; transform: translate(50%, -50%); }
	.x-ctas .x-btn { flex: 1 1 100%; }
	.x-head--row { flex-direction: column; align-items: flex-start; }
	.x-arrows { display: none; }
	.x-bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
	.x-card:nth-child(1) { grid-column: auto; }
	.x-card { min-height: 260px; }
	.x-split { flex-direction: column; min-height: 0; }
	.x-split__side { min-height: 440px; }
	.x-split:hover .x-split__side, .x-split .x-split__side:hover { flex-grow: 1; }
	.x-need { --size: 140px !important; }
	.x-brand { min-height: 80vh; }
	.x-qa__a p { padding-right: 0; }
}

/* ==========================================================================
   HERO « FLEUR D'EAU » — clair, nacré, produit au cœur de la fleur
   ========================================================================== */
.x-hero--bloom {
	color: var(--x-ink);
	background:
		radial-gradient(70% 60% at 72% 42%, #ffffff 0%, rgba(255,255,255,0) 60%),
		linear-gradient(180deg, #f7fbfd 0%, #e9f6fc 45%, #d3ecf8 80%, #c3e5f5 100%);
}
/* Header foncé au-dessus du hero clair */
.rp2.has-hero:has(.x-hero--bloom) .site-header:not(.is-solid) { color: var(--x-deep); border-bottom-color: rgba(11,58,91,0.1); }
.rp2.has-hero:has(.x-hero--bloom) .site-header:not(.is-solid) .brand__img { filter: none; }
.rp2.has-hero:has(.x-hero--bloom) .site-header .tool-btn:hover { background: rgba(11,58,91,0.07); }

/* Lumière d'eau qui ondule en fond */
.x-hero__light { position: absolute; inset: 0; z-index: -3; overflow: hidden; pointer-events: none; }
.x-hero__light i {
	position: absolute; border-radius: 50%; filter: blur(60px);
	animation: x-aurora 18s ease-in-out infinite alternate;
}
.x-hero__light i:nth-child(1) { width: 46vw; height: 46vw; right: 6%; top: 8%; background: rgba(255,255,255,0.95); }
.x-hero__light i:nth-child(2) { width: 30vw; height: 30vw; right: 30%; top: 50%; background: rgba(63,184,217,0.22); animation-duration: 24s; }
.x-hero__light i:nth-child(3) { width: 26vw; height: 26vw; left: -6%; top: 12%; background: rgba(159,220,239,0.35); animation-duration: 30s; }

.x-bubbles--aqua i {
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.95), rgba(63,184,217,0.22) 60%, rgba(63,184,217,0.06) 72%);
	border-color: rgba(63,184,217,0.35);
}

/* Texte */
.x-hero--bloom .x-hero__eyebrow { color: #1f8fb3; }
.x-hero--bloom .x-hero__title { color: var(--x-deep); text-shadow: none; }
.x-hero--bloom .x-hero__title em {
	background: linear-gradient(100deg, #3fb8d9 0%, #1f8fb3 45%, #0b3a5b 100%);
	background-size: 200% 100%;
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.x-hero--bloom .x-hero__subtitle { color: var(--x-muted); }
.x-btn--line {
	--bg: transparent; --fg: var(--x-deep);
	border: 1px solid rgba(11,58,91,0.3);
}
.x-btn--line::before { background: linear-gradient(100deg, transparent, rgba(63,184,217,0.25), transparent); }
.x-hero--bloom .x-scroll { border-color: rgba(11,58,91,0.35); }
.x-hero--bloom .x-scroll__drop { background: var(--x-aqua); }
.x-hero--bloom .x-wave--2 { fill: rgba(255,255,255,0.55); }
.x-hero--bloom .x-wave--3 { fill: rgba(63,184,217,0.18); }

/* Scène de la fleur */
.x-bloom {
	--px: 50%; --py: 66%; --pw: min(34vw, 460px);
	--psize: 1; --mx: 0; --my: 0;
	position: absolute; z-index: 0;
	top: var(--header-h); right: 0;
	height: calc(100svh - var(--header-h) - 60px);
	width: 60%;
	pointer-events: none;
}
.x-bloom__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.x-bloom__canvas--back { z-index: 1; }
.x-bloom__canvas--front { z-index: 3; }
.x-bloom__halo {
	position: absolute; z-index: 0;
	left: var(--px); top: calc(var(--py) - var(--pw) * 0.35);
	width: calc(var(--pw) * 2.4); aspect-ratio: 1;
	transform: translate(-50%, -50%);
	background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(215,238,251,0.6) 35%, rgba(63,184,217,0.12) 55%, transparent 70%);
	animation: x-halo 7s ease-in-out infinite alternate;
}
@keyframes x-halo { to { transform: translate(-50%, -50%) scale(1.08); } }

.x-bloom__product {
	position: absolute; z-index: 2;
	left: var(--px); top: var(--py);
	width: calc(var(--pw) * var(--psize));
	transform:
		translate(-50%, -80%)
		translate(calc(var(--mx) * -14px), calc(var(--my) * -10px));
	pointer-events: auto;
	transition: opacity 0.6s var(--x-ease), filter 0.6s var(--x-ease), scale 0.8s var(--x-spring), translate 0.8s var(--x-spring);
}
.x-bloom__product img {
	display: block; width: 100%; height: auto;
	max-height: calc(var(--pw) * 0.95); object-fit: contain;
	filter: drop-shadow(0 30px 30px rgba(11,58,91,0.28)) drop-shadow(0 6px 10px rgba(11,58,91,0.15));
	animation: x-float-prod 6s ease-in-out infinite;
	-webkit-user-drag: none;
}
@keyframes x-float-prod {
	0%, 100% { transform: translateY(0) rotate(-1deg); }
	50% { transform: translateY(-12px) rotate(1deg); }
}
.x-bloom.is-out .x-bloom__product { opacity: 0; filter: blur(8px); scale: 0.82; translate: 0 34px; }
.x-bloom:not(.has-3d) .x-bloom__product { transition-duration: 0.4s; }

/* Reflet / onde à la base de la fleur */
.x-bloom__pool {
	position: absolute; z-index: 0;
	left: var(--px); top: calc(var(--py) + var(--pw) * 0.12);
	width: calc(var(--pw) * 1.9); height: calc(var(--pw) * 0.32);
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(63,184,217,0.28), rgba(63,184,217,0.08) 60%, transparent);
}
.x-bloom__pool::before, .x-bloom__pool::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%;
	border: 1.5px solid rgba(63,184,217,0.35);
	animation: x-pool 4.2s var(--x-ease) infinite;
}
.x-bloom__pool::after { animation-delay: -2.1s; }
@keyframes x-pool { from { transform: scale(0.35); opacity: 1; } to { transform: scale(1.15); opacity: 0; } }

/* Sans 3D : le produit reste élégant sur son halo */
.x-bloom.is-static .x-bloom__canvas { display: none; }

/* Infos du produit affiché */
.x-bloom__info {
	position: absolute; z-index: 4;
	right: var(--gutter); bottom: clamp(120px, 15vh, 170px);
	text-align: right;
	transition: opacity 0.5s var(--x-ease), transform 0.6s var(--x-ease);
}
.x-bloom__info.is-out { opacity: 0; transform: translateY(10px); }
.x-bloom__kicker {
	margin: 0 0 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #1f8fb3;
}
.x-bloom__kicker span { color: var(--x-muted); margin-left: 8px; letter-spacing: 0.1em; }
.x-bloom__name {
	margin: 0 0 8px;
	font-family: var(--font-display); font-style: italic; font-size: clamp(1.7rem, 2.6vw, 2.6rem); line-height: 1.05;
	color: var(--x-deep);
}
.x-bloom__more { font-size: 14px; font-weight: 500; color: var(--x-ocean); border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.x-bloom__more span { display: inline-block; transition: transform 0.4s var(--x-ease); }
.x-bloom__more:hover span { transform: translateX(5px); }
.x-bloom__dots { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.x-bloom__dot {
	width: 22px; height: 4px; padding: 0; border: 0; border-radius: 4px;
	background: rgba(11,58,91,0.18);
	transition: width 0.5s var(--x-ease), background 0.4s;
}
.x-bloom__dot::before { content: ""; display: block; height: 22px; margin-top: -9px; } /* zone de clic plus grande */
.x-bloom__dot[aria-current="true"] { width: 46px; background: var(--x-aqua); }
.x-bloom__dot:hover { background: rgba(63,184,217,0.6); }

@media (max-width: 1080px) {
	.x-bloom { width: 66%; }
}
@media (max-width: 760px) {
	.x-hero.x-hero--bloom { padding-top: calc(var(--header-h) + 52vh); align-items: flex-start; }
	.x-bloom { top: var(--header-h); bottom: auto; height: 50vh; left: 0; right: 0; width: 100%; }
	.x-bloom__info {
		top: calc(var(--header-h) + 50vh - 64px); bottom: auto; left: 0; right: 0;
		text-align: center;
	}
	.x-bloom__name { font-size: 1.5rem; margin-bottom: 0; }
	.x-bloom__kicker, .x-bloom__more { display: none; }
	.x-bloom__dots { justify-content: center; margin-top: 8px; }
	.x-hero--bloom .x-hero__inner { margin-top: 30px; }
}

/* ==========================================================================
   Mouvement réduit
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	.rp2 *, .rp2 *::before, .rp2 *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}
	.x-bubbles, .x-hero__ripples, .rp2-cursor { display: none; }
	.x-word > span { transform: none; filter: none; opacity: 1; }
	.x-marquee__track { animation: none; }
	.x-marquee { overflow-x: auto; }
}

/* ==========================================================================
   BANDE DE LOGOS — les groupes (Pandox, Accor) se retournent pour montrer leurs établissements.
   Mêmes dimensions de carte, même design : seul le verso est nouveau.
   ========================================================================== */
.x-refs__tilt .x-logo--flip, .x-refs__tilt .x-logo--flip:hover {
	overflow: visible; background: none; border: 0; box-shadow: none;
	perspective: 900px; cursor: pointer;
}
.x-logo--flip::after { display: none; }
.x-logo--flip:focus-visible { outline: 2px solid var(--x-aqua); outline-offset: 6px; }
.x-logo__inner {
	position: absolute; inset: 0; transform-style: preserve-3d;
	transition: transform 0.95s var(--x-ease);
}
.x-logo--flip.is-flipped .x-logo__inner { transform: rotateY(180deg); }
.x-logo__front, .x-logo__back {
	position: absolute; inset: 0; border-radius: 24px; overflow: hidden;
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.x-logo__front {
	isolation: isolate; display: flex; align-items: center; justify-content: center;
	background: linear-gradient(160deg, #ffffff 0%, #eef7fc 100%);
	border: 1px solid rgba(255, 255, 255, 0.95);
	box-shadow: inset 0 1px 0 #fff, inset 0 -10px 20px -14px rgba(63, 184, 217, 0.35), 0 0 0 1px rgba(159, 220, 239, 0.18), 0 26px 50px -22px rgba(0, 8, 20, 0.85), 0 0 40px -18px rgba(63, 184, 217, 0.45);
	transition: box-shadow 0.5s;
}
.x-refs__tilt .x-logo--flip:hover .x-logo__front {
	box-shadow: inset 0 1px 0 #fff, 0 0 0 2px rgba(63, 184, 217, 0.6), 0 34px 60px -20px rgba(0, 8, 20, 0.9), 0 0 60px -10px rgba(63, 184, 217, 0.7);
}
.x-logo__front::after {
	content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.95), transparent);
	transform: skewX(-18deg); opacity: 0.8; transition: transform 0.9s var(--x-ease);
}
.x-logo--flip:hover .x-logo__front::after { transform: skewX(-18deg) translateX(520%); }
.x-refs__tilt .x-logo--flip.is-flipped { opacity: 1; }

/* verso : océan profond, titre du groupe puis ses établissements qui défilent doucement */
.x-logo__back {
	transform: rotateY(180deg);
	display: flex; flex-direction: column; align-items: stretch; text-align: center;
	padding: 9px 8px 0;
	background: linear-gradient(165deg, #0b3a5b 0%, #06223a 72%);
	border: 1px solid rgba(63, 184, 217, 0.55);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 26px 50px -22px rgba(0, 8, 20, 0.9), 0 0 40px -14px rgba(63, 184, 217, 0.65);
	color: #fff;
}
.x-logo__bk-title {
	display: block; font-family: var(--font-display); font-style: italic; font-weight: 500;
	font-size: clamp(0.95rem, 1.3vw, 1.2rem); line-height: 1.05; color: #fff;
}
.x-logo__bk-title::after {
	content: ""; display: block; width: 26px; height: 2px; margin: 5px auto 0; border-radius: 2px;
	background: linear-gradient(90deg, transparent, var(--x-aqua), transparent);
}
.x-logo__bk-win {
	flex: 1; min-height: 0; overflow: hidden; padding-top: 5px;
	display: flex; flex-direction: column; justify-content: center;
	-webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 84%, transparent 100%);
}
.x-logo__bk-list { margin: 0; padding: 0; list-style: none; }
.x-logo__bk-list.is-ticker { align-self: stretch; justify-content: flex-start; }
.x-logo__bk-win:has(.is-ticker) { justify-content: flex-start; }
.x-logo__bk-list li {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	padding-bottom: 5px; font-size: clamp(0.6rem, 0.8vw, 0.78rem); line-height: 1.2; white-space: nowrap;
	color: rgba(235, 247, 253, 0.96);
}
.x-logo__bk-ico {
	flex: none; display: inline-flex; align-items: center; justify-content: center;
	height: 17px; padding: 0 6px; border-radius: 6px; background: #fff;
}
.x-logo__bk-ico img { display: block; width: auto; height: 11px; max-width: 34px; object-fit: contain; }
.x-logo--flip.is-flipped .x-logo__bk-list.is-ticker { animation: x-bk-roll calc(var(--n, 10) * 1.2s) linear infinite; }
@keyframes x-bk-roll { to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.x-logo__inner { transition: none; }
	.x-logo--flip.is-flipped .x-logo__bk-list.is-ticker { animation: none; }
}
@media (max-width: 760px) {
	.x-logo__bk-ico { display: none; } /* petites cartes : on garde les noms, plus lisibles */
}
