/* ============================================================
   THE LEVEL CODE — site vitrine
   Palette : ink #15241B · lime #A3E635 / #C7F23C
   Display : Anybody (condensé, italique) · Corps : Archivo · Labels : Space Mono
   ============================================================ */

:root {
  --ink: #0b1310;
  --ink-1: #0e1712;
  --ink-2: #12201a;
  --ink-3: #15241b;
  --ink-card: #101b15;
  --lime: #a3e635;
  --lime-bright: #c7f23c;
  --lime-deep: #7fbf1f;
  --paper: #f2f7ec;
  --muted: #93a89a;
  --muted-2: #6f867a;
  --line: rgba(163, 230, 53, 0.14);
  --line-soft: rgba(242, 247, 236, 0.08);
  --danger: #ff6a3d;

  --font-display: "Anybody", "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  --maxw: 1200px;
  --gutter: clamp(1.2rem, 4vw, 3.5rem);
  --radius: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

::selection {
  background: var(--lime);
  color: var(--ink-3);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--lime);
  color: var(--ink-3);
  padding: 0.6rem 1rem;
  border-radius: 0 0 10px 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

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

/* ============================================================
   FOND / DÉCOR
   ============================================================ */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #12241a 0%, var(--ink) 55%),
    var(--ink);
}
.bg-grid {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 78%);
  opacity: 0.7;
}
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.bg-glow--1 {
  width: 60vw;
  height: 60vw;
  top: -22vw;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(163, 230, 53, 0.28), transparent 68%);
}
.bg-glow--2 {
  width: 40vw;
  height: 40vw;
  right: -10vw;
  top: 42vh;
  background: radial-gradient(circle, rgba(127, 191, 31, 0.18), transparent 68%);
  animation: drift 22s ease-in-out infinite alternate;
}
.bg-streak {
  position: absolute;
  width: 140%;
  height: 42%;
  left: -20%;
  top: 30%;
  background: linear-gradient(100deg, transparent 30%, rgba(163, 230, 53, 0.06) 50%, transparent 70%);
  transform: rotate(-12deg);
}
.bg-grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}
@keyframes drift {
  to {
    transform: translate(-6vw, 4vh) scale(1.15);
  }
}

/* Scanline unique au chargement */
.scan {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 90;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0;
  pointer-events: none;
}
body.loaded .scan {
  animation: scan 1.1s var(--ease-out) 0.15s both;
}
@keyframes scan {
  0% {
    opacity: 0.9;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh);
  }
}

/* Curseur lueur (desktop, pointeur fin) */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--lime);
  background: rgba(163, 230, 53, 0.06);
  transform: translate(-50%, -50%);
  z-index: 120;
  pointer-events: none;
  opacity: 0;
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s,
    opacity 0.3s;
  mix-blend-mode: screen;
}
.cursor.is-active {
  width: 54px;
  height: 54px;
  background: rgba(163, 230, 53, 0.12);
}

/* ============================================================
   TYPO UTILITAIRES
   ============================================================ */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.5);
  animation: ping 2.4s ease-out infinite;
}
.eyebrow .idx {
  color: var(--muted-2);
}
@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.5);
  }
  70%,
  100% {
    box-shadow: 0 0 0 10px rgba(163, 230, 53, 0);
  }
}

.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4.5rem, 10vw, 8.5rem) var(--gutter);
  position: relative;
}
.section__head {
  max-width: 62ch;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem 3rem;
  align-items: end;
}
.section__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(2rem, 5.2vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin-top: 1.1rem;
  text-wrap: balance;
}
.section__intro {
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin-top: 1.2rem;
  max-width: 52ch;
}
.section__intro .muted {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}
.muted {
  color: var(--muted-2);
}

em {
  font-style: inherit;
  color: var(--lime);
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  --pad-y: 0.95rem;
  --pad-x: 1.5rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s,
    border-color 0.25s, box-shadow 0.25s;
  will-change: transform;
  white-space: nowrap;
}
.btn__arrow {
  width: 1.15em;
  height: 1.15em;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(4px);
}
.btn--primary {
  background: var(--lime);
  color: var(--ink-3);
  box-shadow: 0 0 0 0 rgba(163, 230, 53, 0.4);
}
.btn--primary:hover {
  background: var(--lime-bright);
  box-shadow: 0 12px 40px -10px rgba(163, 230, 53, 0.6);
}
.btn--ghost {
  background: rgba(242, 247, 236, 0.02);
  border-color: var(--line);
  color: var(--paper);
}
.btn--ghost:hover {
  border-color: var(--lime);
  background: rgba(163, 230, 53, 0.06);
}
.btn--sm {
  --pad-y: 0.7rem;
  --pad-x: 1.15rem;
  font-size: 0.9rem;
}
.btn--lg {
  --pad-y: 1.15rem;
  --pad-x: 2rem;
  font-size: 1.1rem;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.9rem var(--gutter);
  transition: background 0.35s, backdrop-filter 0.35s, padding 0.35s,
    border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(11, 19, 16, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line-soft);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
}
.logo {
  width: 168px;
  height: auto;
  color: var(--paper);
}
.logo__word {
  fill: currentColor;
}
.logo__mark {
  fill: var(--lime);
  transition: fill 0.3s;
}
.nav__brand:hover .logo__mark {
  fill: var(--lime-bright);
}
.nav__links {
  margin-left: auto;
  display: flex;
  gap: 1.9rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.nav__links a {
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--lime);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover {
  color: var(--paper);
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__cta {
  margin-left: 0;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(8rem, 18vh, 12rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.hero__inner {
  width: 100%;
  max-width: 960px;
}
.hero .eyebrow {
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  font-size: clamp(2.9rem, 11vw, 8.2rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  padding: 0.06em 0.04em;
  margin: -0.06em -0.04em;
}
.hero__title .line__in {
  display: block;
  transform: translateY(110%) rotate(3deg);
}
.hero__title em {
  color: var(--lime);
  text-shadow: 0 0 42px rgba(163, 230, 53, 0.45);
}
body.loaded .hero__title .line__in {
  animation: riseIn 0.95s var(--ease-out) both;
}
body.loaded .hero__title .line:nth-child(1) .line__in {
  animation-delay: 0.12s;
}
body.loaded .hero__title .line:nth-child(2) .line__in {
  animation-delay: 0.24s;
}
body.loaded .hero__title .line:nth-child(3) .line__in {
  animation-delay: 0.36s;
}
@keyframes riseIn {
  to {
    transform: translateY(0) rotate(0);
  }
}
.hero__lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 46ch;
  line-height: 1.55;
}
.hero__lead strong {
  color: var(--paper);
  font-weight: 700;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vw, 3.8rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line-soft);
  max-width: 52ch;
}
.hero__stats dt {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--paper);
}
.hero__stats .plus {
  color: var(--lime);
}
.hero__stats dd {
  font-size: 0.86rem;
  color: var(--muted-2);
  margin-top: 0.5rem;
  max-width: 18ch;
}
.hero__scroll {
  position: absolute;
  bottom: 1.6rem;
  right: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero__scroll-line {
  width: 1px;
  height: 54px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line i {
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(var(--lime), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(280%);
  }
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line-soft);
  background: rgba(163, 230, 53, 0.02);
  overflow: hidden;
  padding: 1.1rem 0;
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  color: var(--paper);
  animation: marquee 34s linear infinite;
  padding-left: 1.6rem;
}
.marquee .sep {
  color: var(--lime);
  font-style: normal;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ============================================================
   SERVICES / CARDS
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.card {
  position: relative;
  padding: 1.7rem 1.5rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-card), var(--ink-1));
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s, background 0.4s;
  transform-style: preserve-3d;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, rgba(163, 230, 53, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.card:hover {
  border-color: rgba(163, 230, 53, 0.4);
  background: linear-gradient(180deg, #12211a, var(--ink-1));
}
.card:hover::before {
  opacity: 1;
}
.card__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}
.card__icon {
  width: 46px;
  height: 46px;
  margin: 1.4rem 0 1.2rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--lime);
  background: rgba(163, 230, 53, 0.05);
}
.card__icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}
.card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* ============================================================
   PRODUIT — VOIRAIL
   ============================================================ */
.product {
  position: relative;
}
.product__glow {
  position: absolute;
  width: 70%;
  height: 60%;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(163, 230, 53, 0.1), transparent 65%);
  filter: blur(60px);
  z-index: -1;
}
.product__stage {
  position: relative;
  margin: 1rem 0 3.5rem;
  min-height: 300px;
}

/* — Navigateur / dashboard — */
.mock {
  transition: transform 0.5s var(--ease);
}
.mock--web {
  width: min(100%, 860px);
}
.browser {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-1);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 0, 0, 0.4);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.9rem;
  background: #0c1611;
  border-bottom: 1px solid var(--line-soft);
}
.browser__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a3a30;
}
.browser__dot:nth-child(1) {
  background: #3a4a3f;
}
.browser__url {
  margin-left: 0.8rem;
  flex: 1;
  max-width: 260px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  padding: 0.35rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.browser__url .lock {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border: 1.5px solid var(--lime);
  border-bottom: none;
  position: relative;
  top: -1px;
}
.dash {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 340px;
}
.dash__side {
  border-right: 1px solid var(--line-soft);
  padding: 1.1rem 0.9rem;
  background: rgba(0, 0, 0, 0.18);
}
.dash__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}
.dash__mark {
  width: 15px;
  color: var(--lime);
}
.dash__nav {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.82rem;
  color: var(--muted);
}
.dash__nav span {
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.dash__nav .is-active {
  background: rgba(163, 230, 53, 0.12);
  color: var(--lime-bright);
  font-weight: 600;
}
.dash__main {
  padding: 1.1rem;
}
.dash__kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.kpi {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.7rem 0.75rem;
  background: var(--ink-card);
}
.kpi__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.kpi__val {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: 0.2rem;
}
.kpi--alert .kpi__val {
  color: var(--lime);
}
.dash__row {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.6rem;
}
.panel {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 0.85rem;
  background: var(--ink-card);
}
.panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}
.pill {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  color: var(--muted-2);
  white-space: nowrap;
}
.pill--lime {
  background: rgba(163, 230, 53, 0.14);
  border-color: transparent;
  color: var(--lime-bright);
}
.vgp {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.vgp__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.3rem 0.7rem;
  font-size: 0.76rem;
}
.vgp__mac {
  color: var(--paper);
}
.vgp__cd {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-align: right;
}
.vgp__bar {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.vgp__bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime));
  transition: width 1.1s var(--ease) 0.2s;
}
.is-visible .vgp__bar i {
  width: var(--w);
}
.vgp--urgent .vgp__cd {
  color: var(--danger);
  font-weight: 700;
}
.vgp--urgent .vgp__bar i {
  background: linear-gradient(90deg, #ff6a3d, #ffb03d);
  animation: urgent 1.6s ease-in-out infinite 1.3s;
}
@keyframes urgent {
  50% {
    opacity: 0.55;
  }
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 118px;
  padding-top: 0.3rem;
}
.chart span {
  flex: 1;
  height: 0;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--lime), rgba(163, 230, 53, 0.22));
  transition: height 0.9s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.chart span:last-child {
  background: linear-gradient(180deg, var(--lime-bright), rgba(199, 242, 60, 0.3));
}
.is-visible .chart span {
  height: var(--h);
}

/* — Téléphone / app terrain — */
.mock--phone {
  position: absolute;
  right: -0.5rem;
  bottom: -2.5rem;
  width: 232px;
  z-index: 3;
}
.phone {
  position: relative;
  border-radius: 34px;
  padding: 9px;
  background: linear-gradient(160deg, #1c2b22, #0a110d);
  border: 1px solid rgba(163, 230, 53, 0.18);
  box-shadow: 0 50px 80px -30px rgba(0, 0, 0, 0.85), 0 0 60px -20px rgba(163, 230, 53, 0.2);
  animation: floaty 6.5s ease-in-out infinite;
}
@keyframes floaty {
  50% {
    transform: translateY(-12px);
  }
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 20px;
  border-radius: 999px;
  background: #050907;
  z-index: 4;
}
.phone__screen {
  border-radius: 26px;
  background: radial-gradient(120% 60% at 50% 0%, #12201a, #0a110d 70%);
  padding: 1.6rem 0.95rem 0.95rem;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
}
.app__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.app__net {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--lime);
}
.app__net .offline {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  animation: ping 2s ease-out infinite;
}
.app__head {
  margin-bottom: 1rem;
}
.app__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.5rem;
  line-height: 1;
}
.app__sub {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--lime);
  margin-top: 0.35rem;
}
.app__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.task {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}
.task.done {
  color: var(--paper);
}
.tick {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--muted-2);
  flex-shrink: 0;
  position: relative;
}
.task.done .tick {
  background: var(--lime);
  border-color: var(--lime);
}
.task.done .tick::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid var(--ink-3);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tick--load {
  border-color: var(--lime);
  border-right-color: transparent;
  animation: spin 0.9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.thumbs {
  margin-left: auto;
  display: inline-flex;
  gap: 3px;
}
.thumbs i {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(135deg, #2b3a30, #1a2620);
  border: 1px solid var(--line-soft);
}
.thumbs i:last-child {
  background: linear-gradient(135deg, rgba(163, 230, 53, 0.35), rgba(163, 230, 53, 0.1));
}
.sign {
  margin-top: 0.3rem;
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.7rem 0.3rem;
}
.sign__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}
.sign__ink {
  width: 100%;
  height: 34px;
  color: var(--lime);
}
.sign__ink path {
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
}
.is-visible .sign__ink path {
  animation: draw 1.6s var(--ease-out) 0.5s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
.app__sync {
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--muted-2);
  text-align: center;
}
.app__sync-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.app__sync-bar i {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  animation: sync 1.8s ease-in-out infinite;
}
@keyframes sync {
  0% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(320%);
  }
}

/* — Fonctionnalités — */
.features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.feature {
  padding: 1.7rem;
  background: var(--ink-1);
  transition: background 0.35s;
}
.feature:hover {
  background: var(--ink-card);
}
.feature__k {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
}
.feature h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.35rem;
  line-height: 1.02;
  margin: 0.7rem 0 0.5rem;
}
.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* — Résultats — */
.results {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  background: linear-gradient(120deg, rgba(163, 230, 53, 0.05), transparent);
}
.results__k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.result__n {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1;
  color: var(--lime);
}
.result__n b {
  font-weight: 800;
}
.result__l {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 0.5rem;
  max-width: 22ch;
}

/* ============================================================
   MÉTHODE / STEPS
   ============================================================ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}
.step {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--ink-card), var(--ink-1));
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.step:hover {
  border-color: rgba(163, 230, 53, 0.35);
  transform: translateY(-4px);
}
.step__no {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--lime);
  letter-spacing: 0.1em;
}
.step__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin: 0.9rem 0 1.2rem;
}
.step__bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--lime-deep), var(--lime-bright));
  transition: width 1s var(--ease) 0.15s;
}
.is-visible .step__bar i {
  width: var(--lvl);
}
.step h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  font-size: 1.4rem;
  line-height: 1;
  margin-bottom: 0.55rem;
}
.step p {
  color: var(--muted);
  font-size: 0.92rem;
}

.tech {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.4rem;
}
.tech__k {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.tech ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.tech li {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--paper);
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.tech li:hover {
  border-color: var(--lime);
  color: var(--lime);
  background: rgba(163, 230, 53, 0.06);
}
.tech__note {
  flex-basis: 100%;
  color: var(--muted-2);
  font-size: 0.86rem;
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  padding-top: 2rem;
}
.cta__card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
  background: linear-gradient(180deg, #12201a, var(--ink-1));
  overflow: hidden;
}
.cta__glow {
  position: absolute;
  width: 60%;
  height: 140%;
  left: 50%;
  top: -20%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(163, 230, 53, 0.18), transparent 62%);
  filter: blur(40px);
}
.cta .eyebrow {
  justify-content: center;
  margin-bottom: 1.3rem;
  position: relative;
}
.cta__title {
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin-bottom: 1.3rem;
}
.cta__lead {
  position: relative;
  color: var(--muted);
  max-width: 46ch;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.cta__actions {
  position: relative;
  display: flex;
  justify-content: center;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--line-soft);
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__logo {
  width: 200px;
  height: auto;
  opacity: 0.95;
}
.footer__tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--muted-2);
  margin-top: 1rem;
  letter-spacing: 0.04em;
}
.footer__tag span {
  color: var(--lime);
}
.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer__nav h4 {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 1rem;
  font-weight: 400;
}
.footer__nav a,
.footer__nav span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 0.28rem 0;
  transition: color 0.2s;
}
.footer__nav a:hover {
  color: var(--lime);
}
.footer__legal {
  border-top: 1px solid var(--line-soft);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__legal p {
  color: var(--muted-2);
  font-size: 0.76rem;
  max-width: 80ch;
  line-height: 1.5;
}
.footer__up {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: border-color 0.25s, color 0.25s;
  white-space: nowrap;
}
.footer__up:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* ============================================================
   REVEALS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .results__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .section__head--split {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .mock--phone {
    width: 210px;
    bottom: -1.5rem;
  }
}

@media (max-width: 760px) {
  .nav__links {
    display: none;
  }
  .hero__inner {
    max-width: 100%;
  }
  .product__stage {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .mock--web {
    width: 100%;
  }
  .mock--phone {
    position: relative;
    right: auto;
    bottom: auto;
    width: 220px;
    margin: -3.5rem auto 0;
  }
  .dash__side {
    display: none;
  }
  .dash {
    grid-template-columns: 1fr;
  }
  .features {
    grid-template-columns: 1fr;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cursor {
    display: none;
  }
}

@media (max-width: 480px) {
  .cards,
  .steps,
  .results__grid,
  .dash__kpis {
    grid-template-columns: 1fr;
  }
  .dash__kpis {
    grid-template-columns: repeat(2, 1fr);
  }
  .dash__row {
    grid-template-columns: 1fr;
  }
  .hero__stats {
    gap: 1.4rem;
  }
}

/* ============================================================
   MOTION RÉDUIT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal],
  .hero__title .line__in {
    opacity: 1 !important;
    transform: none !important;
  }
  .vgp__bar i,
  .step__bar i,
  .chart span {
    transition: none !important;
  }
  .is-visible .chart span {
    height: var(--h);
  }
}
