
    :root {
      --bg-color: #050816;
      --accent: #4f46e5;
      --accent-soft: rgba(79, 70, 229, 0.4);
      --text-main: #f9fafb;
      --text-muted: #9ca3af;
      --card-bg: rgba(15, 23, 42, 0.75);
      --border-soft: rgba(148, 163, 184, 0.35);
      --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.85);
      --radius-xl: 1.4rem;
      --radius-pill: 999px;
      --transition-fast: 180ms ease-out;
    }

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

    body {
      min-height: 100vh;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      background:
        radial-gradient(circle at top left, #1f2933 0, transparent 55%),
        radial-gradient(circle at bottom right, #111827 0, transparent 55%),
        var(--bg-color);
      color: var(--text-main);
      display: flex;
      align-items: stretch;
      justify-content: center;
      padding: 3rem 1.5rem;
    }

    .page {
      max-width: 960px;
      width: 100%;
      margin: auto;
    }

    .page-header {
      text-align: center;
      margin-bottom: 3rem;
      position: relative;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0.9rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(148, 163, 184, 0.5);
      background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), transparent 60%),
                  rgba(15, 23, 42, 0.85);
      font-size: 0.8rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: var(--text-muted);
      margin-bottom: 1.1rem;
    }

    .chip-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: linear-gradient(135deg, #38bdf8, #4f46e5);
      box-shadow: 0 0 12px rgba(56, 189, 248, 0.9);
    }

    .page-title {
      font-size: clamp(2.2rem, 4vw, 2.8rem);
      font-weight: 750;
      letter-spacing: -0.04em;
      margin-bottom: 0.6rem;
    }

    .page-subtitle {
      max-width: 560px;
      margin: 0 auto;
      color: var(--text-muted);
      font-size: 0.95rem;
    }

    .page-subtitle span {
      color: #a5b4fc;
    }

    /* Timeline container */
    .timeline-wrapper {
      position: relative;
      margin-top: 3rem;
      padding-left: 1rem;
      padding-right: 1rem;
    }

    /* Vertical line */
    .timeline-line {
      position: absolute;
      top: 0.6rem;
      bottom: 0.6rem;
      left: 50%;
      width: 3px;
      transform: translateX(-50%);
      background:
        linear-gradient(to bottom, transparent, var(--accent-soft), transparent);
      border-radius: 999px;
      opacity: 0.9;
      pointer-events: none;
    }

    /* Timeline item */
    .timeline-item {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 0.75rem;
      margin-bottom: 2rem;
      animation: fadeInUp 600ms ease-out both;
    }

    .timeline-item:nth-child(1) { animation-delay: 60ms; }
    .timeline-item:nth-child(2) { animation-delay: 140ms; }
    .timeline-item:nth-child(3) { animation-delay: 220ms; }
    .timeline-item:nth-child(4) { animation-delay: 300ms; }

    /* Dot in the middle */
    .timeline-marker {
      position: absolute;
      top: 0.9rem;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background:
        radial-gradient(circle at 30% 30%, #e5e7eb, #6b7280),
        linear-gradient(135deg, #4f46e5, #22c55e);
      box-shadow:
        0 0 0 4px rgba(79, 70, 229, 0.35),
        0 0 24px rgba(56, 189, 248, 0.85);
      z-index: 2;
    }

    .timeline-marker::after {
      content: "";
      position: absolute;
      inset: 4px;
      border-radius: inherit;
      background: radial-gradient(circle at 30% 30%, #f9fafb, #9ca3af);
    }

    /* Content layout: left/right on big screens */
    .timeline-side {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    .timeline-item:nth-child(odd) .timeline-side {
      grid-column: 1 / 2;
    }

    .timeline-item:nth-child(even) .timeline-side {
      grid-column: 1 / 2;
    }

    @media (min-width: 768px) {
      .timeline-item {
        grid-template-columns: minmax(0, 1fr) 80px minmax(0, 1fr);
        align-items: flex-start;
      }

      .timeline-item:nth-child(odd) .timeline-side {
        grid-column: 1 / 2;
        text-align: right;
        align-items: flex-end;
      }

      .timeline-item:nth-child(odd) .timeline-card {
        border-top-right-radius: 0;
      }

      .timeline-item:nth-child(even) .timeline-side {
        grid-column: 3 / 4;
        text-align: left;
        align-items: flex-start;
      }

      .timeline-item:nth-child(even) .timeline-card {
        border-top-left-radius: 0;
      }
    }

    .timeline-meta {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.75rem;
      padding: 0.2rem 0.7rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(148, 163, 184, 0.6);
      background: rgba(15, 23, 42, 0.8);
      color: var(--text-muted);
      backdrop-filter: blur(10px);
      white-space: nowrap;
    }

    .timeline-meta-dot-diffusee {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #49F292, #29F07F);
    }
    .timeline-meta-dot-encours {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #facc15, #f97316);
    }
    .timeline-meta-dot-attente {
      width: 6px;
      height: 6px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #F28052, #F05416);
    }

    .timeline-meta-label {
      font-weight: 500;
      color: #e5e7eb;
    }

    /* Card */
    .timeline-card {
      position: relative;
      margin-top: 0.2rem;
      padding: 1rem 1.1rem 1rem;
      border-radius: var(--radius-xl);
      border: 1px solid var(--border-soft);
      background:
        radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 65%),
        radial-gradient(circle at bottom left, rgba(129, 140, 248, 0.16), transparent 65%),
        var(--card-bg);
      box-shadow: var(--shadow-soft);
      backdrop-filter: blur(16px);
      overflow: hidden;
      transition:
        transform var(--transition-fast),
        box-shadow var(--transition-fast),
        border-color var(--transition-fast),
        background 260ms ease-out;
    }

    .timeline-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        linear-gradient(120deg,
          rgba(148, 163, 184, 0.05),
          rgba(79, 70, 229, 0.06),
          rgba(56, 189, 248, 0.04));
      opacity: 0;
      transition: opacity 260ms ease-out;
      pointer-events: none;
    }

    .timeline-card:hover {
      transform: translateY(-4px) scale(1.01);
      border-color: rgba(129, 140, 248, 0.9);
      box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.95),
        0 0 0 1px rgba(129, 140, 248, 0.45);
    }

    .timeline-card:hover::before {
      opacity: 1;
    }

    .timeline-card-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.4rem;
    }

    .timeline-title {
      font-size: 1rem;
      font-weight: 600;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 0.55rem;
    }

    .timeline-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 26px;
      height: 26px;
      border-radius: 999px;
      background: radial-gradient(circle at 30% 30%, #22c55e, #16a34a);
      box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
      font-size: 0.9rem;
    }

    .timeline-extra {
      font-size: 0.8rem;
      color: var(--text-muted);
      white-space: nowrap;
    }

    .timeline-body {
      margin-top: 0.4rem;
      font-size: 0.9rem;
      color: #e5e7eb;
      line-height: 1.5;
    }

    .timeline-tags {
      margin-top: 0.7rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      font-size: 0.78rem;
    }

    .timeline-tag {
      padding: 0.18rem 0.6rem;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(148, 163, 184, 0.45);
      background: rgba(15, 23, 42, 0.85);
      color: var(--text-muted);
    }

    .timeline-tag strong {
      color: #e5e7eb;
      font-weight: 500;
    }

    /* Keyframes */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(12px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Small screens tweaks */
    @media (max-width: 767px) {
      .timeline-line {
        left: 14px;
        transform: none;
      }

      .timeline-marker {
        left: 14px;
        transform: translate(-50%, -50%);
      }

      .timeline-wrapper {
        padding-left: 2.2rem;
      }

      .timeline-item:nth-child(odd) .timeline-side,
      .timeline-item:nth-child(even) .timeline-side {
        align-items: flex-start;
        text-align: left;
      }
    }
