/* ==========================================================================
   NUMMA — Design System
   Couleurs : violet gradient marque / Typo : Inter / Mobile-first
   ========================================================================== */

:root {
  /* Brand colors */
  --numma-purple-900: #3B1E6D;
  --numma-purple-700: #5B2ED1;
  --numma-purple-600: #7C3AED;
  --numma-purple-500: #8B5CF6;
  --numma-purple-400: #A78BFA;
  --numma-purple-200: #DDD6FE;
  --numma-purple-100: #EDE9FE;
  --numma-purple-50:  #F5F3FF;
  --numma-pink-500:   #EC4899;
  --numma-pink-400:   #F472B6;
  --numma-orange-400: #FB923C;

  /* Neutrals */
  --ink-900: #0F0A1F;
  --ink-800: #1E1A2E;
  --ink-700: #35324A;
  --ink-600: #4E4A63;
  --ink-500: #6B6880;
  --ink-400: #8E8BA3;
  --ink-300: #B9B6CC;
  --ink-200: #E4E2EE;
  --ink-100: #F4F2F9;
  --ink-50:  #FAFAFE;
  --white:   #FFFFFF;

  /* Semantic */
  --success: #10B981;
  --warning: #F59E0B;
  --danger:  #EF4444;

  /* Gradients */
  --gradient-brand: linear-gradient(135deg, #7C3AED 0%, #A78BFA 45%, #F472B6 100%);
  --gradient-soft:  linear-gradient(135deg, #F5F3FF 0%, #FDF2F8 100%);
  --gradient-dark:  linear-gradient(135deg, #0F0A1F 0%, #3B1E6D 100%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15,10,31,0.04);
  --shadow-sm: 0 2px 8px rgba(15,10,31,0.06);
  --shadow-md: 0 8px 24px rgba(15,10,31,0.08);
  --shadow-lg: 0 20px 48px rgba(15,10,31,0.12);
  --shadow-purple: 0 16px 40px rgba(124,58,237,0.25);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Layout */
  --container: 1200px;
  --container-sm: 960px;
  --container-xs: 720px;

  /* Typo */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--numma-purple-600); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--numma-purple-700); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--ink-900);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { color: var(--ink-700); }
.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--numma-purple-600);
  margin-bottom: 1rem;
}
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lead { font-size: 1.15rem; color: var(--ink-600); max-width: 640px; }

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-sm { max-width: var(--container-sm); }
.container-xs { max-width: var(--container-xs); }
section { padding: 5rem 0; }
@media (max-width: 768px) { section { padding: 3.5rem 0; } }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover {
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 20px 48px rgba(124,58,237,0.4);
}
.btn-secondary {
  background: var(--white);
  color: var(--ink-900);
  border-color: var(--ink-200);
}
.btn-secondary:hover {
  border-color: var(--numma-purple-400);
  color: var(--numma-purple-700);
}
.btn-ghost { background: transparent; color: var(--ink-700); }
.btn-ghost:hover { color: var(--numma-purple-600); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--ink-100);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink-900);
  letter-spacing: -0.03em;
}
.nav-logo img, .nav-logo svg { height: 36px; width: 36px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--numma-purple-700); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle { display: none; }

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  min-width: 320px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--ink-800);
  font-weight: 500;
  font-size: 0.9rem;
}
.dropdown a:hover { background: var(--numma-purple-50); color: var(--numma-purple-700); }
.dropdown a small { display: block; color: var(--ink-500); font-size: 0.8rem; font-weight: 400; margin-top: 2px; }

@media (max-width: 960px) {
  .nav-links, .nav-actions .btn-secondary { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 1rem; min-width: auto; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  padding: 5rem 0 4rem;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(167,139,250,0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -300px;
  left: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244,114,182,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 2rem; font-size: 1.2rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-500);
  flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 0.4rem; }
.hero-meta svg { color: var(--success); flex-shrink: 0; }

.hero-visual {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--ink-100);
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  z-index: -1;
  opacity: 0.15;
  filter: blur(20px);
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-meta { justify-content: center; }
}

/* ==========================================================================
   Trust bar
   ========================================================================== */
.trust-bar { background: var(--white); padding: 2rem 0; border-bottom: 1px solid var(--ink-100); }
.trust-bar p { text-align: center; color: var(--ink-500); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1.5rem; font-weight: 600; }
.trust-logos { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; opacity: 0.6; }
.trust-logos span { font-weight: 700; color: var(--ink-500); font-size: 1.1rem; letter-spacing: -0.01em; }

/* ==========================================================================
   Feature grid
   ========================================================================== */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-header .lead { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--numma-purple-200);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--numma-purple-50);
  color: var(--numma-purple-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.95rem; color: var(--ink-600); }
.feature-card a.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ==========================================================================
   Stats
   ========================================================================== */
.stats {
  background: var(--gradient-dark);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  margin: 2rem 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 2rem; text-align: center; }
.stat-value { font-size: 2.75rem; font-weight: 800; background: linear-gradient(135deg, #FFF 0%, #C4B5FD 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--numma-purple-200); font-size: 0.9rem; margin-top: 0.25rem; }

/* ==========================================================================
   Module (alternating rows)
   ========================================================================== */
.module-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}
.module-row:last-child { margin-bottom: 0; }
.module-row.reverse .module-content { order: 2; }
.module-content h2 { margin-bottom: 1rem; }
.module-content ul { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.module-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--ink-700);
}
.module-content ul li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--numma-purple-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center no-repeat;
}
.module-visual {
  background: var(--gradient-soft);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 860px) {
  .module-row { grid-template-columns: 1fr; gap: 2rem; }
  .module-row.reverse .module-content { order: 0; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--numma-purple-50); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ink-100);
}
.testimonial blockquote { font-size: 1.05rem; color: var(--ink-800); line-height: 1.5; margin-bottom: 1.5rem; font-weight: 500; }
.testimonial-author { display: flex; align-items: center; gap: 0.85rem; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.testimonial-name { font-weight: 600; color: var(--ink-900); font-size: 0.95rem; }
.testimonial-role { font-size: 0.85rem; color: var(--ink-500); }
.stars { color: #FBBF24; margin-bottom: 0.75rem; font-size: 0.95rem; letter-spacing: 2px; }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.price-card {
  background: var(--white);
  border: 1.5px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}
.price-card.featured {
  border-color: var(--numma-purple-500);
  box-shadow: var(--shadow-purple);
  transform: scale(1.03);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-name { font-size: 1.1rem; font-weight: 700; color: var(--ink-900); }
.price-desc { font-size: 0.9rem; color: var(--ink-500); margin-top: 0.35rem; min-height: 2.5rem; }
.price-amount { display: flex; align-items: baseline; gap: 0.4rem; margin: 1.25rem 0 0.5rem; }
.price-amount .currency { font-size: 1.5rem; font-weight: 600; color: var(--ink-800); }
.price-amount .value { font-size: 3rem; font-weight: 800; color: var(--ink-900); letter-spacing: -0.03em; }
.price-amount .period { font-size: 0.95rem; color: var(--ink-500); }
.price-billed { font-size: 0.85rem; color: var(--ink-500); margin-bottom: 1.5rem; }
.price-card .btn { width: 100%; margin-bottom: 1.5rem; }
.price-features { display: grid; gap: 0.65rem; }
.price-features li { font-size: 0.9rem; color: var(--ink-700); display: flex; align-items: flex-start; gap: 0.5rem; }
.price-features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--numma-purple-50) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center no-repeat;
}
.price-features li.disabled { color: var(--ink-400); }
.price-features li.disabled::before {
  background: var(--ink-100) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%238E8BA3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>") center no-repeat;
}
@media (max-width: 860px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
}

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 3rem; }
.compare-table th, .compare-table td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--ink-100); font-size: 0.92rem; }
.compare-table th { font-weight: 600; color: var(--ink-900); background: var(--numma-purple-50); }
.compare-table th:first-child { border-top-left-radius: var(--radius-md); }
.compare-table th:last-child { border-top-right-radius: var(--radius-md); }
.compare-table td { color: var(--ink-700); }
.compare-table td.check { color: var(--numma-purple-600); font-weight: 700; text-align: center; }
.compare-table td.x { color: var(--ink-300); text-align: center; }
.compare-table .section-row td { font-weight: 700; color: var(--ink-900); background: var(--ink-50); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.08em; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--ink-100);
  padding: 1.25rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-900);
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding-right: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--numma-purple-600);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { margin-top: 0.75rem; color: var(--ink-600); line-height: 1.6; }

/* ==========================================================================
   CTA final
   ========================================================================== */
.cta-final {
  background: var(--gradient-dark);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 2rem 0;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.4) 0%, transparent 65%);
  border-radius: 50%;
}
.cta-final h2 { color: var(--white); position: relative; max-width: 680px; margin: 0 auto 1rem; }
.cta-final p { color: var(--numma-purple-200); position: relative; max-width: 580px; margin: 0 auto 2rem; font-size: 1.1rem; }
.cta-final .btn-primary { background: var(--white); color: var(--numma-purple-700); box-shadow: none; position: relative; }
.cta-final .btn-primary:hover { color: var(--numma-purple-900); transform: translateY(-2px); }
.cta-final .btn-ghost { color: var(--white); position: relative; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-header {
  background: var(--gradient-soft);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-500);
  margin-bottom: 1.5rem;
}
.page-header .breadcrumb a { color: var(--ink-500); }
.page-header .breadcrumb a:hover { color: var(--numma-purple-600); }
.page-header h1 { max-width: 900px; margin: 0 auto 1rem; }
.page-header .lead { margin: 0 auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-300);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand p { color: var(--ink-400); font-size: 0.9rem; margin-top: 1rem; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem; font-weight: 600; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { color: var(--ink-300); font-size: 0.9rem; }
.footer-col a:hover { color: var(--numma-purple-400); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ink-500);
}
.footer-socials { display: flex; gap: 0.75rem; }
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-300);
}
.footer-socials a:hover { background: var(--numma-purple-600); color: var(--white); }
.footer-logo-text {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}
.footer-logo-text img, .footer-logo-text svg { height: 32px; width: 32px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   UI mock (dashboard preview)
   ========================================================================== */
.ui-mock {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--ink-100);
}
.ui-mock-toolbar {
  background: var(--ink-50);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--ink-100);
}
.ui-mock-toolbar span { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-200); }
.ui-mock-toolbar span:nth-child(1) { background: #FF5F57; }
.ui-mock-toolbar span:nth-child(2) { background: #FEBC2E; }
.ui-mock-toolbar span:nth-child(3) { background: #28C840; }
.ui-mock-body { padding: 1.5rem; display: grid; gap: 1rem; }
.ui-mock-row { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background: var(--ink-50); border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--ink-700); }
.ui-mock-row strong { color: var(--ink-900); }
.ui-mock-badge { background: var(--numma-purple-100); color: var(--numma-purple-700); padding: 0.2rem 0.6rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; }
.ui-mock-badge.success { background: #D1FAE5; color: #065F46; }
.ui-mock-chart {
  height: 140px;
  background: linear-gradient(180deg, rgba(124,58,237,0.12) 0%, rgba(124,58,237,0) 100%);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}
.ui-mock-chart::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 40%;
  height: 2px;
  background: linear-gradient(90deg, var(--numma-purple-500), var(--numma-pink-500));
  clip-path: polygon(0 50%, 10% 60%, 20% 40%, 30% 50%, 40% 30%, 50% 35%, 60% 20%, 70% 25%, 80% 10%, 90% 15%, 100% 0, 100% 100%, 0 100%);
}

/* Product screenshots — real SaaS captures */
.product-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-100);
  box-shadow: 0 20px 40px -24px rgba(124, 58, 237, 0.25), 0 4px 12px -4px rgba(11, 15, 25, 0.08);
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-screenshot:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -20px rgba(124, 58, 237, 0.35), 0 6px 18px -6px rgba(11, 15, 25, 0.1);
}
.screenshot-wrap {
  position: relative;
  display: block;
}
.screenshot-wrap::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.15), transparent 70%);
  z-index: -1;
  border-radius: 50%;
  filter: blur(20px);
}

/* ==========================================================================
   Blog cards
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-cover { aspect-ratio: 16/9; background: var(--gradient-soft); position: relative; display: flex; align-items: center; justify-content: center; color: var(--numma-purple-400); font-size: 3rem; }
.blog-card-body { padding: 1.5rem; }
.blog-card .tag { display: inline-block; background: var(--numma-purple-50); color: var(--numma-purple-700); padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--ink-900); }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--numma-purple-700); }
.blog-card .meta { font-size: 0.85rem; color: var(--ink-500); }

article.blog-post { max-width: 760px; margin: 0 auto; padding: 3rem 0; }
article.blog-post h1 { margin-bottom: 1rem; }
article.blog-post .meta { color: var(--ink-500); font-size: 0.9rem; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--ink-100); }
article.blog-post h2, article.blog-post h3 { margin: 2.5rem 0 1rem; }
article.blog-post p { margin-bottom: 1.25rem; line-height: 1.75; font-size: 1.05rem; color: var(--ink-700); }
article.blog-post ul, article.blog-post ol { margin: 1.25rem 0 1.25rem 1.5rem; display: grid; gap: 0.5rem; }
article.blog-post ul li { list-style: disc; color: var(--ink-700); }
article.blog-post ol li { list-style: decimal; color: var(--ink-700); }

/* ==========================================================================
   Contact form
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; }
.contact-info h3 { margin-bottom: 1.5rem; }
.contact-info .info-block { margin-bottom: 1.5rem; }
.contact-info .info-block h4 { color: var(--numma-purple-700); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.35rem; }
.contact-info .info-block p { color: var(--ink-700); font-size: 0.95rem; }

.form {
  background: var(--white);
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--ink-800); margin-bottom: 0.4rem; }
.form-group input, .form-group select, .form-group textarea {
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-800);
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--numma-purple-500);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group.checkbox { flex-direction: row; align-items: flex-start; gap: 0.6rem; font-size: 0.85rem; }
.form-group.checkbox input { width: auto; margin-top: 0.2rem; }
.form button[type="submit"] { width: 100%; margin-top: 1rem; }
@media (max-width: 720px) {
  .contact-grid, .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0 !important; }
.divider { height: 1px; background: var(--ink-100); margin: 3rem 0; }

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Responsive — refinements
   ========================================================================== */

/* Global: no horizontal scroll, fluid media */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
.container { width: 100%; }

/* Tablet landscape / small desktop */
@media (max-width: 1024px) {
  .container { padding-left: 1.25rem; padding-right: 1.25rem; }
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
  .hero-inner { gap: 2.5rem; }
  .section-header h2, h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
  .module-row { gap: 2.5rem; }
  .stats-grid { gap: 1.5rem; }
  .trust-logos { gap: 2rem; }
  .dropdown { min-width: 280px; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  :root { --radius-lg: 14px; --radius-md: 10px; }
  body { font-size: 0.95rem; }
  .container { padding-left: 1rem; padding-right: 1rem; }
  .site-header { position: sticky; top: 0; z-index: 50; }
  .site-header .container { padding-left: 1rem; padding-right: 1rem; }
  .nav { min-height: 60px; }

  /* Hero */
  .hero { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); line-height: 1.15; }
  .hero .lead, .lead { font-size: 1rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-visual { padding: 0.6rem; border-radius: var(--radius-md); }
  .hero-inner { gap: 1.5rem; }

  /* Page headers */
  .page-header { padding: 2.5rem 0 1.5rem; text-align: center; }
  .page-header h1 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  .breadcrumb { font-size: 0.8rem; word-break: break-word; }

  /* Sections */
  section { padding: 2.5rem 0; }
  .section-header { margin-bottom: 2rem; }
  h2 { font-size: clamp(1.5rem, 5vw, 1.9rem); }
  h3 { font-size: 1.15rem; }

  /* Modules */
  .module-row { gap: 1.75rem; margin-bottom: 3rem; }
  .module-content ul li { font-size: 0.92rem; }

  /* Stats & trust */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-card { padding: 1.25rem 1rem; }
  .stat-number, .stat-value { font-size: 1.6rem; }
  .trust-logos { gap: 1.25rem 1.75rem; justify-content: center; flex-wrap: wrap; }
  .trust-logos img, .trust-logos span { max-height: 28px; }

  /* Pricing */
  .pricing-grid { gap: 1rem; }
  .pricing-card { padding: 1.5rem; }
  .pricing-card .price { font-size: 2.2rem; }

  /* Testimonials / cards */
  .testimonial-grid { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial { padding: 1.5rem; }

  /* CTA */
  .cta-final { padding: 2rem 1.25rem; text-align: center; }
  .cta-final h2 { font-size: 1.5rem; }
  .cta-final .btn { width: 100%; }
  .cta-final > div { flex-direction: column; align-items: stretch; }

  /* Buttons — touch targets */
  .btn { min-height: 44px; padding: 0.7rem 1.1rem; }
  .btn-lg { padding: 0.85rem 1.3rem; font-size: 1rem; }
  .btn-sm { min-height: 38px; }

  /* Nav mobile */
  .nav-links.open { padding: 0.75rem 1rem 1.25rem; max-height: calc(100vh - 60px); overflow-y: auto; }
  .nav-links.open a { padding: 0.65rem 0; font-size: 1rem; }
  .nav-links.open .dropdown a { padding: 0.55rem 0.75rem; font-size: 0.95rem; }
  .nav-toggle { min-height: 40px; }

  /* Forms */
  .form-card, form { padding: 1.5rem; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; /* prevent iOS zoom */ }

  /* Screenshots keep aspect */
  .screenshot-wrap { padding: 0.4rem; border-radius: var(--radius-md); }
  .product-screenshot { width: 100%; height: auto; display: block; }

  /* UI mock */
  .ui-mock { border-radius: var(--radius-md); }
  .ui-mock-body { padding: 1rem; }
  .ui-mock-row { font-size: 0.9rem; flex-wrap: wrap; gap: 0.35rem; }

  /* Tables scroll */
  table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }

  /* Footer */
  .site-footer { padding: 2.5rem 0 1.5rem; }
  .footer-grid { gap: 1.5rem; }
  .footer-col h4 { font-size: 0.95rem; }
  .footer-col a { font-size: 0.9rem; }

  /* Blog */
  .blog-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  article.blog-card { padding: 1.25rem; }
}

/* Mobile */
@media (max-width: 480px) {
  .container { padding-left: 0.9rem; padding-right: 0.9rem; }
  .nav-logo span { display: none; }
  .nav-logo img, .nav-logo svg { height: 32px; width: 32px; }

  .hero { padding: 1.75rem 0 1.5rem; }
  .hero h1 { font-size: 1.65rem; letter-spacing: -0.02em; }
  .hero-visual { padding: 0.4rem; }
  .eyebrow { font-size: 0.72rem; letter-spacing: 0.08em; }

  .page-header { padding: 1.75rem 0 1rem; }
  .page-header h1 { font-size: 1.6rem; }

  section { padding: 2rem 0; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.05rem; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-card { padding: 1rem 0.75rem; }
  .stat-number, .stat-value { font-size: 1.4rem; }
  .stat-label { font-size: 0.78rem; }

  .pricing-card { padding: 1.25rem; }
  .pricing-card .price { font-size: 1.9rem; }
  .pricing-card ul li { font-size: 0.88rem; }

  .trust-logos { gap: 1rem 1.25rem; }
  .trust-logos img { max-height: 22px; }

  .cta-final h2 { font-size: 1.3rem; }

  .ui-mock-row { font-size: 0.85rem; }
  .ui-mock-body { padding: 0.85rem; }

  .breadcrumb { font-size: 0.75rem; }

  .footer-brand p { font-size: 0.88rem; }
  .footer-bottom { font-size: 0.8rem; text-align: center; }

  .btn-lg { padding: 0.8rem 1rem; font-size: 0.95rem; }
}

/* Very small / legacy devices */
@media (max-width: 360px) {
  .container { padding-left: 0.75rem; padding-right: 0.75rem; }
  .hero h1 { font-size: 1.5rem; }
  h2 { font-size: 1.25rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .pricing-card .price { font-size: 1.7rem; }
}

/* Larger screens — cap hero height */
@media (min-width: 1280px) {
  .container { max-width: 1200px; }
}

/* Landscape phones — reclaim vertical space */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { padding: 2rem 0 1.5rem; }
  .page-header { padding: 2rem 0 1rem; }
}

/* ==========================================================================
   Comparatif Avant / Avec NUMMA
   ========================================================================== */
.compare-banner { padding: 4rem 0; }
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.compare-card {
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.25rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.compare-before {
  background: #FAFBFC;
  border: 1px solid #E2E8F0;
}
.compare-after {
  background: linear-gradient(135deg, #FAF5FF 0%, #FFF7ED 100%);
  border: 1px solid #E9D5FF;
  box-shadow: 0 16px 40px -20px rgba(124,58,237,.25), var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.compare-after::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15) 0%, rgba(251,146,60,0.08) 60%, transparent 100%);
  pointer-events: none;
}
.compare-card header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}
.compare-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  background: var(--ink-100);
  color: var(--ink-600);
}
.compare-tag-on {
  background: linear-gradient(135deg, #7C3AED, #FB923C);
  color: #fff;
}
.compare-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
  color: var(--ink-900);
}
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  z-index: 1;
}
.compare-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-700);
}
.compare-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #B91C1C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 1px;
}
.compare-icon-on {
  background: linear-gradient(135deg, #7C3AED, #FB923C);
  color: #fff;
}
.compare-cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

@media (max-width: 860px) {
  .compare-grid { grid-template-columns: 1fr; gap: 1rem; }
  .compare-card { padding: 1.5rem 1.5rem 1.75rem; }
}
@media (max-width: 480px) {
  .compare-banner { padding: 2.5rem 0; }
  .compare-card h3 { font-size: 1.2rem; }
}
