/**
 * CentreDeService — vitrine publique Velzon : profondeur, parallax, couleurs
 * (animations accessibles, prefers-reduced-motion)
 */

:root {
	--cds-wow-primary: #0369a1;
	--cds-wow-primary-deep: #0c4a6e;
	--cds-wow-accent: #059669;
	--cds-wow-accent-hot: #10b981;
	--cds-wow-violet: #7c3aed;
	--cds-wow-amber: #f59e0b;
	--cds-wow-glow: rgba(16, 185, 129, 0.45);
	--cds-wow-glow-violet: rgba(124, 58, 237, 0.2);
	--cds-wow-ink: #0f172a;
	--cds-wow-surface: #f0f9ff;
	--cds-glass-bg: rgba(255, 255, 255, 0.58);
	--cds-glass-blur: 18px;
}

/* Base : le fond animé doit rester visible derrière les sections.
   Ne pas utiliser background-attachment: fixed sur body : repaint / scintillement de toute
   la vue sur Chrome, Safari et WebView (Facebook, etc.), surtout avec calques fixed + animations. */
body.cds-public-landing {
	background: linear-gradient(180deg, #dbeafe 0%, #ecfdf5 35%, #eef2ff 70%, #f8fafc 100%);
	background-attachment: scroll;
	min-height: 100vh;
}

/* -------- Coquille : champ de profondeur global -------- */
.cds-landing-shell {
	position: relative;
	/* pas isolation: isolate — laisse le backdrop-filter des sections voir le fond fixe */
}

.cds-parallax-field {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}

.cds-landing-shell section,
.cds-landing-shell footer.custom-footer {
	position: relative;
	z-index: 1;
}

/* Blobs : extérieur = parallax JS · intérieur = dérive + flou (pas de conflit transform) */
.cds-depth-blob {
	position: absolute;
	will-change: transform;
}

.cds-depth-blob__inner {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	filter: blur(56px);
	opacity: 1;
}

.cds-depth-blob--1 {
	width: min(120vw, 900px);
	height: min(120vw, 900px);
	left: -18%;
	top: -8%;
}

.cds-depth-blob__inner--1 {
	background: radial-gradient(
		circle at 35% 35%,
		rgba(16, 185, 129, 0.58) 0%,
		rgba(5, 150, 105, 0.28) 38%,
		transparent 68%
	);
	animation: cds-blob-drift-a 28s ease-in-out infinite alternate;
}

.cds-depth-blob--2 {
	width: min(100vw, 720px);
	height: min(100vw, 720px);
	right: -22%;
	top: 18%;
}

.cds-depth-blob__inner--2 {
	background: radial-gradient(
		circle at 60% 40%,
		rgba(14, 165, 233, 0.5) 0%,
		rgba(124, 58, 237, 0.32) 45%,
		transparent 70%
	);
	animation: cds-blob-drift-b 32s ease-in-out infinite alternate;
}

.cds-depth-blob--3 {
	width: min(90vw, 600px);
	height: min(90vw, 600px);
	left: 12%;
	bottom: -5%;
}

.cds-depth-blob__inner--3 {
	background: radial-gradient(
		circle at 50% 50%,
		rgba(245, 158, 11, 0.28) 0%,
		rgba(16, 185, 129, 0.22) 50%,
		transparent 65%
	);
	animation: cds-blob-drift-c 36s ease-in-out infinite alternate;
}

.cds-depth-blob--4 {
	width: min(70vw, 520px);
	height: min(70vw, 520px);
	right: 8%;
	bottom: 12%;
}

.cds-depth-blob__inner--4 {
	background: radial-gradient(
		circle at 40% 60%,
		rgba(236, 72, 153, 0.35) 0%,
		rgba(124, 58, 237, 0.22) 45%,
		transparent 62%
	);
	animation: cds-blob-drift-d 40s ease-in-out infinite alternate;
}

@keyframes cds-blob-drift-d {
	0% {
		transform: scale(1) translate(0, 0) rotate(0deg);
	}
	100% {
		transform: scale(1.12) translate(-5%, 6%) rotate(8deg);
	}
}

@keyframes cds-blob-drift-a {
	0% {
		transform: scale(1) translate(0, 0);
	}
	100% {
		transform: scale(1.08) translate(4%, 3%);
	}
}

@keyframes cds-blob-drift-b {
	0% {
		transform: scale(1) translate(0, 0);
	}
	100% {
		transform: scale(1.06) translate(-3%, 5%);
	}
}

@keyframes cds-blob-drift-c {
	0% {
		transform: scale(1) translate(0, 0);
	}
	100% {
		transform: scale(1.1) translate(2%, -4%);
	}
}

/* Grille perspective : extérieur = parallax · intérieur = sol + défilement */
.cds-depth-mesh {
	position: absolute;
	inset: -20%;
	will-change: transform;
}

.cds-depth-mesh__inner {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(14, 165, 233, 0.14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(124, 58, 237, 0.12) 1px, transparent 1px);
	background-size: 56px 56px;
	transform: perspective(800px) rotateX(58deg);
	transform-origin: center 30%;
	opacity: 0.72;
	mask-image: radial-gradient(ellipse 85% 65% at 50% 35%, black 20%, transparent 72%);
	animation: cds-mesh-pan 80s linear infinite;
}

@keyframes cds-mesh-pan {
	0% {
		background-position: 0 0, 0 0;
	}
	100% {
		background-position: 56px 56px, 56px 56px;
	}
}

.cds-depth-noise {
	position: absolute;
	inset: 0;
	opacity: 0.045;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	pointer-events: none;
}

/* Formes géométriques flottantes (très visibles, mouvement lent) */
.cds-depth-floaters {
	position: absolute;
	inset: -5%;
	pointer-events: none;
	will-change: transform;
}

.cds-floater {
	position: absolute;
	display: block;
	border-radius: 50%;
}

.cds-floater--ring {
	border: 2px solid rgba(14, 165, 233, 0.35);
	background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.15), transparent 55%);
	box-shadow:
		0 0 40px rgba(14, 165, 233, 0.15),
		inset 0 0 30px rgba(124, 58, 237, 0.08);
}

.cds-floater--a {
	width: clamp(180px, 28vw, 380px);
	height: clamp(180px, 28vw, 380px);
	left: 5%;
	top: 18%;
	animation: cds-float-rotate 70s linear infinite;
}

.cds-floater--b {
	width: clamp(120px, 18vw, 260px);
	height: clamp(120px, 18vw, 260px);
	right: 12%;
	top: 42%;
	border-color: rgba(16, 185, 129, 0.4);
	animation: cds-float-rotate 55s linear infinite reverse;
}

.cds-floater--c {
	width: clamp(220px, 32vw, 420px);
	height: clamp(220px, 32vw, 420px);
	left: 35%;
	bottom: 8%;
	border-color: rgba(124, 58, 237, 0.3);
	animation: cds-float-drift 48s ease-in-out infinite alternate;
}

.cds-floater--dot {
	width: 12px;
	height: 12px;
	background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(14, 165, 233, 0.8));
	box-shadow: 0 0 24px rgba(16, 185, 129, 0.5);
}

.cds-floater--d {
	left: 22%;
	top: 55%;
	animation: cds-float-bob 14s ease-in-out infinite;
}

.cds-floater--e {
	right: 28%;
	top: 28%;
	animation: cds-float-bob 11s ease-in-out infinite 2s;
}

.cds-floater--arc {
	width: clamp(200px, 30vw, 400px);
	height: clamp(200px, 30vw, 400px);
	right: 5%;
	bottom: 22%;
	border-radius: 50%;
	border: none;
	border-top: 3px solid rgba(245, 158, 11, 0.55);
	background: transparent;
	box-shadow: none;
	animation: cds-arc-sweep 95s linear infinite;
}

@keyframes cds-arc-sweep {
	0% {
		transform: rotate(-25deg);
	}
	100% {
		transform: rotate(335deg);
	}
}

@keyframes cds-float-rotate {
	0% {
		transform: rotate(0deg) scale(1);
	}
	100% {
		transform: rotate(360deg) scale(1.05);
	}
}

@keyframes cds-float-drift {
	0% {
		transform: translate(0, 0) rotate(0deg);
	}
	100% {
		transform: translate(8%, -6%) rotate(12deg);
	}
}

@keyframes cds-float-bob {
	0%,
	100% {
		transform: translate(0, 0);
		opacity: 0.85;
	}
	50% {
		transform: translate(12px, -20px);
		opacity: 1;
	}
}

/* -------- Hero : fond animé + parallax (wrap = scroll, inner = aurora animée) -------- */
.hero-section.cds-hero-wow {
	position: relative;
	overflow: hidden;
	/* semi-transparent pour laisser voir le champ global + profondeur */
	background: linear-gradient(
		168deg,
		rgba(236, 254, 255, 0.82) 0%,
		rgba(240, 253, 244, 0.78) 38%,
		rgba(238, 242, 255, 0.85) 72%,
		rgba(248, 250, 252, 0.75) 100%
	);
}

.cds-hero-parallax {
	position: absolute;
	inset: -40% -20% auto -20%;
	height: 85%;
	width: auto;
	pointer-events: none;
	z-index: 0;
	will-change: transform;
}

.cds-hero-aurora {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(ellipse 80% 50% at 20% 20%, rgba(16, 185, 129, 0.35), transparent 55%),
		radial-gradient(ellipse 60% 45% at 80% 10%, rgba(14, 165, 233, 0.28), transparent 50%),
		radial-gradient(ellipse 50% 40% at 50% 60%, rgba(124, 58, 237, 0.12), transparent 45%),
		radial-gradient(ellipse 40% 35% at 70% 70%, rgba(245, 158, 11, 0.12), transparent 50%);
	animation: cds-aurora-shift 18s ease-in-out infinite alternate;
}

.cds-hero-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.09;
	background-image:
		linear-gradient(rgba(15, 23, 42, 0.35) 1px, transparent 1px),
		linear-gradient(90deg, rgba(15, 23, 42, 0.35) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
	animation: cds-grid-drift 45s linear infinite;
}

@keyframes cds-grid-drift {
	0% {
		background-position: 0 0, 0 0;
	}
	100% {
		background-position: 48px 48px, 48px 48px;
	}
}

@keyframes cds-aurora-shift {
	0% {
		transform: translate(0, 0) scale(1);
	}
	100% {
		transform: translate(2%, 3%) scale(1.03);
	}
}

.hero-section.cds-hero-wow .bg-overlay {
	z-index: 1;
}

.hero-section.cds-hero-wow .container {
	position: relative;
	z-index: 2;
}

.cds-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--cds-wow-primary-deep);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 253, 250, 0.9));
	border: 1px solid rgba(5, 150, 105, 0.22);
	border-radius: 999px;
	padding: 0.4rem 1rem;
	margin-bottom: 1rem;
	box-shadow:
		0 4px 24px rgba(15, 23, 42, 0.08),
		0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.cds-text-gradient {
	background: linear-gradient(
		125deg,
		var(--cds-wow-accent-hot) 0%,
		#047857 38%,
		var(--cds-wow-primary) 72%,
		var(--cds-wow-violet) 110%
	);
	background-size: 160% 160%;
	animation: cds-gradient-flow 10s ease infinite;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent !important;
}

@keyframes cds-gradient-flow {
	0%,
	100% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
}

.cds-hero-wow .display-6 {
	text-shadow: 0 2px 40px rgba(255, 255, 255, 0.95);
}

/*
 * Sections : fond « vitre » pour que le parallax fixe reste visible derrière le contenu.
 * On exclut les bandeaux pleins (bg-primary) et le hero.
 */
.cds-landing-shell > section:not(#hero):not(.bg-primary):not(.bg-dark) {
	background: var(--cds-glass-bg) !important;
	backdrop-filter: blur(var(--cds-glass-blur)) saturate(1.2);
	-webkit-backdrop-filter: blur(var(--cds-glass-blur)) saturate(1.2);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.section.bg-light {
	background: linear-gradient(
		180deg,
		rgba(248, 250, 252, 0.62) 0%,
		rgba(240, 249, 255, 0.58) 100%
	) !important;
	backdrop-filter: blur(20px) saturate(1.15);
	-webkit-backdrop-filter: blur(20px) saturate(1.15);
}

/* Section #team etc. sans bg-light : même principe */
.cds-landing-shell > section#team {
	background: rgba(255, 255, 255, 0.52) !important;
}

/*
 * Équipe → Contact : Velzon applique un fort padding vertical aux .section ;
 * deux sections consécutives doublent l’espace → jointure resserrée.
 */
.cds-landing-shell > section#team.section {
	padding-bottom: 2.25rem !important;
}
.cds-landing-shell > section#contact.section {
	padding-top: 2.25rem !important;
}
@media (min-width: 992px) {
	.cds-landing-shell > section#team.section {
		padding-bottom: 2.75rem !important;
	}
	.cds-landing-shell > section#contact.section {
		padding-top: 2.75rem !important;
	}
}

/* Carousel démo : léger flottement 3D */
.demo-carousel .carousel-inner {
	transform-style: preserve-3d;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	border-radius: 0.75rem !important;
	box-shadow:
		0 28px 56px -14px rgba(15, 23, 42, 0.22),
		0 0 0 1px rgba(255, 255, 255, 0.65) inset,
		0 0 80px -20px rgba(16, 185, 129, 0.15);
}

.demo-carousel:hover .carousel-inner {
	box-shadow:
		0 38px 64px -16px rgba(15, 23, 42, 0.26),
		0 0 0 1px rgba(255, 255, 255, 0.8) inset,
		0 0 100px -24px rgba(124, 58, 237, 0.12);
	transform: translateY(-4px) scale(1.01);
}

/* -------- Sections : apparition + perspective 3D -------- */
.cds-section-reveal {
	opacity: 0;
	transform: perspective(1000px) translate3d(0, 40px, -32px) rotateX(5deg);
	transform-origin: center top;
	transition:
		opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.cds-section-reveal.cds-section-reveal--visible {
	opacity: 1;
	transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0deg);
}

/* Cartes services : survol (sans JS) */
.cds-services-cards > [class*='col-'] > .d-flex {
	border-radius: 0.75rem;
	transition: transform 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
	border: 1px solid transparent;
}
.cds-services-cards > [class*='col-']:hover > .d-flex {
	transform: translateY(-6px) translateZ(0);
	box-shadow:
		0 24px 48px -20px rgba(15, 23, 42, 0.2),
		0 0 0 1px rgba(16, 185, 129, 0.08);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(240, 253, 250, 0.65));
}

/* Mode sombre : pas de pastille claire au survol (sinon textes clairs illisibles) */
html[data-cds-theme='dark'] .cds-services-cards > [class*='col-']:hover > .d-flex {
	background: linear-gradient(145deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.92)) !important;
	box-shadow:
		0 24px 48px -20px rgba(0, 0, 0, 0.5),
		0 0 0 1px rgba(45, 212, 191, 0.22) !important;
}
html[data-cds-theme='dark'] .cds-services-cards > [class*='col-']:hover > .d-flex h5 {
	color: #f8fafc !important;
}
html[data-cds-theme='dark'] .cds-services-cards > [class*='col-']:hover > .d-flex .text-muted {
	color: #cbd5e1 !important;
}
html[data-cds-theme='dark'] .cds-services-cards > [class*='col-']:hover > .d-flex a.fw-medium {
	color: #5eead4 !important;
}
html[data-cds-theme='dark'] .cds-services-cards > [class*='col-']:hover > .d-flex a.fw-medium:hover {
	color: #99f6e4 !important;
}

html[data-cds-theme='dark'] .cds-services-cards > [class*='col-'] > .d-flex a.fw-medium {
	color: #5eead4 !important;
}
html[data-cds-theme='dark'] .cds-services-cards > [class*='col-'] > .d-flex a.fw-medium:hover {
	color: #99f6e4 !important;
}

/* Cartes services : tilt léger (autres blocs) */
.cds-tilt-wrap {
	perspective: 900px;
}
.cds-tilt-inner {
	transform-style: preserve-3d;
	transition: transform 0.2s ease-out, box-shadow 0.25s ease;
	border-radius: 0.75rem;
}
.cds-tilt-inner:hover {
	box-shadow: 0 22px 44px -22px rgba(15, 23, 42, 0.18);
}

/*
 * Logos marque (app.min) : display via var(--vz-card-logo-*) — prévu pour data-bs-theme.
 * La vitrine n’utilise que data-cds-theme → on réaligne le bloc .navbar-brand seulement
 * (sinon le footer perdrait le logo clair sur fond sombre).
 */
html[data-cds-theme='dark'] .navbar-landing .navbar-brand {
	--vz-card-logo-dark: none;
	--vz-card-logo-light: block;
}
html[data-cds-theme='light'] .navbar-landing .navbar-brand {
	--vz-card-logo-dark: block;
	--vz-card-logo-light: none;
}
.navbar-landing .navbar-brand .card-logo-dark,
.navbar-landing .navbar-brand .card-logo-light {
	vertical-align: middle;
}
.navbar-landing .navbar-brand .cds-brand-logo,
.cds-landing-shell .custom-footer .cds-footer-brand .cds-brand-logo {
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: left center;
}
.navbar-landing .navbar-brand .cds-brand-logo {
	max-height: 42px;
	max-width: min(220px, 55vw);
}
.cds-landing-shell .custom-footer .cds-footer-brand .cds-brand-logo {
	max-height: 40px;
	max-width: 200px;
}
html[data-cds-theme='dark'] .navbar-landing .navbar-brand .card-logo-dark {
	display: none !important;
}
html[data-cds-theme='dark'] .navbar-landing .navbar-brand .card-logo-light {
	display: block !important;
}
html[data-cds-theme='light'] .navbar-landing .navbar-brand .card-logo-dark {
	display: block !important;
}
html[data-cds-theme='light'] .navbar-landing .navbar-brand .card-logo-light {
	display: none !important;
}

/* Footer : fond toujours sombre — logo clair toujours visible */
.cds-landing-shell .custom-footer .cds-footer-brand .card-logo-light {
	display: block !important;
}

/* Navbar sticky : verre teinté */
.navbar-landing.is-sticky {
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	background: rgba(255, 255, 255, 0.88) !important;
	box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
	border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

/* CTA bandeau : punch couleur */
.bg-primary.position-relative {
	background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 45%, #0c4a6e 100%) !important;
}
.bg-primary.position-relative .btn.bg-gradient {
	box-shadow: 0 10px 28px rgba(220, 38, 38, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bg-primary.position-relative .btn.bg-gradient:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 14px 32px rgba(220, 38, 38, 0.5);
}

/* Bandeau témoignages */
.section.bg-primary#reviews {
	background: linear-gradient(160deg, #0369a1 0%, #0c4a6e 40%, #312e81 100%) !important;
}

/* Footer : trait lumineux */
.custom-footer.bg-dark {
	background: linear-gradient(185deg, #0f172a 0%, #020617 55%, #0c1929 100%) !important;
	border-top: 1px solid rgba(16, 185, 129, 0.28);
	box-shadow: 0 -20px 60px -30px rgba(16, 185, 129, 0.15);
}

/* Liens footer */
.custom-footer a:hover {
	color: var(--cds-wow-accent-hot) !important;
}

/* -------- Mode sombre (data-cds-theme sur <html>) -------- */
html[data-cds-theme='dark'] {
	color-scheme: dark;
}

html[data-cds-theme='dark'] body.cds-public-landing {
	background: linear-gradient(180deg, #020617 0%, #0f172a 40%, #1e1b4b 100%) !important;
	background-attachment: scroll;
}

/* Texte lisible : Bootstrap garde --bs-body-color / titres pour le thème clair */
html[data-cds-theme='dark'] .cds-landing-shell {
	--bs-body-color: #e2e8f0;
	--bs-heading-color: #f8fafc;
	--bs-secondary-color: #94a3b8;
	--bs-secondary-rgb: 148, 163, 184;
	color: #e2e8f0;
}

html[data-cds-theme='dark'] .cds-landing-shell h1:not(.text-white),
html[data-cds-theme='dark'] .cds-landing-shell h2:not(.text-white),
html[data-cds-theme='dark'] .cds-landing-shell h3:not(.text-white),
html[data-cds-theme='dark'] .cds-landing-shell h4:not(.text-white),
html[data-cds-theme='dark'] .cds-landing-shell h5:not(.text-white),
html[data-cds-theme='dark'] .cds-landing-shell h6:not(.text-white) {
	color: #f1f5f9 !important;
}

/* Titres dans un bloc .text-muted (ex. colonne fonctionnalités) : ne pas hériter du gris */
html[data-cds-theme='dark'] .cds-landing-shell .text-muted h1,
html[data-cds-theme='dark'] .cds-landing-shell .text-muted h2,
html[data-cds-theme='dark'] .cds-landing-shell .text-muted h3,
html[data-cds-theme='dark'] .cds-landing-shell .text-muted h4,
html[data-cds-theme='dark'] .cds-landing-shell .text-muted h5,
html[data-cds-theme='dark'] .cds-landing-shell .text-muted h6 {
	color: #f1f5f9 !important;
}

html[data-cds-theme='dark'] .cds-landing-shell .text-body {
	color: #e2e8f0 !important;
}

html[data-cds-theme='dark'] .cds-landing-shell .text-dark {
	color: #f1f5f9 !important;
}

html[data-cds-theme='dark'] .cds-landing-shell .link-secondary {
	color: #7dd3fc !important;
}

html[data-cds-theme='dark'] .cds-landing-shell .link-secondary:hover {
	color: #bae6fd !important;
}

/* Hero : texte hors span dégradé */
html[data-cds-theme='dark'] .cds-hero-wow h1.display-6 {
	color: #f8fafc;
}

html[data-cds-theme='dark'] .cds-landing-shell > section:not(#hero):not(.bg-primary):not(.bg-dark) {
	background: rgba(15, 23, 42, 0.72) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

html[data-cds-theme='dark'] .section.bg-light {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 27, 75, 0.75) 100%) !important;
}

html[data-cds-theme='dark'] .cds-landing-shell > section#team {
	background: rgba(15, 23, 42, 0.65) !important;
}

/* Section équipe — mode clair */
#team .cds-team-developer {
	font-size: 0.95rem;
	font-weight: 500;
	color: #64748b;
	letter-spacing: 0.01em;
}
#team h3.fw-semibold {
	color: #0f172a;
}
#team .cds-team-card {
	border: 1px solid rgba(15, 23, 42, 0.08);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#team .cds-team-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}
#team .cds-team-avatar {
	width: 5.5rem;
	height: 5.5rem;
	object-fit: cover;
	object-position: center top;
}
#team .card h5 a.text-body {
	color: #0f172a;
}
#team .card h5 a.text-body:hover {
	color: #0369a1;
}
#team .card .text-muted {
	color: #64748b !important;
}

/* Section équipe — mode sombre */
html[data-cds-theme='dark'] #team .cds-team-developer {
	color: #cbd5e1 !important;
}
html[data-cds-theme='dark'] #team h3.fw-semibold {
	color: #f8fafc;
}
html[data-cds-theme='dark'] #team h3 .text-danger {
	color: #f87171 !important;
}
html[data-cds-theme='dark'] #team .text-muted.ff-secondary {
	color: #94a3b8 !important;
}
html[data-cds-theme='dark'] #team .cds-team-card {
	background: rgba(30, 41, 59, 0.92) !important;
	border-color: rgba(148, 163, 184, 0.22);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
}
html[data-cds-theme='dark'] #team .cds-team-card:hover {
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
}
html[data-cds-theme='dark'] #team .cds-team-card h5,
html[data-cds-theme='dark'] #team .cds-team-card h5 a.text-body {
	color: #f8fafc !important;
}
html[data-cds-theme='dark'] #team .cds-team-card h5 a.text-body:hover {
	color: #7dd3fc !important;
}
html[data-cds-theme='dark'] #team .cds-team-card .text-muted {
	color: #94a3b8 !important;
}

/* Rétrocompat : cartes sans .cds-team-card */
html[data-cds-theme='dark'] #team .card {
	background: rgba(30, 41, 59, 0.92) !important;
	border-color: rgba(148, 163, 184, 0.22);
}
html[data-cds-theme='dark'] #team .card h5,
html[data-cds-theme='dark'] #team .card h5 a.text-body {
	color: #f8fafc !important;
}
html[data-cds-theme='dark'] #team .card h5 a.text-body:hover {
	color: #7dd3fc !important;
}
html[data-cds-theme='dark'] #team .card .text-muted {
	color: #94a3b8 !important;
}

html[data-cds-theme='dark'] .hero-section.cds-hero-wow {
	background: linear-gradient(
		168deg,
		rgba(15, 23, 42, 0.92) 0%,
		rgba(30, 27, 75, 0.88) 50%,
		rgba(15, 23, 42, 0.9) 100%
	) !important;
}

.navbar-landing .nav-link.active,
.navbar-landing .nav-link.active:focus,
.navbar-landing .nav-link.active:hover {
	color: var(--vz-primary, #405189) !important;
	font-weight: 600;
}

html[data-cds-theme='dark'] .navbar-landing .nav-link.active,
html[data-cds-theme='dark'] .navbar-landing .nav-link.active:focus,
html[data-cds-theme='dark'] .navbar-landing .nav-link.active:hover {
	color: #38bdf8 !important;
}

html[data-cds-theme='dark'] .navbar-landing:not(.is-sticky) {
	background: rgba(15, 23, 42, 0.55) !important;
}

html[data-cds-theme='dark'] .navbar-landing .nav-link,
html[data-cds-theme='dark'] .navbar-landing .navbar-brand {
	color: #e2e8f0 !important;
}

html[data-cds-theme='dark'] .navbar-landing.is-sticky {
	background: rgba(15, 23, 42, 0.92) !important;
	border-bottom: 1px solid rgba(16, 185, 129, 0.15);
}

html[data-cds-theme='dark'] .cds-landing-shell .text-muted {
	color: #cbd5e1 !important;
}

html[data-cds-theme='dark'] .text-muted {
	color: #94a3b8 !important;
}

html[data-cds-theme='dark'] .lead.text-muted {
	color: #cbd5e1 !important;
}

html[data-cds-theme='dark'] .demo-carousel .carousel-inner {
	background: #1e293b !important;
	box-shadow:
		0 28px 56px -14px rgba(0, 0, 0, 0.45),
		0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

html[data-cds-theme='dark'] .accordion-button {
	background: rgba(30, 41, 59, 0.9);
	color: #f1f5f9;
}

html[data-cds-theme='dark'] .accordion-body {
	background: rgba(15, 23, 42, 0.5);
	color: #cbd5e1;
}

html[data-cds-theme='dark'] .form-control.bg-light {
	background: rgba(30, 41, 59, 0.9) !important;
	border-color: rgba(148, 163, 184, 0.2) !important;
	color: #f8fafc;
}

/* Section forfaits / abonnement — mode sombre */
html[data-cds-theme='dark'] .cds-landing-shell > section#plans {
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 27, 75, 0.82) 100%) !important;
}
html[data-cds-theme='dark'] #plans .bg-overlay.bg-overlay-pattern {
	opacity: 0.14 !important;
	filter: invert(1) brightness(0.35);
}
html[data-cds-theme='dark'] #plans h3.fw-semibold {
	color: #f8fafc;
}
html[data-cds-theme='dark'] #plans .text-muted {
	color: #94a3b8 !important;
}
html[data-cds-theme='dark'] #plans .plan-box {
	background: rgba(30, 41, 59, 0.95) !important;
	border: 1px solid rgba(148, 163, 184, 0.22) !important;
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
	color: #e2e8f0;
}
html[data-cds-theme='dark'] #plans .plan-box .card-body {
	color: #e2e8f0;
}
html[data-cds-theme='dark'] #plans .plan-box h1,
html[data-cds-theme='dark'] #plans .plan-box h1 .ff-secondary,
html[data-cds-theme='dark'] #plans .plan-box h1 span.ff-secondary {
	color: #f8fafc !important;
}
html[data-cds-theme='dark'] #plans .plan-box h1 sup,
html[data-cds-theme='dark'] #plans .plan-box h1 sup small {
	color: #cbd5e1 !important;
}
html[data-cds-theme='dark'] #plans .plan-box h1 .fs-13.text-muted {
	color: #94a3b8 !important;
}
html[data-cds-theme='dark'] #plans .plan-box h5 {
	color: #f8fafc !important;
}
html[data-cds-theme='dark'] #plans .plan-box .avatar-title.bg-light {
	background: rgba(148, 163, 184, 0.14) !important;
	color: #7dd3fc !important;
}
html[data-cds-theme='dark'] #plans .plan-box ul.text-muted,
html[data-cds-theme='dark'] #plans .plan-box ul.text-muted li,
html[data-cds-theme='dark'] #plans .plan-box ul li {
	color: #cbd5e1 !important;
}
html[data-cds-theme='dark'] #plans .plan-box .text-success {
	color: #6ee7b7 !important;
}
html[data-cds-theme='dark'] #plans .plan-box .btn-soft-success {
	background: rgba(16, 185, 129, 0.18) !important;
	color: #6ee7b7 !important;
	border: 1px solid rgba(16, 185, 129, 0.35);
}
html[data-cds-theme='dark'] #plans .plan-box .btn-soft-success:hover,
html[data-cds-theme='dark'] #plans .plan-box .btn-soft-success:focus {
	background: rgba(16, 185, 129, 0.32) !important;
	color: #ecfdf5 !important;
	border-color: rgba(16, 185, 129, 0.5);
}
html[data-cds-theme='dark'] #plans .badge.bg-success-subtle.text-success {
	background: rgba(16, 185, 129, 0.2) !important;
	color: #6ee7b7 !important;
}
html[data-cds-theme='dark'] #plans .form-check-input {
	background-color: rgba(30, 41, 59, 0.9);
	border-color: rgba(148, 163, 184, 0.45);
}
html[data-cds-theme='dark'] #plans .form-check-input:checked {
	background-color: #10b981;
	border-color: #10b981;
}
html[data-cds-theme='dark'] #plans .ribbon-two.ribbon-two-danger span {
	background: #ef4444;
	color: #fff;
}

html[data-cds-theme='dark'] .cds-hero-badge {
	background: rgba(30, 41, 59, 0.9);
	color: #a5f3fc;
	border-color: rgba(45, 212, 191, 0.25);
}

html[data-cds-theme='dark'] .custom-footer.bg-dark {
	background: linear-gradient(185deg, #020617 0%, #000 100%) !important;
}

@media (max-width: 576px) {
	.cds-depth-blob__inner {
		filter: blur(52px);
	}
	.cds-floater--ring {
		opacity: 0.85;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cds-hero-aurora,
	.cds-depth-blob__inner,
	.cds-depth-mesh__inner,
	.cds-hero-grid,
	.cds-text-gradient,
	.cds-floater,
	.cds-depth-floaters {
		animation: none !important;
	}
	body.cds-public-landing {
		background-attachment: scroll;
	}
	.cds-section-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
	.demo-carousel .carousel-inner {
		transition: none;
	}
	.cds-tilt-inner {
		transition: box-shadow 0.2s ease;
	}
	.cds-services-cards > [class*='col-']:hover > .d-flex {
		transform: none;
		box-shadow: none;
	}
}

/* Pages légales (confidentialité / conditions) */
.cds-legal-page {
	padding-top: 7.5rem !important;
	padding-bottom: 4rem;
	position: relative;
	z-index: 1;
}
.cds-legal-page h1 {
	font-weight: 700;
	letter-spacing: -0.02em;
}
.cds-legal-prose h2 {
	font-size: 1.2rem;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}
.cds-legal-prose p,
.cds-legal-prose li {
	line-height: 1.7;
	color: var(--vz-body-color);
}
.cds-legal-prose ol {
	padding-left: 1.25rem;
	margin-bottom: 1rem;
}
.cds-legal-prose ol li + li {
	margin-top: 0.5rem;
}
.cds-legal-notice {
	border: 1px solid rgba(13, 110, 253, 0.22);
	background: rgba(13, 110, 253, 0.06);
	border-radius: 0.75rem;
	padding: 1rem 1.15rem;
	font-weight: 500;
}
.cds-legal-crosslinks a {
	font-weight: 500;
}
.cds-legal-breadcrumb .breadcrumb {
	background: transparent;
	padding: 0;
}
.cds-legal-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
	content: "›";
}
html[data-cds-theme='dark'] .cds-legal-notice {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
}
