/* =============================================================================
   custom.css — vitrine-local visual overrides.
   TODO(design): migrate to @plateforme-agree/design v1.11 —
   move to packages/design/css/compositions/vitrine-animations.css, then
   drop the /css/* route and this file.
   Rule: DS2 tokens (var(--…)) only, no hardcoded hex.
   ============================================================================= */

/* Note : les overrides spécifiques à la home sont dans public/css/home/*.css
 * et chargés via /css/home.css en <link> APRÈS ce fichier dans layout.ts.
 * Cascade : custom.css (base Figma + fonts Mathéo) → home.css (mes overrides). */

/* Noto Sans — self-hosted via @fontsource/noto-sans (GDPR: no external requests) */
@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src:
		url("/fonts/noto-sans-latin-400-normal.woff2") format("woff2"),
		url("/fonts/noto-sans-latin-400-normal.woff") format("woff");
}
@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src:
		url("/fonts/noto-sans-latin-500-normal.woff2") format("woff2"),
		url("/fonts/noto-sans-latin-500-normal.woff") format("woff");
}
@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src:
		url("/fonts/noto-sans-latin-600-normal.woff2") format("woff2"),
		url("/fonts/noto-sans-latin-600-normal.woff") format("woff");
}
@font-face {
	font-family: "Noto Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src:
		url("/fonts/noto-sans-latin-700-normal.woff2") format("woff2"),
		url("/fonts/noto-sans-latin-700-normal.woff") format("woff");
}

/* -----------------------------------------------------------------------------
   A — Hero : floating orbs + animated gradient.
   ::before at z-index 1 sits between backdrop (z:0) and text content (z:2).
   Visible whether the hero-wave canvas renders or the fallback is used.
   ----------------------------------------------------------------------------- */
@keyframes hero-gradient-drift {
	0%,
	100% {
		background-position: 0% 0%;
	}
	50% {
		background-position: 100% 100%;
	}
}

@keyframes hero-orbs-drift {
	from {
		transform: scale(1) translate(0px, 0px);
	}
	to {
		transform: scale(1.08) translate(30px, 20px);
	}
}

.mk-hero--wave::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(
			ellipse 55% 80% at 15% 65%,
			color-mix(in srgb, var(--color-brand) 40%, transparent) 0%,
			transparent 65%
		),
		radial-gradient(
			ellipse 45% 65% at 85% 15%,
			color-mix(in srgb, var(--color-brand-mid) 45%, transparent) 0%,
			transparent 60%
		),
		radial-gradient(
			ellipse 30% 50% at 55% 85%,
			color-mix(in srgb, var(--color-brand) 28%, transparent) 0%,
			transparent 55%
		);
	animation: hero-orbs-drift 6s ease-in-out infinite alternate;
}

.mk-hero--wave__fallback {
	background: linear-gradient(
		135deg,
		var(--color-bg) 0%,
		color-mix(in srgb, var(--color-brand) 20%, var(--color-bg)) 40%,
		color-mix(in srgb, var(--color-brand-mid) 25%, var(--color-bg)) 70%,
		var(--color-bg) 100%
	);
	background-size: 200% 200%;
	animation: hero-gradient-drift 6s var(--easing-smooth, ease-in-out) infinite;
}

@media (prefers-reduced-motion: reduce) {
	.mk-hero--wave::before {
		animation: none;
	}
	.mk-hero--wave__fallback {
		animation: none;
		background-size: 100% 100%;
	}
}

/* -----------------------------------------------------------------------------
   Schema Y — path-draw animation (IO-based, replaces DS2 scroll-driven).
   DS2 initializes stroke-dashoffset:35 (invisible). When .is-visible lands
   on .vitrine-schema-y, paths draw in sequence.
   ----------------------------------------------------------------------------- */
@keyframes schema-path-draw {
	from {
		stroke-dashoffset: 35;
	}
	to {
		stroke-dashoffset: 0;
	}
}

@supports (animation-timeline: view()) {
	.vitrine-schema-y path[stroke] {
		animation: none;
	}
}

.vitrine-schema-y.is-visible path[stroke] {
	animation: schema-path-draw 550ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.vitrine-schema-y.is-visible path[stroke]:nth-of-type(2) {
	animation-delay: 220ms;
}
.vitrine-schema-y.is-visible path[stroke]:nth-of-type(3) {
	animation-delay: 440ms;
}

/* -----------------------------------------------------------------------------
   Icon hover — all cards with .card__icon.
   ----------------------------------------------------------------------------- */
.card .card__icon {
	transition: transform
		var(--transition-smooth, 220ms cubic-bezier(0.25, 1, 0.5, 1));
}

.card:hover .card__icon {
	transform: scale(1.2) translateY(-2px);
}

/* -----------------------------------------------------------------------------
   Bento Invox-IA — flex-column layout, link anchored at bottom,
   badges extracted from copy to fill vertical whitespace.
   ----------------------------------------------------------------------------- */
.vitrine-bento__item--hero {
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(
			ellipse 120% 80% at 100% 110%,
			color-mix(in srgb, var(--color-brand) 12%, white) 0%,
			transparent 60%
		),
		var(--color-surface);
	position: relative;
	overflow: hidden;
}

.vitrine-bento__item--hero::after {
	content: "";
	position: absolute;
	bottom: -40px;
	right: -40px;
	width: 200px;
	height: 200px;
	background: radial-gradient(
		circle,
		color-mix(in srgb, var(--color-brand) 10%, transparent) 0%,
		transparent 70%
	);
	pointer-events: none;
}

.vitrine-bento__item--hero .card__desc {
	flex: 1;
}

.vitrine-bento__item--hero .card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.vitrine-bento__item--hero .card__badge {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--color-brand) 8%, transparent);
	color: var(--color-brand);
	border: 1px solid color-mix(in srgb, var(--color-brand) 22%, transparent);
}

/* -----------------------------------------------------------------------------
   Navy alternate section — final CTA on navy gradient band.
   DS2 exposes these 4 vars specifically for container scoping.
   ----------------------------------------------------------------------------- */
.mk-cta-card--full {
	background: linear-gradient(
		150deg,
		var(--color-brand-mid) 0%,
		var(--color-brand) 100%
	);
	--btn-secondary-bg: rgba(255, 255, 255, 0.08);
	--btn-secondary-fg: var(--color-on-brand);
	--btn-secondary-border: rgba(255, 255, 255, 0.32);
	--btn-secondary-bg-hover: rgba(255, 255, 255, 0.18);
}

/* -----------------------------------------------------------------------------
   Hover lift — interactive cards.
   DS2+ tokens: --shadow-hover (dedicated navy hover shadow) + --transition-smooth.
   ----------------------------------------------------------------------------- */
.card--interactive {
	transition:
		transform var(--transition-smooth, 220ms cubic-bezier(0.25, 1, 0.5, 1)),
		box-shadow var(--transition-smooth, 220ms cubic-bezier(0.25, 1, 0.5, 1));
}

.card--interactive:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-hover);
}

/* =============================================================================
 * FIGMA REDESIGN — vitrine "PDP Espace design" (node 1140:2765)
 * Scope: .vitrine-fg-* + .mk-nav--figma + .mk-footer--figma
 * Tokens additionnels Figma → mappés ici en attendant migration DS package.
 * ============================================================================= */

:root {
	font-family: "Noto Sans", system-ui, sans-serif;
	/* Figma colour scale — additive on top of DS2 brand tokens */
	--fg-space: #141c52; /* navy strong — titres, body strong */
	--fg-cta: #2563eb; /* blue CTA — boutons primaires Figma */
	--fg-cta-hover: #1e4fc7;
	--fg-blue-900: #0e182c; /* body */
	--fg-blue-50: #ecf1fb; /* tint surface — pills, icon holders */
	--fg-blue-100: #dae4f8; /* light surface — clients band, form card */
	--fg-blue-300: #91ade9; /* accent border */
	--fg-blue-700: #2b4783; /* deep brand — pill on surface, form bottom border */
	--fg-blue-800: #1d2f58; /* navy card */
	--fg-bg-navy: #0b1f3a; /* hero navy bg */
	--fg-surface: #ffffff;
	--fg-text-muted: #666666;
	--fg-border-soft: #eae9ef;
	--fg-radius-card: 20px;
	--fg-radius-pill: 9999px;
	--fg-radius-input: 12px;
	--fg-max-width: 1160px;
	--fg-section-x: clamp(20px, 5vw, 140px);
	--fg-section-y: clamp(48px, 8vh, 80px);
}

/* ---------------------------------------------------------------------------
 * Buttons — Figma CTA + outline navy
 * ------------------------------------------------------------------------- */
.btn--cta {
	padding: 0.625rem 1.25rem;
	height: 44px;
	background: var(--fg-cta);
	color: #fff;
	border: 1px solid var(--fg-cta);
	border-radius: var(--fg-radius-pill);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 18px;
	cursor: pointer;
	transition:
		background 200ms ease,
		transform 200ms ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	white-space: nowrap;
}
.btn--cta:hover {
	background: var(--fg-cta-hover);
	transform: translateY(-1px);
}
.btn--cta:focus-visible {
	outline: 2px solid var(--fg-cta);
	outline-offset: 2px;
}

.btn--outline-navy {
	padding: 0.625rem 1.25rem;
	height: 44px;
	background: #fff;
	color: var(--fg-space);
	border: 1px solid var(--fg-space);
	border-radius: var(--fg-radius-pill);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 18px;
	cursor: pointer;
	transition: background 200ms ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	white-space: nowrap;
}
.btn--outline-navy:hover {
	background: var(--fg-blue-50);
}
.btn--outline-navy:focus-visible {
	outline: 2px solid var(--fg-space);
	outline-offset: 2px;
}

/* ---------------------------------------------------------------------------
 * Nav — Figma redesign: 4 pills + Globe + CTA
 * ------------------------------------------------------------------------- */
.mk-nav--figma {
	background: #fff;
	border-bottom: 1px solid #ecf1fb;
	font-family: "Noto Sans", system-ui, sans-serif;
}
.mk-nav--figma .mk-nav__inner {
	max-width: var(--fg-max-width);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 20px clamp(20px, 5vw, 140px);
	height: 112px;
	width: 100%;
}
.mk-nav--figma .mk-nav__brand {
	display: inline-flex;
	flex-direction: column;
	gap: 0;
	color: var(--fg-space);
	text-decoration: none;
	line-height: 1.1;
	font-weight: 700;
	font-size: 1.5rem;
}
.mk-nav--figma .mk-nav__brand-name {
	font-weight: 700;
	font-size: 1.5rem;
	letter-spacing: -0.01em;
}
.mk-nav--figma .mk-nav__brand-logo {
	height: 32px;
	width: auto;
	display: block;
}
.mk-nav--figma .mk-nav__brand-sub {
	font-weight: 500;
	font-size: 0.75rem;
	color: var(--fg-text-muted);
}

.mk-nav__links--pills {
	display: flex;
	align-items: center;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.mk-nav__links .mk-nav__pill {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 8px 20px;
	background: #fff;
	color: var(--fg-space);
	border-radius: var(--fg-radius-pill);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 18px;
	text-decoration: none;
	transition:
		transform 0.3s ease-out,
		background 0.2s ease;
	white-space: nowrap;
}
.mk-nav__links .mk-nav__pill:hover {
	background: var(--fg-blue-50);
	transform: scale(1.08);
}
.mk-nav__links .mk-nav__pill[aria-current="page"] {
	background: var(--fg-blue-50);
}

.mk-nav--figma .mk-nav__actions {
	display: flex;
	align-items: center;
	gap: 12px;
}
.mk-nav__globe {
	/* WCAG 2.5.5 AAA touch target ≥44×44 (était 32×32 — fail mobile best practice).
	   L'icône SVG visuelle reste 32 ; padding 6 ajoute le hit area. */
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: none;
	color: var(--fg-space);
	cursor: not-allowed;
	padding: 6px;
	border-radius: 50%;
}
.mk-nav__globe:hover {
	background: var(--fg-blue-50);
}

@media (max-width: 1024px) {
	.mk-nav--figma .mk-nav__links--pills {
		display: none;
	}
	.mk-nav--figma .mk-nav__actions .btn {
		display: none;
	}
	.mk-nav--figma .mk-nav__inner {
		height: auto;
		padding: 16px clamp(16px, 4vw, 24px);
	}
	.mk-nav--figma .mk-nav__mobile-toggle {
		display: block;
	}
}

.mk-nav__mobile-toggle > summary svg {
	transition: transform 0.2s ease-in-out;
}
.mk-nav__mobile-toggle[open] > summary svg {
	transform: rotate(-90deg);
}
.mk-nav__mobile-menu {
	background: #eef2f9 !important;
	font-family: "Noto Sans", system-ui, sans-serif;
}
.mk-nav__mobile-menu a {
	transition:
		transform 0.2s ease-out,
		background 0.2s ease,
		color 0.2s ease;
	border-radius: 8px;
	padding: 10px 12px !important;
}
.mk-nav__mobile-menu a:hover,
.mk-nav__mobile-menu a:active {
	transform: scale(1.03);
	background: #dce6f5;
}
.mk-nav__mobile-toggle[open] > .mk-nav__mobile-menu {
	animation: mobile-drawer-open 0.35s ease-in-out forwards;
}
.mk-nav__mobile-menu.is-closing {
	animation: mobile-drawer-close 0.35s ease-in-out forwards !important;
}
@keyframes mobile-drawer-open {
	from {
		clip-path: inset(0 0 100% 0);
	}
	to {
		clip-path: inset(0 0 -20px 0);
	}
}
@keyframes mobile-drawer-close {
	from {
		clip-path: inset(0 0 -20px 0);
	}
	to {
		clip-path: inset(0 0 100% 0);
	}
}

/* ---------------------------------------------------------------------------
 * Section base — shared container
 * ------------------------------------------------------------------------- */
.vitrine-fg-section {
	padding: var(--fg-section-y) var(--fg-section-x);
	width: 100%;
	overflow: clip;
}
.vitrine-fg-section__inner {
	max-width: var(--fg-max-width);
	margin: 0 auto;
	width: 100%;
}
.vitrine-fg-section__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
	margin-bottom: 4rem;
}
.vitrine-fg-section__header--centered {
	width: 100%;
}
.vitrine-fg-section__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.25;
	color: var(--fg-space);
	max-width: 852px;
	margin: 0;
}
.vitrine-fg-section__title--on-navy {
	color: #fff;
}
.vitrine-fg-section__lead {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--fg-blue-900);
	max-width: 540px;
	margin: 0;
}
.vitrine-fg-section__title--on-navy + .vitrine-fg-section__lead {
	color: #fff;
}

/* Badge pills — 3 variantes (tint clair / navy / cta blue) */
.vitrine-fg-badge {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 18px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.vitrine-fg-badge--tint {
	background: var(--fg-blue-50);
	color: var(--fg-cta);
}
.vitrine-fg-badge--navy {
	background: var(--fg-blue-700);
	color: #fff;
}
.vitrine-fg-badge--cta {
	background: var(--fg-cta);
	color: #fff;
}

/* ---------------------------------------------------------------------------
 * §1 — Hero
 * ------------------------------------------------------------------------- */
.vitrine-fg-hero {
	border-bottom: 1px solid var(--fg-blue-50);
	background:
		radial-gradient(
			ellipse 70% 80% at 75% 80%,
			rgba(182, 200, 241, 0.25) 0%,
			transparent 65%
		),
		#fff;
	padding: var(--fg-section-y) var(--fg-section-x);
	min-height: 480px;
	display: flex;
	align-items: center;
}
.vitrine-fg-hero__inner {
	max-width: var(--fg-max-width);
	margin: 0 auto;
	width: 100%;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	gap: 3rem;
	align-items: center;
}
.vitrine-fg-hero__content {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}
.vitrine-fg-hero__title {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: clamp(2rem, 4vw, 2.25rem);
	font-weight: 700;
	line-height: 1.22;
	margin: 0;
}
.vitrine-fg-hero__title-line {
	color: var(--fg-space);
}
.vitrine-fg-hero__title-line--accent {
	color: var(--fg-cta);
}
.vitrine-fg-hero__subtitle {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--fg-blue-900);
	margin: 0;
	max-width: 540px;
}
.vitrine-fg-hero__actions {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
.vitrine-fg-hero__visual {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	aspect-ratio: 769 / 536;
	background: linear-gradient(160deg, #dbeafe 0%, #eff6ff 100%);
}
.vitrine-fg-hero__visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 1024px) {
	.vitrine-fg-hero__inner {
		grid-template-columns: 1fr;
	}
	.vitrine-fg-hero__visual {
		max-width: 100%;
	}
}

/* ---------------------------------------------------------------------------
 * Hero mock — interactive app-window overlay (replaces static hero-illustration.png).
 * Drag + panel-switch handled by public/js/hero-mock.js.
 * --------------------------------------------------------------------------- */

/* macOS App Launch entrance animation.
 *
 * The animation is CLASS-TRIGGERED by hero-mock.js after the first paint,
 * not at CSS parse time. This guarantees the user always sees it play.
 *
 * hero-mock.js adds .is-launching via two nested requestAnimationFrame calls
 * (ensures post-first-paint), then an IntersectionObserver re-triggers it
 * each time the element re-enters the viewport (scroll away → scroll back).
 *
 * Two simultaneous animations decouple opacity from scale timing:
 *   mock-launch-scale — 500ms  cubic-bezier(0.23,1,0.32,1) — scale+translateY
 *   mock-launch-fade  — 160ms  ease-out                     — opacity only
 * Opacity completes at ~160ms while scale is still ~55% — matching macOS's
 * springboard behaviour (icon opaque before window finishes growing).
 *
 * transform-origin: center bottom  →  pivot is the dock/bottom-edge position.
 * translateY(80px) shifts that pivot toward the container's bottom edge;
 * overflow:hidden on .vitrine-fg-hero__visual clips everything below it, so
 * the thumbnail emerges from the floor of the hero visual.
 */
@keyframes mock-launch-scale {
	from {
		transform: translateY(80px) scale(0.15);
	}
	to {
		transform: translateY(0) scale(1);
	}
}
@keyframes mock-launch-fade {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.hero-mock {
	position: absolute;
	top: 24px;
	left: 24px;
	width: min(500px, calc(100% - 48px));
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
	transition: box-shadow 0.2s ease;
	user-select: none;
	transform-origin: center bottom;
	font-family:
		-apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI",
		system-ui, sans-serif;
	/* Start invisible — JS adds .is-launching to trigger the animation.
   * No-JS / prefers-reduced-motion fallback: opacity+transform reset below. */
	opacity: 0;
	transform: translateY(80px) scale(0.15);
}

/* Class added by hero-mock.js — fires the entrance animation. */
.hero-mock.is-launching {
	animation:
		mock-launch-scale 500ms cubic-bezier(0.23, 1, 0.32, 1) both,
		mock-launch-fade 160ms ease-out both;
}

/* No-JS fallback: if JS never runs, reveal the mock immediately. */
/* (Relies on <noscript> being present or on the reduced-motion branch.) */
@media (prefers-reduced-motion: reduce) {
	.hero-mock,
	.hero-mock.is-launching {
		opacity: 1;
		transform: none;
		animation: none;
	}
}
.mock-titlebar {
	background: #e8ecf0;
	padding: 0.38rem 0.65rem;
	display: flex;
	align-items: center;
	gap: 0.32rem;
	border-bottom: 1px solid #d1d5db;
	cursor: grab;
}
.mock-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	flex-shrink: 0;
}
.mock-titlebar-label {
	font-size: 0.52rem;
	color: #9ca3af;
	margin-left: 0.4rem;
	letter-spacing: -0.01em;
}
.app-nav {
	background: #fff;
	padding: 0 0.75rem;
	display: flex;
	align-items: stretch;
	gap: 0;
	border-bottom: 1px solid #e5e7eb;
}
.app-nav-logo {
	margin-right: 0.9rem;
	display: flex;
	align-items: center;
	padding: 0.4rem 0;
}
.app-nav-logo img {
	height: 6px;
	width: auto;
	display: block;
}
.app-nav-item {
	font-size: 0.5rem;
	font-weight: 500;
	letter-spacing: -0.01em;
	color: #6b7280;
	padding: 0.4rem 0.5rem;
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.15s;
	user-select: none;
	position: relative;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}
.app-nav-item:hover {
	color: #0f172a;
}
.app-nav-item.mock-active {
	color: #2563eb;
	font-weight: 600;
	border-bottom-color: #2563eb;
}
.mock-content {
	position: relative;
	height: 258px;
	overflow: hidden;
}
.mock-panel {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.mock-panel.mock-active {
	opacity: 1;
	pointer-events: auto;
}
.mp-page-header {
	background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
	padding: 0.42rem 0.7rem 0.38rem;
	flex-shrink: 0;
}
.mp-breadcrumb {
	font-size: 0.42rem;
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 0.18rem;
	letter-spacing: -0.01em;
}
.mp-page-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.4rem;
}
.mp-title {
	font-size: 0.76rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.02em;
}
.mp-inv-ref {
	font-size: 0.37rem;
	font-weight: 500;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	padding: 0.12rem 0.32rem;
	border-radius: 4px;
	white-space: nowrap;
	backdrop-filter: blur(4px);
}
.mp-actions {
	display: flex;
	gap: 0.4rem;
	padding: 0.3rem 0.75rem;
	border-bottom: 1px solid #e5e7eb;
	flex-shrink: 0;
	background: #fff;
}
.mp-btn {
	font-size: 0.44rem;
	color: #374151;
	border: 1px solid #d1d5db;
	border-radius: 5px;
	padding: 0.18rem 0.45rem;
	display: inline-flex;
	align-items: center;
	gap: 0.22rem;
	background: #fff;
	white-space: nowrap;
}
.mp-btn svg {
	width: 7px;
	height: 7px;
	stroke: #6b7280;
	fill: none;
	stroke-width: 2.5;
}
.mp-tabs {
	display: flex;
	border-bottom: 1px solid #e5e7eb;
	padding: 0 0.7rem;
	flex-shrink: 0;
	background: #fff;
}
.mp-tab {
	font-size: 0.47rem;
	color: #6b7280;
	font-weight: 400;
	letter-spacing: -0.01em;
	padding: 0.3rem 0.5rem;
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	white-space: nowrap;
	cursor: pointer;
}
.mp-tab.active {
	color: #2563eb;
	border-bottom-color: #2563eb;
	font-weight: 600;
}
.mp-tab-badge {
	display: inline-block;
	background: #fee2e2;
	color: #dc2626;
	font-size: 0.38rem;
	font-weight: 700;
	padding: 0.05rem 0.2rem;
	border-radius: 999px;
	margin-left: 0.16rem;
}
.mp-body {
	display: grid;
	grid-template-columns: 48% 52%;
	flex: 1;
	overflow: hidden;
}
.mp-left {
	padding: 0.5rem 0.65rem;
	overflow: hidden;
	border-right: 1px solid #f1f5f9;
}
.mp-right {
	background: #f8fafc;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 0.5rem;
}
.mp-section-title {
	font-size: 0.5rem;
	font-weight: 600;
	color: #0f172a;
	letter-spacing: -0.01em;
	margin-bottom: 0.36rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.mp-status-badge {
	font-size: 0.38rem;
	font-weight: 600;
	background: #f0fdf4;
	color: #166534;
	border: 1px solid #bbf7d0;
	padding: 0.1rem 0.3rem;
	border-radius: 999px;
}
.mp-kv-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.32rem 0.4rem;
	margin-bottom: 0.3rem;
}
.mp-kv {
	display: flex;
	flex-direction: column;
	gap: 0.06rem;
}
.mp-key {
	font-size: 0.41rem;
	color: #9ca3af;
	font-weight: 500;
}
.mp-val {
	font-size: 0.46rem;
	color: #111827;
	font-weight: 500;
	letter-spacing: -0.01em;
}
.mp-cert {
	display: inline-flex;
	align-items: center;
	gap: 0.2rem;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 0.4rem;
	font-weight: 600;
	padding: 0.12rem 0.3rem;
	border-radius: 4px;
	margin-bottom: 0.28rem;
	border: 1px solid #bfdbfe;
}
.mp-hist-label {
	font-size: 0.48rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 0.22rem;
}
.mp-hist-item {
	display: flex;
	align-items: flex-start;
	gap: 0.28rem;
	margin-bottom: 0.18rem;
}
.mp-hdot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
	margin-top: 0.15rem;
}
.mp-htext {
	font-size: 0.4rem;
	color: #2563eb;
	font-weight: 500;
	line-height: 1.35;
}
.mp-hsub {
	font-size: 0.37rem;
	color: #9ca3af;
}
.mp-doc-zoom {
	display: none;
}
.mp-doc {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 4px;
	box-shadow:
		0 1px 3px rgba(0, 0, 0, 0.07),
		0 4px 8px rgba(0, 0, 0, 0.05),
		0 12px 24px rgba(0, 0, 0, 0.04);
	flex: 1;
	padding: 0.52rem 0.58rem;
	font-size: 0.38rem;
	color: #374151;
	overflow: hidden;
}
.mp-doc-row {
	height: 4px;
	background: #e2e8f0;
	border-radius: 2px;
	margin-bottom: 0.2rem;
}
.mp-doc-row.s {
	width: 55%;
}
.mp-doc-row.m {
	width: 75%;
}
.mp-doc-row.f {
	width: 100%;
}
.mp-thead {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.28rem 0.65rem;
	background: #f9fafb;
	border-bottom: 1px solid #e5e7eb;
	font-size: 0.42rem;
	font-weight: 600;
	color: #6b7280;
	flex-shrink: 0;
}
.mp-trow {
	display: flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.25rem 0.65rem;
	border-bottom: 1px solid #f3f4f6;
}
.mp-dot-s {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	flex-shrink: 0;
}
.mp-ttext {
	font-size: 0.43rem;
	color: #374151;
	flex: 1;
}
.mp-tamt {
	font-size: 0.43rem;
	color: #111827;
	font-weight: 600;
}
.mp-tbadge {
	font-size: 0.37rem;
	font-weight: 600;
	padding: 0.07rem 0.22rem;
	border-radius: 999px;
	white-space: nowrap;
}
.mp-tbadge.g {
	background: #f0fdf4;
	color: #166534;
}
.mp-tbadge.o {
	background: #fffbeb;
	color: #92400e;
}
.mp-tbadge.r {
	background: #fef2f2;
	color: #991b1b;
}
.mp-avatar {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.45rem;
	color: #fff;
	font-weight: 700;
	flex-shrink: 0;
}
.mp-aname {
	font-size: 0.44rem;
	color: #111827;
	font-weight: 500;
	flex: 2;
}
.mp-arole {
	font-size: 0.4rem;
	color: #9ca3af;
	flex: 2;
}
.mp-kpis {
	display: flex;
	gap: 0.35rem;
	padding: 0.4rem 0.65rem;
	border-bottom: 1px solid #f1f5f9;
	flex-shrink: 0;
}
.mp-kpi {
	flex: 1;
	background: #f9fafb;
	border-radius: 5px;
	padding: 0.3rem 0.4rem;
	border: 1px solid #e5e7eb;
}
.mp-kpi-label {
	font-size: 0.38rem;
	color: #6b7280;
}
.mp-kpi-val {
	font-size: 0.65rem;
	font-weight: 700;
	margin-top: 0.05rem;
}
.mp-chart-area {
	padding: 0.35rem 0.65rem 0.4rem;
	flex: 1;
}
.mp-chart-label {
	font-size: 0.42rem;
	color: #6b7280;
	margin-bottom: 0.3rem;
}
.mp-chart {
	display: flex;
	align-items: flex-end;
	gap: 0.22rem;
	height: 52px;
}
.mp-bar {
	flex: 1;
	border-radius: 2px 2px 0 0;
}
.mp-months {
	display: flex;
	gap: 0.22rem;
	margin-top: 0.12rem;
}
.mp-months span {
	flex: 1;
	font-size: 0.35rem;
	color: #9ca3af;
	text-align: center;
}

/* Drag overlay — prevents cursor flicker when pointer leaves the handle */
.hero-mock.is-dragging::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 10;
	cursor: grabbing;
}

@media (max-width: 480px) {
	.vitrine-fg-hero__visual {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
 * §2 — Notre solution — 4 feature cards
 * ------------------------------------------------------------------------- */
.vitrine-fg-solution__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	align-items: start;
}
.vitrine-fg-solution__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
}
.vitrine-fg-solution__icon-holder {
	width: 100px;
	height: 100px;
	border-radius: 12px;
	background: var(--fg-blue-50);
	color: var(--fg-cta);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.vitrine-fg-solution__card-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--fg-space);
	margin: 0;
}
.vitrine-fg-solution__card-desc {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--fg-blue-900);
	margin: 0;
	max-width: 266px;
}

@media (max-width: 1024px) {
	.vitrine-fg-solution__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2.5rem 1.5rem;
	}
}
@media (max-width: 640px) {
	.vitrine-fg-solution__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------------
 * §2 — Solution card icon animations
 * ------------------------------------------------------------------------- */

/* 1. Devices — whole-icon hover (paths are structurally inseparable) */
.dv-icon {
	transition: transform 0.3s ease;
	display: block;
}
.vitrine-fg-solution__card:hover .dv-icon {
	transform: scale(1.02) translateY(-2px);
}

/* 2. HardDrives — ambient LED pulse, chassis static */
@keyframes hd-led-pulse-1 {
	0%,
	100% {
		opacity: 0.4;
	}
	50% {
		opacity: 1;
	}
}
@keyframes hd-led-pulse-2 {
	0%,
	100% {
		opacity: 0.3;
	}
	50% {
		opacity: 1;
	}
}
.hd-led-1 {
	animation: hd-led-pulse-1 1.2s ease-in-out infinite;
}
.hd-led-2 {
	animation: hd-led-pulse-2 1.8s ease-in-out infinite;
}

/* 3. CloudCheck — checkmark path-draw on hover */
.cc-check {
	transition: stroke-dashoffset 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.vitrine-fg-solution__card:hover .cc-check {
	stroke-dashoffset: 0;
}

/* ---------------------------------------------------------------------------
 * §3 — Clients band
 * ------------------------------------------------------------------------- */
.vitrine-fg-clients {
	background: var(--fg-blue-100);
}
.vitrine-fg-clients__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.vitrine-fg-clients__logos-wrap {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	position: relative;
}
.vitrine-fg-clients__logos-wrap::before,
.vitrine-fg-clients__logos-wrap::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	width: 100px;
	z-index: 2;
	pointer-events: none;
}
.vitrine-fg-clients__logos-wrap::before {
	left: 0;
	background: linear-gradient(to right, #dae4f8, transparent);
}
.vitrine-fg-clients__logos-wrap::after {
	right: 0;
	background: linear-gradient(to left, #dae4f8, transparent);
}
.vitrine-fg-clients__track {
	display: flex;
	align-items: center;
	gap: 3rem;
	width: max-content;
	animation: clients-marquee 22s linear infinite;
}
.vitrine-fg-clients__item {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.vitrine-fg-clients__logo {
	height: 50px;
	width: auto;
	display: block;
}
@keyframes clients-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.vitrine-fg-clients__track {
		animation: none;
	}
}

@media (max-width: 768px) {
	.vitrine-fg-clients__inner {
		justify-content: center;
		text-align: center;
	}
}

/* ---------------------------------------------------------------------------
 * §4 — Nos points forts — navy 3×2 grid
 * ------------------------------------------------------------------------- */
.vitrine-fg-strong {
	background: var(--fg-bg-navy);
}
.vitrine-fg-strong__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}
.vitrine-fg-strong__card {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 20px;
	min-height: 420px;
	background: var(--fg-blue-800);
	border-radius: var(--fg-radius-card);
	border-bottom: 3px solid var(--fg-blue-300);
	color: #fff;
}
.vitrine-fg-strong__card--media {
	padding: 0;
	overflow: hidden;
	border-bottom: none;
}
.vitrine-fg-strong__card--media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: var(--fg-radius-card);
}
.vitrine-fg-strong__icon {
	color: #fff;
	display: inline-flex;
}
.vitrine-fg-strong__card-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
	color: #fff;
}
.vitrine-fg-strong__card-desc {
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
	color: #fff;
}

@media (max-width: 1024px) {
	.vitrine-fg-strong__grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.vitrine-fg-strong__card {
		min-height: auto;
	}
	.vitrine-fg-strong__card--media {
		aspect-ratio: 4 / 3;
	}
}
@media (max-width: 640px) {
	.vitrine-fg-strong__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------------
 * §5 — Comment ça fonctionne — 3 numbered steps with connecting line
 * ------------------------------------------------------------------------- */
.vitrine-fg-how__grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	align-items: start;
}
/* Dashed connector line — between rows of icons */
.vitrine-fg-how__grid::before {
	content: "";
	position: absolute;
	top: 122px;
	left: 16%;
	right: 16%;
	height: 0;
	border-top: 2px dashed var(--fg-blue-300);
	z-index: 0;
}
.vitrine-fg-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	text-align: center;
	position: relative;
	z-index: 1;
}
.vitrine-fg-step__number {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--fg-cta);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1;
}
.vitrine-fg-step__icon-holder {
	width: 100px;
	height: 100px;
	border-radius: 12px;
	background: var(--fg-blue-50);
	color: var(--fg-cta);
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.vitrine-fg-step__title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--fg-space);
	margin: 0;
	max-width: 320px;
}
.vitrine-fg-step__desc {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--fg-blue-900);
	margin: 0;
	max-width: 280px;
}

@media (max-width: 1024px) {
	.vitrine-fg-how__grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	.vitrine-fg-how__grid::before {
		display: none;
	}
}

/* ---------------------------------------------------------------------------
 * §6 — La documentation — 2 cards with arrow CTA
 * ------------------------------------------------------------------------- */
.vitrine-fg-doc {
	background: radial-gradient(
		ellipse 60% 80% at 75% 50%,
		rgba(37, 99, 235, 0.08) 0%,
		var(--fg-blue-100) 100%
	);
}
.vitrine-fg-doc__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 80px;
	max-width: 880px;
	margin: 0 auto;
}
.vitrine-fg-doc__card {
	display: flex;
	gap: 20px;
	padding: 20px;
	background: #fff;
	border: 1px solid var(--fg-blue-300);
	border-radius: var(--fg-radius-card);
	text-decoration: none;
	color: inherit;
	transition:
		transform 220ms ease,
		box-shadow 220ms ease;
}
.vitrine-fg-doc__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px -8px rgba(20, 28, 82, 0.15);
}
.vitrine-fg-doc__icon {
	color: var(--fg-space);
	display: inline-flex;
	flex-shrink: 0;
}
.vitrine-fg-doc__body {
	display: flex;
	flex-direction: column;
	gap: 20px;
	flex: 1;
}
.vitrine-fg-doc__card-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--fg-space);
	margin: 0;
}
.vitrine-fg-doc__card-desc {
	font-size: 1rem;
	line-height: 1.5;
	color: var(--fg-blue-900);
	margin: 0;
}
.vitrine-fg-doc__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	font-weight: 500;
	color: var(--fg-cta);
	margin-top: auto;
}
.vitrine-fg-doc__cta-arrow {
	display: inline-flex;
	transition: transform 200ms ease;
}
.vitrine-fg-doc__card:hover .vitrine-fg-doc__cta-arrow {
	transform: translateX(4px);
}

@media (max-width: 768px) {
	.vitrine-fg-doc__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ---------------------------------------------------------------------------
 * §7 — L'alliance — navy + perspective image
 * ------------------------------------------------------------------------- */
.vitrine-fg-alliance {
	background: var(--fg-bg-navy);
	position: relative;
	overflow: hidden;
	min-height: 832px;
}
.vitrine-fg-alliance__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
	text-align: center;
	position: relative;
	z-index: 1;
}
.vitrine-fg-alliance__brand {
	margin-bottom: 1rem;
	color: #fff;
}
.vitrine-fg-alliance__brand-text {
	font-size: 2.5rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #fff;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
}
.vitrine-fg-alliance__brand-logo {
	height: 40px;
	width: auto;
	display: block;
}
.vitrine-fg-alliance__brand-sub {
	font-size: 1rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.7);
	margin-top: 4px;
}
.vitrine-fg-alliance__lead {
	font-size: 1rem;
	line-height: 1.5;
	color: #fff;
	max-width: 720px;
	margin: 0;
}
.vitrine-fg-alliance__visual {
	position: absolute;
	left: 50%;
	bottom: -80px;
	width: 960px;
	max-width: 90%;
	transform: translateX(-50%) rotate(7.88deg);
	pointer-events: none;
	opacity: 0.75;
}
.vitrine-fg-alliance__visual img {
	width: 100%;
	height: auto;
	display: block;
}

@media (prefers-reduced-motion: reduce) {
	.vitrine-fg-alliance__visual {
		transform: translateX(-50%);
	}
}

/* ---------------------------------------------------------------------------
 * §8 — Contact form card
 * ------------------------------------------------------------------------- */
.vitrine-fg-contact-section {
	background: #fff;
}
.vitrine-fg-contact {
	background: var(--fg-blue-100);
	border-radius: 16px;
	border-bottom: 12px solid var(--fg-blue-700);
	padding: clamp(32px, 5vw, 60px);
	max-width: 952px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.vitrine-fg-contact__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.vitrine-fg-contact__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.vitrine-fg-contact__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.vitrine-fg-contact input,
.vitrine-fg-contact select,
.vitrine-fg-contact textarea {
	height: 40px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--fg-border-soft);
	border-radius: var(--fg-radius-input);
	font-size: 0.875rem;
	font-family: inherit;
	color: var(--fg-blue-900);
	width: 100%;
	transition:
		border-color 200ms ease,
		box-shadow 200ms ease;
}
.vitrine-fg-contact textarea {
	height: auto;
	min-height: 120px;
	padding: 12px;
	resize: vertical;
	line-height: 1.5;
}
.vitrine-fg-contact input::placeholder,
.vitrine-fg-contact textarea::placeholder,
.vitrine-fg-contact select:invalid {
	color: var(--fg-text-muted);
}
.vitrine-fg-contact input:focus,
.vitrine-fg-contact select:focus,
.vitrine-fg-contact textarea:focus {
	outline: none;
	border-color: var(--fg-cta);
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.vitrine-fg-contact__submit {
	align-self: center;
	min-width: 120px;
	justify-content: center;
}

@media (max-width: 640px) {
	.vitrine-fg-contact__row {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------------------
 * Footer Figma redesign
 * ------------------------------------------------------------------------- */
.mk-footer--figma {
	background: var(--fg-bg-navy);
	color: #fff;
	padding: 20px clamp(20px, 5vw, 140px);
}
.mk-footer--figma .mk-footer__inner {
	max-width: var(--fg-max-width);
	margin: 0 auto;
}
.mk-footer--figma .mk-footer__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 48px;
	padding: 20px 0;
	border-bottom: 1px solid #fff;
	min-height: 170px;
}
.mk-footer--figma .mk-footer__brand {
	/* WCAG 2.5.5 AAA touch target : padding-block 12 ajoute hit area
     (logo 24px + 12+12 = 48px hauteur). */
	display: inline-flex;
	flex-direction: column;
	padding: 12px 0;
	text-decoration: none;
	color: #fff;
}
.mk-footer--figma .mk-footer__brand-name {
	font-weight: 700;
	font-size: 1.5rem;
}
.mk-footer--figma .mk-footer__brand-logo {
	height: 24px;
	width: auto;
	display: block;
}
.mk-footer--figma .mk-footer__brand-sub {
	font-weight: 500;
	font-size: 0.75rem;
	opacity: 0.85;
}
.mk-footer--figma .mk-footer__cols {
	display: flex;
	gap: 48px;
}
.mk-footer--figma .mk-footer__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: #fff;
}
.mk-footer--figma .mk-footer__heading {
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 0;
	color: #fff;
}
.mk-footer--figma .mk-footer__address {
	font-style: normal;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #fff;
	font-weight: 400;
}
.mk-footer--figma .mk-footer__col nav {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.mk-footer--figma .mk-footer__col nav a {
	/* Touch target ≥ 44×44 (WCAG 2.5.5 AAA / mobile best practice).
     Padding vertical augmente la hit area sans modifier le layout visuel
     (gap entre liens absorbe). display:inline-block requis pour que le
     padding s'applique sur les <a>. */
	display: inline-block;
	padding: 12px 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #fff;
	text-decoration: none;
	font-weight: 400;
}
.mk-footer--figma .mk-footer__col nav a:hover {
	text-decoration: underline;
}
/* Compense le padding ajouté pour préserver la spacing visuelle existante */
.mk-footer--figma .mk-footer__col nav {
	gap: 0;
}
.mk-footer__social-link {
	/* WCAG 2.5.5 AAA touch target ≥44×44 (était 32×32 — fail mobile best practice).
     Le visuel SVG reste 32, padding centré ajoute le hit area. */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
	width: 44px;
	height: 44px;
}
.mk-footer__social-link img {
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 50%;
}
.mk-footer--figma .mk-footer__legal-band {
	padding: 20px 0;
	text-align: center;
	font-size: 0.75rem;
	color: #fff;
}
.mk-footer--figma .mk-footer__legal-band p {
	margin: 0;
}

@media (max-width: 1024px) {
	.mk-footer--figma .mk-footer__top {
		flex-direction: column;
		gap: 32px;
	}
	.mk-footer--figma .mk-footer__cols {
		flex-wrap: wrap;
		gap: 32px;
	}
}

/* Newsletter col — small form in footer */
.mk-footer--figma .mk-footer__col--newsletter {
	max-width: 280px;
}
.mk-footer__newsletter-lead {
	font-size: 0.875rem;
	line-height: 1.4;
	margin: 0;
}
.mk-footer__newsletter-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 8px 0;
}
.mk-footer__newsletter-form input[type="email"] {
	height: 40px;
	padding: 0 12px;
	background: #fff;
	border: 1px solid var(--fg-border-soft);
	border-radius: var(--fg-radius-input);
	font-size: 0.875rem;
	color: var(--fg-blue-900);
	font-family: inherit;
}
.mk-footer__newsletter-form input[type="email"]::placeholder {
	color: var(--fg-text-muted);
}
.mk-footer__newsletter-form input[type="email"]:focus {
	outline: 2px solid var(--fg-cta);
	outline-offset: 2px;
}
.mk-footer__newsletter-form .btn--cta {
	align-self: flex-start;
}
.mk-footer__newsletter-note {
	font-size: 0.75rem;
	line-height: 1.4;
	margin: 0;
	color: #fff;
	opacity: 0.7;
}
.mk-footer__newsletter-note a {
	color: #fff;
	text-decoration: underline;
}

/* Vitrine breadcrumb (B.2) — visible HTML next to JSON-LD BreadcrumbList */
.vitrine-breadcrumb {
	max-width: var(--fg-max-width, 1160px);
	margin: 0 auto;
	padding: 16px clamp(20px, 5vw, 140px) 0;
	font-size: 0.875rem;
	color: var(--fg-text-muted, #666);
}
.vitrine-breadcrumb ol {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.vitrine-breadcrumb li {
	display: inline-flex;
	align-items: center;
}
.vitrine-breadcrumb li:not(:last-child)::after {
	content: "›";
	margin-left: 0.5rem;
	color: var(--fg-text-muted, #666);
}
.vitrine-breadcrumb a {
	color: var(--fg-cta, #2563eb);
	text-decoration: none;
}
.vitrine-breadcrumb a:hover {
	text-decoration: underline;
}
.vitrine-breadcrumb li[aria-current="page"] {
	color: var(--fg-space, #141c52);
	font-weight: 500;
}

/* Glossary — DefinedTermSet Schema.org markup (C.6) */
.vitrine-glossary {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
}
.vitrine-glossary__item {
	padding: 1.25rem 1.5rem;
	background: var(--fg-blue-50, #ecf1fb);
	border-left: 4px solid var(--fg-cta, #2563eb);
	border-radius: 8px;
	scroll-margin-top: 130px;
}
.vitrine-glossary__item:target {
	background: var(--fg-blue-100, #dae4f8);
	outline: 2px solid var(--fg-cta, #2563eb);
}
.vitrine-glossary__term {
	margin: 0 0 0.5rem;
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--fg-space, #141c52);
}
.vitrine-glossary__term dfn {
	font-style: normal;
}
.vitrine-glossary__def {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--fg-blue-900, #0e182c);
}
@media (min-width: 768px) {
	.vitrine-glossary {
		grid-template-columns: 1fr 1fr;
	}
}

/* WCAG 2.2 — 2.5.8 Target Size (Minimum) AA : tous les targets ≥ 24×24px.
   .vitrine-anchor-dots__dot du design system fait 10×10. On expand le hit
   area via padding sans toucher au visuel (box-sizing: content-box garde
   width:10 pour le dot, le padding 7 ajoute 14 → 24 total). Le gap entre
   dots est de var(--s-3, 12px) ce qui laisse marge pour les paddings. */
.vitrine-anchor-dots__dot {
	box-sizing: content-box;
	padding: 7px;
	/* Centre le hit area sur le dot existant (sinon il décale visuellement). */
	background-clip: content-box;
}

/* WCAG 2.5.5 + iOS HIG + Material — touch target 48px (au-dessus du minimum
   24/44 WCAG, conformité multi-OS optimale). Variable réutilisable. */
:root {
	--touch-min: 48px;
}

/* CTA "Contacter un expert" : sur mobile étroit, le bouton .btn--cta peut
   tomber sous 44 de width quand placé dans un flex container — min-width
   force une hit area respectueuse. */
.btn--cta {
	min-width: var(--touch-min);
	/* height 44 existant + min-width 48 = hit area garantie even en flex shrink */
}

/* "En savoir plus" footer newsletter-note <a> : default inline link = 17px
   de hauteur. Padding-block ajoute hit area sans casser le flow texte. */
.mk-footer--figma .mk-footer__newsletter-note a {
	display: inline-block;
	padding: 8px 4px;
	/* Compense le margin pour éviter le décalage visuel inattendu */
	margin: -8px -4px;
}

/* Footer brand: déjà à 144×48 via padding 12 0 (commit chore a11y précédent),
   on bump pour atteindre --touch-min consistant sur tous OS. */
.mk-footer--figma .mk-footer__brand {
	min-height: var(--touch-min);
}

/* Heading clamp mobile — display-xl du design system est clamp(3.5rem, ...) =
   56px minimum, trop large sur 320px width. Lower bound réduit à 2.5rem (40px)
   pour respecter le content sans coupure horizontale. Upper bound 96px conservé. */
:root {
	--display-xl: clamp(2.5rem, 6vw + 1rem, 6rem);
}

/* Scroll-to-top button — apparaît après 1 viewport scroll (cf. scroll-to-top.js).
   Fixed bottom-right, hit area 48×48, focus visible distinct. */
.vitrine-scroll-top {
	position: fixed;
	bottom: 20px;
	right: 20px;
	width: var(--touch-min, 48px);
	height: var(--touch-min, 48px);
	display: none;
	align-items: center;
	justify-content: center;
	background: var(--fg-cta, #2563eb);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	z-index: 950;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition:
		transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
		opacity 200ms ease,
		background 200ms ease;
}
.vitrine-scroll-top.is-visible {
	display: inline-flex;
}
.vitrine-scroll-top:hover {
	transform: translateY(-2px);
	background: var(--fg-cta-hover, #1e40af);
}
.vitrine-scroll-top:focus-visible {
	outline: 3px solid var(--fg-cta, #2563eb);
	outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
	.vitrine-scroll-top {
		transition: none;
	}
	.vitrine-scroll-top:hover {
		transform: none;
	}
}

/* Footer enrichissement : SIREN + emails contact (RGAA 8.9 information
   identification de l'éditeur + facilité de contact pour signaler problèmes). */
.mk-footer--figma .mk-footer__siren {
	display: inline-block;
	margin-top: 8px;
	font-size: 0.75rem;
	font-variant-numeric: tabular-nums;
	opacity: 0.75;
}
.mk-footer--figma .mk-footer__contact-emails {
	margin: 12px 0 0 0;
	font-size: 0.875rem;
	line-height: 1.8;
}
.mk-footer--figma .mk-footer__contact-emails a {
	color: #fff;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-underline-offset: 2px;
	display: inline-block;
	padding: 4px 0;
}
.mk-footer--figma .mk-footer__contact-emails a:hover,
.mk-footer--figma .mk-footer__contact-emails a:focus-visible {
	text-decoration-color: #fff;
}

/* Newsletter consent checkbox (RGPD double opt-in explicite). */
.mk-footer--figma .mk-footer__newsletter-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 0.75rem;
	line-height: 1.4;
	cursor: pointer;
	padding: 4px 0;
}
.mk-footer--figma .mk-footer__newsletter-consent input[type="checkbox"] {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	margin-top: 2px;
	cursor: pointer;
}
.mk-footer--figma .mk-footer__newsletter-consent span {
	color: rgba(255, 255, 255, 0.85);
}

/* Plan du site (/plan-du-site) — RGAA 12.2 (plan du site). Layout simple
   à 2 colonnes sur desktop, 1 sur mobile. Bullets retirées (nav-like). */
.vitrine-plan {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}
@media (min-width: 768px) {
	.vitrine-plan {
		grid-template-columns: 1fr 1fr;
	}
}
.vitrine-plan__heading {
	font-size: 1.25rem;
	margin: 0 0 1rem 0;
	color: var(--fg-space, #141c52);
}
.vitrine-plan__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.vitrine-plan__item {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.vitrine-plan__link {
	font-weight: 600;
	color: var(--color-brand, #2563eb);
	text-decoration: none;
	padding: 6px 0;
	min-height: var(--touch-min, 48px);
	display: inline-flex;
	align-items: center;
}
.vitrine-plan__link:hover,
.vitrine-plan__link:focus-visible {
	text-decoration: underline;
}
.vitrine-plan__desc {
	font-size: 0.875rem;
	color: var(--fg-blue-900, #0e182c);
	opacity: 0.8;
}

/* Trust signals legal band — sobre texte avec bullets décoratives.
   Pas de claim certif non détenue (immatriculation PA dit "en cours"). */
.mk-footer--figma .mk-footer__trust {
	list-style: none;
	padding: 0;
	margin: 0 0 12px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	font-size: 0.75rem;
}
.mk-footer--figma .mk-footer__trust li {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.mk-footer--figma .mk-footer__trust span[aria-hidden] {
	color: var(--color-brand-mid, #5a8dee);
	font-size: 0.625rem;
}
.mk-footer--figma .mk-footer__trust-note {
	opacity: 0.7;
	font-style: italic;
}

/* Bottom nav fixe mobile — 3 CTAs principaux visibles ≤768px.
   Pattern mobile-first standard. Hide au scroll vers le bas (more screen
   real estate pour le content), show au scroll vers le haut. */
.vitrine-bottom-nav {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 940;
	background: #fff;
	border-top: 1px solid var(--color-border, #e5e7eb);
	padding: 8px 12px env(safe-area-inset-bottom, 8px) 12px;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(0);
	transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.vitrine-bottom-nav.is-hidden {
	transform: translateY(100%);
}
.vitrine-bottom-nav__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 4px;
}
.vitrine-bottom-nav__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	padding: 8px 4px;
	min-height: var(--touch-min, 48px);
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--fg-space, #141c52);
	text-decoration: none;
	text-align: center;
	border-radius: 8px;
	transition: background 150ms ease;
}
.vitrine-bottom-nav__link:hover,
.vitrine-bottom-nav__link:focus-visible {
	background: var(--color-surface-muted, #f1f5f9);
}
.vitrine-bottom-nav__link:focus-visible {
	outline: 2px solid var(--color-brand, #2563eb);
	outline-offset: -2px;
}
.vitrine-bottom-nav__icon {
	width: 20px;
	height: 20px;
	color: var(--color-brand, #2563eb);
}

@media (max-width: 768px) {
	.vitrine-bottom-nav {
		display: block;
	}
	/* Padding bas du body pour pas que le content soit caché derrière la nav */
	body {
		padding-bottom: 72px;
	}
	/* Scroll-top button décalé pour ne pas overlap la bottom nav */
	.vitrine-scroll-top {
		bottom: 84px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vitrine-bottom-nav {
		transition: none;
	}
}
