/* ==========================================================================
   Letika Studio — v2
   ========================================================================== */

:root {
	--ink: #0b0b14;
	--ink-2: #15151f;
	--ink-3: #22222e;
	--paper: #f4f2ec;
	--paper-2: #eae7de;
	--white: #fffefa;
	--lime: #d4ff3a;
	--orange: #ff6a3d;
	--violet: #8b7bff;
	--line-dark: rgba(11, 11, 20, 0.12);
	--line-light: rgba(244, 242, 236, 0.14);
	--text-2: #4a4a55;
	--text-2-dark: rgba(244, 242, 236, 0.66);

	--f-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "Geist Mono", ui-monospace, Menlo, monospace;

	--r-sm: 10px;
	--r: 18px;
	--r-lg: 28px;
	--wrap: 1280px;
	--gutter: clamp(16px, 4vw, 48px);
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
	margin: 0; background: var(--paper); color: var(--ink);
	font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
	-webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img, svg, video, canvas { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--f-mono); font-size: 0.8rem; letter-spacing: 0.02em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.screen-reader-text, .form__hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 999; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; box-shadow: 0 0 0 5px var(--ink); }

/* Mots mis en valeur */
.hl { font-style: normal; position: relative; white-space: nowrap; }
.hl--1 { color: var(--lime); }
.hl--2 { color: var(--violet); }
.hl--3 { color: var(--orange); }
.section:not(.section--dark) .hl--1 { color: var(--ink); background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); }

/* ---------- Boutons ---------- */
.btn {
	--bg: var(--paper); --fg: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
	font-family: var(--f-body); font-weight: 600; font-size: 0.97rem; letter-spacing: -0.01em;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	padding: 0.95em 1.4em; border-radius: 999px; border: 1px solid transparent;
	background: var(--bg); color: var(--fg);
	transition: transform 0.35s var(--spring), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn__arrow { display: inline-grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 0.85em; transition: transform 0.35s var(--spring); }
.btn:hover .btn__arrow { transform: translateX(3px) rotate(-45deg); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--line { background: transparent; color: currentColor; border-color: currentColor; }
.btn--line:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--sm { padding: 0.62em 0.75em 0.62em 1.1em; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 20, 0.82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); color: var(--paper); border-bottom: 1px solid var(--line-light); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--paper); }
.logo__word { font-family: var(--f-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -0.05em; line-height: 1; }
.logo__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.6); animation: ping 2.4s infinite; }
.logo__studio { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-2-dark); }
.custom-logo { max-height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; text-decoration: none; font-size: 0.93rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--text-2-dark); transition: color 0.2s, background 0.2s; }
.nav__list a:hover { color: var(--paper); background: var(--ink-3); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line-light); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 50%; width: 18px; height: 2px; background: var(--paper); border-radius: 2px; transform: translateX(-50%); transition: transform 0.3s var(--ease), top 0.3s var(--ease), background 0.2s; }
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before { content: ""; top: -6px; }
.nav-toggle__bars::after { content: ""; top: 6px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-open .nav-toggle__bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.hero__grid-bg {
	position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(var(--line-light) 1px, transparent 1px), linear-gradient(90deg, var(--line-light) 1px, transparent 1px);
	background-size: 64px 64px; background-position: -1px -1px;
	mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 20%, transparent 75%);
	opacity: 0.55;
}
.hero::after { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -180px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 123, 255, 0.28), transparent 65%); filter: blur(10px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-light); border-radius: 999px; font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2-dark); }
.kicker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: ping 2s infinite; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 28px; }
.hero__title .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.08em; border-radius: 1em; background: currentColor; opacity: 0.35; transform-origin: left; animation: underline 1.2s var(--ease) both; }
.hero__title .hl--2::after { animation-delay: 0.25s; }
.hero__title .hl--3::after { animation-delay: 0.5s; }
.hero__text { font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--text-2-dark); max-width: 34em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 48px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; border-top: 1px solid var(--line-light); padding-top: 24px; }
.hero__facts div { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line-light); }
.hero__facts div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__facts dt { font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.04em; line-height: 1; margin-bottom: 6px; color: var(--paper); }
.hero__facts dd { margin: 0; font-size: 0.85rem; line-height: 1.4; color: var(--text-2-dark); }

/* Simulation */
.sim { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 40px 120px -30px rgba(139, 123, 255, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.02) inset; }
.sim__bar, .sim__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: var(--text-2-dark); }
.sim__bar { border-bottom: 1px solid var(--line-light); }
.sim__foot { border-top: 1px solid var(--line-light); font-size: 0.72rem; }
.sim__dots { display: flex; gap: 6px; }
.sim__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.sim__dots i:first-child { background: var(--orange); }
.sim__status { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); }
.sim__rec { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1.2s steps(2) infinite; }
.sim__stage { position: relative; aspect-ratio: 4 / 3.3; cursor: crosshair; touch-action: none; }
.sim__stage canvas { width: 100%; height: 100%; }
.sim__hud { position: absolute; display: grid; gap: 2px; font-size: 0.7rem; color: var(--text-2-dark); pointer-events: none; background: rgba(11, 11, 20, 0.6); padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-light); }
.sim__hud b { color: var(--paper); font-weight: 500; }
.sim__hud--tl { top: 14px; left: 14px; }
.sim__hud--tr { top: 14px; right: 14px; text-align: right; }
.sim__hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); font-size: 0.72rem; color: var(--ink); background: var(--lime); padding: 6px 12px; border-radius: 999px; white-space: nowrap; pointer-events: none; transition: opacity 0.5s; }
.sim__hint.is-hidden { opacity: 0; }

/* ---------- Bandeau stack ---------- */
.stack { background: var(--ink); color: var(--text-2-dark); border-top: 1px solid var(--line-light); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.stack__track { display: flex; width: max-content; animation: marquee 50s linear infinite; padding: 22px 0; }
.stack__track span { font-family: var(--f-mono); font-size: 0.86rem; padding: 0 26px; position: relative; white-space: nowrap; }
.stack__track span::after { content: ""; position: absolute; right: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--lime); transform: translateY(-50%); opacity: 0.7; }
.stack:hover .stack__track { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 120px); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--soft { background: var(--paper-2); }
.section__head { margin-bottom: clamp(44px, 6vw, 80px); max-width: 980px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.section__title { font-size: clamp(2.1rem, 4.4vw, 3.9rem); font-weight: 800; letter-spacing: -0.04em; margin: 0; }
.section__title--sm { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.section__title .muted { display: inline-block; margin-top: 0.35em; font-size: 0.5em; line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; color: var(--text-2); max-width: 36em; }
.section--dark .section__title .muted { color: var(--text-2-dark); }
.section__lede { font-size: 1.12rem; color: var(--text-2-dark); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-family: var(--f-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); }
.eyebrow span { display: inline-grid; place-items: center; min-width: 30px; height: 22px; padding: 0 6px; border-radius: 6px; background: var(--ink); color: var(--lime); }
.eyebrow--dark { color: var(--text-2-dark); }
.eyebrow--dark span { background: var(--lime); color: var(--ink); }

/* ---------- Expertises ---------- */
.xp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.xp__card { position: relative; display: flex; flex-direction: column; padding: 32px 30px 28px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-dark); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); overflow: hidden; }
.xp__card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(212, 255, 58, 0.25), transparent 40%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.xp__card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 11, 20, 0.35); }
.xp__card:hover::before { opacity: 1; }
.xp__card--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.xp__card--dark::before { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(139, 123, 255, 0.35), transparent 40%); }
.xp__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 44px; }
.xp__num { color: var(--text-2); }
.xp__card--dark .xp__num { color: var(--text-2-dark); }
.xp__glyph { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; transition: transform 0.6s var(--spring); }
.xp__glyph svg { width: 30px; height: 30px; }
.xp__glyph--1 { background: var(--lime); color: var(--ink); }
.xp__glyph--2 { background: var(--violet); color: var(--white); }
.xp__glyph--3 { background: var(--orange); color: var(--ink); }
.xp__card:hover .xp__glyph { transform: rotate(-12deg) scale(1.08); }
.xp__card h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); font-weight: 700; }
.xp__pitch { color: var(--text-2); font-size: 1.02rem; }
.xp__card--dark .xp__pitch { color: var(--text-2-dark); }
.xp__list { list-style: none; margin: 10px 0 28px; padding: 0; flex: 1; }
.xp__list li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line-dark); font-size: 0.95rem; position: relative; }
.xp__card--dark .xp__list li { border-color: var(--line-light); }
.xp__list li::before { content: ""; position: absolute; left: 2px; top: 1.15em; width: 7px; height: 7px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.xp__card--dark .xp__list li::before { background: var(--lime); }
.xp__outcome { margin: 0; padding: 14px 16px; border-radius: var(--r-sm); background: var(--paper); font-size: 0.9rem; font-weight: 500; }
.xp__outcome .mono { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-2); margin-bottom: 4px; }
.xp__card--dark .xp__outcome { background: var(--ink-3); }
.xp__card--dark .xp__outcome .mono { color: var(--lime); }

/* ---------- Intelligence embarquée ---------- */
.vehicles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.vehicle { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s; }
.vehicle:hover { border-color: rgba(212, 255, 58, 0.45); }
.vehicle__art { aspect-ratio: 16 / 9; background: radial-gradient(circle at 50% 60%, rgba(139, 123, 255, 0.18), transparent 65%), linear-gradient(var(--line-light) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, var(--line-light) 1px, transparent 1px) 0 0 / 32px 32px; border-bottom: 1px solid var(--line-light); display: grid; place-items: center; overflow: hidden; }
.vehicle__art svg { width: 100%; height: 100%; overflow: visible; }
.vehicle__body { padding: 28px 30px 30px; }
.vehicle__tag { color: var(--lime); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; }
.vehicle h3 { font-size: 2rem; font-weight: 800; }
.vehicle p { color: var(--text-2-dark); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.93rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 16px; height: 16px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230b0b14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.ticks--dark { grid-template-columns: 1fr; }
.ticks--dark li::before { background-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23d4ff3a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.drone { animation: hover 3.4s ease-in-out infinite; }
.rotor { transform-box: fill-box; transform-origin: center; animation: rotor 0.16s linear infinite alternate; }
.fov { animation: scanfov 3.4s ease-in-out infinite; transform-origin: 160px 106px; }
.bbox { animation: blink 1.6s steps(2) infinite; }
.lidar-rings circle { transform-box: fill-box; transform-origin: center; animation: ring 2.8s var(--ease) infinite; }
.lidar-rings circle:nth-child(2) { animation-delay: 0.5s; }
.lidar-rings circle:nth-child(3) { animation-delay: 1s; }
.wheel { animation: spin 1.4s linear infinite; transform-box: fill-box; transform-origin: center; }
.rover { animation: roll 3s ease-in-out infinite; }

.pipeline { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--r-lg); padding: 28px 30px 26px; margin-bottom: 20px; }
.pipeline__label { color: var(--text-2-dark); margin-bottom: 18px; }
.pipeline__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; counter-reset: s; }
.pipeline__steps li { position: relative; outline-offset: 2px; padding: 16px 16px 18px; border-radius: 14px; background: var(--ink-3); cursor: default; transition: background 0.25s, color 0.25s, transform 0.4s var(--spring); }
.pipeline__steps li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1; font-size: 0.8rem; color: var(--text-2-dark); }
.pipeline__steps li span { display: block; color: var(--text-2-dark); margin-bottom: 18px; transition: none; }
.pipeline__steps li strong { font-family: var(--f-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.pipeline__steps li.is-active, .pipeline__steps li:hover { background: var(--lime); color: var(--ink); transform: translateY(-3px); }
.pipeline__steps li.is-active span, .pipeline__steps li:hover span { color: var(--ink); }
.pipeline__info { margin: 20px 0 0; min-height: 1.6em; color: var(--paper); font-size: 1.02rem; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-light); border-radius: var(--r-lg); overflow: hidden; }
.spec { padding: 22px 24px; border-right: 1px solid var(--line-light); }
.spec:last-child { border-right: 0; }
.spec .mono { display: block; color: var(--lime); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.7rem; margin-bottom: 8px; }
.spec strong { font-weight: 500; font-size: 0.98rem; }

/* ---------- Diagnostic express ---------- */
.quiz { display: grid; grid-template-columns: 1.1fr 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line-dark); }
.quiz__left { padding: clamp(28px, 4vw, 56px); }
.quiz__right { padding: clamp(28px, 4vw, 56px); background: var(--lime); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; transition: background 0.5s var(--ease); }
.quiz__right[data-tone="mobile"] { background: var(--violet); color: var(--white); }
.quiz__right[data-tone="robot"] { background: var(--orange); }
.quiz__right[data-tone="unknown"] { background: var(--paper-2); }
.quiz__label { text-transform: uppercase; letter-spacing: 0.1em; margin: 0; opacity: 0.7; }
.quiz__verdict { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -0.02em; margin: 0; }
.quiz__verdict.swap { animation: swap 0.5s var(--ease); }
.quiz__right[data-tone="mobile"] .btn--ink { --bg: var(--white); --fg: var(--ink); }
.quiz__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { font: inherit; font-size: 0.93rem; font-weight: 500; cursor: pointer; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: var(--paper); color: var(--ink); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.35s var(--spring); }
.chip:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- Offres ---------- */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.offer { position: relative; padding: 32px 30px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-dark); transition: transform 0.5s var(--ease); }
.offer:hover { transform: translateY(-6px); }
.offer--hot { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.offer--hot .ticks--dark li::before { background-color: var(--lime); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230b0b14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.offer__badge { position: absolute; top: 24px; right: 24px; background: var(--lime); color: var(--ink); padding: 4px 10px; border-radius: 999px; font-size: 0.7rem; }
.offer__time { color: var(--text-2); margin-bottom: 40px; }
.offer--hot .offer__time { color: var(--text-2-dark); }
.offer h3 { font-size: 2rem; font-weight: 800; }
.offer p { color: var(--text-2); }
.offer--hot p { color: var(--text-2-dark); }

/* ---------- Méthode ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-dark); }
.step { padding: 28px 28px 0 0; position: relative; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 3px; background: var(--ink); transition: width 0.9s var(--ease); }
.step.is-in::before { width: 48px; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.step + .step::before { left: 28px; }
.step__n { display: block; color: var(--text-2); margin-bottom: 40px; }
.step h3 { font-size: 1.5rem; font-weight: 700; }
.step p { color: var(--text-2); font-size: 0.97rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-wrap .section__head { position: sticky; top: 110px; margin-bottom: 0; }
.faq { border-top: 1px solid var(--line-dark); }
.faq__item { border-bottom: 1px solid var(--line-dark); }
.faq__item summary { list-style: none; cursor: pointer; padding: 24px 56px 24px 0; position: relative; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; border: 1px solid var(--line-dark); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 34 34'%3E%3Cpath d='M17 11v12M11 17h12' stroke='%230b0b14' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat; transition: transform 0.4s var(--spring), background-color 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--lime); border-color: var(--lime); }
.faq__item p { margin: 0; padding: 0 56px 26px 0; color: var(--text-2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.contact__text { color: var(--text-2-dark); font-size: 1.1rem; max-width: 30em; margin-top: 24px; }
.contact__mail a { color: var(--lime); }
.contact__promises { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.contact__promises li { display: flex; align-items: center; gap: 12px; color: var(--text-2-dark); font-size: 0.95rem; }
.contact__promises li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); flex: none; }
.form { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 40px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-2-dark); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--paper); background: var(--ink); border: 1px solid var(--line-light); border-radius: 12px; padding: 13px 14px; transition: border-color 0.2s, box-shadow 0.2s; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23f4f2ec' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(244, 242, 236, 0.35); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 3px rgba(212, 255, 58, 0.2); }
.field textarea { resize: vertical; min-height: 130px; }
.form__legal { font-size: 0.8rem; color: var(--text-2-dark); margin: 14px 0 0; }
.form__notice { padding: 14px 16px; border-radius: 12px; font-weight: 500; margin-bottom: 18px; }
.form__notice--ok { background: var(--lime); color: var(--ink); }
.form__notice--err { background: var(--orange); color: var(--ink); }

/* ---------- Pages internes ---------- */
.page-hero { padding: clamp(64px, 8vw, 120px) 0 clamp(36px, 4vw, 56px); background: var(--ink); color: var(--paper); }
.page-hero .eyebrow { color: var(--text-2-dark); }
.page-hero__title { font-size: clamp(2.3rem, 5.5vw, 4.6rem); font-weight: 800; letter-spacing: -0.045em; margin: 0; max-width: 18em; }
.page-hero .mono, .page-hero .mono a { color: var(--text-2-dark); }
.prose { font-size: 1.1rem; }
.prose h2 { font-size: 1.9rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.6em; }
.prose a { text-decoration-color: var(--violet); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose img { border-radius: var(--r); }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--lime); font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; }
.prose pre { background: var(--ink); color: var(--paper); padding: 20px; border-radius: var(--r); overflow-x: auto; }
.prose code { font-family: var(--f-mono); font-size: 0.9em; }
.single__media img { border-radius: var(--r-lg); margin-bottom: 40px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin: 48px 0; font-weight: 500; border-top: 1px solid var(--line-dark); padding-top: 24px; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-dark); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.post-card__link:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 11, 20, 0.35); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.04); }
.post-card__media--empty { display: grid; place-items: center; font-size: 2.5rem; color: var(--lime); background: var(--ink) linear-gradient(var(--line-light) 1px, transparent 1px) 0 0 / 24px 24px; }
.post-card__body { padding: 22px 24px 26px; }
.post-card__date { color: var(--text-2); }
.post-card__title { font-size: 1.3rem; }
.post-card__excerpt { color: var(--text-2); margin: 0; font-size: 0.96rem; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--line-dark); border-radius: 999px; text-decoration: none; font-weight: 500; }
.pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.empty { font-size: 1.2rem; }
.comments { margin-top: 40px; }
.comments input:not([type="submit"]):not([type="checkbox"]), .comments textarea { width: 100%; font: inherit; border: 1px solid var(--line-dark); border-radius: 12px; padding: 12px; background: var(--white); }
.comments .submit { font: inherit; font-weight: 600; padding: 0.9em 1.4em; border: 0; border-radius: 999px; background: var(--ink); color: var(--paper); cursor: pointer; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound__code { font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 22vw, 14rem); letter-spacing: -0.06em; line-height: 1; margin: 0 0 20px; display: flex; justify-content: center; align-items: center; gap: 0.06em; }
.notfound__eye { width: 0.68em; height: 0.68em; border-radius: 50%; background: var(--lime); position: relative; animation: look 3s ease-in-out infinite; }
.notfound__eye::after { content: ""; position: absolute; width: 36%; height: 36%; border-radius: 50%; background: var(--ink); top: 32%; left: 32%; }
.notfound__text { font-size: 1.15rem; color: var(--text-2); margin: 20px auto 30px; max-width: 34em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(64px, 8vw, 110px) 0 28px; border-top: 1px solid var(--line-light); overflow: hidden; }
.site-footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: 56px; border-bottom: 1px solid var(--line-light); }
.site-footer__pitch { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.8rem, 3.8vw, 3.1rem); line-height: 1.04; margin: 0; letter-spacing: -0.045em; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 48px 0; }
.site-footer__label { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.12em; color: var(--lime); margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--text-2-dark); }
.site-footer ul a { text-decoration: none; color: var(--text-2-dark); transition: color 0.2s; }
.site-footer ul a:hover { color: var(--paper); }
.site-footer__giant { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.07em; line-height: 0.78; font-size: clamp(5rem, 23vw, 21rem); margin: 0 0 28px -0.04em; color: var(--paper); user-select: none; background: linear-gradient(180deg, var(--paper) 30%, rgba(244, 242, 236, 0.15)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.site-footer__giant span { -webkit-text-fill-color: var(--lime); }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: var(--text-2-dark); }
.site-footer__bottom a { text-decoration: none; }

/* ---------- Apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animations ---------- */
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(212, 255, 58, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(212, 255, 58, 0); } }
@keyframes blink { 50% { opacity: 0.2; } }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes hover { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rotor { from { transform: scaleX(1); } to { transform: scaleX(0.3); } }
@keyframes scanfov { 0%, 100% { transform: translateY(0) skewX(-6deg); } 50% { transform: translateY(-8px) skewX(6deg); } }
@keyframes ring { 0% { transform: scale(0.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes roll { 0%, 100% { transform: translateX(-10px); } 50% { transform: translateX(10px); } }
@keyframes swap { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes look { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-12%); } 70% { transform: translateX(12%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.hero__inner { grid-template-columns: 1fr; }
	.sim { max-width: 680px; }
	.xp, .offers, .posts { grid-template-columns: 1fr 1fr; }
	.xp__card:last-child { grid-column: 1 / -1; }
	.offers .offer:last-child { grid-column: 1 / -1; }
	.pipeline__steps { grid-template-columns: repeat(3, 1fr); }
	.pipeline__steps li:nth-child(3)::after { display: none; }
	.specs { grid-template-columns: 1fr 1fr; }
	.spec:nth-child(2) { border-right: 0; }
	.spec:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
	.steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
	.step:nth-child(3) { padding-left: 0; border-left: 0; }
	.step:nth-child(3)::before { left: 0; }
}
@media (max-width: 1080px) {
	.nav-toggle { display: block; }
	.nav { position: fixed; inset: 70px 0 auto 0; z-index: 40; flex-direction: column; align-items: stretch; gap: 20px; background: var(--ink); border-bottom: 1px solid var(--line-light); padding: 20px var(--gutter) 32px; transform: translateY(-110%); transition: transform 0.45s var(--ease); visibility: hidden; }
	.admin-bar .nav { top: 116px; }
	.nav-open .nav { transform: none; visibility: visible; }
	.nav__list { flex-direction: column; }
	.nav__list a { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; padding: 10px 0; color: var(--paper); border-radius: 0; }
	.nav__list a:hover { background: none; color: var(--lime); }
}
@media (max-width: 900px) {
	.section__head--split, .quiz, .contact, .faq-wrap { grid-template-columns: 1fr; }
	.faq-wrap { gap: 32px; }
	.faq-wrap .section__head { position: static; }
	.vehicles { grid-template-columns: 1fr; }
	.site-footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) {
	.xp, .offers, .posts, .steps, .form__row, .specs, .ticks { grid-template-columns: 1fr; }
	.step, .step + .step { padding-left: 0; border-left: 0; }
	.step + .step::before { left: 0; }
	.spec { border-right: 0; border-bottom: 1px solid var(--line-light); }
	.spec:last-child { border-bottom: 0; }
	.pipeline { padding: 22px 18px; }
	.pipeline__steps { grid-template-columns: 1fr 1fr; }
	.pipeline__steps li::after { display: none; }
	.hero__facts { grid-template-columns: 1fr 1fr 1fr; }
	.hero__facts div { padding-right: 12px; margin-right: 12px; }
	.hero__facts dt { font-size: 1.3rem; }
	.hero__facts dd { font-size: 0.75rem; }
	.hero__ctas .btn { width: 100%; }
	.sim__stage { aspect-ratio: 1 / 1.05; }
	.sim__foot span:last-child { display: none; }
	.sim__hint { font-size: 0.66rem; white-space: normal; text-align: center; width: max-content; max-width: 88%; border-radius: 12px; }
	.site-footer__cols { grid-template-columns: 1fr; }
	.faq__item p { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 640px) { .sim__dots { display: none; } .sim__bar .mono { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* ==========================================================================
   v3 — Vitrine défilante, E-commerce IA, Apps mobiles
   ========================================================================== */

/* ---------- Vitrine (hero) ---------- */
.show__tabs { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: var(--ink); border: 1px solid var(--line-light); }
.show__tab { position: relative; overflow: hidden; font: inherit; font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.02em; color: var(--text-2-dark); background: transparent; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer; transition: color 0.2s, background 0.2s; }
.show__tab span { position: relative; z-index: 1; }
.show__tab:hover { color: var(--paper); }
.show__tab.is-active { color: var(--ink); background: var(--paper); }
.show__prog { position: absolute; left: 0; bottom: 0; height: 100%; width: 0; background: var(--lime); z-index: 0; }
.show__tab.is-active .show__prog { animation: prog var(--show-dur, 9s) linear forwards; }
.show.is-paused .show__tab.is-active .show__prog, .show:hover .show__tab.is-active .show__prog { animation-play-state: paused; }
.show.is-static .show__prog { display: none; }
@keyframes prog { to { width: 100%; } }
.show__viewport { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; }
.show__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateX(6%) scale(0.98); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), visibility 0s 0.8s; }
.show__slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease), visibility 0s; }
.show__slide.is-leaving { transform: translateX(-6%) scale(0.98); }
.show__slide .sim__stage { aspect-ratio: auto; height: 100%; }
.show__demo { position: absolute; right: 14px; bottom: 12px; margin: 0; font-size: 0.66rem; color: var(--text-2-dark); opacity: 0.7; }

/* Démo boutique */
.shop { padding: 18px; display: flex; flex-direction: column; gap: 14px; background: radial-gradient(circle at 80% 0%, rgba(212, 255, 58, 0.08), transparent 50%); }
.shop__search { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 0.95rem; min-height: 48px; }
.shop__search svg { width: 18px; height: 18px; flex: none; color: var(--text-2); }
.shop__query { white-space: nowrap; overflow: hidden; }
.shop__caret { width: 2px; height: 1.2em; background: var(--ink); animation: blink 1s steps(2) infinite; flex: none; }
.shop__ai { margin-left: auto; flex: none; background: var(--ink); color: var(--lime); padding: 3px 8px; border-radius: 6px; font-size: 0.68rem; }
.shop__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; flex: 1; min-height: 0; }
.shop__label { margin: 0 0 8px; color: var(--text-2-dark); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; }
.shop__results { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.shop__row { display: grid; grid-template-columns: 40px 1fr 74px; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--ink-3); opacity: 0; transform: translateY(8px); }
.shop.is-ready .shop__row { animation: rowin 0.5s var(--ease) forwards; animation-delay: calc(var(--d) * 0.15s); }
.shop__thumb { width: 40px; height: 40px; border-radius: 9px; position: relative; overflow: hidden; }
.shop__thumb::after { content: ""; position: absolute; left: 6px; right: 4px; bottom: 9px; height: 14px; border-radius: 10px 14px 4px 4px; background: var(--white); box-shadow: inset 0 -4px 0 rgba(11, 11, 20, 0.15); }
.shop__thumb--1 { background: var(--lime); }
.shop__thumb--2 { background: var(--violet); }
.shop__thumb--3 { background: var(--orange); }
.shop__name { font-size: 0.86rem; font-weight: 600; line-height: 1.2; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop__name small { display: block; font-weight: 400; font-size: 0.74rem; color: var(--text-2-dark); }
.shop__score { display: flex; align-items: center; gap: 6px; }
.shop__score i { flex: 1; height: 5px; border-radius: 4px; background: rgba(244, 242, 236, 0.1); position: relative; overflow: hidden; }
.shop__score i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: var(--lime); border-radius: 4px; }
.shop.is-ready .shop__score i::after { animation: grow 0.9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 0.15s + 0.3s); }
.shop__row:nth-child(3) .shop__score i::after { --d: 1; }
.shop__row:nth-child(4) .shop__score i::after { --d: 2; }
.shop__score b { font-size: 0.72rem; color: var(--lime); font-weight: 500; }
@keyframes grow { to { width: var(--w); } }
.shop__score i[style*="97"]::after { --w: 97%; } .shop__score i[style*="91"]::after { --w: 91%; } .shop__score i[style*="84"]::after { --w: 84%; }
.shop__reco { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: 4px; opacity: 0; }
.shop.is-ready .shop__reco { animation: rowin 0.5s var(--ease) 0.8s forwards; }
.shop__reco .mono { width: 100%; font-size: 0.66rem; color: var(--text-2-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.shop__chip { font-size: 0.75rem; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(212, 255, 58, 0.5); color: var(--lime); }
.shop__kpis { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kpi { flex: 1; padding: 12px 14px; border-radius: 12px; background: var(--ink-3); display: flex; flex-direction: column; justify-content: space-between; gap: 4px; min-height: 0; }
.kpi .mono { font-size: 0.66rem; color: var(--text-2-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.kpi b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.kpi b em { display: block; margin-top: 6px; font-style: normal; font-family: var(--f-mono); font-size: 0.68rem; font-weight: 400; color: var(--lime); letter-spacing: 0; }
.kpi__spark { width: 100%; height: 28px; }
.kpi__spark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.shop.is-ready .kpi__spark path { animation: draw 1.6s var(--ease) 0.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.kpi__bars { display: flex; align-items: flex-end; gap: 4px; height: 26px; }
.kpi__bars i { flex: 1; height: 0; border-radius: 3px 3px 0 0; background: var(--violet); }
.kpi__bars i:last-child { background: var(--lime); }
.shop.is-ready .kpi__bars i { animation: bar 0.8s var(--ease) forwards; }
.shop.is-ready .kpi__bars i:nth-child(2) { animation-delay: 0.1s; } .shop.is-ready .kpi__bars i:nth-child(3) { animation-delay: 0.2s; } .shop.is-ready .kpi__bars i:nth-child(4) { animation-delay: 0.3s; } .shop.is-ready .kpi__bars i:nth-child(5) { animation-delay: 0.4s; }
@keyframes bar { to { height: var(--h); } }
@keyframes rowin { to { opacity: 1; transform: none; } }

/* Démo app */
.app { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; padding: 18px 26px; background: radial-gradient(circle at 30% 50%, rgba(139, 123, 255, 0.25), transparent 60%); }
.app__phone { position: relative; height: 92%; aspect-ratio: 9 / 18.5; max-height: 400px; border-radius: 34px; background: var(--ink); border: 6px solid #2b2b38; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); overflow: hidden; display: flex; flex-direction: column; justify-self: center; }
.app__notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 34%; height: 14px; border-radius: 10px; background: #000; z-index: 3; }
.app__cam { position: relative; flex: 1.25; background: linear-gradient(160deg, #3b3548, #1c1a26); overflow: hidden; }
.app__leaf { position: absolute; background: #3fae6a; border-radius: 0 70% 0 70%; }
.app__leaf--1 { width: 46%; height: 34%; left: 18%; top: 26%; transform: rotate(-20deg); }
.app__leaf--2 { width: 40%; height: 30%; left: 44%; top: 20%; transform: rotate(40deg); background: #2f9157; }
.app__leaf--3 { width: 36%; height: 26%; left: 30%; top: 42%; transform: rotate(10deg); background: #48c278; }
.app__pot { position: absolute; left: 32%; width: 36%; bottom: 10%; height: 20%; background: var(--orange); border-radius: 4px 4px 12px 12px; }
.app__box { position: absolute; left: 12%; top: 16%; width: 76%; height: 74%; border: 2px solid var(--lime); border-radius: 8px; opacity: 0; transform: scale(1.15); }
.app__box i { position: absolute; top: -20px; left: -2px; background: var(--lime); color: var(--ink); font-style: normal; font-size: 0.62rem; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.app.is-ready .app__box { animation: lockon 0.6s var(--spring) 0.6s forwards; }
@keyframes lockon { to { opacity: 1; transform: none; } }
.app__scanline { position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(212, 255, 58, 0.25)); }
.app.is-ready .app__scanline { animation: scan 1.4s var(--ease) 2; }
@keyframes scan { to { top: 100%; } }
.app__sheet { flex: 1; background: var(--paper); color: var(--ink); padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; border-radius: 18px 18px 0 0; margin-top: -14px; position: relative; z-index: 2; }
.app__msg { margin: 0; font-size: 0.68rem; line-height: 1.35; padding: 7px 10px; border-radius: 12px; max-width: 88%; opacity: 0; transform: translateY(6px); }
.app__msg--user { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 4px; }
.app__msg--bot { background: var(--white); border: 1px solid var(--line-dark); border-bottom-left-radius: 4px; }
.app.is-ready .app__msg--user { animation: rowin 0.4s var(--ease) 1.6s forwards; }
.app.is-ready .app__msg--bot { animation: rowin 0.4s var(--ease) 3.4s forwards; }
.app__typing { display: flex; gap: 3px; padding: 8px 10px; background: var(--white); border: 1px solid var(--line-dark); border-radius: 12px; width: max-content; opacity: 0; }
.app.is-ready .app__typing { animation: typing 1.4s 2.1s forwards; }
@keyframes typing { 0%, 99% { opacity: 1; } 100% { opacity: 0; height: 0; padding: 0; border: 0; } }
.app__typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-2); animation: dot 0.9s infinite; }
.app__typing i:nth-child(2) { animation-delay: 0.15s; } .app__typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { transform: translateY(-3px); opacity: 0.4; } }
.app__cards { display: flex; flex-direction: column; gap: 10px; }
.app__card { padding: 14px 16px; border-radius: 14px; background: var(--ink-3); border: 1px solid var(--line-light); opacity: 0; transform: translateX(14px); }
.app.is-ready .app__card { animation: rowin 0.6s var(--ease) forwards; animation-delay: calc(var(--d) * 0.25s + 0.8s); }
.app__card .mono { display: block; font-size: 0.64rem; color: var(--text-2-dark); text-transform: uppercase; letter-spacing: 0.08em; }
.app__card b { display: block; font-family: var(--f-display); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.03em; margin: 4px 0 2px; color: var(--lime); }
.app__card:nth-child(2) b { color: var(--paper); }
.app__card:nth-child(3) b { color: var(--violet); }
.app__card small { font-size: 0.78rem; color: var(--text-2-dark); }

/* ---------- Liens des cartes expertises ---------- */
.xp__link { margin-top: 16px; font-weight: 600; font-size: 0.93rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.xp__link span { transition: transform 0.35s var(--spring); }
.xp__link:hover span { transform: translateX(4px); }
.xp__card--dark .xp__link { color: var(--lime); }

/* ---------- Section e-commerce ---------- */
.section__lede--dark { color: var(--text-2); }
.journey { background: var(--white); border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; margin-bottom: 20px; }
.journey__tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid var(--line-dark); position: relative; }
.journey__tab { font: inherit; font-weight: 600; font-size: 0.98rem; text-align: left; color: var(--text-2); background: transparent; border: 0; border-right: 1px solid var(--line-dark); padding: 18px 20px; cursor: pointer; position: relative; transition: color 0.2s, background 0.2s; }
.journey__tab:last-child { border-right: 0; }
.journey__tab span { display: block; font-weight: 400; margin-bottom: 4px; color: var(--text-2); }
.journey__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.journey__tab:hover { color: var(--ink); background: var(--paper); }
.journey__tab.is-active { color: var(--ink); }
.journey__tab.is-active::after { transform: scaleX(1); }
.journey__tab.is-active span { color: var(--ink); }
.journey__panels { display: grid; }
.journey__panel { grid-area: 1 / 1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; padding: clamp(24px, 4vw, 44px); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0s 0.4s; }
.journey__panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s var(--ease), transform 0.5s var(--ease), visibility 0s; }
.journey__panel h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; }
.journey__panel p { color: var(--text-2); margin: 0; }
.journey__k { text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 10px !important; }
.journey__metric { padding: 22px; border-radius: var(--r); background: var(--ink); color: var(--paper); }
.journey__metric .mono { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--lime); margin-bottom: 6px; }
.journey__metric b { font-family: var(--f-display); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; display: block; margin-bottom: 16px; }
.journey__bar { display: block; height: 8px; border-radius: 6px; background: var(--ink-3); overflow: hidden; }
.journey__bar i { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--violet), var(--lime)); transition: width 1.1s var(--ease) 0.15s; }
.journey__panel.is-active .journey__bar i { width: var(--w); }
.levers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.lever { padding: 26px 26px 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line-dark); transition: transform 0.5s var(--ease), border-color 0.3s; }
.lever:hover { transform: translateY(-4px); border-color: var(--ink); }
.lever__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--paper); font-size: 1.3rem; margin-bottom: 22px; transition: transform 0.5s var(--spring), background 0.3s; }
.lever:hover .lever__ico { transform: rotate(-10deg) scale(1.08); background: var(--lime); }
.lever h3 { font-size: 1.2rem; font-weight: 700; }
.lever p { margin: 0; font-size: 0.95rem; color: var(--text-2); }
.band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 20px 20px 20px 28px; border-radius: 999px; background: var(--ink); color: var(--paper); }
.band p { margin: 0; color: var(--text-2-dark); }
.band .mono { color: var(--lime); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 10px; }
.band .btn--ink { --bg: var(--lime); --fg: var(--ink); }

/* ---------- Section mobile ---------- */
.section--violet { background: var(--violet); color: var(--ink); }
.eyebrow--ink { color: rgba(11, 11, 20, 0.7); }
.eyebrow--ink span { background: var(--ink); color: var(--lime); }
.section--violet .hl--ink { color: var(--ink); background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); }
.section__lede--ink { color: rgba(11, 11, 20, 0.78); }
.builder { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); overflow: hidden; margin-bottom: 20px; }
.builder__left { padding: clamp(26px, 4vw, 48px); }
.builder__k { color: var(--lime); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 20px; }
.builder__mods { display: flex; flex-wrap: wrap; gap: 8px; }
.mod { font: inherit; font-size: 0.92rem; font-weight: 500; cursor: pointer; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-light); background: transparent; color: var(--text-2-dark); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.35s var(--spring); }
.mod:hover { color: var(--paper); border-color: var(--paper); transform: translateY(-2px); }
.mod.is-on { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.builder__note { margin: 26px 0 0; color: var(--text-2-dark); font-size: 0.95rem; max-width: 34em; }
.builder__phone { display: grid; place-items: center; padding: 36px 24px; background: radial-gradient(circle at 50% 40%, rgba(139, 123, 255, 0.4), transparent 65%), var(--ink-2); border-left: 1px solid var(--line-light); }
.builder__screen { width: min(250px, 100%); min-height: 380px; border-radius: 34px; border: 6px solid #2b2b38; background: var(--paper); color: var(--ink); padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.builder__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
.builder__app { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; font-size: 1rem; }
.builder__top .mono:last-child { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--lime); font-size: 0.7rem; }
.builder__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; flex: 1; align-content: start; }
.builder__list li { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--white); border: 1px solid var(--line-dark); font-size: 0.8rem; font-weight: 500; animation: modin 0.45s var(--spring); }
.builder__list li span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--paper-2); font-size: 0.9rem; }
.builder__list li:first-child span { background: var(--lime); }
@keyframes modin { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.builder__ship { display: flex; justify-content: space-between; font-size: 0.66rem; color: #2f8f4e; padding-top: 6px; border-top: 1px solid var(--line-dark); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.pillar { padding: 28px; border-radius: var(--r-lg); background: var(--paper); transition: transform 0.5s var(--ease); }
.pillar:hover { transform: translateY(-4px); }
.pillar .mono { display: inline-block; background: var(--ink); color: var(--lime); padding: 3px 10px; border-radius: 999px; margin-bottom: 22px; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; }
.pillar h3 { font-size: 1.35rem; font-weight: 700; }
.pillar p { margin: 0; color: var(--text-2); font-size: 0.96rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r-lg); overflow: hidden; background: rgba(11, 11, 20, 0.12); gap: 1px; }
.timeline li { padding: 20px 22px; background: rgba(244, 242, 236, 0.88); position: relative; }
.timeline li:last-child { background: var(--lime); }
.timeline .mono { display: block; color: var(--text-2); margin-bottom: 6px; }
.timeline b { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: -0.02em; }
.timeline__note { margin: 12px 0 0; color: rgba(11, 11, 20, 0.65); }

/* ---------- Responsive v3 ---------- */
@media (max-width: 1100px) {
	.levers, .pillars { grid-template-columns: 1fr 1fr; }
	.journey__tab { padding: 14px; font-size: 0.9rem; }
}
@media (max-width: 900px) {
	.builder { grid-template-columns: 1fr; }
	.builder__phone { border-left: 0; border-top: 1px solid var(--line-light); }
	.journey__panel { grid-template-columns: 1fr; gap: 22px; }
	.timeline { grid-template-columns: 1fr 1fr; }
	.band { border-radius: var(--r-lg); }
}
@media (max-width: 640px) {
	.show__viewport { aspect-ratio: 1 / 1.12; }
	.show__tab { padding: 6px 9px; font-size: 0.68rem; }
	.sim__status { display: none; }
	.shop { padding: 12px; gap: 10px; }
	.shop__grid { grid-template-columns: 1fr; }
	.shop__kpis { flex-direction: row; }
	.kpi { padding: 10px; }
	.kpi b { font-size: 1.1rem; }
	.kpi--price, .shop__reco .mono { display: none; }
	.kpi__spark, .kpi__bars { height: 20px; }
	.shop__search { font-size: 0.82rem; padding: 10px 12px; min-height: 42px; }
	.app { grid-template-columns: 1fr 1fr; gap: 12px; padding: 14px; }
	.app__phone { height: 94%; border-width: 5px; border-radius: 26px; }
	.app__card { padding: 10px 12px; }
	.app__card b { font-size: 1rem; }
	.app__card small { font-size: 0.68rem; }
	.journey__tabs { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; }
	.levers, .pillars, .timeline { grid-template-columns: 1fr; }
	.band { padding: 20px; }
	.band .btn { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
	.shop__row, .shop__reco, .app__card, .app__msg, .app__box { opacity: 1 !important; transform: none !important; }
	.shop__score i::after { width: var(--w); }
	.kpi__spark path { stroke-dashoffset: 0; }
	.kpi__bars i { height: var(--h); }
	.journey__bar i { width: var(--w); }
}
.section__title .hl { white-space: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.app__box { top: 22%; height: 68%; }
@media (max-width: 640px) {
	.show__demo, .shop__reco { display: none; }
	.show__viewport { aspect-ratio: 1 / 1.18; }
}
.site-footer__bottom a { color: var(--text-2-dark); }
.site-footer__bottom a:hover { color: var(--paper); }
.form__legal a { color: var(--lime); }
