/* =========================================================================
   Modula LMS · Landing — Design System
   Direction : éditorial international, géométrique, raffiné.
   Type : Geist (sans) + Fraunces (serif italique pour accents).
   Accent : teal Modula. Inspiré du système Facturia, identité Modula.
   ========================================================================= */

:root {
  --accent: #11b394;
  --accent-deep: #0a8f76;
  --accent-soft: #e6f9f3;
  --accent-ink: #064f41;
  --warm: #ff9f56;
  --warm-soft: #fff1e4;
  --ink: #0c0f13;
  --ink-2: #181d24;
  --text: #2a313b;
  --muted: #6b7480;
  --muted-2: #9aa4af;
  --paper: #fbfbf8;
  --paper-2: #f3f3ee;
  --soft: #f6f6f3;
  --surface: #ffffff;
  --line: #e7e5dd;
  --line-strong: #d0cdc2;
  --line-ink: rgba(12, 15, 19, .08);
  --green: #168a4a;
  --amber: #b45309;
  --blue: #2563eb;
  /* Palette "app" réelle (pour recréations fidèles d'écrans Modula) */
  --app-blue: #145C8F;
  --app-blue-2: #3278B5;
  --app-navy: #0E4268;
  --app-bg: #f6f8fb;
  --app-line: #e2e8f0;
  --app-text: #172033;
  --app-muted: #5f6b7a;
  --app-green: #22c55e;
  --app-green-2: #16a34a;
  --app-orange: #f97316;
  --app-orange-2: #ea580c;
  --app-violet: #8b5cf6;
  --app-violet-2: #7c3aed;
  --app-red: #ef4444;
  --shadow: 0 22px 70px rgba(12, 15, 19, .10);
  --shadow-soft: 0 16px 44px rgba(12, 15, 19, .07);
  --shadow-ring: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 1px 2px rgba(12, 15, 19, .06);
  --shadow-deep: 0 30px 80px -20px rgba(12, 15, 19, .28), 0 12px 30px -10px rgba(12, 15, 19, .14);
  --container: 1240px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --font-sans: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--ink); color: var(--paper); }
img { max-width: 100%; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ---------- Scroll progress ---------- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 90;
  background: transparent;
  pointer-events: none;
}

.scroll-progress::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--scroll, 0%);
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  transition: width .12s linear;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  position: -webkit-sticky;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(251, 251, 248, .82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out), box-shadow .35s var(--ease-out);
  will-change: background-color;
}

.site-header.is-scrolled {
  background: rgba(251, 251, 248, .94);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(12, 15, 19, .02), 0 8px 24px rgba(12, 15, 19, .04);
}

.nav-wrap {
  width: min(var(--container), calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  letter-spacing: -.02em;
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}

.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  box-shadow: 0 6px 16px rgba(12, 15, 19, .18);
  flex-shrink: 0;
}

.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.005em;
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color .22s var(--ease-out);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1.5px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform .28s var(--ease-out);
}

.site-nav a:hover { color: var(--accent-deep); }
.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.menu-button {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}

.menu-lines,
.menu-lines::before,
.menu-lines::after {
  display: block;
  width: 18px; height: 1.8px;
  background: currentColor;
  border-radius: 4px;
  transition: transform .25s var(--ease-out), opacity .2s ease;
}

.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-open .menu-lines { background: transparent; }
.menu-open .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  min-height: 46px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: transform .28s var(--ease-out), box-shadow .28s var(--ease-out), border-color .28s var(--ease-out), color .22s var(--ease-out), background .28s var(--ease-out);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-130%);
  transition: transform .8s var(--ease-out);
  pointer-events: none;
  z-index: -1;
}

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.btn:hover::after { transform: translateX(130%); }
.btn:disabled { cursor: progress; opacity: .72; transform: none; }

.btn-primary {
  border-color: var(--accent-deep);
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 10px 22px rgba(10, 143, 118, .26);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(10, 143, 118, .34);
  transform: translateY(-2px);
}

.btn-dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 8px 18px rgba(12, 15, 19, .15);
}

.btn-dark:hover { background: #000; box-shadow: 0 14px 30px rgba(12, 15, 19, .22); transform: translateY(-2px); }

.btn-secondary {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn-secondary:hover { border-color: var(--ink); }

.btn .arrow { display: inline-block; transition: transform .25s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Eyebrow / labels ---------- */

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  gap: 18px;
  margin-bottom: 30px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  width: fit-content;
}

.hero-meta-cell { display: inline-flex; align-items: center; gap: 8px; }

.hero-meta-cell::before {
  content: "";
  width: 10px; height: 1px;
  background: var(--muted);
}

.hero-meta-cell:first-child::before { display: none; }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 179, 148, .16);
  animation: pulseDot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 22px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 26px; height: 1px;
  background: var(--accent-deep);
}

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.04;
  margin: 0;
  color: var(--ink);
}

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.015em;
  color: var(--accent-deep);
}

.text-mono { font-family: var(--font-mono); }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 120px;
  background: var(--paper);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line-ink) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-ink) 1px, transparent 1px);
  background-size: 88px 88px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, #000 28%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 38%, #000 0%, #000 28%, transparent 72%);
  pointer-events: none;
  z-index: 0;
  opacity: .9;
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    620px circle at var(--mx, 72%) var(--my, 28%),
    rgba(17, 179, 148, .14),
    transparent 55%
  );
  transition: background .25s var(--ease-out);
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
  opacity: .7;
}

.hero-blob-1 {
  width: 480px; height: 480px;
  top: -120px; right: -120px;
  background: radial-gradient(circle, rgba(17, 179, 148, .22), transparent 60%);
  animation: drift 22s var(--ease-in-out) infinite;
}

.hero-blob-2 {
  width: 380px; height: 380px;
  bottom: -90px; left: -90px;
  background: radial-gradient(circle, rgba(255, 159, 86, .14), transparent 65%);
  animation: drift 28s var(--ease-in-out) -6s infinite reverse;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(380px, 1fr) minmax(0, 1.02fr);
  gap: 56px;
  align-items: center;
}

.hero-copy { max-width: 600px; }

.hero h1 {
  font-size: clamp(50px, 7.4vw, 104px);
  line-height: .94;
  letter-spacing: -.045em;
  font-weight: 600;
  margin: 0;
}

.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(38px);
  animation: wordIn .9s var(--ease-out) forwards;
  animation-delay: calc(var(--word-index, 0) * 60ms + 100ms);
}

.hero h1 .accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-deep);
  font-size: .96em;
  letter-spacing: -.02em;
  position: relative;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 6%;
  height: 7%;
  background: rgba(17, 179, 148, .22);
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn 1s var(--ease-out) 1.4s forwards;
}

.hero-lead {
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 500px;
  letter-spacing: -.005em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-actions .btn { padding: 0 22px; min-height: 50px; font-size: 15px; }

.hero-proof {
  margin-top: 46px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.hero-proof span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -.005em;
}

.hero-proof span::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 179, 148, .12);
}

/* ---------- Hero visual / iPhone stage ---------- */

.hero-visual {
  position: relative;
  perspective: 1700px;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.iphone-stage {
  position: relative;
  width: min(440px, 100%);
  height: 560px;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--ty, 0) * -.45deg)) rotateY(calc(var(--tx, 0) * .45deg));
  transition: transform .5s var(--ease-out);
}

.iphone-stage::before {
  content: "";
  position: absolute;
  inset: -8% -4% -2%;
  background: radial-gradient(60% 50% at 50% 42%, rgba(17, 179, 148, .18), transparent 70%);
  filter: blur(38px);
  z-index: -1;
}

.iphone {
  position: absolute;
  top: 50%; left: 50%;
  width: 230px;
  border-radius: 38px;
  background: linear-gradient(160deg, #20262e, #0c0f13);
  padding: 9px;
  box-shadow:
    0 2px 1px rgba(255, 255, 255, .22) inset,
    0 0 0 1.5px rgba(12, 15, 19, .9),
    var(--shadow-deep);
  transform-style: preserve-3d;
}

.iphone-screen {
  position: relative;
  border-radius: 30px;
  background: var(--surface);
  overflow: hidden;
  aspect-ratio: 9 / 19.2;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 34px 14px 16px;
}

.iphone .notch {
  position: absolute;
  top: 13px; left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 22px;
  background: #0c0f13;
  border-radius: 999px;
  z-index: 3;
}

.iphone .home-bar {
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 4px;
  background: rgba(12, 15, 19, .26);
  border-radius: 999px;
  z-index: 3;
}

.iphone-main {
  transform: translate(-50%, -50%) translateZ(60px);
  z-index: 3;
}

.iphone-back {
  transform: translate(-50%, -50%) translate(-118px, 26px) rotate(-11deg) scale(.92);
  z-index: 1;
  opacity: .96;
}

.iphone-front {
  transform: translate(-50%, -50%) translate(118px, 34px) rotate(11deg) scale(.92);
  z-index: 2;
}

/* In-app UI */
.app-top {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--ink);
}

.app-dot {
  width: 16px; height: 16px;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--accent), var(--accent-deep));
}

.app-tile {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
  padding: 9px 11px;
  display: grid;
  gap: 3px;
}

.app-tile .lbl { font-size: 8.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; }
.app-tile .val { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.app-tile.accent { background: linear-gradient(150deg, var(--accent), var(--accent-deep)); border-color: transparent; }
.app-tile.accent .lbl { color: rgba(255, 255, 255, .82); }
.app-tile.accent .val { color: #fff; }

.app-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 42px;
  padding: 0 2px;
}

.app-chart span {
  flex: 1;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, var(--accent), rgba(17, 179, 148, .35));
}

.app-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 9.5px;
}

.app-row strong { font-size: 10.5px; font-weight: 700; color: var(--ink); }
.app-row span { color: var(--muted); font-weight: 600; }
.app-row .pill { color: var(--accent-deep); background: var(--accent-soft); padding: 2px 7px; border-radius: 999px; font-weight: 700; }

.app-cover {
  border-radius: 12px;
  height: 70px;
  background:
    linear-gradient(180deg, rgba(12, 15, 19, 0) 40%, rgba(12, 15, 19, .42)),
    linear-gradient(135deg, #1b9c84, #2563eb);
  display: flex;
  align-items: flex-end;
  padding: 8px 10px;
}

.app-cover span { color: #fff; font-size: 10px; font-weight: 700; text-shadow: 0 1px 4px rgba(0,0,0,.3); }

.app-progress { display: grid; gap: 5px; }
.app-progress .head { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 700; color: var(--ink); }
.app-progress .track { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.app-progress .track > i { display: block; height: 100%; width: 62%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), var(--accent-deep)); }

.app-search {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  background: var(--soft);
}

.app-greeting { display: grid; gap: 2px; }
.app-greeting .lbl { font-size: 9.5px; color: var(--muted); font-weight: 600; }
.app-greeting .val { font-size: 14px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }

/* Float badges */
.float-badge {
  position: absolute;
  z-index: 6;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -12px rgba(12, 15, 19, .2), 0 0 0 1px rgba(255, 255, 255, .8) inset;
  padding: 13px 16px;
  display: grid;
  gap: 3px;
  pointer-events: none;
}

.float-badge .label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.float-badge .label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.float-badge .label.warn::before { background: var(--amber); }
.float-badge .label.accent::before { background: var(--accent); }

.float-badge .value {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.float-badge .sub { font-size: 12px; color: var(--muted); margin-top: 1px; }

.float-badge.b1 { top: 4%; right: -10%; animation: floatY 6s var(--ease-in-out) -.4s infinite; }
.float-badge.b2 { bottom: 6%; left: -12%; animation: floatY 7s var(--ease-in-out) -.2s infinite reverse; }
.float-badge.b3 {
  top: 44%; right: -16%;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  animation: floatY 6.5s var(--ease-in-out) -.8s infinite;
}

.float-badge .badge-emoji {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  font-size: 18px;
}

/* ---------- Marquee band ---------- */

.trust-band {
  position: relative;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}

.trust-band::before, .trust-band::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.trust-band::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.trust-band::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }

.trust-strip-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  width: max-content;
}

.trust-strip-inner span { display: inline-flex; align-items: center; gap: 12px; }

.trust-strip-inner span::before {
  content: "✦";
  color: var(--accent);
  font-size: 10px;
}

/* ---------- Sections ---------- */

.section { padding: 120px 0; position: relative; }

.section.alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head h2,
.split-copy h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -.035em;
  font-weight: 600;
}

.section-head p,
.split-copy p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 460px;
}

/* ---------- Feature cards ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid.feature-grid-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-ring);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
  display: grid;
  gap: 13px;
  --hx: 50%; --hy: 50%;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--hx) var(--hy), rgba(17, 179, 148, .08), transparent 65%);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.feature-card > * { position: relative; z-index: 1; }

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(17, 179, 148, .28);
}

.feature-card:hover::after { opacity: 1; }

.feature-card:hover .feature-icon {
  transform: rotate(-4deg) scale(1.06);
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  color: #fff;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}

.feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 22px;
  margin-bottom: 4px;
  transition: transform .35s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.18;
  margin: 0;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---------- Workflow: pinned section, one card at a time ---------- */

.workflow-pin-section { padding-top: 0; padding-bottom: 0; }
.workflow-pin-wrap { position: relative; }
.workflow-pin-section.is-pinned .workflow-pin-wrap { height: 340vh; }
.workflow-pin-viewport { width: 100%; padding: 96px 0; }

.workflow-pin-section.is-pinned .workflow-pin-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
}

.workflow-pin-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 80px;
  align-items: start;
  width: 100%;
}

.workflow-sticky-aside {
  align-self: start;
  display: grid;
  gap: 20px;
}

.workflow-sticky-aside .section-label { margin-bottom: 4px; }

.workflow-sticky-aside h2 {
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -.028em;
  margin: 0;
}

.workflow-sticky-aside > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 40ch;
}

.workflow-counter {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  align-items: baseline;
  column-gap: 10px;
  margin-top: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.workflow-counter-current {
  font-family: var(--font-mono);
  font-size: 60px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.workflow-counter-sep { font-family: var(--font-mono); font-size: 26px; color: var(--line-strong); line-height: 1; }
.workflow-counter-total { font-family: var(--font-mono); font-size: 22px; color: var(--muted); line-height: 1; }

.workflow-counter-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  align-self: end;
  padding-bottom: 9px;
  padding-left: 8px;
  justify-self: start;
}

.workflow-progress { margin-top: 2px; }

.workflow-progress-track {
  position: relative;
  display: block;
  width: 100%;
  max-width: 220px;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.workflow-progress-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--accent);
  transition: width .25s var(--ease-out);
  will-change: width;
}

.workflow-pin-stage { position: relative; width: 100%; }
.workflow-pin-section.is-pinned .workflow-pin-stage { min-height: 420px; }

.workflow-pages { position: relative; display: block; }

.workflow-step {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "num   icon"
    "title icon"
    "desc  icon"
    "list  list";
  gap: 16px 36px;
  align-content: center;
  padding: 48px 52px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 24px 50px -32px rgba(12, 15, 19, .2);
  min-height: 360px;
}

.workflow-pin-section:not(.is-pinned) .workflow-step + .workflow-step { margin-top: 18px; }

.workflow-pin-section.is-pinned .workflow-step {
  position: absolute;
  top: 0; left: 0; right: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(28px) scale(.985);
  pointer-events: none;
  transition: opacity .45s var(--ease-out), transform .55s var(--ease-out);
  will-change: opacity, transform;
}

.workflow-pin-section.is-pinned .workflow-step.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.workflow-step .num {
  grid-area: num;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.workflow-step .num strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.workflow-step h3 {
  grid-area: title;
  font-size: clamp(26px, 2.4vw, 36px);
  letter-spacing: -.022em;
  line-height: 1.06;
  margin: 0;
  max-width: 18ch;
}

.workflow-step .step-desc {
  grid-area: desc;
  margin: 0;
  font-size: 16.5px;
  line-height: 1.6;
  max-width: 46ch;
  color: var(--muted);
}

.workflow-step .icon-tile {
  grid-area: icon;
  align-self: start;
  justify-self: end;
  width: 64px; height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.workflow-step ul {
  grid-area: list;
  margin: 6px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  gap: 11px;
}

.workflow-step ul li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.workflow-step ul li::before {
  content: "✓";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.workflow-step .step-status {
  grid-area: icon;
  align-self: end;
  justify-self: end;
}

/* ---------- Split (showcase) ---------- */

.split {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: 64px;
  align-items: center;
}

.split-copy .check-rail {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.split-copy .check-rail li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}

.split-copy .check-rail li::before {
  content: "✓";
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.showcase-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1500px;
  min-height: 480px;
}

.showcase-phones {
  position: relative;
  width: min(420px, 100%);
  height: 460px;
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--ty, 0) * -.4deg)) rotateY(calc(var(--tx, 0) * .4deg));
  transition: transform .5s var(--ease-out);
}

.showcase-phones::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: radial-gradient(60% 60% at 50% 45%, rgba(17, 179, 148, .16), transparent 70%);
  filter: blur(36px);
  z-index: -1;
}

.showcase-phones .iphone { position: absolute; top: 50%; left: 50%; width: 210px; }
.showcase-phones .iphone-main { transform: translate(-50%, -50%) translate(56px, -10px) rotate(6deg) translateZ(40px); z-index: 2; }
.showcase-phones .iphone-back { transform: translate(-50%, -50%) translate(-72px, 24px) rotate(-9deg) scale(.95); z-index: 1; opacity: .97; }

/* ---------- Comparison "Avant / Avec" ---------- */

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.compare-card {
  position: relative;
  border-radius: 18px;
  padding: 36px 32px;
  display: grid;
  gap: 16px;
  overflow: hidden;
  transition: transform .4s var(--ease-out);
  --hx: 50%; --hy: 50%;
}

.compare-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--hx) var(--hy), rgba(17, 179, 148, .08), transparent 65%);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.compare-card > * { position: relative; z-index: 1; }
.compare-card:hover { transform: translateY(-4px); }
.compare-card:hover::after { opacity: 1; }

.compare-card.before {
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.compare-card.after {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.compare-card.after::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(17, 179, 148, .3), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  width: fit-content;
}

.compare-card.before .compare-tag { background: var(--surface); color: var(--muted); border: 1px solid var(--line); }
.compare-card.after .compare-tag { background: rgba(17, 179, 148, .2); color: #7ff0d6; border: 1px solid rgba(17, 179, 148, .4); }

.compare-card h3 {
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.18;
  margin: 0;
}

.compare-card.after h3 { color: var(--paper); }

.compare-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; }

.compare-card ul li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.5;
}

.compare-card.before ul li::before {
  content: "✕";
  color: #c4683f;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(196, 104, 63, .12);
  font-size: 12px;
}

.compare-card.after ul li::before {
  content: "✓";
  color: #74e0c4;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(116, 224, 196, .16);
  font-size: 12px;
}

.compare-card.after ul li { color: rgba(255, 255, 255, .85); }

/* ---------- Dark band (capabilities) ---------- */

.dark-band {
  position: relative;
  padding: 120px 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.dark-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 14% 24%, rgba(17, 179, 148, .3), transparent 32%),
    radial-gradient(circle at 86% 80%, rgba(255, 159, 86, .12), transparent 30%);
  filter: blur(16px);
  z-index: 0;
}

.dark-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 96px 96px;
  z-index: 0;
  pointer-events: none;
}

.dark-band > .container { position: relative; z-index: 1; }

.dark-band .section-label { color: #6ff0d3; }
.dark-band .section-label::before { background: #6ff0d3; }
.dark-band .section-head h2 { color: var(--paper); }
.dark-band .section-head p { color: rgba(255, 255, 255, .68); }

.dark-band .feature-card {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: none;
  backdrop-filter: blur(10px);
  color: var(--paper);
}

.dark-band .feature-card::after {
  background: radial-gradient(280px circle at var(--hx) var(--hy), rgba(17, 179, 148, .16), transparent 65%);
}

.dark-band .feature-card h3 { color: var(--paper); }
.dark-band .feature-card p { color: rgba(255, 255, 255, .65); }
.dark-band .feature-num { color: rgba(255, 255, 255, .4); }
.dark-band .feature-icon { background: rgba(17, 179, 148, .2); color: #6ff0d3; }

.dark-band .feature-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .26);
  transform: translateY(-6px);
}

.dark-band .feature-card:hover .feature-icon { background: var(--accent); color: #fff; }

/* ---------- Course showcase (real courses) ---------- */

.course-lane {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.course-feed-state {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
}

.sales-course-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-ring);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out);
}

.sales-course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(17, 179, 148, .28);
}

.sales-course-card a { display: grid; gap: 0; height: 100%; }

.sales-course-card > a > img,
.sales-course-card .course-cover-fallback {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--paper-2);
}

.course-cover-fallback {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  background: linear-gradient(150deg, #11b394, #0a8f76);
  color: #fff;
}

.course-cover-fallback span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .85;
}

.course-cover-fallback strong { font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.course-cover-fallback ul { margin: 0; padding: 0; list-style: none; display: flex; gap: 8px; flex-wrap: wrap; }
.course-cover-fallback ul li {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
}

.sales-course-card > a > div { padding: 18px 20px 20px; display: grid; gap: 9px; align-content: start; }
.sales-course-card > a > div > span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.sales-course-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.018em; line-height: 1.22; margin: 0; }
.sales-course-card p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }

.course-facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.course-facts small {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-2);
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.course-author-line { display: flex; align-items: center; gap: 9px; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 500; }

.course-author-avatar {
  position: relative;
  width: 28px; height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
}

.course-author-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.sales-course-card strong:last-child {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-top: 4px;
}

.marketplace-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 36px;
  font-weight: 600;
  font-size: 15px;
  color: var(--accent-deep);
}

.marketplace-link::after { content: "→"; transition: transform .25s var(--ease-out); }
.marketplace-link:hover::after { transform: translateX(4px); }

/* ---------- Stats band ---------- */

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.stats-band article {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

.stats-band article:last-child { border-right: 0; }

.stats-band strong {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stats-band span { color: var(--muted); font-size: 14px; line-height: 1.4; }

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 920px;
  margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--line); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.015em;
  color: var(--ink);
  transition: color .25s var(--ease-out);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-deep); }

.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: transform .35s var(--ease-out), background .3s var(--ease-out), border-color .3s var(--ease-out), color .3s var(--ease-out);
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform .35s var(--ease-out), opacity .3s var(--ease-out);
}

.faq-icon::before { width: 12px; height: 1.6px; }
.faq-icon::after { width: 1.6px; height: 12px; }

.faq-item[open] .faq-icon {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::after { transform: scaleY(0); opacity: 0; }

.faq-body {
  padding: 0 0 26px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
  max-width: 760px;
}

.faq-body a { color: var(--accent-deep); font-weight: 600; }
.faq-item[open] .faq-body { animation: faqOpen .45s var(--ease-out); }

/* ---------- CTA panel ---------- */

.cta-panel {
  position: relative;
  border-radius: 22px;
  padding: clamp(40px, 6vw, 72px);
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow-deep);
  display: grid;
  grid-template-columns: 1.4fr auto;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  isolation: isolate;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 100%, rgba(17, 179, 148, .4), transparent 45%),
    radial-gradient(circle at 90% 0%, rgba(255, 159, 86, .14), transparent 50%);
  z-index: 0;
}

.cta-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: 0;
  pointer-events: none;
  mask-image: linear-gradient(135deg, transparent, #000 40%);
  -webkit-mask-image: linear-gradient(135deg, transparent, #000 40%);
}

.cta-panel > * { position: relative; z-index: 1; }
.cta-panel h2 { color: var(--paper); }
.cta-panel h2 .serif { color: #7ff0d6; }
.cta-panel p { color: rgba(255, 255, 255, .72); margin-top: 12px; }
.cta-panel .section-actions { gap: 12px; display: flex; flex-wrap: wrap; }

.cta-panel .btn-primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.cta-panel .btn-primary:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.cta-panel .btn-secondary { border-color: rgba(255, 255, 255, .25); color: var(--paper); }
.cta-panel .btn-secondary:hover { border-color: var(--paper); }

.section-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  color: var(--muted);
  padding: 80px 0 44px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand-col { max-width: 360px; }

.footer-brand-col .brand { margin-bottom: 16px; }

.footer-brand-col p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
}

.footer-coords {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: grid;
  gap: 6px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--ink-2); font-size: 15px; transition: color .2s var(--ease-out); }
.footer-col a:hover { color: var(--accent-deep); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-bottom-links { display: flex; gap: 22px; }

/* ---------- Custom cursor ---------- */

.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 95;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: opacity .25s var(--ease-out), background .25s var(--ease-out), border-color .25s var(--ease-out), width .25s var(--ease-out), height .25s var(--ease-out);
  will-change: transform;
  mix-blend-mode: difference;
}

.cursor-dot { width: 6px; height: 6px; background: #fff; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid #fff; transition: opacity .25s var(--ease-out), width .35s var(--ease-out), height .35s var(--ease-out), border-color .25s var(--ease-out), background .25s var(--ease-out); }

body.cursor-on .cursor-dot, body.cursor-on .cursor-ring { opacity: 1; }
body.cursor-hot .cursor-ring { width: 64px; height: 64px; background: rgba(255, 255, 255, .06); border-color: #fff; }

@media (hover: none), (pointer: coarse), (max-width: 860px) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ---------- Magnetic CTA hover halo ---------- */

.btn-primary, .btn-dark { position: relative; }

.btn-primary::before, .btn-dark::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: radial-gradient(circle at var(--bx, 50%) var(--by, 50%), rgba(255, 255, 255, .4), transparent 60%);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.btn-primary:hover::before, .btn-dark:hover::before { opacity: .8; }

/* ---------- Scroll-to-top button ---------- */

.scroll-top-button {
  position: fixed;
  right: 28px; bottom: 28px;
  width: 48px; height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(12, 15, 19, .92);
  color: var(--paper);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(.92);
  transition: opacity .3s var(--ease-out), transform .35s var(--ease-out), background-color .25s var(--ease-out), border-color .25s var(--ease-out);
  box-shadow: 0 14px 34px rgba(12, 15, 19, .24), 0 2px 6px rgba(12, 15, 19, .12);
  z-index: 60;
  backdrop-filter: saturate(160%) blur(8px);
  -webkit-backdrop-filter: saturate(160%) blur(8px);
}

.scroll-top-button:hover, .scroll-top-button:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  outline: none;
  transform: translateY(0) scale(1.04);
}

.scroll-top-button.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }

.scroll-top-button svg {
  width: 18px; height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
}

/* ---------- Sub-pages (faq, contact) ---------- */

.page-hero {
  padding: 96px 0 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 84% 18%, rgba(17, 179, 148, .1), transparent 34%);
  pointer-events: none;
  z-index: 0;
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero-single { max-width: 820px; }

.page-hero h1 {
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: .98;
  letter-spacing: -.04em;
  font-weight: 600;
}

.page-hero p { margin: 24px 0 0; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; max-width: 620px; }

/* ---------- Reveals & motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal-fade {
  opacity: 0;
  transition: opacity .9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-fade.is-visible { opacity: 1; }

@keyframes drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-30px, 30px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 3px rgba(17, 179, 148, .16); } 50% { box-shadow: 0 0 0 6px rgba(17, 179, 148, .04); } }
@keyframes underlineIn { to { transform: scaleX(1); } }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes faqOpen { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .reveal, .reveal-fade { opacity: 1; transform: none; }
  .hero h1 .word { opacity: 1; transform: none; animation: none; }
  .iphone, .float-badge { animation: none !important; }
  .iphone-stage, .showcase-phones { transform: none; }
  .trust-strip-inner { animation: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .hero-grid, .split, .compare { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; padding-bottom: 88px; }
  .hero-visual { min-height: 500px; margin-top: 16px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .feature-grid.feature-grid-four { grid-template-columns: repeat(2, 1fr); }
  .course-lane { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; }
  .cta-panel { grid-template-columns: 1fr; gap: 28px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stats-band article:nth-child(2) { border-right: 0; }
  .stats-band article:nth-child(1), .stats-band article:nth-child(2) { border-bottom: 1px solid var(--line); }

  .workflow-pin-section { padding: 60px 0; }
  .workflow-pin-section.is-pinned .workflow-pin-wrap { height: auto; }
  .workflow-pin-section.is-pinned .workflow-pin-viewport { position: static; height: auto; display: block; overflow: visible; padding: 0; }
  .workflow-pin-grid { grid-template-columns: 1fr; gap: 32px; }
  .workflow-counter, .workflow-progress { display: none; }
  .workflow-pin-section.is-pinned .workflow-pin-stage { min-height: 0; }
  .workflow-pin-section.is-pinned .workflow-step {
    position: relative;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    min-height: 0;
    padding: 30px 26px;
    grid-template-columns: 1fr;
    grid-template-areas: "num" "icon" "title" "desc" "list";
  }
  .workflow-pin-section.is-pinned .workflow-step + .workflow-step { margin-top: 16px; }
  .workflow-step .icon-tile { justify-self: start; width: 48px; height: 48px; border-radius: 12px; font-size: 20px; }
}

@media (max-width: 860px) {
  .nav-wrap { height: 68px; width: min(100% - 28px, var(--container)); }
  .site-nav, .nav-actions {
    position: fixed;
    left: 14px; right: 14px;
    display: none;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
  }
  .site-nav { top: 78px; border-radius: 12px 12px 0 0; padding: 18px; flex-direction: column; align-items: stretch; gap: 6px; }
  .site-nav a { padding: 12px; border-radius: 8px; }
  .site-nav a:hover { background: var(--soft); }
  .site-nav a::after { display: none; }
  .nav-actions { top: 252px; border-top: 0; border-radius: 0 0 12px 12px; padding: 0 18px 18px; flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; }
  .menu-open .site-nav, .menu-open .nav-actions { display: flex; }
  .menu-button { display: inline-flex; }

  .feature-grid, .feature-grid.feature-grid-four, .course-lane, .compare { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .dark-band { padding: 80px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; margin-bottom: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-badge.b3 { display: none; }
  .stats-band { grid-template-columns: 1fr; }
  .stats-band article { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats-band article:last-child { border-bottom: 0; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 28px); }
  .hero { padding: 36px 0 64px; }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); line-height: .96; }
  .hero-lead { font-size: 16.5px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { grid-template-columns: auto auto; gap: 8px 14px; }
  .hero-meta-cell:nth-child(2)::before { display: none; }
  .hero-visual { min-height: 440px; }
  .iphone-stage { transform: none; width: 100%; height: 440px; }
  .iphone-main { width: 200px; }
  .iphone-back, .iphone-front { display: none; }
  .float-badge.b1, .float-badge.b2 { transform: scale(.85); }
  .float-badge.b1 { right: -4%; }
  .float-badge.b2 { left: -4%; }
  .section-head h2, .split-copy h2, .cta-panel h2 { font-size: 34px; letter-spacing: -.03em; }
  .compare-card { padding: 28px 22px; }
  .showcase-visual { min-height: 420px; }
}

/* =========================================================================
   FEATURE SHOWCASE — cadres + recréations d'écrans + sections produit
   ========================================================================= */

/* ---------- Cadre navigateur (vraies captures) ---------- */
.browser-frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.browser-dots { display: inline-flex; gap: 6px; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-strong); }
.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1;
  height: 26px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  max-width: 320px;
}
.browser-url::before { content: "🔒"; font-size: 9px; }
.browser-frame > img { display: block; width: 100%; height: auto; }
.browser-frame.tilt { transform: perspective(1800px) rotateY(-4deg) rotateX(2deg); transition: transform .6s var(--ease-out); }
.browser-frame.tilt:hover { transform: perspective(1800px) rotateY(0) rotateX(0); }
.browser-frame[data-tilt], .phone-shot[data-tilt] {
  transform: perspective(1700px) rotateX(calc(var(--ty, 0) * -.28deg)) rotateY(calc(var(--tx, 0) * .28deg));
  transition: transform .45s var(--ease-out);
}

/* ---------- Cadre téléphone (vraies captures mobiles) ---------- */
.phone-shot {
  position: relative;
  width: 248px;
  border-radius: 42px;
  background: linear-gradient(160deg, #20262e, #0c0f13);
  padding: 9px;
  box-shadow: 0 2px 1px rgba(255,255,255,.2) inset, 0 0 0 1.5px rgba(12,15,19,.9), var(--shadow-deep);
  flex-shrink: 0;
}
.phone-shot::before {
  content: "";
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px;
  background: #0c0f13;
  border-radius: 999px;
  z-index: 3;
}
.phone-shot img { display: block; width: 100%; height: auto; aspect-ratio: 1170 / 2532; object-fit: cover; object-position: top center; border-radius: 33px; }

/* ---------- Lignes "feature" (copie + visuel, alternées) ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 64px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 112px; }
.feature-row.reverse .feature-row-visual { order: -1; }
.feature-row-copy h2 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.04;
  letter-spacing: -.03em;
  margin: 0 0 18px;
}
.feature-row-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  max-width: 46ch;
}
.feature-points {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}
.feature-points li {
  position: relative;
  padding-left: 34px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}
.feature-points li strong { color: var(--ink); font-weight: 600; }
.feature-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a8f76' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 13px;
  background-repeat: no-repeat;
  background-position: center;
}
.feature-row-visual { position: relative; }
.feature-row-visual .stack-badge {
  position: absolute;
  z-index: 5;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px -12px rgba(12,15,19,.22);
  padding: 11px 14px;
  display: grid;
  gap: 2px;
  font-size: 12px;
}
.feature-row-visual .stack-badge .b-lbl { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.feature-row-visual .stack-badge .b-val { font-size: 16px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.feature-row-visual .stack-badge.tl { top: -18px; left: -18px; }
.feature-row-visual .stack-badge.br { bottom: -18px; right: -18px; }

/* ---------- Recréations d'écrans app (fidèles, palette app) ---------- */
.ui {
  font-family: var(--font-sans);
  background: var(--app-bg);
  color: var(--app-text);
  border-radius: 0;
  overflow: hidden;
}
.ui * { box-sizing: border-box; }
.ui-pad { padding: 18px; display: grid; gap: 14px; }
.ui-head { display: grid; gap: 3px; }
.ui-chip {
  width: fit-content;
  font-size: 10.5px; font-weight: 700;
  color: var(--app-blue);
  background: rgba(20,92,143,.1);
  padding: 4px 10px; border-radius: 999px;
}
.ui-h { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: var(--app-text); }
.ui-sub { font-size: 12px; color: var(--app-muted); }

/* Dashboard : 4 cartes KPI dégradées */
.ui-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ui-kpi { border-radius: 16px; padding: 16px 18px; color: #fff; display: grid; gap: 6px; min-height: 92px; align-content: center; box-shadow: 0 12px 26px -12px rgba(12,42,85,.4); }
.ui-kpi .k-top { display: flex; justify-content: space-between; align-items: center; }
.ui-kpi .k-lbl { font-size: 11.5px; font-weight: 600; opacity: .9; }
.ui-kpi .k-tag { font-size: 9px; font-weight: 700; background: rgba(255,255,255,.22); padding: 2px 7px; border-radius: 999px; }
.ui-kpi .k-val { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.ui-kpi.green { background: linear-gradient(135deg, var(--app-green), var(--app-green-2)); }
.ui-kpi.blue { background: linear-gradient(135deg, var(--app-blue-2), var(--app-blue)); }
.ui-kpi.orange { background: linear-gradient(135deg, var(--app-orange), var(--app-orange-2)); }
.ui-kpi.violet { background: linear-gradient(135deg, var(--app-violet), var(--app-violet-2)); }

/* Éditeur de cours : arborescence sections/leçons */
.ui-editor { display: grid; gap: 10px; }
.ui-section { background: var(--surface); border: 1px solid var(--app-line); border-radius: 12px; overflow: hidden; }
.ui-section-head { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; background: #eef4fa; }
.ui-section-head strong { font-size: 13px; font-weight: 700; color: var(--app-text); }
.ui-section-head span { font-size: 10.5px; color: var(--app-muted); }
.ui-lesson { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--app-line); font-size: 12.5px; }
.ui-lesson .l-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; background: rgba(20,92,143,.1); color: var(--app-blue); flex-shrink: 0; }
.ui-lesson .l-title { flex: 1; font-weight: 600; color: var(--app-text); }
.ui-lesson .l-badge { font-size: 9.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.ui-lesson .l-badge.pub { background: rgba(34,197,94,.14); color: #15803d; }
.ui-lesson .l-badge.draft { background: rgba(249,115,22,.14); color: #c2410c; }
.ui-addrow { display: flex; gap: 8px; }
.ui-add { flex: 1; text-align: center; border: 1px dashed var(--app-line); border-radius: 10px; padding: 9px; font-size: 11px; font-weight: 700; color: var(--app-blue); background: var(--surface); }

/* Live : scène + chat + participants */
.ui-live { background: #0d1622; padding: 14px; display: grid; grid-template-columns: 1fr 168px; gap: 12px; }
.ui-live-stage { position: relative; aspect-ratio: 16/10; border-radius: 12px; background: radial-gradient(120% 120% at 30% 20%, #1f3b59, #0b1320); overflow: hidden; }
.ui-live-stage .live-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; z-index: 0; }
.ui-live-stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; background: linear-gradient(transparent, rgba(8, 14, 22, .6)); z-index: 1; pointer-events: none; }
.ui-live-stage .live-tag, .ui-live-stage .ui-live-ctrl { z-index: 2; }
.ui-live-stage .live-tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; color: #fff; background: var(--app-red); padding: 4px 9px; border-radius: 999px; letter-spacing: .04em; }
.ui-live-stage .live-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulseDot 1.6s infinite; }
.ui-live-stage .live-cam { position: absolute; right: 12px; bottom: 12px; width: 64px; height: 44px; border-radius: 8px; background: linear-gradient(135deg,#2d557d,#16324d); border: 2px solid rgba(255,255,255,.5); }
.ui-live-stage .live-center { position: absolute; inset: 0; display: grid; place-items: center; }
.ui-live-stage .live-center span { width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; font-size: 22px; }
.ui-live-ctrl { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: inline-flex; gap: 7px; }
.ui-live-ctrl i { width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 12px; }
.ui-live-side { display: grid; gap: 8px; align-content: start; }
.ui-live-side .ls-h { font-size: 10px; font-weight: 700; color: rgba(255,255,255,.7); letter-spacing: .04em; text-transform: uppercase; }
.ui-live-side .ls-msg { background: rgba(255,255,255,.08); border-radius: 9px; padding: 7px 9px; font-size: 10.5px; color: #e5edf5; }
.ui-live-side .ls-msg b { color: #7fd7ff; font-weight: 700; }
.ui-live-side .ls-people { display: flex; gap: -6px; }
.ui-live-side .ls-people i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #0d1622; margin-left: -6px; background: linear-gradient(135deg,#3278B5,#145C8F); }
.ui-live-side .ls-people i:first-child { margin-left: 0; }
.ui-live-side .ls-count { font-size: 10px; color: rgba(255,255,255,.7); align-self: center; margin-left: 4px; }

/* Correction : soumission + feedback + note */
.ui-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ui-card { background: var(--surface); border: 1px solid var(--app-line); border-radius: 12px; padding: 14px; display: grid; gap: 9px; align-content: start; }
.ui-card .c-h { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: var(--app-text); }
.ui-card .c-h .c-av { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg,#3278B5,#145C8F); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.ui-doc { display: flex; align-items: center; gap: 8px; background: var(--app-bg); border: 1px solid var(--app-line); border-radius: 8px; padding: 8px 10px; font-size: 11px; color: var(--app-muted); }
.ui-doc::before { content: "📄"; }
.ui-line { height: 7px; border-radius: 4px; background: var(--app-line); }
.ui-line.s { width: 70%; }
.ui-feedback { font-size: 11px; color: var(--app-muted); line-height: 1.5; background: var(--app-bg); border-radius: 8px; padding: 9px 11px; }
.ui-grade-row { display: flex; align-items: center; justify-content: space-between; }
.ui-grade-row .g-note { font-size: 22px; font-weight: 800; color: var(--app-green-2); }
.ui-grade-row .g-note small { font-size: 12px; color: var(--app-muted); font-weight: 600; }
.ui-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; color: var(--app-text); }
.ui-toggle .t-sw { width: 32px; height: 18px; border-radius: 999px; background: var(--app-green); position: relative; }
.ui-toggle .t-sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.ui-btn { background: var(--app-blue); color: #fff; border-radius: 9px; padding: 9px; text-align: center; font-size: 12px; font-weight: 700; }

/* Tarification : 3 formules + revenu */
.ui-pricing { display: grid; gap: 10px; }
.ui-plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.ui-plan { border: 1px solid var(--app-line); border-radius: 11px; background: var(--surface); padding: 11px; display: grid; gap: 4px; text-align: center; }
.ui-plan.active { border-color: var(--app-blue); box-shadow: 0 0 0 2px rgba(20,92,143,.18); }
.ui-plan .p-lbl { font-size: 10px; font-weight: 700; color: var(--app-muted); }
.ui-plan .p-val { font-size: 16px; font-weight: 800; color: var(--app-text); }
.ui-rev { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(135deg, var(--app-green), var(--app-green-2)); color: #fff; border-radius: 12px; padding: 13px 16px; }
.ui-rev .r-lbl { font-size: 11px; font-weight: 600; opacity: .9; }
.ui-rev .r-val { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }

/* ---------- Grille exhaustive de fonctionnalités ---------- */
.feature-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.feature-index .fi-col h3 {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.feature-index ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.feature-index li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-2); }
.feature-index li::before { content: "→"; color: var(--accent); font-weight: 700; }

@media (max-width: 1080px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse .feature-row-visual { order: 0; }
  .feature-row + .feature-row { margin-top: 72px; }
  .feature-index { grid-template-columns: 1fr 1fr; gap: 28px 32px; }
}
@media (max-width: 640px) {
  .feature-index { grid-template-columns: 1fr; }
  .ui-grade { grid-template-columns: 1fr; }
  .ui-live { grid-template-columns: 1fr; }
  .ui-live-side { display: none; }
  .phone-shot { width: 210px; }
  .feature-row-visual .stack-badge.tl { left: 0; }
  .feature-row-visual .stack-badge.br { right: 0; }
}

/* ---------- Page Contact ---------- */
.contact-section { padding-top: 56px; }

.contact-shell {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
  box-shadow: var(--shadow-soft);
}

.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }

.field label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  padding: 13px 15px;
  transition: border-color .22s var(--ease-out), box-shadow .22s var(--ease-out), background .22s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}

.contact-card textarea { resize: vertical; min-height: 150px; }

.contact-card select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7480' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-card input::placeholder,
.contact-card textarea::placeholder { color: var(--muted-2); }

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(17, 179, 148, .16);
}

.contact-submit { margin-top: 24px; width: 100%; }

.form-notice {
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: 14.5px;
  line-height: 1.5;
  border: 1px solid transparent;
}
.form-notice p { margin: 0; }
.form-notice p + p { margin-top: 6px; }
.form-notice.success {
  background: var(--accent-soft);
  border-color: rgba(17, 179, 148, .35);
  color: var(--accent-ink);
}
.form-notice.error {
  background: #fdecec;
  border-color: rgba(239, 68, 68, .35);
  color: #9a1f1f;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contact-aside { display: grid; gap: 16px; }

.contact-aside-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
  display: grid;
  gap: 8px;
}

.contact-aside-card .section-label { margin: 0; }
.contact-aside-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }

.contact-aside-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 14.5px;
  transition: gap .22s var(--ease-out);
}
.contact-aside-link:hover { gap: 11px; }

@media (max-width: 860px) {
  .contact-shell { grid-template-columns: 1fr; gap: 22px; }
  .contact-card { padding: 24px; }
}

@media (max-width: 640px) {
  .contact-fields { grid-template-columns: 1fr; }
}
