


    /* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      color: #1a1a1a;
      background: #fff;
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; }

    /* ===== NAV ===== */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(10,10,20,0.92);
      backdrop-filter: blur(8px);
      display: flex; align-items: center; justify-content: space-between;
      padding: 0 2rem; height: 60px;
    }
    .nav-brand {
      color: #fff; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
    }
    .nav-links { display: flex; gap: 1.5rem; }
    .nav-links a {
      color: rgba(255,255,255,0.75); font-size: 0.9rem; transition: color .2s;
    }
    .nav-links a:hover { color: #fff; }
    .nav-links a.active { color: #fff; font-weight: 600; }

    /* ===== HERO ===== */
    .hero {
      padding: 120px 2rem 80px;
      background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0f172a 100%);
      text-align: center;
      color: #fff;
    }
    .hero-tag {
      display: inline-block;
      background: rgba(37,99,235,0.25);
      border: 1px solid rgba(37,99,235,0.5);
      color: #93c5fd;
      font-size: 0.8rem; font-weight: 600;
      padding: 0.3rem 0.9rem; border-radius: 20px;
      text-transform: uppercase; letter-spacing: 0.08em;
      margin-bottom: 1.2rem;
    }
    .hero h1 {
      font-size: clamp(1.8rem, 4vw, 2.8rem);
      font-weight: 800; line-height: 1.15;
      max-width: 700px; margin: 0 auto 1rem;
    }
    .hero h1 span { color: #60a5fa; }
    .hero p {
      font-size: 1.1rem; color: rgba(255,255,255,0.75);
      max-width: 560px; margin: 0 auto 2rem;
    }
    .btn-primary {
      display: inline-block;
      background: #2563eb;
      color: #fff; font-weight: 600;
      padding: 0.8rem 1.8rem;
      border-radius: 30px;
      transition: background .2s, transform .15s;
    }
    .btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); }

    /* ===== STATS BAND ===== */
    .stats-band {
      background: #f8fafc;
      border-top: 1px solid #e2e8f0;
      border-bottom: 1px solid #e2e8f0;
      padding: 2.5rem 2rem;
    }
    .stats-inner {
      max-width: 900px; margin: 0 auto;
      display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
    }
    .stat-item { text-align: center; }
    .stat-item .number {
      font-size: 2.2rem; font-weight: 800; color: #2563eb; line-height: 1;
    }
    .stat-item .label {
      font-size: 0.85rem; color: #64748b; margin-top: 0.3rem;
    }

    /* ===== SECTIONS ===== */
    .section { padding: 5rem 2rem; }
    .section-alt { background: #ffff; }
    .container { max-width: 1080px; margin: 0 auto; }
    .section-title {
      font-size: clamp(1.4rem, 3vw, 2rem);
      font-weight: 800; margin-bottom: 0.5rem;
    }
    .section-sub {
      color: #64748b; font-size: 1rem; margin-bottom: 3rem; max-width: 600px;
    }

    /* ===== FILTRES ===== */
    .filters {
      display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem;
    }
    .filter-btn {
      background: #fff; border: 1.5px solid #e2e8f0;
      color: #475569; font-size: 0.85rem; font-weight: 500;
      padding: 0.4rem 1rem; border-radius: 20px;
      cursor: pointer; transition: all .2s;
    }
    .filter-btn:hover, .filter-btn.active {
      background: #2563eb; border-color: #2563eb; color: #fff;
    }

    /* ===== CARDS GRILLE ===== */
    .cards-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 1.5rem;
    }
    .case-card {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 1.8rem;
      transition: box-shadow .2s, transform .2s;
      display: flex; flex-direction: column; gap: 0.8rem;
    }
    .case-card:hover {
      box-shadow: 0 8px 30px rgba(0,0,0,0.1);
      transform: translateY(-4px);
    }
    .card-header {
      display: flex; align-items: center; justify-content: space-between;
    }
    .card-tag {
      display: inline-block;
      font-size: 0.72rem; font-weight: 700;
      padding: 0.25rem 0.7rem; border-radius: 12px;
      text-transform: uppercase; letter-spacing: 0.06em;
    }
    .tag-automation { background: #dbeafe; color: #1d4ed8; }
    .tag-api        { background: #d1fae5; color: #065f46; }
    .tag-reporting  { background: #fef3c7; color: #92400e; }
    .tag-vba        { background: #ede9fe; color: #4c1d95; }
    .tag-scraping   { background: #fee2e2; color: #991b1b; }

    .card-icon { font-size: 1.6rem; }

    .card-metric {
      font-size: 2rem; font-weight: 800; color: #2563eb; line-height: 1;
    }
    .card-metric-label {
      font-size: 0.8rem; color: #64748b; margin-top: -0.3rem;
    }
    .case-card h3 {
      font-size: 1rem; font-weight: 700; color: #0f172a;
    }
    .case-card .context {
      font-size: 0.88rem; color: #475569; line-height: 1.55;
    }
    .card-results {
      list-style: none; margin-top: 0.2rem;
    }
    .card-results li {
      font-size: 0.85rem; color: #374151;
      padding: 0.2rem 0;
      display: flex; align-items: flex-start; gap: 0.5rem;
    }
    .card-results li::before {
      content: "âœ“"; color: #2563eb; font-weight: 700; flex-shrink: 0;
    }
    .card-stack {
      margin-top: auto;
      font-size: 0.76rem; color: #94a3b8;
      border-top: 1px solid #f1f5f9;
      padding-top: 0.8rem;
    }

    /* ===== TIMELINE ===== */
    .timeline { display: flex; flex-direction: column; gap: 2rem; margin-top: 1rem; }
    .timeline-item {
      display: flex; gap: 1.5rem; align-items: flex-start;
    }
    .timeline-dot {
      flex-shrink: 0; width: 14px; height: 14px;
      background: #2563eb; border-radius: 50%;
      margin-top: 0.4rem;
      box-shadow: 0 0 0 4px #dbeafe;
    }
    .timeline-content h3 { font-size: 1rem; font-weight: 700; }
    .timeline-content .date {
      font-size: 0.8rem; color: #94a3b8; margin-bottom: 0.3rem;
    }
    .timeline-content p { font-size: 0.88rem; color: #475569; }
    .timeline-badge {
      display: inline-block; margin-top: 0.5rem;
      background: #dbeafe; color: #1d4ed8;
      font-size: 0.75rem; font-weight: 700;
      padding: 0.2rem 0.6rem; border-radius: 8px;
    }

    /* ===== CTA FINAL ===== */
    .cta-section {
      background: linear-gradient(135deg, #1e3a5f, #0f172a);
      padding: 5rem 2rem;
      text-align: center;
      color: #fff;
    }
    .cta-section h2 {
      font-size: clamp(1.5rem, 3vw, 2.2rem);
      font-weight: 800; margin-bottom: 1rem;
    }
    .cta-section p {
      color: rgba(255,255,255,0.7); max-width: 500px; margin: 0 auto 2rem;
    }
    .btn-secondary {
      display: inline-block;
      background: transparent;
      border: 2px solid rgba(255,255,255,0.4);
      color: #fff; font-weight: 600;
      padding: 0.75rem 1.6rem; border-radius: 30px;
      margin-left: 0.8rem;
      transition: all .2s;
    }
    .btn-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

    /* ===== FOOTER ===== */
    footer {
      background: #0f172a; color: rgba(255,255,255,0.4);
      text-align: center; padding: 1.5rem;
      font-size: 0.82rem;
    }
    footer a { color: rgba(255,255,255,0.6); }
    footer a:hover { color: #fff; }

    /* ===== RESPONSIVE ===== */
    
@media (max-width: 640px) {
  nav {
    height: auto;
    padding: 0.75rem 1rem;
  }

  nav .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }

  .nav-links a {
    font-size: 0.95rem;
  }

  .hero {
    padding-top: 150px;
  }
}