/* ==========================================================================
   Odevant — styles principaux
   ========================================================================== */

:root {
	--ink: #101014;
	--ink-2: #2b2b33;
	--muted: #6a6a75;
	--muted-2: #9b9ba5;
	--bg: #f6f6f4;
	--bg-2: #ececea;
	--card: #ffffff;
	--line: #e4e4e0;
	--line-2: #d4d4cf;

	--accent: #c4b5fd;
	--accent-soft: #eeeafe;
	--accent-ink: #4b3a9c;

	--sans: "Google Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "Google Sans Code", ui-monospace, "SFMono-Regular", Consolas, monospace;

	--r-sm: 6px;
	--r: 10px;
	--r-lg: 16px;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 68px;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }

h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; letter-spacing: -0.03em; }
p { margin: 0; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--ink); color: #fff;
	border-radius: var(--r-sm);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.icon { width: 1em; height: 1em; flex: none; }

/* Étiquette mono */
.label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--muted);
}
.label::before {
	content: "";
	width: 6px; height: 6px;
	background: var(--accent);
	border-radius: 1px;
}

.chip {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: var(--r-sm);
	background: var(--accent-soft);
	color: var(--accent-ink);
	font-family: var(--mono);
	font-size: 11.5px;
	line-height: 1.5;
}

.muted { color: var(--muted-2); }

mark {
	background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 90%, transparent 90%);
	color: inherit;
	padding-inline: 1px;
}

/* ---------- Boutons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border-radius: var(--r-sm);
	border: 1px solid transparent;
	font-size: 14.5px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn .icon { transition: transform 0.3s var(--ease); }
.btn:hover .icon-arrow,
.btn:hover .icon-arrow-ur { transform: translateX(3px); }
.btn:hover .icon-arrow-l { transform: translateX(-3px); }

.btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: #b3a1fb; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14.5px;
	font-weight: 500;
	border-bottom: 1px solid var(--line-2);
	padding-bottom: 3px;
	transition: border-color 0.2s;
}
.link-arrow .icon { transition: transform 0.3s var(--ease); }
.link-arrow:hover { border-color: var(--ink); }
.link-arrow:hover .icon { transform: translateX(3px); }

.link-back {
	display: inline-flex; align-items: center; gap: 6px;
	font-size: 14px; color: var(--muted);
	transition: color 0.2s;
}
.link-back:hover { color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	transition: background-color 0.25s, box-shadow 0.25s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header.is-scrolled {
	background: rgba(246, 246, 244, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	height: var(--header-h);
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.brand { display: inline-flex; align-items: center; justify-self: start; color: var(--ink); line-height: 0; }
.brand__logo { height: 28px; width: auto; transition: opacity 0.2s; }
.brand:hover .brand__logo { opacity: 0.65; }
.custom-logo-link { justify-self: start; }
.custom-logo { max-height: 32px; width: auto; }

.site-nav .nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
	position: relative;
	display: block;
	padding: 8px 12px;
	font-size: 14px;
	color: var(--muted);
	transition: color 0.2s;
}
.site-nav a:hover { color: var(--ink); }
.site-nav .current-menu-item > a { color: var(--ink); }
.site-nav .current-menu-item > a::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 2px;
	height: 2px;
	background: var(--accent);
}

.site-header__cta { justify-self: end; height: 36px; padding: 0 14px; font-size: 13.5px; }

.nav-toggle {
	display: none;
	justify-self: end;
	width: 40px; height: 40px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-2);
	background: transparent;
	align-items: center; justify-content: center;
	cursor: pointer;
}

.mobile-nav { padding: 8px var(--gutter) 24px; background: var(--bg); border-bottom: 1px solid var(--line); }
.mobile-nav .nav-list { list-style: none; margin: 0 0 16px; padding: 0; }
.mobile-nav .nav-list a {
	display: block;
	padding: 14px 0;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.02em;
	border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { width: 100%; }

@media (max-width: 900px) {
	.site-header__inner { grid-template-columns: 1fr auto; }
	.site-nav, .site-header__cta { display: none; }
	.nav-toggle { display: inline-flex; }
	.site-header.is-open { background: var(--bg); }
}

/* ---------- Sections ---------- */
.site-main { padding-top: var(--header-h); }
.section { padding-block: clamp(72px, 9vw, 120px); }
.section--tight { padding-top: 16px; }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.section-head .label { margin-bottom: 14px; }
.section-head--split {
	max-width: none;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.section-title {
	font-size: clamp(1.75rem, 3.2vw, 2.6rem);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.035em;
}
.section-title em,
.page-hero__title em,
.hero__title em { font-style: normal; color: var(--muted-2); }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__head .label { margin-bottom: 20px; }
.hero__title {
	max-width: 15ch;
	font-size: clamp(2.4rem, 5.4vw, 4.25rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.045em;
}
.hero__title em { display: block; }
.hero__row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 48px;
	flex-wrap: wrap;
	margin-top: 28px;
}
.hero__lead { max-width: 470px; font-size: 16.5px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.hero-stage { margin-top: clamp(40px, 6vw, 72px); }

/* ==========================================================================
   Maquette animée (hero) — dimensions en cqw
   ========================================================================== */
.mk { --skel: #e9e8ee; --skel-2: #dcdae4; }

.mk-steps {
	display: flex;
	gap: 6px;
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	font-family: var(--mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.mk-steps li {
	position: relative;
	flex: 1;
	max-width: 220px;
	padding: 0 0 10px;
	color: var(--muted-2);
	transition: color 0.3s;
}
.mk-steps li span { margin-right: 8px; }
.mk-steps li::before,
.mk-steps li::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--line);
}
.mk-steps li::after {
	background: var(--ink);
	transform: scaleX(0);
	transform-origin: left;
}
.mk-steps li.is-active { color: var(--ink); }
.mk-steps li.is-active::after { transform: scaleX(1); transition: transform 2.5s linear; }
.mk-steps li[data-step="3"].is-active::after { transition-duration: 4.6s; }
.mk-steps li.is-done { color: var(--ink-2); }
.mk-steps li.is-done::after { transform: scaleX(1); }

.mk-window {
	position: relative;
	container-type: inline-size;
	background: #fff;
	border: 1px solid var(--line-2);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 16, 20, 0.04), 0 24px 48px -28px rgba(16, 16, 20, 0.22);
}

.mk-bar {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 1.1cqw 1.6cqw;
	background: #fafafa;
	border-bottom: 1px solid var(--line);
}
.mk-dots { display: flex; gap: 0.6cqw; }
.mk-dots i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #e1e1e5; }
.mk-url {
	display: grid;
	width: 34cqw;
	padding: 0.55cqw 1.4cqw;
	border-radius: 0.6cqw;
	background: #f0f0f2;
	font-family: var(--mono);
	font-size: 1.1cqw;
	color: var(--muted);
	text-align: center;
}
.mk-url > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 0.5cqw; transition: opacity 0.4s; }
.mk-url svg { width: 1.2cqw; height: 1.2cqw; fill: none; stroke: currentColor; stroke-width: 1.4; }
.mk-url__live { opacity: 0; color: var(--ink); }
.mk.is-live .mk-url__dev { opacity: 0; }
.mk.is-live .mk-url__live { opacity: 1; }

.mk-page {
	position: relative;
	padding: 2.4cqw 4cqw 4cqw;
	transition: opacity 0.5s;
}
.mk-grid {
	position: absolute;
	inset: 0 4cqw;
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 1.6cqw;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s;
}
.mk-grid i { background: rgba(196, 181, 253, 0.16); border-inline: 1px solid rgba(196, 181, 253, 0.3); }
.mk.is-structure .mk-grid { opacity: 1; }
.mk.is-design .mk-grid { opacity: 0; }

/* Bloc = squelette (.sk) + contenu (.ct) superposés */
.mk-b { position: relative; display: grid; }
.mk-b > .sk, .mk-b > .ct { grid-area: 1 / 1; }
.mk .sk {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.7cqw;
	opacity: 0;
	transform: translateY(0.8cqw);
	transition: opacity 0.45s var(--ease), transform 0.6s var(--ease);
	transition-delay: calc(var(--i, 0) * 80ms);
}
.mk .sk i { display: block; height: 1cqw; border-radius: 0.3cqw; background: var(--skel); }
.mk.is-structure .sk { opacity: 1; transform: none; }
.mk.is-design .sk { opacity: 0; transition-delay: calc(var(--i, 0) * 55ms); }

.mk .ct {
	opacity: 0;
	transform: translateY(0.4cqw);
	filter: blur(5px);
	transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease);
	transition-delay: calc(var(--i, 0) * 55ms + 120ms);
}
.mk.is-design .ct { opacity: 1; transform: none; filter: none; }

/* Nav */
.mk-nav { display: flex; align-items: center; justify-content: space-between; gap: 2cqw; margin-bottom: 6cqw; position: relative; }
.mk-logo .ct { font-size: 1.55cqw; font-weight: 600; letter-spacing: -0.03em; display: flex; align-items: center; gap: 0.6cqw; }
.mk-logo .ct b { width: 1.5cqw; height: 1.5cqw; border-radius: 0.3cqw; background: var(--ink); }
.mk-logo .sk i { height: 1.4cqw; }
.mk-links { display: flex; gap: 2.4cqw; margin-left: auto; margin-right: 1cqw; }
.mk-links .ct { font-size: 1.25cqw; color: var(--muted); }

/* Boutons */
.mk-btn .ct {
	display: inline-flex;
	align-items: center;
	padding: 1cqw 1.8cqw;
	border-radius: 0.6cqw;
	background: var(--ink);
	color: #fff;
	font-size: 1.3cqw;
	font-weight: 500;
	white-space: nowrap;
}
.mk-btn--sm .ct { padding: 0.7cqw 1.3cqw; font-size: 1.15cqw; }
.mk-btn--ghost .ct { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.mk-btn .sk { background: var(--skel); border-radius: 0.6cqw; }
.mk-btn--ghost .sk { background: transparent; box-shadow: inset 0 0 0 1px var(--skel-2); }

/* Hero de la maquette */
.mk-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4cqw; align-items: center; position: relative; }
.mk-kicker { margin-bottom: 1.8cqw; justify-self: start; }
.mk-kicker .ct { font-family: var(--mono); font-size: 1.05cqw; text-transform: uppercase; color: var(--muted); letter-spacing: 0.02em; }
.mk-kicker .sk i { height: 1cqw; width: 60% !important; }
.mk-h1 .ct { font-size: 4.3cqw; font-weight: 500; line-height: 1.04; letter-spacing: -0.045em; }
.mk-h1 .sk { gap: 1.1cqw; }
.mk-h1 .sk i { height: 3.4cqw; border-radius: 0.5cqw; }
.mk-p { margin: 2cqw 0 2.8cqw; max-width: 36cqw; }
.mk-p .ct { font-size: 1.35cqw; line-height: 1.55; color: var(--muted); }
.mk-actions { display: flex; gap: 1cqw; }

.mk-img { aspect-ratio: 1 / 0.86; border-radius: 1cqw; overflow: hidden; }
.mk-img .sk {
	border-radius: 1cqw;
	background:
		linear-gradient(to top right, transparent calc(50% - 1px), var(--skel-2) 50%, transparent calc(50% + 1px)),
		linear-gradient(to top left, transparent calc(50% - 1px), var(--skel-2) 50%, transparent calc(50% + 1px)),
		var(--skel);
}
.mk-art {
	position: relative;
	display: block;
	border-radius: 1cqw;
	background: linear-gradient(180deg, var(--accent-soft) 0 64%, #ddd4fd 64%);
	overflow: hidden;
}
.mk-art i { position: absolute; display: block; }
.mk-art .a1 { right: 14%; top: 12%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); }
.mk-art .a2 {
	left: 12%; bottom: 20%;
	width: 56%; height: 32%;
	border-radius: 0.3cqw;
	background:
		repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), rgba(255, 255, 255, 0.18) calc(25% - 1px) 25%),
		var(--ink);
}
.mk-art .a3 { left: 12%; top: 30%; width: 34%; height: 1.4%; background: var(--ink); }
.mk-art .a4 { left: 18%; top: 17%; width: 7%; height: 13%; border-radius: 40% 40% 0.3cqw 0.3cqw; background: #8b7cf6; }

/* Cartes */
.mk-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6cqw; margin-top: 5cqw; position: relative; }
.mk-card {
	padding: 1.8cqw;
	border-radius: 0.9cqw;
	border: 1px solid transparent;
	transition: border-color 0.4s;
}
.mk.is-structure .mk-card { border: 1px dashed var(--skel-2); }
.mk.is-design .mk-card { border: 1px solid var(--line); }
.mk-card .sk { justify-content: flex-start; }
.mk-card .sk b,
.mk-card .ct b { display: block; width: 2.6cqw; height: 2.6cqw; border-radius: 0.5cqw; margin-bottom: 1.2cqw; }
.mk-card .sk b { background: var(--skel); }
.mk-card .ct b { background: var(--accent-soft); box-shadow: inset 0 0 0 0.6cqw var(--accent-soft), inset 0 0 0 2cqw var(--accent); }
.mk-card .ct { font-size: 1.15cqw; line-height: 1.5; color: var(--muted); }
.mk-card .ct strong { display: block; font-size: 1.45cqw; font-weight: 500; color: var(--ink); margin-bottom: 0.4cqw; letter-spacing: -0.02em; }

/* Mise en ligne */
.mk-toast {
	position: absolute;
	right: 2cqw; top: 6.2cqw;
	display: inline-flex;
	align-items: center;
	gap: 0.8cqw;
	padding: 0.9cqw 1.5cqw;
	border-radius: 0.6cqw;
	background: var(--ink);
	color: #fff;
	font-family: var(--mono);
	font-size: 1.1cqw;
	opacity: 0;
	transform: translateY(-1cqw);
	transition: opacity 0.4s, transform 0.5s var(--ease);
}
.mk-toast span { width: 0.8cqw; height: 0.8cqw; border-radius: 50%; background: #4ade80; }
.mk.is-live .mk-toast { opacity: 1; transform: none; transition-delay: 1.6s; }

.mk-cursor {
	position: absolute;
	left: 92%; top: 96%;
	width: 2.4cqw; height: 2.4cqw;
	fill: var(--ink);
	stroke: #fff;
	stroke-width: 1.5;
	stroke-linejoin: round;
	opacity: 0;
	pointer-events: none;
	transition: left 1.2s var(--ease), top 1.2s var(--ease), opacity 0.3s, transform 0.15s;
}
.mk.is-live .mk-cursor { left: var(--cx, 20%); top: var(--cy, 70%); opacity: 1; }
.mk.is-click .mk-cursor { transform: scale(0.82); }
.mk [data-mk-target] { transition: transform 0.15s; }
.mk.is-click [data-mk-target] { transform: scale(0.95); }
.mk.is-click [data-mk-target] .ct { background: var(--accent); color: var(--ink); transition-delay: 0s; }

/* Réinitialisation de la boucle */
.mk.is-reset .mk-page,
.mk.is-reset .mk-toast,
.mk.is-reset .mk-cursor { opacity: 0; transition: opacity 0.5s; }

.mk.is-static * { transition: none !important; }

@media (max-width: 600px) {
	.mk-steps li span { display: none; }
	.mk-steps { font-size: 11px; }
}

/* ---------- Intro + marquee ---------- */
.intro { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.intro__grid {
	display: grid;
	grid-template-columns: 1fr 2.2fr;
	gap: 32px clamp(32px, 6vw, 96px);
}
.intro__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.intro__big {
	font-size: clamp(1.3rem, 2.2vw, 1.85rem);
	line-height: 1.3;
	letter-spacing: -0.03em;
	font-weight: 500;
}
.intro__big em { font-style: normal; }
.intro__small { margin-top: 24px; font-size: 15px; color: var(--muted); max-width: 560px; }
@media (max-width: 800px) { .intro__grid { grid-template-columns: 1fr; } }

.marquee {
	margin-top: clamp(56px, 7vw, 88px);
	border-block: 1px solid var(--line);
	overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
	display: inline-flex;
	align-items: center;
	gap: 28px;
	padding: 20px 28px 20px 0;
	font-size: 15px;
	color: var(--ink-2);
	white-space: nowrap;
}
.marquee__item::after { content: "/"; color: var(--muted-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Services ---------- */
.services__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid var(--ink);
}
.service-card {
	display: flex;
	flex-direction: column;
	padding: 24px 24px 28px 0;
	min-height: 300px;
	color: inherit;
	transition-delay: var(--d, 0ms);
}
.service-card + .service-card { padding-left: 24px; border-left: 1px solid var(--line); }
.service-card__num { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.service-card__title { margin-top: auto; padding-top: 56px; font-size: 21px; letter-spacing: -0.03em; }
.service-card__text { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.service-card__more {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: 20px;
	font-size: 13.5px; font-weight: 500;
	color: var(--muted);
	transition: color 0.2s;
}
.service-card__more .icon { transition: transform 0.3s var(--ease); }
.service-card:hover .service-card__more { color: var(--ink); }
.service-card:hover .service-card__more .icon { transform: translateX(3px); }
.service-card:hover .service-card__title { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Icône carrée (pages internes) */
.service-card__icon {
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: var(--r-sm);
	background: var(--accent-soft);
	color: var(--accent-ink);
}
.service-card__icon .icon { width: 20px; height: 20px; }

@media (max-width: 1000px) {
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.service-card:nth-child(3) { padding-left: 0; border-left: 0; }
	.service-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.services__grid { grid-template-columns: 1fr; }
	.service-card, .service-card + .service-card { padding-left: 0; border-left: 0; min-height: 0; }
	.service-card + .service-card { border-top: 1px solid var(--line); }
	.service-card__title { padding-top: 24px; }
}

/* ---------- Projets ---------- */
.projects { padding-top: 0; }
.projects__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(32px, 4vw, 48px) clamp(16px, 2.4vw, 28px);
}
.projects__grid > :nth-child(3n + 1) { grid-column: span 2; }
.projects__grid > :nth-child(3n + 1) .project-card__media { aspect-ratio: 16 / 8; }

.project-card__link { display: block; }
.project-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--r);
	overflow: hidden;
	background: var(--bg-2);
}
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.project-card__link:hover .project-card__media img { transform: scale(1.03); }
.project-card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: var(--accent-soft); }
.project-card__placeholder span { font-size: clamp(56px, 9vw, 120px); font-weight: 500; letter-spacing: -0.05em; color: var(--accent-ink); }
.project-card__go {
	position: absolute;
	right: 14px; bottom: 14px;
	display: grid; place-items: center;
	width: 40px; height: 40px;
	border-radius: var(--r-sm);
	background: #fff;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.25s, transform 0.4s var(--ease);
}
.project-card__link:hover .project-card__go { opacity: 1; transform: none; }

.project-card__body { padding-top: 16px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; }
.project-card__meta { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 10px; }
.project-card__year { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.project-card__title { grid-column: 1; grid-row: 1; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -0.03em; }
.project-card__client { grid-column: 1 / -1; color: var(--muted); font-size: 14.5px; }
.project-card.is-hidden { display: none; }

@media (max-width: 700px) {
	.projects__grid { grid-template-columns: 1fr; }
	.projects__grid > :nth-child(3n + 1) { grid-column: auto; }
	.projects__grid > :nth-child(3n + 1) .project-card__media { aspect-ratio: 4 / 3; }
}

.empty-state {
	padding: 56px 24px;
	text-align: center;
	border: 1px dashed var(--line-2);
	border-radius: var(--r);
	color: var(--muted);
	display: grid;
	justify-items: center;
	gap: 16px;
}

.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 36px; }
.filter {
	padding: 7px 14px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-2);
	background: transparent;
	font-size: 13.5px;
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Bandeau ---------- */
.band { padding-bottom: clamp(56px, 7vw, 96px); }
.band__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px, 3vw, 40px); }
.band__word { font-size: clamp(1.6rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.band__media { aspect-ratio: 16 / 9; max-height: 420px; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__word--logo { display: flex; justify-content: flex-end; line-height: 0; }
.band__logo { height: clamp(1.3rem, 3.2vw, 2.7rem); width: auto; color: var(--ink); }
@media (max-width: 700px) {
	.band__inner { grid-template-columns: 1fr 1fr; }
	.band__media { grid-column: 1 / -1; order: -1; }
}

/* ---------- Méthode ---------- */
.method__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.method__item { padding: 20px 24px 8px 0; transition-delay: var(--d, 0ms); }
.method__num { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted-2); margin-bottom: 32px; }
.method__title { font-size: 19px; letter-spacing: -0.03em; }
.method__text { margin-top: 8px; color: var(--muted); font-size: 14.5px; max-width: 250px; }
@media (max-width: 900px) { .method__list { grid-template-columns: repeat(2, 1fr); row-gap: 16px; } }
@media (max-width: 520px) { .method__list { grid-template-columns: 1fr; } .method__num { margin-bottom: 12px; } }

/* ---------- CTA ---------- */
.cta-band { padding-top: 0; }
.cta {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px clamp(32px, 6vw, 96px);
	align-items: end;
	padding: clamp(32px, 5vw, 56px);
	border-radius: var(--r-lg);
	background: var(--accent);
}
.cta .label { color: var(--ink-2); margin-bottom: 16px; }
.cta .label::before { background: var(--ink); }
.cta__title { font-size: clamp(1.75rem, 3.4vw, 2.75rem); letter-spacing: -0.04em; line-height: 1.05; max-width: 16ch; }
.cta__side p { color: var(--ink-2); margin-bottom: 20px; max-width: 360px; }
@media (max-width: 800px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Contact / Wizard ---------- */
.contact--page { padding-top: clamp(40px, 6vw, 72px); }
.contact__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.contact__intro .label { margin-bottom: 16px; }
.contact__lead { margin-top: 20px; color: var(--muted); max-width: 400px; }
.contact__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.contact__points li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.contact__points .icon,
.service-row__list .icon { width: 18px; height: 18px; padding: 3px; border-radius: 4px; background: var(--accent); stroke-width: 2.4; flex: none; }
.contact__direct { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact__direct .service-row__label { margin-bottom: 8px; }
.contact__direct a { display: inline-block; font-size: 16px; font-weight: 500; border-bottom: 1px solid var(--line-2); transition: border-color 0.2s; }
.contact__direct a:hover { border-color: var(--ink); }
@media (max-width: 960px) { .contact__grid { grid-template-columns: 1fr; } .contact__intro { position: static; } }

.wizard { background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); }
.wizard__top { padding: 20px clamp(20px, 3.5vw, 36px) 0; }
.wizard__steps { list-style: none; margin: 0 0 16px; padding: 0; display: flex; gap: 4px 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.wizard__steps li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted-2); transition: color 0.3s; }
.wizard__steps li span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; border: 1px solid var(--line-2); font-size: 11px; transition: all 0.3s; }
.wizard__steps li.is-active { color: var(--ink); }
.wizard__steps li.is-active span { background: var(--ink); border-color: var(--ink); color: #fff; }
.wizard__steps li.is-done { color: var(--ink-2); }
.wizard__steps li.is-done span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.wizard__progress { height: 2px; background: var(--line); }
.wizard__progress span { display: block; height: 100%; width: 25%; background: var(--ink); transition: width 0.6s var(--ease); }

.wizard__form { padding: clamp(24px, 3.5vw, 36px); }
.wizard__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.wizard__step.is-active { animation: stepIn 0.45s var(--ease); }
.wizard__step.is-back { animation-name: stepInBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
@keyframes stepInBack { from { opacity: 0; transform: translateX(-16px); } }

.wizard__q { font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; padding: 0; margin-bottom: 6px; }
.wizard__hint { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.wizard__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); margin: 24px 0 10px; }
.wizard__step[data-step="1"] .wizard__q { margin-bottom: 0; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	height: 100%;
	padding: 14px 40px 14px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	transition: border-color 0.15s, background-color 0.15s;
}
.choice__box strong { font-weight: 500; font-size: 15px; }
.choice__box small { font-size: 13px; color: var(--muted); line-height: 1.4; }
.choice:hover .choice__box { border-color: var(--ink); }
.choice__check {
	position: absolute;
	top: 14px; right: 12px;
	display: grid; place-items: center;
	width: 18px; height: 18px;
	border-radius: 4px;
	border: 1px solid var(--line-2);
	transition: all 0.15s;
}
.choice__check .icon { width: 12px; height: 12px; opacity: 0; stroke-width: 2.6; }
.choice input:checked + .choice__box { border-color: var(--ink); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:checked + .choice__box .choice__check { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:checked + .choice__box .choice__check .icon { opacity: 1; }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--ink); outline-offset: 2px; }

.pill-group { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { cursor: pointer; position: relative; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 14px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-2);
	font-size: 14px;
	transition: all 0.15s;
}
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.field { display: grid; gap: 6px; margin-top: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-size: 13.5px; font-weight: 500; }
.req { color: var(--accent-ink); }
.field input,
.field textarea {
	width: 100%;
	padding: 11px 13px;
	border: 1px solid var(--line-2);
	border-radius: var(--r-sm);
	background: #fff;
	font: inherit;
	font-size: 15px;
	color: var(--ink);
	transition: border-color 0.15s, box-shadow 0.15s;
	resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.has-error input,
.field.has-error textarea { border-color: #c62828; }

.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 20px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--ink); flex: none; }

.field-error { color: #c62828; font-size: 13px; }
.field-error:empty { display: none; }
.wizard__step > .field-error { margin-top: 10px; }
.form-error { margin-top: 18px; padding: 10px 14px; border-radius: var(--r-sm); background: #fdf0f0; color: #b71c1c; font-size: 14px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wizard__nav { display: flex; align-items: center; gap: 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.wizard__count { margin-right: auto; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.wizard__nav .btn[hidden] { display: none; }
.btn.is-loading { pointer-events: none; opacity: 0.6; }

.wizard__done { padding: 32px 0 16px; animation: stepIn 0.5s var(--ease); }
.wizard__done:focus { outline: none; }
.wizard__done-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--accent); margin-bottom: 20px; }
.wizard__done-icon .icon { width: 22px; height: 22px; stroke-width: 2.4; }

/* ---------- Pages internes ---------- */
.page-hero { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero--center { text-align: center; padding-bottom: 120px; }
.page-hero--center .label::before { display: none; }
.page-hero .label { margin-bottom: 16px; }
.page-hero__title {
	font-size: clamp(2.25rem, 4.8vw, 3.75rem);
	font-weight: 500;
	line-height: 1.04;
	letter-spacing: -0.045em;
	max-width: 18ch;
}
.page-hero--center .page-hero__title { margin-inline: auto; margin-bottom: 28px; }
.page-hero__lead { margin-top: 20px; max-width: 540px; color: var(--muted); font-size: 16.5px; }

.project-hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 40px); }
.project-hero .link-back { margin-bottom: 28px; }
.project-hero__title { font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.045em; max-width: 20ch; }
.project-hero__lead { margin-top: 20px; max-width: 620px; font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); }
.project-meta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px clamp(24px, 5vw, 56px); margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.project-meta dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.project-meta dd { margin: 0; font-weight: 500; font-size: 15px; }
.project-meta__cta { margin-left: auto; }

.project-cover img { width: 100%; border-radius: var(--r-lg); }

.project-content { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 6vw, 88px); padding-block: clamp(48px, 7vw, 88px); }
.project-content:not(:has(.project-stack)) { grid-template-columns: 1fr; }
.project-stack { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.project-stack ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 800px) { .project-content { grid-template-columns: 1fr; } .project-stack { position: static; } }

.project-next { display: block; padding-block: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); transition: background-color 0.3s; }
.project-next:hover { background: var(--accent-soft); }
.project-next .label { margin-bottom: 10px; }
.project-next__title { display: flex; align-items: center; gap: 14px; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.04em; }
.project-next__title .icon { width: 0.7em; height: 0.7em; transition: transform 0.4s var(--ease); }
.project-next:hover .project-next__title .icon { transform: translateX(8px); }

/* Contenu éditeur */
.entry-content { max-width: 720px; font-size: 16.5px; color: var(--ink-2); padding-bottom: 80px; }
.project-content .entry-content { padding-bottom: 0; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.035em; color: var(--ink); margin-top: 1.9em; }
.entry-content h3 { font-size: 1.2rem; color: var(--ink); margin-top: 1.7em; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--r); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry-content blockquote { margin-inline: 0; padding-left: 20px; border-left: 2px solid var(--accent); font-size: 1.3em; line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); }
.entry-content .alignwide { max-width: none; width: min(1100px, 100vw - var(--gutter) * 2); }
.entry-content .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }

/* Liste d'articles */
.post-list { border-top: 1px solid var(--ink); }
.post-row a { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-row time { font-family: var(--mono); color: var(--muted); font-size: 12.5px; }
.post-row h2 { font-size: clamp(18px, 2vw, 22px); letter-spacing: -0.03em; }
.post-row a:hover h2 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 600px) { .post-row a { grid-template-columns: 1fr auto; } .post-row time { grid-column: 1 / -1; } }

.pagination, .nav-links { display: flex; gap: 6px; justify-content: center; margin-top: 48px; }
.page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 14px; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Services (page) ---------- */
.service-jump { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; }
.service-jump a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-2);
	font-size: 14px;
	transition: border-color 0.2s;
}
.service-jump a:hover { border-color: var(--ink); }
.service-jump .icon { width: 16px; height: 16px; color: var(--accent-ink); }

.service-row {
	display: grid;
	grid-template-columns: 120px 1.3fr 1fr;
	gap: clamp(24px, 4vw, 56px);
	padding-block: clamp(36px, 5vw, 64px);
	border-top: 1px solid var(--line);
}
.service-row:first-child { border-top-color: var(--ink); }
.service-row__head { display: flex; flex-direction: column; gap: 16px; }
.service-row__num { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.service-row__title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.04em; line-height: 1.05; }
.service-row__text { margin: 16px 0 24px; color: var(--muted); font-size: 16px; max-width: 500px; }
.service-row__list { align-self: start; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.service-row__label { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.service-row__list ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-row__list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
@media (max-width: 960px) {
	.service-row { grid-template-columns: 1fr; }
	.service-row__head { flex-direction: row; align-items: center; }
}

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__media { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-2); }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__placeholder {
	width: 100%; height: 100%;
	display: grid; place-items: center;
	padding: 24px;
	text-align: center;
	background: var(--accent-soft);
	font-family: var(--mono);
	font-size: 12px;
	text-transform: uppercase;
	color: var(--accent-ink);
}
.about__text .intro__big em { font-style: normal; background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 90%, transparent 90%); }
.about__text .entry-content { padding-bottom: 0; margin-top: 24px; font-size: 16px; }
@media (max-width: 860px) { .about__grid { grid-template-columns: 1fr; } .about__media { aspect-ratio: 4 / 3; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: clamp(48px, 7vw, 88px) 0 0; border-top: 1px solid var(--ink); }
.stats__item { padding: 20px 24px 0 0; }
.stats__item + .stats__item { padding-left: 24px; border-left: 1px solid var(--line); }
.stats dt { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.stats dd { margin: 10px 0 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 700px) {
	.stats { grid-template-columns: 1fr; }
	.stats__item + .stats__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 20px; }
}

.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); min-height: 240px; display: flex; flex-direction: column; }
.value-card .service-card__title { padding-top: 40px; }
@media (max-width: 860px) { .values__grid { grid-template-columns: 1fr; } .value-card { min-height: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding-top: clamp(56px, 8vw, 96px); overflow: hidden; }
.site-footer .label { color: rgba(255, 255, 255, 0.5); margin-bottom: 16px; }
.site-footer__top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; }
.site-footer__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.04em; max-width: 18ch; }
.site-footer__title em { font-style: normal; color: rgba(255, 255, 255, 0.45); }
.site-footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.site-footer__label { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); margin-bottom: 14px; }
.footer-list, .site-footer .nav-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .footer-list a,
.site-footer .nav-list a { color: rgba(255, 255, 255, 0.85); transition: color 0.2s; font-size: 14.5px; word-break: break-word; }
.site-footer .footer-list a:hover,
.site-footer .nav-list a:hover { color: var(--accent); }
.site-footer .muted { color: rgba(255, 255, 255, 0.4); font-size: 14.5px; }

.site-footer__wordmark { margin-top: clamp(56px, 8vw, 96px); color: #fff; line-height: 0; }
.site-footer__logo { width: 100%; height: auto; display: block; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	padding: 24px 0 28px;
	margin-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-family: var(--mono);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}
.site-footer__bottom a:hover { color: #fff; }
.site-footer__bottom [data-to-top] { margin-left: auto; }
@media (max-width: 800px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------- Apparition au scroll ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
	transition-delay: var(--d, 0ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.js .reveal { opacity: 1; transform: none; }
}

/* Maquette : gabarit resserré */
.mk { max-width: 1060px; margin-inline: auto; }
.mk-page { padding-bottom: 3cqw; }
.mk-nav { margin-bottom: 4.6cqw; }
.mk-img { aspect-ratio: 1 / 0.76; }
.mk-cards { margin-top: 4cqw; }
.mk-toast { top: 10.5cqw; right: 3cqw; }

/* Visuels projets : on garde le haut (captures de sites) */
.project-card__media img,
.band__media img { object-position: top center; }

/* ==========================================================================
   Cadre navigateur (projets)
   ========================================================================== */
.browser {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line-2);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(16, 16, 20, 0.04), 0 18px 40px -24px rgba(16, 16, 20, 0.28);
}
.browser__bar {
	flex: none;
	display: grid;
	grid-template-columns: 1fr minmax(0, max-content) 1fr;
	align-items: center;
	gap: 10px;
	height: 30px;
	padding: 0 12px;
	background: #fafafa;
	border-bottom: 1px solid var(--line);
}
.browser__dots { display: flex; gap: 5px; }
.browser__dots i { width: 8px; height: 8px; border-radius: 50%; background: #dfdfe3; }
.browser__url {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
	padding: 3px 14px;
	border-radius: 5px;
	background: #f0f0f2;
	font-family: var(--mono);
	font-size: 11px;
	line-height: 1.4;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.browser__url svg { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; }
.browser__screen { position: relative; flex: 1; min-height: 0; overflow: hidden; background: var(--bg-2); }
.browser__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* Cartes : fenêtre posée sur un fond teinté, coupée en bas */
.project-card__media {
	display: flex;
	padding: 7% 7% 0;
	background: #ebeae6;
	transition: background-color 0.4s;
}
.projects__grid > :nth-child(3n + 1) .project-card__media { padding: 4.5% 9% 0; }
.project-card__media .browser {
	flex: 1;
	border-bottom: 0;
	border-radius: 10px 10px 0 0;
	transition: transform 0.6s var(--ease);
	transform-origin: bottom center;
}
.project-card__link:hover .project-card__media { background: var(--accent-soft); }
.project-card__link:hover .project-card__media .browser { transform: scale(1.015); }
.project-card__link:hover .project-card__media img { transform: none; }
.project-card__media .browser__screen img { transition: object-position 2.4s var(--ease); }
.project-card__placeholder { position: absolute; inset: 0; }

/* Fiche projet : fenêtre entière */
.project-cover { margin-block: 0; }
.project-cover__stage {
	padding: clamp(20px, 5vw, 64px);
	border-radius: var(--r-lg);
	background: #ebeae6;
}
.project-cover img { border-radius: 0; }
.browser--lg { max-width: 1040px; margin-inline: auto; }
.browser--lg .browser__bar { height: 38px; padding: 0 16px; }
.browser--lg .browser__dots i { width: 10px; height: 10px; }
.browser--lg .browser__url { font-size: 12px; padding: 4px 18px; }
.browser--lg .browser__screen img { height: auto; }

@media (max-width: 600px) {
	.browser__bar { height: 26px; padding: 0 10px; }
	.browser__dots i { width: 6px; height: 6px; }
	.browser__url { font-size: 10px; padding: 2px 10px; }
}

/* Cartes projet : écran au ratio des captures (16:10 = 1440×900), fenêtre entière */
.project-card__media,
.projects__grid > :nth-child(3n + 1) .project-card__media {
	display: block;
	aspect-ratio: auto;
	padding: 6%;
}
.projects__grid > :nth-child(3n + 1) .project-card__media { padding: 4% 6%; }
.projects__grid > :nth-child(3n + 1) .project-card__media .browser { max-width: 760px; margin-inline: auto; }
.project-card__media .browser {
	border-bottom: 1px solid var(--line-2);
	border-radius: 10px;
	transform-origin: center;
}
.project-card__media .browser__screen { flex: none; aspect-ratio: 16 / 10; }
@media (max-width: 600px) { .brand__logo { height: 24px; } }

/* ==========================================================================
   Intro d'arrivée (1 fois par visite)
   ========================================================================== */
.site-intro { display: none; }
.intro-active body { overflow: hidden; }
.intro-active .site-intro {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--gutter);
	background: var(--ink);
	color: #fff;
	animation: odv-intro-out 0.9s cubic-bezier(0.76, 0, 0.24, 1) 1.65s forwards;
}
.site-intro__inner { width: min(460px, 78vw); }
.site-intro__logo { overflow: hidden; line-height: 0; }
.site-intro__svg {
	width: 100%;
	height: auto;
	transform: translateY(105%);
	animation: odv-rise 0.9s var(--ease) 0.15s forwards;
}
.site-intro__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 22px;
	font-family: var(--mono);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.55);
	opacity: 0;
	animation: odv-fade 0.6s ease 0.55s forwards;
}
.site-intro__bar { flex: 1; height: 1px; background: rgba(255, 255, 255, 0.15); overflow: hidden; }
.site-intro__bar i {
	display: block;
	height: 100%;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	animation: odv-bar 1s cubic-bezier(0.65, 0, 0.35, 1) 0.55s forwards;
}
@keyframes odv-rise { to { transform: none; } }
@keyframes odv-fade { to { opacity: 1; } }
@keyframes odv-bar { to { transform: scaleX(1); } }
@keyframes odv-intro-out {
	0% { clip-path: inset(0 0 0 0); }
	100% { clip-path: inset(0 0 100% 0); }
}
.intro-active .site-intro__inner { animation: odv-lift 0.9s cubic-bezier(0.76, 0, 0.24, 1) 1.65s forwards; }
@keyframes odv-lift { to { transform: translateY(-60px); opacity: 0; } }

/* Le contenu attend la fin du rideau, puis apparaît en cascade */
.intro-active .reveal { opacity: 0 !important; transform: translateY(24px) !important; }
.hero__head > .reveal:nth-child(2) { --d: 90ms; }
.hero__head > .reveal:nth-child(3) { --d: 180ms; }
.hero-stage.reveal { --d: 280ms; }
.intro-done .hero .reveal { transition-duration: 1s; }

/* ==========================================================================
   Transitions de page (View Transitions API, navigateurs récents)
   ========================================================================== */
@view-transition { navigation: auto; }

.site-header { view-transition-name: site-header; }

::view-transition-old(root) {
	animation: odv-vt-out 0.5s cubic-bezier(0.76, 0, 0.24, 1) both;
}
::view-transition-new(root) {
	animation: odv-vt-in 0.75s cubic-bezier(0.76, 0, 0.24, 1) both;
}
@keyframes odv-vt-out {
	to { opacity: 0.4; transform: translateY(-40px) scale(0.98); filter: blur(3px); }
}
@keyframes odv-vt-in {
	from { clip-path: inset(100% 0 0 0); transform: translateY(60px); }
	to { clip-path: inset(0 0 0 0); transform: none; }
}

/* L'en-tête reste fixe pendant la transition */
::view-transition-group(site-header) { animation: none; z-index: 10; }
::view-transition-old(site-header) { animation: none; opacity: 0; }
::view-transition-new(site-header) { animation: none; }

/* Carte projet → image de la fiche : la fenêtre se déplace et s'agrandit */
::view-transition-group(*) { animation-duration: 0.75s; animation-timing-function: cubic-bezier(0.76, 0, 0.24, 1); }
::view-transition-group(root) { animation-duration: 0.75s; }
::view-transition-group(*.projet) { z-index: 5; }
::view-transition-image-pair(*.projet) { isolation: auto; }

@media (prefers-reduced-motion: reduce) {
	@view-transition { navigation: none; }
}

/* ==========================================================================
   Pied de page : illustration de la côte (Pornichet / La Baule)
   ========================================================================== */
.site-footer__wordmark { margin-bottom: clamp(-24px, -2vw, -8px); position: relative; z-index: 1; }
.ft-scene {
	position: relative;
	height: clamp(220px, 29vw, 460px);
	margin-top: clamp(32px, 5vw, 64px);
	line-height: 0;
	overflow: hidden;
}
.ft-scene__svg { width: 100%; height: 100%; display: block; }

.site-footer__base { background: var(--accent); color: var(--ink); margin-top: -1px; }
.site-footer__base .site-footer__bottom {
	margin-top: 0;
	padding: 18px var(--gutter) 22px;
	border-top: 0;
	color: rgba(16, 16, 20, 0.7);
}
.site-footer__base .site-footer__bottom a:hover { color: var(--ink); text-decoration: underline; }

/* Animations douces */
.ft-drift { animation: ft-drift 26s ease-in-out infinite alternate; }
.ft-gulls { animation: ft-gulls 18s ease-in-out infinite alternate; }
.ft-boat { animation: ft-sail 14s ease-in-out infinite alternate; }
.ft-boat--2 { animation-duration: 19s; animation-delay: -6s; }
.ft-boat--3 { animation-duration: 16s; animation-delay: -3s; }
.ft-waves path { animation: ft-shimmer 5s ease-in-out infinite alternate; }
.ft-waves path:nth-child(2) { animation-delay: -1.2s; }
.ft-waves path:nth-child(3) { animation-delay: -2.5s; }
.ft-waves path:nth-child(4) { animation-delay: -3.7s; }
@keyframes ft-drift { to { transform: translateX(40px); } }
@keyframes ft-gulls { to { transform: translate(-60px, -10px); } }
@keyframes ft-sail {
	0% { transform: translate(0, 0); }
	50% { transform: translate(18px, 1.5px); }
	100% { transform: translate(36px, 0); }
}
@keyframes ft-shimmer { from { opacity: 0.35; transform: translateX(0); } to { opacity: 1; transform: translateX(14px); } }

@media (max-width: 700px) {
	.site-footer__base .site-footer__bottom { flex-direction: column; gap: 6px; }
	.site-footer__base [data-to-top] { margin-left: 0; }
}
@media (max-width: 700px) {
	/* Mobile : on cadre sur la droite (pont de Saint-Nazaire, voiliers) */
	.ft-scene__svg { position: absolute; right: 0; bottom: 0; width: auto; max-width: none; aspect-ratio: 1600 / 460; }
}

/* ==========================================================================
   SEO local : H1 du hero, services ×5, zones, FAQ
   ========================================================================== */
h1.label { font-weight: 500; line-height: 1.4; letter-spacing: 0.02em; }

@media (min-width: 1101px) { .services__grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 601px) and (max-width: 1100px) {
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.service-card:nth-child(odd) { padding-left: 0; border-left: 0; }
	.service-card:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
	.service-card:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

.local { border-top: 1px solid var(--line); }
.local__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.local__head .label { margin-bottom: 14px; }
.local__text { margin-top: 20px; color: var(--muted); max-width: 460px; }
.zones { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.zones li {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px;
	border-radius: var(--r-sm);
	border: 1px solid var(--line-2);
	background: var(--card);
	font-size: 14.5px;
}
.zones .icon { width: 15px; height: 15px; color: var(--accent-ink); }
.zones__more { background: var(--accent) !important; border-color: var(--accent) !important; }
@media (max-width: 860px) { .local__grid { grid-template-columns: 1fr; } }

.faq { padding-top: 0; }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 0;
	font-size: 17px; font-weight: 500; letter-spacing: -0.02em;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 14px; height: 14px; flex: none; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }
.faq__item p { padding: 0 40px 22px 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page Tarifs
   ========================================================================== */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.offer {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 28px 24px 24px;
	border-radius: var(--r-lg);
	background: var(--card);
	border: 1px solid var(--line);
	transition-delay: var(--d, 0ms);
}
.offer--featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.offer__badge {
	position: absolute; top: -11px; left: 24px;
	padding: 3px 10px;
	border-radius: var(--r-sm);
	background: var(--accent); color: var(--ink);
	font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.03em;
}
.offer__title { font-size: 20px; letter-spacing: -0.03em; }
.offer__pitch { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 42px; }
.offer--featured .offer__pitch { color: rgba(255, 255, 255, 0.6); }
.offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 22px 0 6px; }
.offer__from { width: 100%; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--muted-2); }
.offer--featured .offer__from { color: rgba(255, 255, 255, 0.5); }
.offer__price strong { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; }
.offer__ht { font-size: 14px; color: var(--muted); }
.offer--featured .offer__ht { color: rgba(255, 255, 255, 0.6); }
.offer__delay { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.offer--featured .offer__delay { color: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.14); }
.offer__delay .icon { width: 14px; height: 14px; }
.offer__list { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.offer__list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.offer__list .icon { width: 16px; height: 16px; padding: 2px; margin-top: 1px; border-radius: 4px; background: var(--accent-soft); color: var(--accent-ink); stroke-width: 2.6; flex: none; }
.offer--featured .offer__list .icon { background: var(--accent); color: var(--ink); }
.offer__cta { width: 100%; }
.offer--featured .offer__cta.btn--dark { background: var(--accent); color: var(--ink); }
.offer--featured .offer__cta.btn--dark:hover { background: #fff; }
.offers__note { margin-top: 16px; font-size: 13px; color: var(--muted-2); }
@media (max-width: 1100px) { .offers { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }
@media (max-width: 600px) { .offers { grid-template-columns: 1fr; } .offer__pitch { min-height: 0; } }

/* Estimateur */
.estimator-section { border-top: 1px solid var(--line); }
.estimator__intro { max-width: 320px; color: var(--muted); font-size: 14.5px; }
.estimator {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--card);
	overflow: hidden;
}
.estimator__form { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 28px; }
.estimator__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.estimator__group[hidden] { display: none; }
.estimator__group legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 14px; font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.estimator__group legend span { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.estimator__hint { margin-top: 10px; font-size: 13px; color: var(--muted); }

.range { display: flex; align-items: center; gap: 16px; }
.range input[type="range"] { flex: 1; accent-color: var(--ink); height: 4px; cursor: pointer; }
.range output {
	min-width: 48px; text-align: center;
	padding: 6px 10px;
	border-radius: var(--r-sm);
	background: var(--accent-soft);
	font-family: var(--mono); font-size: 14px; font-weight: 500;
}

.estimator__options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.estimator__option {
	display: flex; align-items: center; gap: 10px;
	padding: 12px 14px;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	cursor: pointer;
	font-size: 14px;
	transition: border-color 0.15s, background-color 0.15s;
}
.estimator__option[hidden] { display: none; }
.estimator__option:hover { border-color: var(--ink); }
.estimator__option input { width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.estimator__option span { flex: 1; }
.estimator__option small { font-family: var(--mono); font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.estimator__option:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }

.estimator__result {
	display: flex; flex-direction: column;
	padding: clamp(24px, 3.5vw, 40px);
	background: var(--ink);
	color: #fff;
}
.estimator__result .label { color: rgba(255, 255, 255, 0.55); margin-bottom: 20px; }
.estimator__range { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.05; }
.estimator__range small { font-size: 0.6em; color: rgba(255, 255, 255, 0.4); }
.estimator__range [data-low], .estimator__range [data-high] { font-variant-numeric: tabular-nums; }
.estimator__ht { margin-top: 8px; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.estimator__meta { margin: 28px 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); display: grid; gap: 14px; }
.estimator__meta dt { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.estimator__meta dd { margin: 2px 0 0; font-size: 16px; }
.estimator__cta { margin-top: auto; background: var(--accent); color: var(--ink); }
.estimator__cta:hover { background: #fff; }
.estimator__small { margin-top: 10px; font-size: 12.5px; color: rgba(255, 255, 255, 0.45); }
@media (max-width: 900px) { .estimator { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .estimator__options { grid-template-columns: 1fr; } }

/* Maintenance */
.maintenance { border-top: 1px solid var(--line); }
.maintenance__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px clamp(40px, 6vw, 96px); align-items: start; }
.maintenance__grid .label { margin-bottom: 14px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { padding: 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); transition-delay: var(--d, 0ms); }
.plan__title { font-size: 18px; letter-spacing: -0.03em; }
.plan__price { margin-top: 10px; color: var(--muted); font-size: 14px; }
.plan__price strong { font-size: 30px; font-weight: 500; letter-spacing: -0.05em; color: var(--ink); }
.plan .offer__list { margin-bottom: 0; }
@media (max-width: 900px) { .maintenance__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

.factors { padding-top: 0; }

/* ==========================================================================
   En-tête flottant (v2)
   ========================================================================== */
:root { --header-h: 84px; }

.site-header,
.site-header.is-scrolled {
	inset: 12px 0 auto 0;
	padding-inline: var(--gutter);
	background: none;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	pointer-events: none;
	transition: transform 0.5s var(--ease);
}
.admin-bar .site-header { top: 44px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 58px; } }
.site-header.is-hidden { transform: translateY(calc(-100% - 24px)); }

.site-header__bar {
	pointer-events: auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	max-width: var(--container);
	height: 62px;
	margin-inline: auto;
	padding: 0 8px 0 20px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px solid rgba(16, 16, 20, 0.07);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 30px -16px rgba(16, 16, 20, 0.18);
	backdrop-filter: blur(18px) saturate(1.6);
	-webkit-backdrop-filter: blur(18px) saturate(1.6);
	transition: max-width 0.6s var(--ease), height 0.4s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled .site-header__bar {
	max-width: 1000px;
	height: 56px;
	background: rgba(255, 255, 255, 0.82);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 14px 40px -18px rgba(16, 16, 20, 0.28);
}
.site-header__bar .brand__logo { height: 24px; }

/* Navigation + pastille glissante */
.site-nav { position: relative; }
.site-nav .nav-list { position: relative; z-index: 1; gap: 2px; }
.site-nav a { padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--muted); }
.site-nav a:hover,
.site-nav .current-menu-item > a { color: var(--ink); }
.site-nav .current-menu-item > a::after {
	left: 50%; right: auto; bottom: 1px;
	width: 4px; height: 4px;
	border-radius: 50%;
	background: var(--ink);
	transform: translateX(-50%);
}
.site-nav__pill {
	position: absolute;
	z-index: 0;
	top: 0; left: 0;
	height: var(--pill-h, 36px);
	width: var(--pill-w, 0);
	transform: translate(var(--pill-x, 0), var(--pill-y, 0));
	border-radius: 10px;
	background: rgba(16, 16, 20, 0.06);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.25s;
}
.site-nav.has-pill .site-nav__pill { opacity: 1; }

/* Actions */
.site-header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.site-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	padding: 0 6px 0 16px;
	border-radius: 11px;
	background: var(--ink);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	transition: background-color 0.2s;
}
.site-header__cta:hover { background: var(--ink-2); }
.site-header__cta-icon {
	display: grid; place-items: center;
	width: 32px; height: 32px;
	border-radius: 8px;
	background: var(--accent);
	color: var(--ink);
	transition: transform 0.4s var(--ease);
}
.site-header__cta-icon .icon { width: 15px; height: 15px; }
.site-header__cta:hover .site-header__cta-icon { transform: rotate(45deg); }
.site-header.is-scrolled .site-header__cta { height: 40px; }
.site-header.is-scrolled .site-header__cta-icon { width: 28px; height: 28px; }

/* Bouton menu (burger → croix) */
.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 11px;
	background: var(--ink);
	color: #fff;
	align-items: center; justify-content: center;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
.nav-toggle__lines { position: relative; width: 18px; height: 10px; }
.nav-toggle__lines i {
	position: absolute; left: 0; right: 0;
	height: 1.6px;
	border-radius: 2px;
	background: currentColor;
	transition: transform 0.45s var(--ease), top 0.45s var(--ease);
}
.nav-toggle__lines i:first-child { top: 0; }
.nav-toggle__lines i:last-child { top: calc(100% - 1.6px); }
.nav-toggle[aria-expanded="true"] { background: var(--accent); color: var(--ink); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i { top: calc(50% - 0.8px); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:first-child { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines i:last-child { transform: rotate(-45deg); }

@media (max-width: 900px) {
	.site-header__bar { grid-template-columns: 1fr auto; padding-left: 16px; }
	.site-nav { display: none; }
	.site-header__cta { display: inline-flex; }
	.nav-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
	.site-header__cta { display: none; }
	.site-header__bar { height: 56px; }
}

/* Menu plein écran (mobile) */
.menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 99;
	display: flex;
	overflow-y: auto;
	padding: calc(var(--header-h) + 40px) var(--gutter) 32px;
	background: var(--ink);
	color: #fff;
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.7s cubic-bezier(0.76, 0, 0.24, 1);
}
.menu-overlay[hidden] { display: none; }
.menu-overlay.is-open { clip-path: inset(0 0 0 0); }
.menu-overlay__inner { display: flex; flex-direction: column; width: 100%; max-width: 640px; }
.menu-overlay .label { color: rgba(255, 255, 255, 0.45); }
.menu-overlay .nav-list { list-style: none; margin: 18px 0 40px; padding: 0; counter-reset: menu; }
.menu-overlay .nav-list li { counter-increment: menu; overflow: hidden; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.menu-overlay .nav-list a {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding: 12px 0;
	font-size: clamp(2.1rem, 10vw, 3.4rem);
	font-weight: 500;
	letter-spacing: -0.045em;
	line-height: 1.05;
	transform: translateY(110%);
	transition: transform 0.7s var(--ease), color 0.2s;
}
.menu-overlay .nav-list a::before { content: counter(menu, decimal-leading-zero); font-family: var(--mono); font-size: 12px; letter-spacing: 0; color: var(--accent); }
.menu-overlay .nav-list a:hover,
.menu-overlay .nav-list .current-menu-item > a { color: var(--accent); }
.menu-overlay.is-open .nav-list a { transform: none; }
.menu-overlay.is-open .nav-list li:nth-child(1) a { transition-delay: 0.18s; }
.menu-overlay.is-open .nav-list li:nth-child(2) a { transition-delay: 0.24s; }
.menu-overlay.is-open .nav-list li:nth-child(3) a { transition-delay: 0.30s; }
.menu-overlay.is-open .nav-list li:nth-child(4) a { transition-delay: 0.36s; }
.menu-overlay.is-open .nav-list li:nth-child(5) a { transition-delay: 0.42s; }
.menu-overlay.is-open .nav-list li:nth-child(6) a { transition-delay: 0.48s; }
.menu-overlay__foot {
	margin-top: auto;
	display: grid;
	gap: 10px;
	justify-items: start;
	opacity: 0;
	transform: translateY(12px);
	transition: opacity 0.5s, transform 0.6s var(--ease);
}
.menu-overlay.is-open .menu-overlay__foot { opacity: 1; transform: none; transition-delay: 0.5s; }
.menu-overlay__foot .btn { margin-bottom: 14px; }
.menu-overlay__mail { font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.menu-overlay__loc { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }

html.menu-open { overflow: hidden; }
html.menu-open .site-header__bar { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.12); box-shadow: none; }
html.menu-open .brand { color: #fff; }
html.menu-open .site-header__cta { background: #fff; color: var(--ink); }
.plan__price .offer__from { display: block; margin-bottom: 4px; }
.plan__note { margin-top: 10px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-ink); font-size: 13px; line-height: 1.45; }

/* ==========================================================================
   Questionnaire de devis (page privée)
   ========================================================================== */
.brief-page { padding-top: clamp(40px, 6vw, 72px); }
.brief-page__grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.brief-page__intro { position: sticky; top: calc(var(--header-h) + 24px); }
.brief-page__intro .label { margin-bottom: 16px; }
.brief-page__intro .page-hero__title { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }

.brief-outline { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.brief-outline li {
	display: flex; gap: 12px; align-items: baseline;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
	font-size: 14.5px;
	color: var(--muted-2);
	transition: color 0.3s;
}
.brief-outline li span { font-family: var(--mono); font-size: 11.5px; }
.brief-outline li.is-done { color: var(--ink-2); }
.brief-outline li.is-done span { color: var(--accent-ink); }
.brief-outline li.is-active { color: var(--ink); font-weight: 500; }
.brief-outline li.is-active span { color: var(--ink); }

.brief__step-name { margin: 0 0 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); }
.brief__step-name strong { color: var(--ink); font-weight: 500; }

.brief-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.brief-fields > * { grid-column: 1 / -1; }
.brief-fields > .field--half,
.brief-fields > .brief-q--half { grid-column: auto; }
.brief-q { border: 0; margin: 18px 0 0; padding: 0; min-width: 0; }
.brief-q__label { padding: 0; margin-bottom: 10px; font-size: 13.5px; font-weight: 500; }
.brief-q .field-error { margin-top: 8px; }

.brief-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.brief-check {
	display: flex; align-items: center; gap: 10px;
	padding: 11px 13px;
	border: 1px solid var(--line-2);
	border-radius: var(--r);
	font-size: 14px;
	cursor: pointer;
	transition: border-color 0.15s, background-color 0.15s;
}
.brief-check:hover { border-color: var(--ink); }
.brief-check input { width: 16px; height: 16px; accent-color: var(--ink); flex: none; }
.brief-check:has(input:checked) { border-color: var(--ink); background: var(--accent-soft); }
.brief-check:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.choice-grid--radio .choice__check { border-radius: 50%; }

.brief-recap { display: grid; gap: 10px; margin-bottom: 8px; }
.brief-recap__block { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.brief-recap__head {
	display: flex; justify-content: space-between; align-items: center;
	width: 100%;
	padding: 11px 14px;
	border: 0;
	background: var(--bg);
	font-size: 14px; font-weight: 500;
	text-align: left;
	cursor: pointer;
}
.brief-recap__head span { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; color: var(--accent-ink); }
.brief-recap__head:hover span { text-decoration: underline; }
.brief-recap dl { margin: 0; padding: 4px 14px 10px; }
.brief-recap dl > div { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.brief-recap dl > div:last-child { border-bottom: 0; }
.brief-recap dt { color: var(--muted); }
.brief-recap dd { margin: 0; white-space: pre-line; word-break: break-word; }
.brief-recap__empty { padding: 10px 14px; font-size: 13px; color: var(--muted-2); }

@media (max-width: 960px) {
	.brief-page__grid { grid-template-columns: 1fr; }
	.brief-page__intro { position: static; }
	.brief-outline { display: none; }
}
@media (max-width: 600px) {
	.brief-fields > .field--half,
	.brief-fields > .brief-q--half { grid-column: 1 / -1; }
	.brief-recap dl > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Pages légales
   ========================================================================== */
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 28px; }
.legal-nav a { padding: 7px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 14px; transition: border-color 0.2s; }
.legal-nav a:hover { border-color: var(--ink); }
.legal-nav a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.legal__content { max-width: 760px; }
.legal__content h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 2.2em; }
.legal__content ul { padding-left: 1.2em; }
.legal__content li + li { margin-top: 0.4em; }
.legal-list { margin: 0; border-top: 1px solid var(--line); }
.legal-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.legal-list dt { color: var(--muted); }
.legal-list dd { margin: 0; color: var(--ink); }
.legal-table { overflow-x: auto; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.legal-table th, .legal-table td { padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-table th { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--ink); }
.legal-table code { font-family: var(--mono); font-size: 12.5px; background: var(--accent-soft); color: var(--accent-ink); padding: 2px 6px; border-radius: 4px; }
mark.legal-todo { background: #fff1c2; color: #7a5a00; padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }
@media (max-width: 600px) { .legal-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* Liens légaux du pied de page */
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Hero : grille de points + titre mot par mot
   ========================================================================== */
.hero { position: relative; isolation: isolate; }
.hero > .container { position: relative; z-index: 1; }
.hero__dots {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	-webkit-mask-image: radial-gradient(ellipse 85% 70% at 40% 28%, #000 25%, transparent 80%);
	mask-image: radial-gradient(ellipse 85% 70% at 40% 28%, #000 25%, transparent 80%);
}

.js .hero__title .w {
	display: inline-block;
	overflow: hidden;
	vertical-align: top;
	padding-bottom: 0.12em;
	margin-bottom: -0.12em;
}
.js .hero__title .w > span {
	display: inline-block;
	transform: translateY(105%);
	transition: transform 0.9s var(--ease);
	transition-delay: calc(var(--i, 0) * 55ms + 120ms);
}
.js .hero__title.is-in .w > span { transform: none; }
.intro-active .hero__title .w > span { transform: translateY(105%) !important; }

/* ==========================================================================
   Effet au clic
   ========================================================================== */
.click-fx {
	--fx: #7c5cfc;
	position: fixed;
	z-index: 100000;
	width: 0; height: 0;
	pointer-events: none;
}
.click-fx--light { --fx: var(--accent); }
.click-fx__ring {
	position: absolute;
	left: -18px; top: -18px;
	width: 36px; height: 36px;
	border-radius: 50%;
	border: 1.5px solid var(--fx);
	transform: scale(0.2);
	opacity: 0.9;
	animation: click-ring 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.click-fx__spark {
	position: absolute;
	left: -1px; top: -6px;
	width: 2px; height: 6px;
	border-radius: 2px;
	background: var(--fx);
	transform-origin: 1px 6px;
	transform: rotate(var(--a)) translateY(-6px) scaleY(0.4);
	opacity: 0;
	animation: click-spark 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes click-ring {
	to { transform: scale(1); opacity: 0; border-width: 0.5px; }
}
@keyframes click-spark {
	0% { opacity: 1; transform: rotate(var(--a)) translateY(-6px) scaleY(0.4); }
	100% { opacity: 0; transform: rotate(var(--a)) translateY(-22px) scaleY(1); }
}

/* ==========================================================================
   Boutons : style unifié sur celui de l'en-tête
   (coins 11 px + pastille carrée contenant la flèche, qui pivote au survol)
   ========================================================================== */
.btn {
	--btn-icon-bg: var(--accent);
	--btn-icon-fg: var(--ink);
	height: 44px;
	gap: 10px;
	padding: 0 18px;
	border-radius: 11px;
	font-size: 14px;
}
.btn:has(> .icon) { padding-right: 6px; }
.btn:has(> .icon-arrow-l) { padding-left: 6px; padding-right: 18px; }
.btn > .icon {
	width: 32px;
	height: 32px;
	padding: 8px;
	border-radius: 8px;
	background: var(--btn-icon-bg);
	color: var(--btn-icon-fg);
	stroke-width: 1.8;
	transition: transform 0.4s var(--ease), background-color 0.2s, color 0.2s;
}
.btn:hover > .icon-arrow { transform: rotate(-45deg); }
.btn:hover > .icon-arrow-ur { transform: rotate(45deg); }
.btn:hover > .icon-arrow-l { transform: rotate(45deg); }

.btn--sm { height: 40px; padding: 0 14px; font-size: 13.5px; }
.btn--sm > .icon { width: 28px; height: 28px; padding: 7px; border-radius: 7px; }

/* Variantes */
.btn--dark { --btn-icon-bg: var(--accent); --btn-icon-fg: var(--ink); }
.btn--light { --btn-icon-bg: var(--accent); --btn-icon-fg: var(--ink); }
.btn--light:hover { --btn-icon-bg: var(--ink); --btn-icon-fg: #fff; }
.btn--accent { --btn-icon-bg: var(--ink); --btn-icon-fg: #fff; }
.btn--ghost { --btn-icon-bg: rgba(16, 16, 20, 0.06); --btn-icon-fg: var(--ink); }
.btn--ghost:hover { --btn-icon-bg: var(--accent); }

/* Boutons posés sur un fond violet → pastille sombre */
.offer--featured .offer__cta.btn--dark,
.estimator__cta { --btn-icon-bg: var(--ink); --btn-icon-fg: #fff; }
.offer--featured .offer__cta.btn--dark:hover,
.estimator__cta:hover { --btn-icon-bg: var(--accent); --btn-icon-fg: var(--ink); }

/* Chargement */
.btn.is-loading > .icon { animation: spin 1s linear infinite; }

/* Illustration À propos (à partir du logo) */
.about__media:has(.about-art) { background: var(--ink); }
.about-art { display: block; width: 100%; height: 100%; }
.about-art__outline { animation: about-drift 14s ease-in-out infinite alternate; transform-box: view-box; }
@keyframes about-drift {
	from { translate: 0 0; }
	to { translate: -14px 10px; }
}

/* ==========================================================================
   Flou progressif derrière l'en-tête
   Deux couches : flou léger sur toute la bande, flou fort tout en haut.
   ========================================================================== */
.site-header::before,
.site-header::after {
	content: "";
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.4s;
}
.site-header::before {
	height: 120px;
	background: linear-gradient(to bottom, rgba(246, 246, 244, 0.7), rgba(246, 246, 244, 0));
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	-webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent);
	mask-image: linear-gradient(to bottom, #000 35%, transparent);
}
.site-header::after {
	height: 70px;
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	-webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent);
	mask-image: linear-gradient(to bottom, #000 20%, transparent);
}
/* Visible dès qu'on a défilé (inutile tout en haut de page) */
.site-header.is-scrolled::before,
.site-header.is-scrolled::after { opacity: 1; }
/* Barre d'admin WordPress : la bande commence sous elle */
.admin-bar .site-header::before,
.admin-bar .site-header::after { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header::before,
	.admin-bar .site-header::after { top: 46px; }
}
/* Menu mobile ouvert : pas de flou (fond déjà opaque) */
html.menu-open .site-header::before,
html.menu-open .site-header::after { opacity: 0; }

/* ==========================================================================
   Accueil : slider des services
   ========================================================================== */
.slider-ctrl { display: flex; align-items: center; gap: 20px; }
.slider-ctrl__btns { display: flex; gap: 8px; }
.slider-btn {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	border-radius: 11px;
	border: 1px solid var(--line-2);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
}
.slider-btn .icon { width: 18px; height: 18px; }
.slider-btn:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.slider-btn:disabled { opacity: 0.35; cursor: default; }

.svc-track {
	--edge: max(var(--gutter), calc((100vw - var(--container)) / 2));
	display: flex;
	gap: 16px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--edge);
	margin-inline: calc(50% - 50vw);
	padding: 4px var(--edge) 8px;
	scrollbar-width: none;
	cursor: grab;
	outline-offset: -2px;
}
.svc-track::-webkit-scrollbar { display: none; }
.svc-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.svc-track.is-dragging .svc-card { pointer-events: none; }

.svc-card {
	flex: 0 0 clamp(270px, 27vw, 340px);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	min-height: 360px;
	padding: 26px;
	border-radius: var(--r-lg);
	border: 1px solid var(--line);
	background: var(--card);
	color: inherit;
	-webkit-user-drag: none;
	user-select: none;
	transition: border-color 0.25s, transform 0.5s var(--ease);
}
.svc-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.svc-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.svc-card__icon {
	display: grid; place-items: center;
	width: 46px; height: 46px;
	border-radius: 11px;
	background: var(--accent-soft);
	color: var(--accent-ink);
	transition: background-color 0.25s, color 0.25s;
}
.svc-card__icon .icon { width: 22px; height: 22px; }
.svc-card:hover .svc-card__icon { background: var(--accent); color: var(--ink); }
.svc-card__num { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.svc-card__title { margin-top: auto; padding-top: 48px; font-size: 22px; letter-spacing: -0.035em; }
.svc-card__text { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.svc-card__tags span { padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }
.svc-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-size: 13.5px; font-weight: 500; }
.svc-card__more .icon { width: 15px; height: 15px; transition: transform 0.3s var(--ease); }
.svc-card:hover .svc-card__more .icon { transform: translateX(4px); }

.svc-progress { position: relative; height: 2px; margin-top: 24px; background: var(--line); border-radius: 2px; overflow: hidden; }
.svc-progress span {
	position: absolute; top: 0; bottom: 0;
	left: var(--p-left, 0%);
	width: var(--p-width, 30%);
	background: var(--ink);
	border-radius: 2px;
	transition: left 0.15s linear, width 0.3s;
}

@media (max-width: 700px) {
	.slider-ctrl .link-arrow { display: none; }
	.svc-card { flex-basis: 82vw; min-height: 320px; }
}
