/* ---------- Reset ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
img,
svg {
	display: block;
	max-width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}
button {
	font: inherit;
	cursor: pointer;
	border: none;
}

/* ---------- Tokens ---------- */
:root {
	--bg: #ffffff;
	--surface: #f5f7fa;
	--border: #dfe5ec;
	--text: #0b1220;
	--muted: #5b6779;
	--accent: #16325c;
	--accent-hover: #0d2244;
	--accent-soft: rgba(22, 50, 92, 0.07);

	--font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	--display: "Space Grotesk", var(--font);
	--max: 1120px;
	--radius: 12px;
	--header-h: 68px;
}

/* ---------- Base ---------- */
html,
body {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 20px);
}
.header__inner {
	height: var(--header-h);
}
body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.container {
	max-width: var(--max);
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- Boutons ---------- */
.btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: var(--radius);
	font-weight: 500;
	font-size: 15px;
	transition:
		background 0.18s ease,
		opacity 0.18s ease;
}
.btn--primary {
	background: var(--accent);
	color: #fff;
}
.btn--primary:hover {
	background: var(--accent-hover);
}
.btn--ghost {
	border: 1px solid var(--border);
}
.btn--ghost:hover {
	background: var(--surface);
}

/* ---------- Header ---------- */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.82);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border);
}
.header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 68px;
}

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
}
.logo img {
	height: 32px;
	width: auto;
}
.nav {
	display: flex;
	gap: 32px;
	font-size: 15px;
	color: var(--muted);
}
.nav a:hover {
	color: var(--text);
}
.header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* ---------- Footer ---------- */
.footer {
	border-top: 1px solid var(--border);
	margin-top: 100px;
	padding: 48px 0;
}
.footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 14px;
	color: var(--muted);
}
.footer a:hover {
	color: var(--text);
}

/* ---------- Mobile ---------- */
@media (max-width: 820px) {
	.nav {
		display: none;
	}
	.header__actions .btn--ghost {
		display: none;
	}
}

h1,
h2,
h3,
.logo,
.btn,
.section__label {
	font-family: var(--display);
}
.hero h1 {
	letter-spacing: -0.04em;
}
.section__title {
	letter-spacing: -0.03em;
}
.section__label {
	letter-spacing: 0.12em;
}
/* ---------- Sections ---------- */
.section {
	padding: 96px 0;
}
.section__head {
	max-width: 620px;
	margin-bottom: 56px;
}
.section__label {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 14px;
}
.section__title {
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.2;
}
.section__sub {
	margin-top: 16px;
	color: var(--muted);
	font-size: 17px;
}

/* ---------- Hero ---------- */
.hero {
	padding: 120px 0 96px;
}
.hero__inner {
	max-width: 780px;
}
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px;
	margin-bottom: 28px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	font-size: 13px;
	color: var(--muted);
}
.hero__badge::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #16a34a;
}
.hero h1 {
	font-size: clamp(36px, 6vw, 60px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.08;
}
.hero h1 em {
	font-style: normal;
	color: var(--accent);
}
.hero__sub {
	margin-top: 24px;
	font-size: 19px;
	color: var(--muted);
	max-width: 600px;
}
.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 38px;
}
.hero__note {
	margin-top: 20px;
	font-size: 14px;
	color: var(--muted);
}

/* ---------- Problème ---------- */
.problems {
	background: var(--surface);
	border-block: 1px solid var(--border);
}
.problems__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.problem {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
}

.problem h3 {
	font-size: 17px;
	font-weight: 600;
	margin-bottom: 8px;
}
.problem p {
	color: var(--muted);
	font-size: 15px;
}
.problem__fix {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
	font-size: 15px;
	color: var(--text);
	font-weight: 500;
}
.problem__fix svg {
	flex-shrink: 0;
	margin-top: 3px;
	color: #16a34a;
}

.feature {
	overflow: hidden;
	padding-bottom: 0;
}
.feature__shot {
	margin-top: 24px;
	border: 1px solid var(--border);
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	border-bottom: none;
	overflow: hidden;
	transform: translateY(6px);
}
.feature__shot img {
	width: 100%;
	display: block;
}

@media (max-width: 900px) {
	.problems__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
	.section {
		padding: 72px 0;
	}
	.hero {
		padding: 80px 0 64px;
	}
}
/* ---------- Fonctionnalités ---------- */
.features__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}
.feature {
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 32px;
	transition:
		border-color 0.18s ease,
		transform 0.18s ease;
}
.feature:hover {
	border-color: #cbd5e1;
	transform: translateY(-2px);
}
.feature--wide {
	grid-column: span 2;
}

.feature h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 10px;
	letter-spacing: -0.01em;
}
.feature p {
	color: var(--muted);
	font-size: 15px;
}

/* ---------- Secteurs ---------- */
.sectors {
	background: var(--surface);
	border-block: 1px solid var(--border);
}
.sectors__head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 48px;
}
.sectors__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}
.sector {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 20px;
	border-radius: 999px;
	background: var(--bg);
	border: 1px solid var(--border);
	font-size: 15px;
	font-weight: 500;
}
.sector svg {
	color: var(--accent);
}
.sectors__note {
	text-align: center;
	margin-top: 36px;
	font-size: 15px;
	color: var(--muted);
}

@media (max-width: 900px) {
	.features__grid {
		grid-template-columns: 1fr;
	}
	.feature--wide {
		grid-column: span 1;
	}
	.feature {
		padding: 26px;
	}
}
.contact__grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 64px;
	align-items: start;
}
.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.field {
	margin-bottom: 16px;
}
.field label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 11px 14px;
	font: inherit;
	font-size: 15px;
	border: 1px solid var(--border);
	border-radius: 9px;
	background: var(--bg);
	color: var(--text);
}
.problem__icon,
.feature__icon {
	background: var(--accent-soft);
	color: var(--accent);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea {
	resize: vertical;
	min-height: 110px;
}
.form__status {
	margin-top: 16px;
	font-size: 15px;
}
.form__status--ok {
	color: #16a34a;
}
.form__status--err {
	color: #dc2626;
}
.hp {
	position: absolute;
	left: -9999px;
}
.showcase {
	padding: 0 0 96px;
}
.showcase__frame {
	border: 1px solid var(--border);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.22);
	background: var(--surface);
}
.showcase__bar {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 13px 18px;
	border-bottom: 1px solid var(--border);
	background: var(--bg);
}
.showcase__bar i {
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: #e2e8f0;
	display: block;
}
.showcase__frame img {
	width: 100%;
	display: block;
}
.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
	margin-top: 88px;
}
.split--reverse .split__media {
	order: -1;
}
.split__media img {
	width: 100%;
	border: 1px solid var(--border);
	border-radius: 14px;
	box-shadow: 0 16px 40px -18px rgba(15, 23, 42, 0.2);
}
.split h3 {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: 14px;
}
.split p {
	color: var(--muted);
	font-size: 16px;
}

.phones {
	display: flex;
	gap: 20px;
}
.phones img {
	width: 100%;
	max-width: 200px;
	border-radius: 18px;
	box-shadow: 0 16px 40px -16px rgba(15, 23, 42, 0.28);
}

@media (max-width: 900px) {
	.split {
		grid-template-columns: 1fr;
		gap: 32px;
		margin-top: 56px;
	}
	.split--reverse .split__media {
		order: 0;
	}
	.phones {
		gap: 12px;
		justify-content: center;
	}
	.phones img {
		max-width: none;
		width: calc(50% - 6px);
	}
}

@media (max-width: 900px) {
	.contact__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.form__row {
		grid-template-columns: 1fr;
	}
}
/* ---------- Sticky features ---------- */
.sticky-wrap {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 72px;
	align-items: start;
}
.sticky-side {
	position: sticky;
	top: calc(var(--header-h) + 64px);
	padding: 40px 0;
}
.sticky-nav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.sticky-nav__item {
	padding: 18px 0 18px 22px;
	border-left: 2px solid var(--border);
	cursor: pointer;
	transition: border-color 0.25s ease;
}
.sticky-nav__item.is-active {
	border-left-color: var(--accent);
}
.sticky-nav__item h3 {
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--muted);
	transition: color 0.25s ease;
}
.sticky-nav__item.is-active h3 {
	color: var(--text);
}
.sticky-nav__item p {
	font-size: 15px;
	color: var(--muted);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition:
		max-height 0.35s ease,
		opacity 0.25s ease,
		margin-top 0.35s ease;
}
.sticky-nav__item.is-active p {
	max-height: 200px;
	opacity: 1;
	margin-top: 10px;
}

.sticky-panels {
	display: flex;
	flex-direction: column;
	gap: 120px;
	padding: 40px 0;
}
.panel {
	scroll-margin-top: 140px;
}
.panel__frame {
	border: 1px solid var(--border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 20px 50px -22px rgba(11, 18, 32, 0.28);
	background: var(--surface);
}
.panel__frame img {
	width: 100%;
	display: block;
}
.panel__phones {
	display: flex;
	gap: 20px;
	justify-content: center;
}
.panel__phones img {
	width: calc(50% - 10px);
	max-width: 230px;
	border-radius: 18px;
	box-shadow: 0 20px 46px -18px rgba(11, 18, 32, 0.32);
}

/* Mobile : empilement simple, aucun sticky */
@media (max-width: 900px) {
	.sticky-wrap {
		grid-template-columns: 1fr;
		gap: 0;
	}
	.sticky-side {
		display: none;
	}
	.sticky-panels {
		gap: 64px;
		padding: 0;
	}
	.panel__mobile-head {
		margin-bottom: 20px;
	}
	.panel__mobile-head h3 {
		font-size: 22px;
		font-weight: 600;
		letter-spacing: -0.02em;
		margin-bottom: 8px;
	}
	.panel__mobile-head p {
		color: var(--muted);
		font-size: 15px;
	}
	.panel__phones img {
		max-width: none;
	}
}
@media (min-width: 901px) {
	.panel__mobile-head {
		display: none;
	}
}
.problem__icon,
.feature__icon {
	width: 40px;
	height: 40px;
	margin-bottom: 18px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--accent-soft);
	color: var(--accent);
}
.feature__icon {
	width: 42px;
	height: 42px;
	margin-bottom: 20px;
}
