.projets-page .project {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
  }

  .projets-page .project-header {
    margin-bottom: 1.5rem;
  }

  .projets-page .project-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    color: var(--color-accent);
    background: rgb(var(--accent-rgb) / 0.1);
    border: 1px solid rgb(var(--accent-rgb) / 0.2);
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .projets-page .project-header h2 {
    font-size: var(--text-3xl);
    line-height: 1.3;
  }

  .projets-page .project-intro p {
    color: var(--color-text-muted);
    font-size: var(--text-xl);
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .projets-page .project-intro p strong {
    color: var(--color-text);
  }
  .projets-page .project-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .projets-page .detail-block {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
  }

  .projets-page .detail-block h4 {
    font-size: var(--text-base);
    margin-bottom: 0.5rem;
    color: var(--color-text);
  }

  .projets-page .detail-block p {
    font-size: var(--text-md);
    color: var(--color-text-muted);
    line-height: 1.6;
  }

  .projets-page .detail-block p strong {
    color: var(--color-text);
  }
  .projets-page .project-stack {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .projets-page .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
  }

  .projets-page .tags li {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    background: var(--color-bg);
    color: var(--color-accent);
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
  }

  .projets-page .project-services {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    font-style: italic;
  }

  .projets-page .project-link {
    color: var(--color-accent);
    text-decoration: none;
    font-style: normal;
    font-weight: 600;
  }

  .projets-page .project-link:hover {
    text-decoration: underline;
  }
  .projets-page .ai-divider {
    padding: 3rem 0 2rem;
    border-top: 2px solid var(--color-accent);
  }

  .projets-page .ai-divider h2 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
  }

  .projets-page .ai-divider-sub {
    color: var(--color-text-muted);
    font-size: var(--text-lg);
    line-height: 1.6;
  }

  .projets-page .tech-logo {
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
  }

  .projets-page .api-logo-img {
    width: 1.6rem;
    height: 1.6rem;
    flex-shrink: 0;
  }
  .specs { margin-bottom: 1.5rem; }

  .projets-page .spec {
    display: flex;
    gap: 1rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--color-border);
    align-items: baseline;
  }

  .spec:last-child { border-bottom: none; }

  .projets-page .spec-label {
    font-family: var(--font-mono);
    font-size: var(--text-sm);
    color: var(--color-accent);
    min-width: 6rem;
    flex-shrink: 0;
  }

  .projets-page .spec-value {
    font-size: var(--text-base);
    color: var(--color-text-muted);
  }
  .projets-page .models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 1rem;
  }

  .projets-page .model-group {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
  }

  .projets-page .model-group h4 {
    font-size: var(--text-sm);
    color: var(--color-accent);
    font-family: var(--font-mono);
    margin-bottom: 0.75rem;
  }

  .projets-page .model-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .projets-page .model-tags span {
    font-family: var(--font-mono);
    font-size: var(--text-2xs);
    background: var(--color-bg);
    color: var(--color-text-muted);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--color-border);
  }
  .projets-page .api-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .projets-page .api-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .claude-card { border-top: 3px solid var(--color-accent); }
  .minimax-card { border-top: 3px solid #a855f7; }
  .groq-card { border-top: 3px solid #f59e0b; }

  .projets-page .api-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .projets-page .api-name {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--text-lg);
  }

  .projets-page .api-role {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-family: var(--font-mono);
  }

  .projets-page .api-desc {
    font-size: var(--text-md);
    color: var(--color-text-muted);
    line-height: 1.5;
  }

  .projets-page .api-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
  }

  .projets-page .api-tags span {
    font-family: var(--font-mono);
    font-size: var(--text-2xs);
    background: var(--color-bg);
    color: var(--color-text-muted);
    padding: 0.15rem 0.4rem;
    border-radius: var(--radius-xs);
    border: 1px solid var(--color-border);
  }
  .agents-deployed { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
  .agents-deployed h4 { font-family: var(--font-mono); font-size: var(--text-base); color: var(--color-accent); margin-bottom: 1rem; letter-spacing: 0.05em; text-transform: uppercase; }
  .agents-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .agent-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.25rem; transition: border-color 0.3s, transform 0.3s; }
  .agent-card:hover { border-color: var(--color-accent); transform: translateY(-2px); }
  .agent-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
  .agent-badge { font-family: var(--font-mono); font-size: var(--text-2xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.5rem; border-radius: var(--radius-sm); }
  .agent-badge.running { background: rgb(var(--ok-rgb) / 0.15); color: var(--color-ok); }
  .agent-badge.observing { background: rgb(var(--warn-rgb) / 0.15); color: var(--color-warn); }
  .agent-badge.decommissioned { background: rgb(var(--muted-rgb) / 0.15); color: var(--color-text-muted); }
  .project-tag-decom { color: #f87171; background: rgba(248, 113, 113, 0.08); border-color: rgba(248, 113, 113, 0.25); }
  .decom-note { font-family: var(--font-mono); font-size: var(--text-sm); color: var(--color-text-muted); border-left: 2px solid rgba(248, 113, 113, 0.4); padding-left: 0.75rem; }
  .agent-ct { font-family: var(--font-mono); font-size: var(--text-2xs); color: var(--color-text-muted); }
  .agent-card h5 { font-size: var(--text-xl); margin: 0 0 0.15rem; color: var(--color-text); }
  .agent-role { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--color-accent); margin-bottom: 0.6rem; }
  .agent-desc { font-size: var(--text-md); color: var(--color-text-muted); line-height: 1.5; margin-bottom: 0.75rem; }
  .agent-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
  .agent-tags span { font-family: var(--font-mono); font-size: var(--text-2xs); background: var(--color-bg); color: var(--color-accent); padding: 0.15rem 0.5rem; border-radius: var(--radius-sm); border: 1px solid var(--color-border); }
  .projets-page .roadmap {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
  }

  .projets-page .roadmap .layer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .projets-page .roadmap .layer-header h2 {
    font-size: var(--text-3xl);
    margin-bottom: 0;
  }

  .projets-page .roadmap-intro {
    color: var(--color-text-muted);
    font-size: var(--text-lg);
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }

  .projets-page .roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
    gap: 1rem;
  }

  .projets-page .roadmap-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border-left: 3px solid var(--color-border);
    transition: border-left-color 0.2s;
  }

  .projets-page .roadmap-item:hover {
    border-left-color: var(--color-accent);
  }

  .projets-page .roadmap-status {
    font-family: var(--font-mono);
    font-size: var(--text-2xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-xs);
    display: inline-block;
    margin-bottom: 0.6rem;
  }

  .projets-page .status-planned {
    color: var(--color-text-muted);
    background: rgb(var(--muted-rgb) / 0.1);
    border: 1px solid rgb(var(--muted-rgb) / 0.3);
  }

  .projets-page .status-wip {
    color: var(--color-accent);
    background: rgb(var(--accent-rgb) / 0.1);
    border: 1px solid rgb(var(--accent-rgb) / 0.3);
  }

  .projets-page .status-done {
    color: var(--color-ok);
    background: rgb(var(--ok-rgb) / 0.1);
    border: 1px solid rgb(var(--ok-rgb) / 0.3);
  }

  .projets-page .roadmap-item h4 {
    font-size: var(--text-base);
    margin-bottom: 0.4rem;
    color: var(--color-text);
  }

  .projets-page .roadmap-item p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.5;
  }
  .projets-page .crosslink {
    padding: 2rem 0 3rem;
  }
  @media (max-width: 640px) {
    .projets-page .project {
      padding: 2rem 0;
    }

    .projets-page .project-header h2 {
      font-size: var(--text-xl);
    }

    .projets-page .project-intro p {
      font-size: var(--text-lg);
    }

    .projets-page .project-details {
      grid-template-columns: 1fr;
      gap: 0.75rem;
    }

    .projets-page .detail-block {
      padding: 1rem;
    }

    .projets-page .detail-block h4 {
      font-size: var(--text-md);
    }

    .projets-page .detail-block p {
      font-size: var(--text-sm);
    }

    .projets-page .project-stack {
      flex-direction: column;
      align-items: flex-start;
      gap: 0.5rem;
    }

    .projets-page .ai-divider h2 {
      font-size: clamp(1.3rem, 4vw, 1.8rem);
    }

    .spec { flex-direction: column; gap: 0.25rem; }
    .spec-label { min-width: unset; }
    .models-grid, .api-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .model-group, .api-card { padding: 0.75rem 1rem; }
    .agents-grid { grid-template-columns: 1fr; }

    .projets-page .roadmap-grid {
      grid-template-columns: 1fr;
      gap: 0.75rem;
    }

    .projets-page .roadmap-item {
      padding: 1rem;
    }

    .projets-page .roadmap-intro {
      font-size: var(--text-base);
    }

  }
