:root {
    --bg: #0f1724;          /* fond principal */
    --card: #0b1220;
    --muted: #94a3b8;
    --accent: #1e40af;      /* bleu */
    --glass: rgba(255,255,255,0.03);
    --glass-2: rgba(255,255,255,0.02);
    --radius: 14px;
    color-scheme: dark;
  }
  
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(180deg, var(--bg), #071024 60%);
    color: #e6eef8;
    line-height: 1.6;
  }
  
  /* ==== HEADER ==== */
  header.nav {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgba(6,10,20,0.7), rgba(6,10,20,0.4));
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 20;
  }
  
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .brand h1 {
    font-size: 1.6rem;
  }
  
  .brand p {
    font-size: 0.9rem;
    color: var(--muted);
  }
  
  /* Navigation */
  nav a {
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
    margin-left: 20px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  nav a:hover,
  nav a.active {
    background: var(--glass);
    color: #fff;
  }
  
  /* ==== HERO ==== */
  .hero {
    margin-top: 60px;
    text-align: center;
    padding: 40px 20px;
  }
  
  .hero h2 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .hero p {
    color: var(--muted);
    font-size: 1.1rem;
  }
  
  /* ==== GALLERY ==== */
  .gallery {
    margin-top: 40px;
    text-align: center;
  }
  
  .gallery h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }
  
  .projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
  }
  
  .project {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .project:hover {
    transform: scale(1.03);
  }
  
  /* ==== SECTION TEXTE ==== */
  .section {
    margin-top: 60px;
    background: var(--glass-2);
    padding: 30px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
  }
  
  .section h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  
  .section p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.8;
  }
  
  /* ==== FOOTER ==== */
  footer {
    text-align: center;
    padding: 30px 0;
    color: var(--muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(15,23,36,0.8);
    margin-top: 60px;
  }
  
  /* ==== RESPONSIVE ==== */
  @media (max-width: 700px) {
    .row {
      flex-direction: column;
      gap: 10px;
    }
  
    nav a {
      margin: 6px;
    }
  
    .section {
      padding: 20px;
      margin: 40px 15px;
    }
  }
  