/* ============================================================
   KALIFY — Landing page v2
   Design system aligned with kalify.fr brand tokens
   ============================================================ */

/* Self-hosted Inter Tight Variable (latin subset, ~44KB) */
@font-face {
  font-family: 'Inter Tight';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/InterTight-Variable-latin.woff2') format('woff2-variations'),
       url('assets/fonts/InterTight-Variable-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* === COLORS === */
  --blue:        #1A1F4D;
  --mint:        #00DF9C;             /* brand mint — décoration uniquement */
  --mint-text:   #006B47;             /* mint accessible sur fond clair (ratio 7.2:1 AAA) */
  --mint-soft:   #A9FFE5;
  --mint-tint:   #E9FFF9;
  --ink:         #0A0D31;
  --ink-2:       #14184A;
  --near-black:  #212223;
  --grey:        #5F6567;
  --body:        rgba(0, 0, 0, 0.65);
  --body-on-dark:rgba(255, 255, 255, 0.72);
  --soft:        #F5F5F5;
  --soft-2:      #FAFAFC;
  --line:        rgba(0, 0, 0, 0.1);
  --line-dark:   rgba(255, 255, 255, 0.1);
  --white:       #FFFFFF;
  --max:         1680px;
  --radius-xs:   4px;
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   22px;
  --shadow-sm:   0 18px 40px -20px rgba(26, 31, 77, 0.12);
  --shadow-lg:   0 30px 60px -25px rgba(10, 13, 49, 0.25);

  /* === FONTS === */
  --font-sans:   'Inter Tight', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display:var(--font-sans);

  /* === FLUID TYPE SCALE === */
  --fs-xs:       clamp(0.75rem,  0.71rem + 0.20vw, 0.85rem);
  --fs-sm:       clamp(0.875rem, 0.83rem + 0.25vw, 1rem);
  --fs-base:     clamp(1rem,     0.95rem + 0.30vw, 1.125rem);
  --fs-lg:       clamp(1.125rem, 1.05rem + 0.40vw, 1.25rem);
  --fs-xl:       clamp(1.25rem,  1.15rem + 0.55vw, 1.5rem);
  --fs-2xl:      clamp(1.5rem,   1.35rem + 0.75vw, 1.875rem);
  --fs-3xl:      clamp(1.875rem, 1.65rem + 1.10vw, 2.5rem);
  --fs-4xl:      clamp(2.25rem,  1.85rem + 2.00vw, 3.5rem);
  --fs-5xl:      clamp(2.875rem, 2.20rem + 3.30vw, 5rem);

  /* === LINE HEIGHT === */
  --lh-tight:    1.05;
  --lh-snug:     1.15;
  --lh-normal:   1.5;
  --lh-relaxed:  1.65;

  /* === LETTER SPACING (em pour scaler) === */
  --ls-tightest: -0.04em;
  --ls-tight:    -0.025em;
  --ls-snug:     -0.015em;
  --ls-wide:     0.05em;
  --ls-wider:    0.14em;

  /* === MEASURE === */
  --measure-narrow: 45ch;
  --measure-base:   65ch;
  --measure-wide:   80ch;

  /* === PATTERN TOKENS === */
  --pat-mint:        rgba(0, 223, 156, 0.12);
  --pat-mint-strong: rgba(0, 223, 156, 0.22);
  --pat-blue:        rgba(1, 14, 208, 0.14);
  --pat-ink-1px:     rgba(10, 13, 49, 0.06);
  --pat-line-dark:   rgba(255, 255, 255, 0.04);
}

/* ---------- RESET ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
*::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
blockquote, cite { font-style: normal; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-snug);
  text-wrap: balance;
}
.eyebrow, .btn, .brand, .section-head,
.offer-label, .price-val, .step-num, .stat-num, .compare-metric,
.faq summary, .case-tag, .about-badges span, .nav-links, .nav-mobile {
  font-family: var(--font-sans);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.75rem); font-weight: 700; letter-spacing: var(--ls-tight); line-height: var(--lh-tight); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); font-weight: 700; }
p { line-height: 1.6; text-wrap: pretty; }
section p:not([class]) { max-width: var(--measure-base); }
.stat-num, .stat-num span, .price-val, .compare-metric, .card-num, .step-num,
[data-tabular], time, .num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1, "kern" 1; }

/* ---------- UTILITIES ---------- */
.container { width: min(94%, var(--max)); margin: 0 auto; padding: 0; }
@media (max-width: 720px) { .container { width: calc(100% - 40px); } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 8px 14px;
  background: rgba(26, 31, 77, 0.08);
  border-radius: 999px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(0, 223, 156, 0.8);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 223, 156, .7); }
  70%  { box-shadow: 0 0 0 10px rgba(0, 223, 156, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 223, 156, 0); }
}
/* Section intro — stacked centered header */
.section-intro {
  max-width: 780px;
  margin-bottom: 72px;
}
.section-intro h2 { margin: 20px 0 20px; }
.section-intro p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--body);
  max-width: 640px;
}
.method .section-intro p,
.section-dark .section-intro p { color: rgba(255, 255, 255, 0.75); }
.method .section-intro h2,
.section-dark .section-intro h2 { color: var(--white); }
.method .section-intro .eyebrow {
  background: rgba(0, 223, 156, 0.12);
  color: var(--mint);
  border: 1px solid rgba(0, 223, 156, 0.3);
}

/* Section head — 2 column grid (left: title, right: lead + aside) */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px 96px;
  align-items: start;
  margin-bottom: 72px;
}
.section-head > .head-left { display: flex; flex-direction: column; gap: 20px; }
.section-head > .head-right { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.section-head h2 { margin: 0; }
.section-head p { font-size: 1.08rem; margin: 0; }

.head-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px;
  background: var(--mint-tint);
  border: 1px solid rgba(0, 223, 156, 0.3);
  border-radius: var(--radius);
}
.head-aside .num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1.5px;
  line-height: 1;
}
.head-aside .num span { color: var(--blue); font-size: 1rem; margin-left: 6px; font-weight: 600; letter-spacing: 0; }
.head-aside .label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
}
.head-aside.dark { background: rgba(0, 223, 156, 0.08); border-color: rgba(0, 223, 156, 0.25); }
.head-aside.dark .num,
.head-aside.dark .label { color: var(--white); }

@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 28px; margin-bottom: 36px; }
  .section-head > .head-right { padding-top: 0; }
}

.hl { background: var(--mint); color: var(--ink); padding: 2px 14px; border-radius: 10px; white-space: nowrap; }
@media (max-width: 480px) {
  .hl, .gov-hero h1 .hl { white-space: normal; padding: 2px 8px; }
}
.underline {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  z-index: 0;
}
.underline::after {
  content: "";
  position: absolute;
  left: -2px; right: -2px; bottom: 2px;
  height: 14px;
  background: var(--mint);
  z-index: -1;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 20px; top: 20px;
  padding: 12px 18px;
  background: var(--ink); color: var(--white);
  border-radius: var(--radius-sm);
  z-index: 10000;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: .98rem;
  transition: all .25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  white-space: nowrap;
}
.btn-lg { padding: 18px 32px; font-size: 1.05rem; }
@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .btn-lg { padding: 14px 18px; font-size: 0.95rem; }
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px -12px rgba(10, 13, 49, 0.55);
}
.btn-primary:hover {
  background: var(--mint);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -12px rgba(0, 223, 156, 0.45);
}
/* On dark sections, primary buttons switch to mint for contrast */
.hero .btn-primary,
.cta-final .btn-primary,
.method .btn-primary,
.af-hero .btn-primary,
.af-why .btn-primary,
.section-dark .btn-primary,
.gov-hero .btn-primary,
.offer-card.offer-factory .btn-primary,
.nav .btn-primary {
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 10px 24px -10px rgba(0, 223, 156, 0.5);
}
.hero .btn-primary:hover,
.cta-final .btn-primary:hover,
.method .btn-primary:hover,
.af-hero .btn-primary:hover,
.af-why .btn-primary:hover,
.section-dark .btn-primary:hover,
.gov-hero .btn-primary:hover,
.offer-card.offer-factory .btn-primary:hover,
.nav .btn-primary:hover {
  background: var(--white);
  color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(10, 13, 49, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  gap: 32px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: .94rem;
}
.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color .2s;
}
.nav-links a:hover { color: var(--mint); }
.nav-links a[aria-current="page"] {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}
.nav-cta { padding: 11px 22px; font-size: .92rem; }
.nav-burger { display: none; }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}
.nav-mobile a { color: var(--white); padding: 14px 8px; min-height: 44px; display: flex; align-items: center; font-weight: 500; }
.nav-mobile .btn { margin-top: 8px; }

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
  }
  .nav-burger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .25s;
  }
  .nav-mobile[data-open="true"] { display: flex; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 128px 0 72px;
  min-height: clamp(640px, 82vh, 820px);
  min-height: clamp(640px, 82dvh, 820px);
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 85% 30%, rgba(0, 223, 156, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 15% 50%, rgba(10, 13, 49, 0.95) 0%, rgba(10, 13, 49, 0.55) 60%, rgba(10, 13, 49, 0.15) 100%),
    linear-gradient(180deg, rgba(10, 13, 49, 0.35) 0%, rgba(10, 13, 49, 0.75) 100%);
}
/* Decorative mint glow orb in hero, behind copy */
.hero::after {
  content: "";
  position: absolute;
  bottom: -160px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0, 223, 156, 0.18) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  filter: blur(20px);
}
.hero-content { max-width: min(55%, 980px); position: relative; z-index: 1; }
.hero .eyebrow {
  background: rgba(0, 223, 156, 0.12);
  color: var(--mint);
  border: 1px solid rgba(0, 223, 156, 0.3);
}
.hero h1 {
  color: var(--white);
  margin: 24px 0 28px;
  font-weight: 700;
}
.hero h1 .hl {
  display: inline-block;
  font-weight: 700;
}
.hero .lead {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  line-height: 1.55;
}
.hero .lead strong { color: var(--white); font-weight: 600; }
.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 44px 0 60px;
}
.hero-kpis {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.hero-kpis > li,
.hero-kpis > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-kpis strong {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--mint);
  letter-spacing: -1.5px;
  line-height: 1;
}
.hero-kpis span {
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
}
@media (max-width: 720px) {
  .hero { padding: 130px 0 80px; }
  .hero-content { max-width: 100%; }
  .hero-kpis { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn { flex: 1 1 auto; }
}

/* ---------- TRUST ---------- */
.trust {
  padding: 72px 0;
  background: var(--soft-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-label {
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 32px;
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: center;
  justify-content: center;
}
.trust-logos picture { display: inline-flex; align-items: center; }
.trust-logos img {
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter .25s ease, opacity .25s ease, transform .25s ease;
}
/* Optical sizing — chaque logo perçu à même weight visuel */
.trust-logos img[alt*="Haulotte"]    { max-width: 180px; max-height: 38px; }
.trust-logos img[alt*="KP1"]         { max-width: 96px;  max-height: 56px; }
.trust-logos img[alt*="Kem One"]     { max-width: 168px; max-height: 36px; }
.trust-logos img[alt*="Gerflor"]     { max-width: 144px; max-height: 48px; }
.trust-logos img[alt*="Egis"]        { max-width: 132px; max-height: 50px; }
.trust-logos img[alt*="Keolis"]      { max-width: 138px; max-height: 50px; }
.trust-logos img[alt*="Canal"]       { max-width: 150px; max-height: 36px; }
.trust-logos img[alt*="Probikeshop"] { max-width: 168px; max-height: 40px; }
.trust-logos img[alt*="Montabert"]   { max-width: 156px; max-height: 44px; }
.trust-logos img[alt*="Skipper"]     { max-width: 148px; max-height: 38px; }
/* Hover desktop : full color + lift */
@media (hover: hover) and (pointer: fine) {
  .trust-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
  }
}
/* Mobile / tactile : full color directement, pas de hover dependency */
@media (hover: none), (pointer: coarse) {
  .trust-logos img { filter: grayscale(0%); opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .trust-logos img { transition: none; }
  .trust-logos img:hover { transform: none; }
}

/* ---------- SECTION BASE ---------- */
section { padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

/* ---------- PROBLEM ---------- */
.problem {
  background: var(--soft-2);
  position: relative;
  overflow: hidden;
}
/* Subtle dot grid pattern in background for visual texture */
.problem::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(10, 13, 49, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.problem .container { position: relative; z-index: 1; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 1200px) { .problem-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all .3s;
}
.problem-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--blue);
  margin-bottom: 16px;
}
.problem-card h3 { margin-bottom: 16px; }
.problem-card p { font-size: .97rem; }
.problem-card strong { color: var(--ink); font-weight: 600; }

/* ---------- OFFERS ---------- */
.offers { background: var(--white); }
.offers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
@media (max-width: 1100px) { .offers-grid { grid-template-columns: 1fr; max-width: 680px; } }
.offer-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.offer-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--mint-tint) 0%, transparent 70%);
  z-index: 0;
  opacity: .5;
}
.offer-card > * { position: relative; z-index: 1; }
.offer-card:hover {
  border-color: var(--mint);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.offer-card.offer-factory {
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--body-on-dark);
  border-color: transparent;
}
.offer-card.offer-factory::before {
  background: radial-gradient(circle, rgba(0, 223, 156, 0.2) 0%, transparent 70%);
}
.offer-card.offer-factory h3,
.offer-card.offer-factory .offer-lead strong { color: var(--white); }
.offer-card.offer-factory .offer-bullets li { color: rgba(255, 255, 255, 0.85); }
.offer-card.offer-factory .offer-bullets li strong { color: var(--white); font-weight: 700; }
.offer-card.offer-factory .offer-bullets li::before { background: var(--mint); }
.offer-card.offer-factory .offer-lead strong { color: var(--white); }
.offer-card.offer-factory .offer-clients { color: rgba(255, 255, 255, 0.5); border-color: var(--line-dark); }
.offer-card.offer-factory .offer-clients strong { color: var(--mint); }

.offer-visual {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 28px;
}
.offer-name {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--mint);
  margin-bottom: 8px;
}
.offer-card.offer-gov .offer-name { color: var(--blue); }

.offer-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 24px;
}
.offer-card.offer-factory .offer-label { color: var(--mint); }
.offer-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  margin-bottom: 24px;
  line-height: 1.15;
}
.offer-lead {
  font-size: 1.02rem;
  margin-bottom: 32px;
  line-height: 1.6;
}
.offer-lead strong { color: var(--ink); font-weight: 600; }

.offer-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}
.offer-bullets li {
  position: relative;
  padding-left: 28px;
  font-size: .96rem;
  line-height: 1.5;
}
.offer-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 16px; height: 2px;
  background: var(--blue);
}
.offer-bullets li strong { color: var(--ink); font-weight: 600; }

/* Price boxes */
.offer-prices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 12px 0 32px;
  padding: 20px;
  background: var(--soft-2);
  border-radius: var(--radius);
}
.price-box {
  padding: 16px 12px;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
}
.price-box.featured {
  border-color: var(--mint);
  background: var(--mint-tint);
}
.price-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: 6px;
}
.price-val {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.price-val span {
  font-size: .68rem;
  font-weight: 500;
  margin-left: 3px;
  color: var(--grey);
}
.price-target {
  font-size: .72rem;
  color: var(--grey);
  margin-top: 4px;
}

/* Compare box (App Factory) */
.offer-compare {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}
.compare-col { flex: 1; text-align: center; }
.compare-title {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}
.compare-metric {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--white);
}
.compare-kalify .compare-metric { color: var(--mint); }
.compare-sub { font-size: .78rem; color: rgba(255, 255, 255, 0.55); margin-top: 4px; }
.compare-vs {
  font-family: 'Inter Tight', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0 8px;
}
.compare-esn { opacity: 0.6; position: relative; }
.compare-esn::after {
  content: "";
  position: absolute;
  left: 20%; right: 20%; top: 50%;
  height: 2px;
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(-10deg);
}

.offer-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto; /* push CTA to bottom for equal-height alignment */
  margin-bottom: 28px;
}
.offer-clients {
  font-size: .82rem;
  color: var(--grey);
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.offer-clients span { display: block; margin-bottom: 6px; }
.offer-clients strong {
  color: var(--ink);
  font-weight: 700;
}

/* ---------- METHOD ---------- */
.method {
  background: var(--ink);
  color: var(--body-on-dark);
}
.method h2 { color: var(--white); }
.method .section-head p { color: rgba(255, 255, 255, 0.75); }
.method .eyebrow { background: rgba(0, 223, 156, 0.12); color: var(--mint); border: 1px solid rgba(0, 223, 156, 0.3); }

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
@media (max-width: 1000px) { .method-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .method-steps { grid-template-columns: 1fr; } }
.method .step {
  padding: 34px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: all .3s;
}
.method .step:hover {
  background: rgba(0, 223, 156, 0.06);
  border-color: rgba(0, 223, 156, 0.25);
  transform: translateY(-3px);
}
.step-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
}
.method .step h3 { color: var(--white); margin-bottom: 12px; font-size: 1.15rem; }
.method .step p { font-size: .93rem; line-height: 1.55; color: rgba(255, 255, 255, 0.72); }

/* ---------- PROOFS ---------- */
.proofs { background: var(--soft-2); }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 72px;
}
@media (max-width: 900px) { .stat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .stat-card { padding: 24px 18px; min-width: 0; } .stat-grid { gap: 16px; } }
.stat-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all .3s;
}
.stat-card:hover {
  border-color: var(--mint);
  transform: translateY(-3px);
}
.stat-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.stat-num span {
  font-size: .95rem;
  font-weight: 700;
  color: #006B47;
  letter-spacing: 0;
}
.stat-card p { font-size: .93rem; }

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } }
.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: all .3s;
}
.case:hover { border-color: var(--mint); transform: translateY(-3px); }
.case-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint);
  padding: 5px 12px;
  background: var(--ink);
  border-radius: 999px;
  margin-bottom: 16px;
}
.case h3 { margin-bottom: 12px; font-size: 1.1rem; }
.case p { font-size: .92rem; }

/* ---------- ABOUT ---------- */
.about {
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 108px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 48px; } }
.about-img {
  position: relative;
  max-width: 480px;
}
.about-img img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.about-img::before {
  content: "";
  position: absolute;
  left: -16px; top: -16px;
  width: 100%; height: 100%;
  background: var(--mint);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.about-content h2 { margin: 20px 0 28px; }
.about-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--near-black);
}
.about-content p { margin-bottom: 22px; }
.about blockquote {
  background: var(--soft);
  border-left: 4px solid var(--mint);
  padding: 24px 28px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
}
.about blockquote cite {
  display: block;
  font-size: .84rem;
  font-weight: 500;
  color: var(--grey);
  margin-top: 12px;
}
.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.about-badges span {
  padding: 8px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- FAQ ---------- */
.faq { background: var(--soft-2); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 108px;
  align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }
.faq .section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 120px;
  margin-bottom: 0;
}
.faq .section-head a { color: var(--blue); text-decoration: underline; }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 8px;
  transition: all .25s;
}
.faq details[open] { border-color: var(--mint); box-shadow: var(--shadow-lg); }
.faq summary {
  padding: 20px 16px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  cursor: pointer;
  position: relative;
  list-style: none;
  padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { display: none; }
/* Le toggle +/- est désormais injecté en SVG via script.js (cf. .icon-toggle) */
.faq details p {
  padding: 0 16px 20px;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--body);
}
.faq details strong { color: var(--ink); font-weight: 600; }

/* ---------- CTA FINAL ---------- */
.cta-final {
  background:
    radial-gradient(ellipse at top right, rgba(0, 223, 156, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--body-on-dark);
  text-align: center;
}
.cta-final .eyebrow {
  background: rgba(0, 223, 156, 0.12);
  color: var(--mint);
  margin: 0 auto;
}
.cta-final h2 {
  color: var(--white);
  margin: 24px auto;
  max-width: 840px;
}
.cta-final p {
  max-width: 620px;
  margin: 0 auto 44px;
  font-size: 1.1rem;
  line-height: 1.6;
}
.booking-embed {
  max-width: 680px;
  margin: 0 auto;
}
.booking-embed iframe {
  width: 100%;
  min-height: 580px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-note {
  margin-top: 40px !important;
  font-size: .85rem;
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 88px 0 0;
  font-size: .9rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 460px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand img { margin-bottom: 20px; }
.footer-brand p { max-width: 280px; line-height: 1.5; font-size: .9rem; }
.footer-col h4 {
  color: var(--white);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255, 255, 255, 0.78); transition: color .2s; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  padding: 24px 0;
  font-size: .82rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: inherit; display: inline-block; padding: 8px 0; min-height: 32px; }
.footer-bottom a:hover { color: var(--mint); }
.footer-col li a { display: inline-block; padding: 8px 0; min-height: 32px; }
@media (max-width: 760px) {
  .footer-col li a, .footer-bottom a { min-height: 44px; padding: 10px 0; line-height: 24px; }
}

/* ---------- MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ================================================================
   DETAIL PAGES (offre-gouvernance.html, app-factory.html)
   ================================================================ */

.page-detail .hero-detail { min-height: clamp(520px, 70vh, 680px); min-height: clamp(520px, 70dvh, 680px); padding: 128px 0 64px; }
.page-detail .hero-content { max-width: min(62%, 1080px); }

/* ---------- COMPARISON (ESN vs KALIFY) ---------- */
.comparison { background: var(--soft-2); }
.vs-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 900px) { .vs-grid { grid-template-columns: 1fr; } .vs-divider { display: none; } }
.vs-col {
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vs-col.vs-esn {
  background: var(--white);
  border: 1px solid var(--line);
  opacity: 0.78;
}
.vs-col.vs-esn .vs-metric { text-decoration: line-through; text-decoration-color: var(--grey); }
.vs-col.vs-kalify {
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--body-on-dark);
  box-shadow: var(--shadow-lg);
}
.vs-col.vs-kalify .vs-label { color: var(--mint); }
.vs-col.vs-kalify .vs-metric { color: var(--white); }
.vs-col.vs-kalify .vs-price { color: var(--mint); }
.vs-col.vs-kalify .vs-list li { color: rgba(255,255,255,0.85); }
.vs-col.vs-kalify .vs-list li::before { background: var(--mint); }
.vs-label {
  font-family: 'Inter Tight', sans-serif;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
}
.vs-metric {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1.5px;
  line-height: 1;
}
.vs-price {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue);
}
.vs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.vs-list li {
  position: relative;
  padding-left: 24px;
  font-size: .93rem;
  line-height: 1.5;
  color: var(--body);
}
.vs-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 2px;
  background: var(--blue);
}
.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}
.vs-divider span {
  font-family: 'Inter Tight', sans-serif;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--grey);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
}

/* ---------- STEP DELIVERABLE ---------- */
.step-deliverable {
  margin-top: 16px;
  padding: 10px 14px;
  background: rgba(0, 223, 156, 0.12);
  border-left: 3px solid var(--mint);
  border-radius: 6px;
  font-family: 'Inter Tight', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--mint);
  line-height: 1.4;
}

/* ---------- STACK GRID ---------- */
.stack { background: var(--white); }
.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .stack-grid { grid-template-columns: 1fr; } }
.stack-card {
  padding: 32px 28px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s;
}
.stack-card:hover {
  border-color: var(--mint);
  transform: translateY(-3px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}
.stack-card img { width: 48px; height: 48px; margin-bottom: 18px; }
.stack-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.stack-card p { font-size: .92rem; }

/* ---------- USECASES ---------- */
.usecases { background: var(--soft-2); }
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 1000px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .usecase-grid { grid-template-columns: 1fr; } }
.usecase-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.usecase-card:hover { border-color: var(--mint); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.usecase-card h3 { margin: 0; font-size: 1.2rem; }
.usecase-card p { font-size: .92rem; flex: 1; }
.usecase-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  background: var(--ink);
  color: var(--mint);
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ---------- PRICING GRID (detail page) ---------- */
.pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  transition: all .3s;
  position: relative;
}
.price-card:hover { border-color: var(--mint); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  background: linear-gradient(140deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--body-on-dark);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
@media (max-width: 1000px) { .price-card.featured { transform: none; } }
.price-card.featured::before {
  content: "LE PLUS DEMANDÉ";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--mint);
  color: var(--ink);
  padding: 8px 18px;
  font-family: 'Inter Tight', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card.featured h3, .price-card.featured .price-big, .price-card.featured .price-main strong { color: var(--white); }
.price-card.featured .price-tier { color: var(--mint); }
.price-card.featured .price-desc, .price-card.featured ul li { color: rgba(255,255,255,0.85); }
.price-card.featured ul li::before { background: var(--mint); }

.price-tier {
  font-family: 'Inter Tight', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.price-big {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}
.price-main {
  font-family: 'Inter Tight', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--grey);
  line-height: 1.3;
  margin-bottom: 18px;
}
.price-main strong {
  display: inline;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1.5px;
}
.price-main span {
  display: inline-block;
  margin-left: 6px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--grey);
}
.price-desc {
  font-size: .95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}
.price-card ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.price-card ul li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  line-height: 1.45;
  color: var(--near-black);
}
.price-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 2px;
  background: var(--mint);
}
.price-card .btn { align-self: stretch; text-align: center; justify-content: center; }
.price-card.featured .btn-primary { background: var(--mint); color: var(--ink); }
.price-card.featured .btn-primary:hover { background: var(--white); color: var(--ink); }

/* ---------- TESTIMONIAL BLOCK (inside dark method section) ---------- */
.testimonial-block {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 72px;
  align-items: start;
  padding: 24px 0;
}
@media (max-width: 900px) { .testimonial-block { grid-template-columns: 1fr; gap: 24px; } }
.testimonial-block blockquote {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.testimonial-block blockquote .hl {
  padding: 2px 12px;
  border-radius: 10px;
}
.testimonial-block cite {
  font-style: normal;
  color: var(--mint);
  font-weight: 600;
}
.testimonial-block cite em {
  display: block;
  font-style: normal;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  font-size: .92rem;
  margin-top: 2px;
}

/* ---------- CASES BIG (detail page) ---------- */
.cases-full { background: var(--soft-2); }
.cases-big {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-big {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all .25s;
}
.case-big:hover { border-color: var(--mint); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.case-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: var(--soft-2);
  border-radius: var(--radius-sm);
  min-height: 80px;
}
.case-logo img {
  max-height: 56px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .8;
}
.case-big:hover .case-logo img { filter: none; opacity: 1; }
.case-body h3 { margin: 0 0 12px; font-size: 1.15rem; }
.case-body p { font-size: .95rem; margin-bottom: 14px; }
.case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: .88rem;
  color: var(--grey);
}
.case-metrics strong {
  display: inline-block;
  margin-right: 4px;
  color: var(--blue);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
}
@media (max-width: 720px) {
  .case-big { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .case-logo { min-height: 60px; }
}

/* ================================================================
   APP FACTORY PAGE — visual redesign
   ================================================================ */

/* ---------- HERO ---------- */
.af-hero {
  position: relative;
  min-height: clamp(700px, 90vh, 920px);
  min-height: clamp(700px, 90dvh, 920px);
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  color: var(--white);
}
.af-hero-bg { position: absolute; inset: 0; z-index: -2; }
.af-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.af-hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(10,13,49,0.92) 0%, rgba(10,13,49,0.5) 70%),
    linear-gradient(180deg, rgba(10,13,49,0.4) 0%, rgba(10,13,49,0.8) 100%);
}
.af-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.af-hero-grid > * { min-width: 0; }
@media (max-width: 1000px) { .af-hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.af-hero-left .eyebrow {
  background: rgba(0, 223, 156, 0.12);
  color: var(--mint);
  border: 1px solid rgba(0, 223, 156, 0.3);
}
.af-hero-left h1 {
  color: var(--white);
  margin: 28px 0;
  font-weight: 800;
  line-height: 1;
}
.af-hero-left h1.af-h1 {
  font-size: clamp(1.6rem, 5.5vw, 4.5rem);
  letter-spacing: -1.5px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}
.af-hero-left h1 .af-h1-num {
  font-size: clamp(2.8rem, 9vw, 8rem);
  letter-spacing: -3px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  line-height: 0.9;
}
@media (max-width: 480px) {
  .af-hero-left h1.af-h1 { font-size: clamp(1.5rem, 7vw, 2.2rem); letter-spacing: -1px; gap: 10px; }
  .af-hero-left h1 .af-h1-num { font-size: clamp(2.4rem, 13vw, 4rem); letter-spacing: -2px; gap: 8px; }
  .af-big-num small { font-size: 0.4em !important; }
}
.af-big-num {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--mint);
}
.af-big-num small {
  font-size: 0.35em;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  letter-spacing: -1px;
}
.af-big-sep {
  color: rgba(255,255,255,0.3);
  font-weight: 400;
  font-size: 0.8em;
}
.af-hero-tag {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* Hero VS card */
.af-card-vs {
  background: rgba(10, 13, 49, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 36px 36px;
  text-align: center;
}
.af-vs-row {
  padding: 16px 0;
}
.af-vs-old .af-vs-big {
  font-family: 'Inter Tight', sans-serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
  text-decoration-color: rgba(255,100,100,0.6);
  text-decoration-thickness: 3px;
  letter-spacing: -1px;
  line-height: 1;
}
.af-vs-old .af-vs-sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-top: 6px; }
.af-vs-new .af-vs-big {
  font-family: 'Inter Tight', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--mint);
  letter-spacing: -1.5px;
  line-height: 1;
}
.af-vs-new .af-vs-sub { color: rgba(255,255,255,0.7); font-size: 0.95rem; margin-top: 6px; font-weight: 500; }
.af-vs-arrow {
  font-size: 2rem;
  color: var(--mint);
  line-height: 1;
  margin: 8px 0;
  opacity: 0.6;
}

/* ---------- TIMELINE ---------- */
.af-timeline-section {
  background: var(--white);
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.af-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
@media (max-width: 1000px) {
  .af-timeline { grid-template-columns: 1fr 1fr; gap: 32px; }
  .af-tl-line { display: none; }
}
.af-tl-step {
  text-align: center;
  padding: 28px 20px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: all .25s;
}
.af-tl-step:hover { border-color: var(--mint); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.af-tl-step.highlight {
  border-color: var(--mint);
  background: var(--mint-tint);
  box-shadow: var(--shadow-lg);
}
.af-tl-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.af-tl-dur {
  font-family: 'Inter Tight', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 10px;
}
.af-tl-step h3 { font-size: 1.1rem; margin-bottom: 4px; }
.af-tl-step p { font-size: .85rem; color: var(--grey); line-height: 1.3; }
.af-tl-line {
  height: 3px;
  background: var(--mint);
  min-width: 24px;
  border-radius: 2px;
  position: relative;
}
.af-tl-line::after {
  content: "";
  position: absolute;
  right: -6px; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--mint);
}

/* ---------- STACK VISUAL ---------- */
.af-stack {
  background: var(--soft-2);
  padding: 88px 0;
}
.af-stack-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}
.af-stack-head h2 { margin-top: 16px; }
.af-stack-head .eyebrow { display: inline-flex; }
.af-stack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .af-stack-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .af-stack-grid { grid-template-columns: repeat(2, 1fr); } }
.af-stack-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: all .25s;
}
.af-stack-tile:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: var(--shadow-lg);
}
.af-stack-tile img { width: 56px; height: 56px; }
.af-stack-tile h3 { font-size: .92rem; margin: 0; color: var(--ink); }
.af-stack-badge {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.5px;
}

/* ---------- PROJECT WALL ---------- */
.af-wall {
  padding: 96px 0;
  background: var(--white);
}
.af-wall-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.af-wall-head .eyebrow { display: inline-flex; }
.af-wall-head h2 { margin: 16px 0 14px; }
.af-wall-head p { font-size: 1.05rem; }

.af-wall-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  grid-auto-flow: dense;
  gap: 16px;
}
@media (max-width: 1300px) { .af-wall-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .af-wall-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .af-wall-grid { grid-template-columns: 1fr; grid-auto-rows: auto; } }

.af-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  min-height: 0;
}
.af-tile:hover {
  transform: translateY(-3px);
  border-color: var(--mint);
  box-shadow: var(--shadow-lg);
}

.af-tile-logo {
  height: 26px;
  display: flex;
  align-items: center;
}
.af-tile-logo img {
  max-height: 22px;
  max-width: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter .25s, opacity .25s;
}
.af-tile:hover .af-tile-logo img { filter: none; opacity: 1; }
.af-tile-text-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--ink);
  letter-spacing: -0.5px;
  opacity: 0.55;
  transition: opacity .25s;
}
.af-tile:hover .af-tile-text-logo { opacity: 1; }

.af-tile-content { display: flex; flex-direction: column; gap: 6px; flex: 1; }

/* ====== MOCKUP screenshots dans les tiles cas clients ====== */
.af-tile-mockup {
  display: none;
}
.af-tile-feature .af-tile-mockup {
  display: block;
}
@media (prefers-reduced-motion: reduce) {
  .af-tile-mockup img { transition: none; }
}

/* ====== INTERACTIVE TILES (click-to-promote) ====== */
.af-tile {
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.af-tile-feature {
  cursor: default;
}
.af-tile:not(.af-tile-feature):hover {
  border-color: var(--mint);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(10, 13, 49, 0.18);
}
.af-tile:not(.af-tile-feature):focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.af-tile-feature:focus-visible {
  outline: 2px solid rgba(0, 223, 156, 0.6);
  outline-offset: 4px;
}

/* View Transitions API — anime le swap entre features */
@supports (view-transition-name: a) {
  .af-tile { view-transition-name: var(--vt-name, none); }
}

@media (prefers-reduced-motion: reduce) {
  .af-tile { transition: none; }
  .af-tile:hover { transform: none; }
}
/* ====== Mockup positionnés en featured tile ====== */
/* Mobile mockup (iPhone vertical) */
.af-tile-feature .af-tile-mockup-mobile {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 130px;
  height: 182px;
  margin: 0;
  background: transparent;
  border-radius: 18px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
  z-index: 1;
}
.af-tile-feature .af-tile-mockup-mobile img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 18px;
  object-position: center;
  display: block;
}
/* Laptop mockup (MacBook 16:10) */
.af-tile-feature .af-tile-mockup-laptop {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 260px;
  height: 162px;
  margin: 0;
  background: transparent;
  border-radius: 10px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
  z-index: 1;
  overflow: hidden;
}
.af-tile-feature .af-tile-mockup-laptop img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 10px;
  object-position: center;
  display: block;
}
/* Réserver l'espace texte côté gauche selon le type de mockup */
.af-tile-feature:has(.af-tile-mockup-mobile) .af-tile-content { max-width: calc(100% - 165px); }
.af-tile-feature:has(.af-tile-mockup-laptop) .af-tile-content { max-width: calc(100% - 290px); }

@media (max-width: 1300px) {
  .af-tile-feature .af-tile-mockup-mobile { width: 120px; height: 168px; right: 20px; }
  .af-tile-feature .af-tile-mockup-laptop { width: 220px; height: 138px; right: 18px; }
  .af-tile-feature:has(.af-tile-mockup-mobile) .af-tile-content { max-width: calc(100% - 150px); }
  .af-tile-feature:has(.af-tile-mockup-laptop) .af-tile-content { max-width: calc(100% - 250px); }
}
@media (max-width: 700px) {
  .af-tile-feature .af-tile-mockup-mobile,
  .af-tile-feature .af-tile-mockup-laptop {
    position: relative;
    transform: none;
    top: auto; right: auto;
    margin: 16px auto 0 auto;
  }
  .af-tile-feature .af-tile-mockup-mobile { width: 160px; height: 224px; }
  .af-tile-feature .af-tile-mockup-laptop { width: 88%; height: auto; aspect-ratio: 16/10; }
  .af-tile-feature:has(.af-tile-mockup-mobile) .af-tile-content,
  .af-tile-feature:has(.af-tile-mockup-laptop) .af-tile-content { max-width: 100%; }
}
.af-tile-tag {
  font-family: var(--font-display);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 2px;
}
.af-tile h3 {
  font-size: .88rem;
  line-height: 1.25;
  margin-bottom: 2px;
  color: var(--ink);
}
.af-tile p {
  font-size: .76rem;
  color: rgba(0, 0, 0, 0.72);
  line-height: 1.4;
  margin: 0;
}
.af-tile-meta {
  font-family: var(--font-display);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--grey);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  line-height: 1.35;
}
.af-tile-meta strong {
  font-weight: 700;
  color: var(--ink);
}
.af-tile-feature .af-tile-meta {
  color: rgba(255, 255, 255, 0.68);
  border-top-color: rgba(255, 255, 255, 0.14);
}
.af-tile-feature .af-tile-meta strong {
  color: rgba(255, 255, 255, 0.95);
}

/* ====== FEATURE TILE — overrides applied AFTER base .af-tile rules ====== */
.af-wall-grid .af-tile.af-tile-feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-2) 60%, #1A1F4D 100%);
  border: none;
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  justify-content: space-between;
  min-height: 0;
}
@media (max-width: 1300px) {
  .af-wall-grid .af-tile.af-tile-feature { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 1000px) {
  .af-wall-grid .af-tile.af-tile-feature { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 700px) {
  .af-wall-grid .af-tile.af-tile-feature { grid-column: span 1; padding: 24px 20px; }
}
.af-tile-feature::before {
  content: "";
  position: absolute;
  top: -25%; right: -10%;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(0, 223, 156, 0.28) 0%, transparent 55%);
  z-index: 0;
  pointer-events: none;
}
.af-tile-feature::after {
  content: "";
  position: absolute;
  bottom: -40%; left: -10%;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(1, 14, 208, 0.22) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.af-tile-feature > * { position: relative; z-index: 1; }
.af-tile-feature .af-tile-logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  max-height: 36px;
  max-width: 130px;
}
.af-tile-feature .af-tile-tag { color: var(--mint); font-size: .7rem; }
.af-tile-feature h3 {
  color: var(--white);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.2;
}
.af-tile-feature p {
  color: rgba(255, 255, 255, 0.85);
  font-size: .92rem;
  line-height: 1.55;
  max-width: 480px;
  margin: 0;
}
.af-tile-feature .af-tile-content {
  gap: 8px;
}
.af-tile-metrics {
  display: flex;
  gap: 24px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  flex-wrap: wrap;
}
.af-tile-metrics span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: var(--font-display);
  font-size: .68rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.af-tile-metrics strong {
  display: block;
  font-size: 1.4rem;
  color: var(--mint);
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1;
  margin-bottom: 2px;
}

.af-wall-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding: 32px 40px;
  background: var(--soft-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
@media (max-width: 720px) { .af-wall-stats { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px; } }
.af-wall-stats > div { display: flex; flex-direction: column; gap: 4px; }
.af-wall-stats strong {
  font-family: 'Inter Tight', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -1.5px;
  line-height: 1;
}
.af-wall-stats span { font-size: .85rem; color: var(--grey); }

/* ---------- WHY ME ---------- */
.af-why {
  background: var(--ink);
  color: var(--body-on-dark);
  padding: 88px 0;
}
.af-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .af-why-grid { grid-template-columns: 1fr; } }
.af-why-item {
  padding: 36px 32px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
}
.af-why-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 223, 156, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.af-why-item h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 12px; }
.af-why-item p { font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,0.72); }

@media (max-width: 720px) {
  .af-hero-left h1 { font-size: 3.2rem; letter-spacing: -2px; gap: 12px; }
  .af-hero { padding: 110px 0 64px; }
  .af-wall { padding: 64px 0; }
}

/* ---------- RESPONSIVE FIXES ---------- */
@media (max-width: 720px) {
  .hero h1 { font-size: 2.4rem; line-height: 1.1; }
  .section-head h2 { font-size: 2rem; }
  .offer-card { padding: 36px 28px; }
  .offer-prices { grid-template-columns: 1fr; }
  .offer-compare { flex-direction: column; gap: 20px; }
  .compare-esn::after { display: none; }
  .hero .eyebrow { font-size: .72rem; }
}

/* ---------- SCROLL REVEAL ---------- */
@media (prefers-reduced-motion: no-preference) {
  section:where(:not(.hero):not(.af-hero):not(.gov-hero)) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s ease, transform .7s ease;
  }
  section.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- BODY LOCK WHEN MOBILE NAV OPEN ---------- */
body.nav-open { overflow: hidden; }

/* ---------- DECLARATION D'ACCESSIBILITE ---------- */
.declaration-page .container { max-width: 880px; }
.declaration-page ul { padding-left: 1.5rem; line-height: 1.8; }
.declaration-page .meta-foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--grey); }

/* ---------- FOCUS VISIBLE ---------- */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}
.nav :focus-visible {
  outline-color: var(--mint);
}

/* ============================================================
   ICON SYSTEM (Lucide sprite)
   ============================================================ */
.icon {
  width: 24px; height: 24px; flex: 0 0 auto;
  stroke: currentColor; fill: none;
  vertical-align: middle;
  display: inline-block;
}
.icon-lg  { width: 32px; height: 32px; }
.icon-xl  { width: 40px; height: 40px; }
.icon-2xl { width: 48px; height: 48px; }
.icon-3xl { width: 64px; height: 64px; }
.icon-mint { color: var(--mint); }
.icon-mint-text { color: var(--mint-text); }
.icon-text { color: var(--ink); }
.icon-muted { color: var(--grey); }
.icon-on-dark { color: var(--mint); }
/* FAQ toggle — rotate when open */
details summary .icon-toggle { transition: transform .2s ease; }
details[open] summary .icon-toggle { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) {
  details summary .icon-toggle { transition: none; }
}
.faq summary { position: relative; padding-right: 48px; }
.faq summary .icon-toggle {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  color: var(--grey);
}
.faq details[open] summary .icon-toggle {
  transform: translateY(-50%) rotate(45deg);
}
/* Decorative icon above text in cards */
.problem-card .icon-deco,
.step .icon-deco,
.stat-card .icon-deco,
.scope .icon-deco,
.cell .icon-deco,
.af-why-icon-svg,
.af-stack-tile .icon-deco {
  margin-bottom: 12px;
}

/* ============================================================
   KALIFY PATTERN LIBRARY
   ============================================================ */
.kalify-mesh-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 85% 25%, var(--pat-mint-strong) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 12% 70%, var(--pat-blue) 0%, transparent 55%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(0, 223, 156, 0.06) 0%, transparent 60%),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
}
.kalify-dot-grid { position: relative; }
.kalify-dot-grid::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--pat-ink-1px) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 90%);
  pointer-events: none; z-index: 0;
}
.kalify-dot-grid > * { position: relative; z-index: 1; }
.kalify-grid-lines { position: relative; }
.kalify-grid-lines::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(90deg, var(--pat-line-dark) 1px, transparent 1px),
    linear-gradient(180deg, var(--pat-line-dark) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 80%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.kalify-grid-lines > * { position: relative; z-index: 1; }
.kalify-noise { position: relative; isolation: isolate; overflow: hidden; }
.kalify-noise::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  opacity: 0.06; mix-blend-mode: overlay;
  pointer-events: none; z-index: 2;
}
.kalify-glow-orb { position: relative; isolation: isolate; overflow: hidden; }
.kalify-glow-orb::before {
  content: ""; position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pat-mint-strong) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none; z-index: 0;
  bottom: -180px; left: -160px;
}
.kalify-glow-orb.is-tr::before { top: -180px; right: -160px; bottom: auto; left: auto; }
.kalify-glow-orb.is-center::before { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.kalify-glow-orb.is-blue::before { background: radial-gradient(circle, var(--pat-blue) 0%, transparent 60%); }
.kalify-glow-orb > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .kalify-glow-orb::before { filter: blur(30px); }
}

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  padding: 12px 20px;
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}
.mobile-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 960px) {
  .mobile-cta { display: block; }
  body { padding-bottom: 68px; }
}

/* ========== LOW-CODE STATS — Glassmorphism ========== */
.lowcode-stats {
  background: linear-gradient(135deg, #0A0D31 0%, #0d1a3a 40%, #0a2e3d 70%, #0A0D31 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.lowcode-stats::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(0,223,156,.08) 0%, transparent 70%);
  pointer-events: none;
}
.lowcode-stats::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(1,14,208,.1) 0%, transparent 70%);
  pointer-events: none;
}
.lowcode-stats .section-intro { position: relative; z-index: 1; }
.lowcode-stats h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-align: center;
  margin-bottom: 48px;
}
.lowcode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}
.lc-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all .4s cubic-bezier(.25,.8,.25,1);
}
.lc-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(0,223,156,.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3), 0 0 30px rgba(0,223,156,.1);
}
.lc-num {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  font-weight: 800;
  background: linear-gradient(135deg, #00DF9C, #00b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 16px;
}
.lc-card p {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 900px) { .lowcode-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lowcode-grid { grid-template-columns: 1fr; gap: 16px; } .lc-card { padding: 28px 20px; } }
