/* ==========================================================================
   Lofoten — « Cold Peak »
   Thème sombre par défaut, clair en option. Mobile-first.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */
:root {
	--accent:        #5FD9E0;
	--accent-deep:   #3AA8C9;

	--font-display: "Clash Display", "Space Grotesk", system-ui, sans-serif;
	--font-body:    "Inter Tight", system-ui, -apple-system, sans-serif;
	--font-mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", monospace;

	--container: 1280px;
	--gutter: clamp(1.25rem, 5vw, 4rem);
	--radius: 14px;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Sombre (défaut) */
:root,
[data-theme="dark"] {
	--bg:        #0A0E14;
	--bg-2:      #0D131C;
	--surface:   #121822;
	--surface-2: #161E2A;
	--line:      #1E2A3A;
	--line-soft: #141C28;
	--text:      #E8EDF2;
	--text-dim:  #93A1B3;
	--text-mute: #5E6E82;
	--glow:      rgba(95, 217, 224, 0.14);
	--grain-opacity: 0.035;
}

/* Clair */
[data-theme="light"] {
	--bg:        #F7F9FB;
	--bg-2:      #FFFFFF;
	--surface:   #FFFFFF;
	--surface-2: #F0F4F8;
	--line:      #DCE4EC;
	--line-soft: #E7EDF3;
	--text:      #0A0E14;
	--text-dim:  #46566A;
	--text-mute: #8294A8;
	--accent-deep: #1F8FB0;
	--glow:      rgba(58, 168, 201, 0.10);
	--grain-opacity: 0.02;
}

/* --- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

/* Grain + halo de fond, très subtils */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	background:
		radial-gradient(120% 80% at 80% -10%, var(--glow), transparent 55%),
		radial-gradient(90% 60% at 0% 0%, var(--glow), transparent 50%);
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* --- Typographie ---------------------------------------------------------- */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.02em;
}
.mono {
	font-family: var(--font-mono);
	font-size: 0.78em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-dim);
}

/* --- Layout --------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
	position: relative;
	z-index: 1;
}
.narrow { max-width: 760px; }

/* --- Accessibilité -------------------------------------------------------- */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--accent);
	color: #04141a;
	padding: 0.6rem 1rem;
	border-radius: 0 0 8px 0;
	font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   En-tête
   ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	backdrop-filter: saturate(140%) blur(14px);
	background: color-mix(in srgb, var(--bg) 72%, transparent);
	border-bottom: 1px solid var(--line-soft);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	min-height: 72px;
}

/* Marque */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); }
.brand__mark { display: block; width: 38px; color: var(--text); }
.brand__mark .peaks { width: 100%; height: auto; }
.brand__name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.15rem;
	letter-spacing: 0.34em;
	padding-left: 0.34em; /* compense le tracking sur la dernière lettre */
}

/* Navigation */
.site-nav { margin-left: auto; }
.site-nav__list {
	display: none;
	list-style: none;
	gap: 2rem;
	padding: 0;
}
.site-nav__list a {
	font-size: 0.92rem;
	color: var(--text-dim);
	position: relative;
	padding: 0.3rem 0;
	transition: color 0.25s var(--ease);
}
.site-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 0; height: 1px;
	background: var(--accent);
	transition: width 0.3s var(--ease);
}
.site-nav__list a:hover,
.site-nav__list .is-active a { color: var(--text); }
.site-nav__list a:hover::after,
.site-nav__list .is-active a::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.site-nav + .site-header__actions { margin-left: 0; }

/* Bascule de thème */
.theme-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; /* cible tactile mobile */
	padding: 4px; border-radius: 999px;
}
.theme-toggle__track {
	display: block;
	width: 46px; height: 26px;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	position: relative;
	transition: background 0.3s var(--ease);
}
.theme-toggle__thumb {
	position: absolute;
	top: 50%;
	left: 4px;
	width: 18px; height: 18px;
	border-radius: 50%;
	background: var(--accent);
	transform: translateY(-50%);
	transition: left 0.32s var(--ease), background 0.3s var(--ease);
}
[data-theme="light"] .theme-toggle__thumb { left: 24px; }

/* Burger mobile */
.nav-burger {
	display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 4px; padding: 8px;
	min-width: 44px; min-height: 44px; /* cible tactile mobile */
}
.nav-burger span {
	display: block; width: 22px; height: 2px;
	background: var(--text);
	transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile */
.mobile-nav { border-top: 1px solid var(--line-soft); }
.mobile-nav__list {
	list-style: none;
	margin: 0;
	padding: 0.5rem var(--gutter) 1.25rem;
}
.mobile-nav__list li { border-bottom: 1px solid var(--line-soft); }
.mobile-nav__list a {
	display: block;
	padding: 1rem 0;
	font-family: var(--font-display);
	font-size: 1.4rem;
	color: var(--text);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(3.5rem, 12vh, 8rem) 0 clamp(2rem, 6vh, 4rem); }
.hero__inner { max-width: 920px; }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 0.6rem;
	color: var(--text-dim);
	margin-bottom: 1.75rem;
}
.hero__eyebrow .dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 0 var(--accent);
	animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
	70%  { box-shadow: 0 0 0 9px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}
.hero__title {
	font-size: clamp(2.6rem, 8vw, 5.6rem);
	font-weight: 600;
}
.hero__title-accent {
	display: block;
	color: transparent;
	background: linear-gradient(120deg, var(--accent), var(--accent-deep));
	-webkit-background-clip: text;
	background-clip: text;
}
.hero__lead {
	margin-top: 1.75rem;
	max-width: 56ch;
	font-size: clamp(1.05rem, 2.4vw, 1.35rem);
	color: var(--text-dim);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero__ridge {
	margin-top: clamp(3rem, 8vh, 5rem);
	color: var(--line);
	opacity: 0.9;
}
.hero__ridge .peaks { width: 100%; height: auto; }

/* Boutons */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 0.5rem;
	padding: 0.9rem 1.5rem;
	border-radius: 999px;
	font-weight: 500;
	font-size: 0.98rem;
	transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
	border: 1px solid transparent;
}
.btn--lg { padding: 1.1rem 2rem; font-size: 1.1rem; }
.btn--primary {
	background: var(--accent);
	color: #04141a;
	font-weight: 600;
}
.btn--primary:hover { transform: translateY(-2px); background: color-mix(in srgb, var(--accent) 88%, white); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ==========================================================================
   Métriques
   ========================================================================== */
.metrics { border-block: 1px solid var(--line-soft); padding: clamp(2rem, 5vh, 3rem) 0; }
.metrics__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem 1rem;
}
.metric { display: flex; flex-direction: column; gap: 0.4rem; }
.metric__value {
	font-family: var(--font-display);
	font-size: clamp(1.8rem, 6vw, 2.6rem);
	font-weight: 600;
	letter-spacing: -0.02em;
}
.metric__label { color: var(--text-mute); }

/* ==========================================================================
   Sections génériques
   ========================================================================== */
.section-head { margin-bottom: clamp(2rem, 5vh, 3.5rem); max-width: 720px; }
.section-head__index { display: block; color: var(--accent-deep); margin-bottom: 1rem; }
.section-head__title { font-size: clamp(1.9rem, 5vw, 3.2rem); }

.services { padding: clamp(4rem, 12vh, 8rem) 0; }
.services__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
.card {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.6rem, 4vw, 2.5rem);
	overflow: hidden;
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, var(--glow), transparent 40%);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}
.card:hover { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); transform: translateY(-3px); }
.card:hover::before { opacity: 1; }
.card__num { display: block; color: var(--accent-deep); margin-bottom: 1.5rem; }
.card__title { font-size: 1.45rem; margin-bottom: 0.75rem; }
.card__text { color: var(--text-dim); position: relative; }

/* Intro (contenu page d'accueil statique) */
.intro { padding: clamp(2rem, 6vh, 4rem) 0; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { padding: clamp(4rem, 12vh, 8rem) 0; }
.cta__inner {
	text-align: center;
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 6px);
	padding: clamp(2.5rem, 8vw, 5rem) var(--gutter);
	background:
		radial-gradient(120% 140% at 50% -20%, var(--glow), transparent 60%),
		var(--surface);
}
.cta__title { font-size: clamp(1.8rem, 6vw, 3.4rem); margin-bottom: 2rem; }

/* ==========================================================================
   En-têtes de page & contenu
   ========================================================================== */
.page-head { padding: clamp(3rem, 9vh, 6rem) 0 clamp(1.5rem, 4vh, 3rem); }
.page-head__title { font-size: clamp(2.2rem, 7vw, 4rem); }

.entry-content { padding-block: 2rem 4rem; }
.entry-content > * + * { margin-top: 1.4rem; }
.entry-content h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-top: 2.5rem; }
.entry-content h3 { font-size: 1.4rem; margin-top: 2rem; }
.entry-content a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--accent); }
.entry-content img { border-radius: var(--radius); }
.entry-content blockquote {
	border-left: 2px solid var(--accent);
	padding-left: 1.5rem;
	color: var(--text-dim);
	font-style: italic;
}
.entry-content code {
	font-family: var(--font-mono);
	font-size: 0.85em;
	background: var(--surface-2);
	padding: 0.15em 0.4em;
	border-radius: 5px;
}
.entry-content pre {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.25rem;
	overflow-x: auto;
}
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }

.single__thumb { margin-block: 2rem; border-radius: var(--radius); overflow: hidden; }
.single__footer { padding-bottom: 3rem; }
.single__tags { color: var(--text-mute); }

/* ==========================================================================
   Liste d'articles
   ========================================================================== */
.post-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1px;
	background: var(--line-soft);
	border-block: 1px solid var(--line-soft);
	margin-bottom: 3rem;
}
.post-card { background: var(--bg); transition: background 0.3s var(--ease); }
.post-card:hover { background: var(--surface); }
.post-card__link { display: block; padding: clamp(1.5rem, 4vw, 2.25rem) 0; }
.post-card__meta { color: var(--text-mute); margin-bottom: 0.75rem; }
.post-card__title { font-size: clamp(1.4rem, 4vw, 2rem); margin-bottom: 0.6rem; transition: color 0.25s var(--ease); }
.post-card:hover .post-card__title { color: var(--accent); }
.post-card__excerpt { color: var(--text-dim); max-width: 70ch; }
.post-card__more { display: inline-block; margin-top: 1rem; color: var(--accent-deep); }

/* Pagination */
.pagination { padding-bottom: 4rem; }
.nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px;
	padding: 0 0.75rem;
	border: 1px solid var(--line);
	border-radius: 10px;
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--text-dim);
	transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.page-numbers:hover, .page-numbers.current {
	border-color: var(--accent);
	color: var(--accent);
}

/* ==========================================================================
   404
   ========================================================================== */
.error-404 { padding: clamp(5rem, 16vh, 10rem) 0; }
.error-404__inner { text-align: center; }
.error-404__mark { display: inline-block; width: 120px; color: var(--line); margin-bottom: 2rem; }
.error-404__text { color: var(--text-dim); margin: 1rem 0 2.5rem; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line); padding: clamp(3rem, 8vh, 5rem) 0 2rem; margin-top: clamp(3rem, 8vh, 6rem); }
.site-footer__top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer__brand .brand__mark { width: 56px; color: var(--text-dim); margin-bottom: 1.25rem; }
.site-footer__tagline { color: var(--text-dim); max-width: 38ch; }
.site-footer__coords { margin-top: 1rem; color: var(--text-mute); }
.site-footer__list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.site-footer__list a { color: var(--text-dim); transition: color 0.25s var(--ease); }
.site-footer__list a:hover { color: var(--accent); }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
	margin-top: 3rem; padding-top: 1.5rem;
	border-top: 1px solid var(--line-soft);
}
.site-footer__bottom .mono { color: var(--text-mute); }

.empty { padding: 4rem 0; color: var(--text-dim); }

/* ==========================================================================
   Révélation au scroll
   ========================================================================== */
.reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Points de rupture
   ========================================================================== */
@media (min-width: 600px) {
	.metrics__grid { grid-template-columns: repeat(4, 1fr); }
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.site-footer__top { grid-template-columns: 1.4fr 1fr; }
}
@media (min-width: 900px) {
	.site-nav__list { display: flex; }
	.nav-burger { display: none; }
	.mobile-nav { display: none; }
	.services__grid { grid-template-columns: repeat(3, 1fr); }
	.site-footer__top { grid-template-columns: 1.6fr 1fr 1fr; }
}

/* Très petits écrans : évite le débordement de l'en-tête et du titre hero. */
@media (max-width: 360px) {
	.site-header__inner { gap: 0.75rem; }
	.brand__mark { width: 32px; }
	.brand__name { font-size: 1rem; letter-spacing: 0.2em; padding-left: 0.2em; }
	.hero__title { font-size: 2.2rem; }
}

/* ==========================================================================
   LOFOTEN — Crypto Dispute Resolution : composants de la landing (v1.1)
   ========================================================================== */
/* ==========================================================================
   Lofoten — « Cold Peak » : composants étendus (dispute-resolution B2B)
   Mobile-first. Réutilise les tokens de :root. Sombre + clair.
   ========================================================================== */

/* --- Décalage d'ancrage (en-tête sticky ~72px) ---------------------------- */
.sec,
[id] { scroll-margin-top: 96px; }

/* --- Section générique ---------------------------------------------------- */
.sec { padding: clamp(4rem, 12vh, 8rem) 0; }
.sec--tight { padding: clamp(2.5rem, 7vh, 4.5rem) 0; }

/* --- Bandeau de confiance (réutilise .metrics) ---------------------------- */
.metrics--trust .metric__value { color: var(--text); }
.metrics--trust .metric__value > .accent { color: var(--accent); }

/* --- Citation en exergue -------------------------------------------------- */
.pullquote {
	border-left: 2px solid var(--accent);
	padding: 0.5rem 0 0.5rem clamp(1.25rem, 4vw, 2.25rem);
	margin-block: clamp(1.5rem, 4vh, 2.5rem);
	max-width: 900px;
}
.pullquote__text {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.5rem, 4.2vw, 2.4rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
}
.pullquote__cite {
	display: block;
	margin-top: 1.25rem;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-dim);
}

/* --- Paragraphe d'introduction long --------------------------------------- */
.lead-body {
	max-width: 62ch;
	font-size: clamp(1.1rem, 2.4vw, 1.3rem);
	line-height: 1.6;
	color: var(--text-dim);
}
.lead-body + .lead-body { margin-top: 1.25rem; }

/* --- Encadré (callout) ---------------------------------------------------- */
.callout {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 4vw, 2.25rem);
	max-width: 760px;
}
.callout > * + * { margin-top: 0.75rem; }
.callout--footnote {
	border-left-width: 2px;
	border-left-color: color-mix(in srgb, var(--accent) 45%, var(--line));
	background: var(--bg-2);
	padding: clamp(1.1rem, 3vw, 1.6rem);
	font-family: var(--font-mono);
	font-size: 0.86rem;
	line-height: 1.6;
	letter-spacing: 0.01em;
	color: var(--text-dim);
}

/* --- Échecs / problèmes (grille 1 -> 3) ----------------------------------- */
.failures {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.failure {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 4vw, 2.25rem);
}
.failure__label {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.3rem;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin-bottom: 0.75rem;
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
}
.failure__label::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-top: 0.1em;
	transform: rotate(45deg);
	background: var(--accent);
}
.failure__text { color: var(--text-dim); }

/* --- Étapes numérotées connectées ----------------------------------------- */
.steps {
	display: grid;
	gap: 0;
	max-width: 820px;
}
.step {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1.25rem;
	padding: clamp(1.5rem, 4vw, 2rem) 0;
	border-top: 1px solid var(--line-soft);
}
.step:first-child { border-top: 0; }
.step__num {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
	background: var(--surface);
	font-family: var(--font-mono);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--accent);
}
/* Filet de liaison vertical entre les pastilles */
.step::before {
	content: "";
	position: absolute;
	left: 22px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: var(--line);
	z-index: 0;
}
.step:first-child::before { top: 50%; }
.step:last-child::before { bottom: 50%; }
.step__head { margin-bottom: 0.4rem; }
.step__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.3rem;
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.step__text { color: var(--text-dim); }

/* --- Produits (grille 1 -> 2 -> 3 ; langage visuel .card) ----------------- */
.products {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
.product {
	position: relative;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.6rem, 4vw, 2.5rem);
	overflow: hidden;
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.product::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, var(--glow), transparent 40%);
	opacity: 0;
	transition: opacity 0.4s var(--ease);
}
.product:hover {
	border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
	transform: translateY(-3px);
}
.product:hover::before { opacity: 1; }
.product__num {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--accent-deep);
	margin-bottom: 1.5rem;
	position: relative;
}
.product__title { font-size: 1.45rem; margin-bottom: 0.75rem; position: relative; }
.product__text { color: var(--text-dim); position: relative; }

/* --- Conformité / régulations (grille 1 -> 3) ----------------------------- */
.regs {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.reg {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 4vw, 2.25rem);
}
.reg__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
	border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
	background: color-mix(in srgb, var(--accent) 7%, transparent);
	border-radius: 999px;
	padding: 0.35rem 0.75rem;
	margin-bottom: 1.1rem;
}
.reg__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin-bottom: 0.6rem;
}
.reg__text { color: var(--text-dim); }

/* --- Niveaux / paliers (grille 1 -> 2 -> 4) ------------------------------- */
.levels {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.level {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid color-mix(in srgb, var(--accent) 55%, var(--line));
	border-radius: var(--radius);
	padding: clamp(1.5rem, 4vw, 2rem);
}
.level__tier {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 0.6rem;
}
.level__name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.45rem;
	line-height: 1.08;
	letter-spacing: -0.02em;
	margin-bottom: 1.1rem;
}
.level__meta {
	margin: 0;
	display: grid;
	gap: 0;
}
.level__row {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 0.6rem 0;
	border-top: 1px solid var(--line-soft);
}
.level__row:first-child { border-top: 0; }
.level__key {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--text-mute);
}
.level__val { font-size: 0.96rem; text-align: right; color: var(--text); }
.institutional {
	margin-top: 1.5rem;
	color: var(--text-dim);
	font-size: 0.94rem;
	max-width: 760px;
}

/* --- Avantages défensifs / "moat" ----------------------------------------- */
.moat-list {
	border-top: 1px solid var(--line);
	max-width: 920px;
}
.moat-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem 2rem;
	padding: clamp(1.25rem, 3.5vw, 1.75rem) 0;
	border-bottom: 1px solid var(--line);
}
.moat-row__name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.12;
	letter-spacing: -0.02em;
	display: flex;
	align-items: baseline;
	gap: 0.7rem;
}
.moat-row__name::before {
	content: "";
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-top: 0.1em;
	transform: rotate(45deg);
	background: var(--accent);
}
.moat-row__text { color: var(--text-dim); }
.moat-closing {
	margin-top: 2rem;
	padding-top: 1.75rem;
	border-top: 2px solid var(--accent);
	font-size: clamp(1.15rem, 2.6vw, 1.5rem);
	line-height: 1.4;
	color: var(--text);
	max-width: 760px;
}

/* --- Équipe (grille 1 -> 2) ----------------------------------------------- */
.team {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
}
.member {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.6rem, 4vw, 2.25rem);
}
.member__name {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.4rem;
	line-height: 1.1;
	letter-spacing: -0.02em;
}
.member__role {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--accent);
	margin-top: 0.4rem;
	margin-bottom: 1.1rem;
}
.member__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 0.55rem;
}
.member__list li {
	position: relative;
	padding-left: 1.5rem;
	color: var(--text-dim);
}
.member__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	transform: rotate(45deg);
	background: var(--accent);
}

/* Recrutement */
.hiring {
	position: relative;
	margin-top: 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	border-radius: var(--radius);
	padding: clamp(1.6rem, 4vw, 2.25rem);
}
.hiring__head {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-dim);
	margin-bottom: 1.25rem;
}
.roles {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.role {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg-2);
	padding: clamp(1.25rem, 3.5vw, 1.6rem);
}
.role__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin-bottom: 0.5rem;
}
.role__text { color: var(--text-dim); font-size: 0.96rem; }

/* --- Traction (liste empilée, marqueur losange) --------------------------- */
.traction-list {
	display: grid;
	gap: 0;
	max-width: 820px;
	border-top: 1px solid var(--line);
}
.traction-item {
	position: relative;
	padding: clamp(1.1rem, 3vw, 1.5rem) 0 clamp(1.1rem, 3vw, 1.5rem) 1.75rem;
	border-bottom: 1px solid var(--line);
}
.traction-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(clamp(1.1rem, 3vw, 1.5rem) + 0.35em);
	width: 9px;
	height: 9px;
	transform: rotate(45deg);
	background: var(--accent);
}
.traction-item__label {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 0.25rem;
}
.traction-item__text { color: var(--text-dim); }

/* --- Parcours CTA (3 audiences) ------------------------------------------- */
.cta-paths {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.cta-path {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(1.6rem, 4vw, 2.25rem);
	transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cta-path:hover {
	border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
	transform: translateY(-3px);
}
.cta-path__for {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-mute);
	margin-bottom: 1rem;
}
.cta-path__action {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.3rem;
	line-height: 1.12;
	letter-spacing: -0.02em;
	color: var(--text);
	transition: color 0.25s var(--ease);
}
.cta-path__action::after {
	content: "\2192";
	flex: 0 0 auto;
	color: var(--accent-deep);
	transition: transform 0.3s var(--ease), color 0.25s var(--ease);
}
.cta-path:hover .cta-path__action { color: var(--accent); }
.cta-path:hover .cta-path__action::after { transform: translateX(4px); color: var(--accent); }

/* --- Contact (formulaire + coordonnées) ----------------------------------- */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(2rem, 6vw, 3.5rem);
}
.contact-form {
	display: grid;
	gap: 1.1rem;
}
.field {
	display: grid;
	gap: 0.5rem;
}
.field > label {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-dim);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.9rem;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.5;
	transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--text-dim) 50%),
		linear-gradient(135deg, var(--text-dim) 50%, transparent 50%);
	background-position: calc(100% - 1.15rem) 1.25rem, calc(100% - 0.8rem) 1.25rem;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 2.5rem;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-mute); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
	outline: none;
	border-color: var(--accent);
	background: var(--surface);
}
.field--row { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }

/* Pot de miel anti-spam, hors écran */
.hp {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.form-status {
	font-family: var(--font-mono);
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	padding: 0.85rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text-dim);
}
.form-status:empty { display: none; }
.form-status--ok {
	color: var(--accent);
	border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
	background: color-mix(in srgb, var(--accent) 7%, transparent);
}
.form-status--err {
	color: var(--text);
	border-color: color-mix(in srgb, #d9534f 45%, var(--line));
	background: color-mix(in srgb, #d9534f 8%, transparent);
}

.contact-direct {
	font-family: var(--font-mono);
	font-size: 0.9rem;
	color: var(--text-dim);
}
.contact-direct a {
	color: var(--accent);
	border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
	transition: border-color 0.25s var(--ease);
}
.contact-direct a:hover { border-bottom-color: var(--accent); }

/* --- Pied de page : méta légale & avertissement --------------------------- */
.site-footer__meta {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.02em;
	line-height: 1.8;
	color: var(--text-dim);
}
.site-footer__disclaimer {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--line-soft);
	font-size: 0.82rem;
	line-height: 1.6;
	color: var(--text-mute);
	max-width: 70ch;
}

/* ==========================================================================
   Points de rupture — grilles
   ========================================================================== */
@media (min-width: 600px) {
	.failures { grid-template-columns: repeat(2, 1fr); }
	.products { grid-template-columns: repeat(2, 1fr); }
	.regs { grid-template-columns: repeat(2, 1fr); }
	.levels { grid-template-columns: repeat(2, 1fr); }
	.team { grid-template-columns: repeat(2, 1fr); }
	.roles { grid-template-columns: repeat(2, 1fr); }
	.cta-paths { grid-template-columns: repeat(3, 1fr); }
	.moat-row { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); align-items: baseline; }
	.field--row { grid-template-columns: 1fr 1fr; }
	.contact-grid { grid-template-columns: 1.4fr 1fr; }
}

@media (min-width: 900px) {
	.failures { grid-template-columns: repeat(3, 1fr); }
	.products { grid-template-columns: repeat(3, 1fr); }
	.regs { grid-template-columns: repeat(3, 1fr); }
	.levels { grid-template-columns: repeat(4, 1fr); }
}

/* --- Ajustements d'assemblage (espacement vertical & utilitaires) --------- */
.lead-body + .failures,
.lead-body + .products,
.lead-body + .regs,
.lead-body + .levels,
.lead-body + .steps,
.lead-body + .moat-list,
.lead-body + .callout,
.lead-body + .cta-paths,
.steps + .callout,
.cta-paths + .contact-grid { margin-top: clamp(2rem, 5vw, 3rem); }

.failures-intro {
	margin-top: clamp(2rem, 5vw, 3rem);
	margin-bottom: 1.25rem;
	color: var(--text-dim);
}

.text-center { text-align: center; margin-top: clamp(1.5rem, 4vw, 2.25rem); }

.contact-grid > .form-status { grid-column: 1 / -1; }
.contact-direct .mono { display: block; margin-bottom: 0.5rem; }

