/* ── Variables ── */
    :root {
      --anthracite: #1a1a1a;
      --off-white:  #f5f2ee;
      --steel:      #4a7c9e;
      --mid:        #6b6b6b;
      --border:     #d8d4cf;
      --gap:        clamp(2rem, 5vw, 5rem);
    }

    /* ── Reset ── */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }

    body {
      font-family: 'IBM Plex Sans', sans-serif;
      font-weight: 300;
      background: var(--off-white);
      color: var(--anthracite);
      font-size: clamp(1rem, 1.1vw, 1.125rem);
      line-height: 1.7;
    }

    /* ── Nav ── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1.25rem var(--gap);
      background: var(--off-white);
      border-bottom: 1px solid var(--border);
    }

    .nav-logo {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.85rem;
      font-weight: 500;
      letter-spacing: 0.05em;
      text-decoration: none;
      color: var(--anthracite);
    }

    .nav-links {
      display: flex;
      gap: 2rem;
      list-style: none;
    }

    .nav-links a {
      font-size: 0.85rem;
      font-weight: 400;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      text-decoration: none;
      color: var(--mid);
      transition: color 0.2s;
    }

    .nav-links a:hover { color: var(--anthracite); }

    /* ── Sections communes ── */
    section {
      padding: calc(var(--gap) * 2) var(--gap);
      max-width: 1100px;
      margin: 0 auto;
    }

    section + section {
      border-top: 1px solid var(--border);
    }

    /* ── Hero ── */
    #hero {
      min-height: 100svh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-top: 6rem;
      max-width: 1100px;
    }

    .hero-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 1.5rem;
    }

    .hero-name {
      font-size: clamp(3.5rem, 9vw, 7.5rem);
      font-weight: 600;
      line-height: 1.0;
      letter-spacing: -0.03em;
      margin-bottom: 0.3rem;
    }

    .hero-sub {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.9rem;
      font-weight: 400;
      letter-spacing: 0.08em;
      color: var(--mid);
      margin-bottom: 2rem;
      margin-top: 0;
    }

    .hero-tagline {
      font-size: clamp(1.1rem, 2vw, 1.4rem);
      font-weight: 300;
      color: var(--mid);
      max-width: 600px;
      margin-bottom: 2.5rem;
      line-height: 1.5;
    }

    .hero-tagline strong {
      color: var(--anthracite);
      font-weight: 400;
    }

    .hero-domains {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 3rem;
    }

    .tag {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.05em;
      padding: 0.35rem 0.75rem;
      border: 1px solid var(--border);
      color: var(--mid);
    }

    .hero-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      font-size: 0.9rem;
      font-weight: 400;
      letter-spacing: 0.05em;
      text-decoration: none;
      color: var(--off-white);
      background: var(--anthracite);
      padding: 0.85rem 1.75rem;
      transition: background 0.2s;
    }

    .hero-cta:hover { background: var(--steel); }

    /* ── Approche ── */
    #approche .section-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 2rem;
    }

    .approche-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 2.5rem;
    }

    .approche-item h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.75rem;
      letter-spacing: 0.02em;
    }

    .approche-item p {
      font-size: 0.95rem;
      color: var(--mid);
      line-height: 1.7;
    }

    /* ── Projets ── */
    #projets .section-header {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      margin-bottom: 3rem;
    }

    #projets .section-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--steel);
    }

    .projets-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2px;
    }

    .projet-card {
      background: #e8e4de;
      overflow: hidden;
      cursor: pointer;
      transition: background 0.2s;
    }

    .projet-card:hover { background: #dedad3; }

    .projet-img {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      display: block;
      background: #ccc;
      /* placeholder — remplacer par vraies photos */
    }

    .projet-img-placeholder {
      width: 100%;
      aspect-ratio: 4/3;
      background: linear-gradient(135deg, #2a3a4a 0%, #1a2a3a 100%);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .projet-img-placeholder span {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      color: rgba(255,255,255,0.3);
      text-transform: uppercase;
    }

    .projet-info {
      padding: 1.5rem;
    }

    .projet-domain {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.7rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 0.5rem;
    }

    .projet-info h3 {
      font-size: 1.05rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      line-height: 1.3;
    }

    .projet-info p {
      font-size: 0.88rem;
      color: var(--mid);
      line-height: 1.6;
    }

    /* ── À propos ── */
    #about {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: var(--gap);
      align-items: start;
    }

    @media (max-width: 700px) {
      #about { grid-template-columns: 1fr; }
    }

    .about-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 1.5rem;
    }

    .about-text h2 {
      font-size: clamp(1.4rem, 2.5vw, 2rem);
      font-weight: 600;
      line-height: 1.2;
      margin-bottom: 1.5rem;
      letter-spacing: -0.01em;
    }

    .about-text p {
      color: var(--mid);
      margin-bottom: 1rem;
      font-size: 0.95rem;
    }

    .about-stats {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      padding-top: 3rem;
    }

    .stat {
      border-left: 2px solid var(--steel);
      padding-left: 1.25rem;
    }

    .stat-number {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 2rem;
      font-weight: 500;
      color: var(--anthracite);
      line-height: 1;
      margin-bottom: 0.25rem;
    }

    .stat-label {
      font-size: 0.85rem;
      color: var(--mid);
    }

    /* ── Contact ── */
    #contact {
      text-align: center;
      padding: calc(var(--gap) * 2.5) var(--gap);
    }

    #contact .section-label {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.75rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--steel);
      margin-bottom: 1.5rem;
    }

    #contact h2 {
      font-size: clamp(1.8rem, 4vw, 3rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
      line-height: 1.1;
    }

    #contact p {
      color: var(--mid);
      max-width: 480px;
      margin: 0 auto 2.5rem;
      font-size: 0.95rem;
    }

    .contact-links {
      display: flex;
      justify-content: center;
      gap: 1rem;
      flex-wrap: wrap;
    }

    .btn-primary {
      display: inline-block;
      font-size: 0.9rem;
      font-weight: 400;
      letter-spacing: 0.05em;
      text-decoration: none;
      color: var(--off-white);
      background: var(--anthracite);
      padding: 0.85rem 1.75rem;
      transition: background 0.2s;
    }

    .btn-primary:hover { background: var(--steel); }

    .btn-secondary {
      display: inline-block;
      font-size: 0.9rem;
      font-weight: 400;
      letter-spacing: 0.05em;
      text-decoration: none;
      color: var(--anthracite);
      border: 1px solid var(--border);
      padding: 0.85rem 1.75rem;
      transition: border-color 0.2s, color 0.2s;
    }

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

    /* ── Footer ── */
    footer {
      border-top: 1px solid var(--border);
      padding: 1.5rem var(--gap);
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1100px;
      margin: 0 auto;
    }

    footer p {
      font-family: 'IBM Plex Mono', monospace;
      font-size: 0.75rem;
      color: var(--mid);
      letter-spacing: 0.05em;
    }

    /* ── Responsive nav ── */
    @media (max-width: 600px) {
      .nav-links { gap: 1.25rem; }
      #hero { min-height: auto; padding-top: 8rem; }
    }