:root {
    --bg: #0f1724;
    --muted: #94a3b8;
    --accent: #7c3aed;
    --glass: rgba(255, 255, 255, 0.04);
    --radius: 12px;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
  }
  
  body {
    margin: 0;
    background: linear-gradient(180deg, #071025 0%, #071728 60%);
    color: #e6eef8;
    line-height: 1.45;
    padding: 32px;
  }
  
  .container {
    max-width: 1100px;
    margin: 0 auto;
  }
  
  /* HEADER */
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #2dd4bf);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #041025;
  }
  .brand-name {
    font-weight: 700;
  }
  .brand-role {
    font-size: 13px;
    color: var(--muted);
  }
  nav {
    display: flex;
    gap: 18px;
  }
  nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
  }
  nav a:hover {
    color: var(--accent);
    background: var(--glass);
  }
  
  /* HERO */
  .hero {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: center;
    margin-top: 28px;
  }
  .card {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: 0 6px 20px rgba(2,6,23,0.6);
  }
  h1 {
    margin: 0 0 8px;
    font-size: 32px;
  }
  .lead {
    color: var(--muted);
    margin-bottom: 18px;
  }
  .cta, .button {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 134px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 600;
  }
  
  /* PROFILE */
  .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  .avatar {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    background: linear-gradient(180deg, #0b1220, #091025);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
  }
  .profile-info {
    color: var(--muted);
    font-size: 14px;
  }
  .skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
  .chip {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.03);
    color: var(--muted);
    font-size: 14px;
  }
  
  /* PROJECTS */
  .projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 22px;
  }
  .project {
    padding: 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.015));
    border: 1px solid rgba(255,255,255,0.03);
  }
  .project h3 {
    margin: 0 0 8px;
    font-size: 16px;
  }
  .project p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
  }
  .tags {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
  }
  
  /* SKILLS + CONTACT */
  .two-col {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 22px;
  }

  .skill-row {
    display: flex;
    gap: 20px; /* espace entre Langages et Frameworks */
    flex-wrap: wrap; /* pour que ça passe en colonne sur mobile */
  }
  
  .skill-category {
    flex: 1; /* chaque bloc prend la moitié de la largeur disponible */
    min-width: 220px; /* largeur minimale pour rester lisible */
  }
  
  /* Conserver tes styles existants pour skill-list et skill-item */
  .skill-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .skill-item {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.02);
  }
  
  form label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 14px;
  }
  input[type=text], input[type=email], textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.05);
    color: inherit;
  }
  textarea {
    min-height: 120px;
  }
  button[type=submit] {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--accent);
    border: 0;
    color: white;
    font-weight: 600;
  }
  
  /* FOOTER */
  footer {
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
  }
  
  /* RESPONSIVE */
  @media (max-width:980px){
    .hero{grid-template-columns:1fr}
    .projects{grid-template-columns:repeat(2,1fr)}
    .two-col{grid-template-columns:1fr}
  }
  @media (max-width:560px){
    body{padding:18px}
    .projects{grid-template-columns:1fr}
    header{flex-direction:column;align-items:flex-start;gap:12px}
    .logo{width:48px;height:48px}
    .avatar{width:140px;height:140px}
  }
  