    body {
      margin: 0;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      height: 100vh;
      overflow: hidden;
      color: #fff;
      position: relative;
      transition: background 1s;
      padding-top: 70px; 
      padding-bottom: 60px; 
    }

    html {
      scroll-padding-top: 80px;
      scroll-padding-bottom: 60px;
    }

    /* Fonds*/
	
    body.sunset {
      background: linear-gradient(to top, #ff7e5f 0%, #feb47b 50%, #87ceeb 100%);
    }

    body.night {
      background: linear-gradient(to top, #0b0c2a 0%, #1a1a40 50%, #3a3a6e 100%);
    }
    .avatar {
  width: 120px;       /* largeur du conteneur */
  height: 120px;      /* hauteur du conteneur *//*/*// 
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar img {
  width: 100%;      /* l'image prend la largeur du conteneur */
  transition: 0.3s ease; /* si tu veux un petit effet de transition */
}

    /* Nuages */
	
    .cloud {
      position: absolute;
      background: #fff;
      border-radius: 50%;
      opacity: 0.8;
      filter: blur(10px);
      transition: background 1s, opacity 1s;
    }
    .cloud1 { width: 120px; height: 60px; top: 10%; left: 15%; }
    .cloud2 { width: 200px; height: 80px; top: 20%; left: 60%; }
    .cloud3 { width: 150px; height: 70px; top: 5%; left: 50%; }

    body.night .cloud {
      background: #999;
      opacity: 0.4;
    }

    /* Pluie */
	
    .rain {
      position: absolute;
      width: 2px;
      height: 15px;
      background: #78939D;
      opacity: 0.6;
      top: -20px;
      animation: fall linear infinite;    
    }

    @keyframes fall {
      to { transform: translateY(100vh); }
    }

    /* Header et Footer */
    
 /* HEADER */
        header {
      position: fixed;
      top: 0; 
	  left: 0; 
	  width: 100%;
      display: flex; justify-content: space-between; align-items: center;
      padding: 1rem 2rem;
      background: rgba(17,17,17,0.6);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid rgba(255,255,255,0.1);
      z-index: 1000;
    }
    header .logo { font-weight: 700; font-size: 1.3rem; margin-left: 0; width: 220px; }
    header nav ul { display: flex; gap: 0.7rem; list-style: none; margin-right : 50px; }
    header nav a { color : black; font-weight: 500; transition: color 0.3s; text-decoration: none;}
    header nav a:hover { color: #577275; }
    
    .logo img {
  height: 70px;      /* taille logo */
  width: auto;       /* garde les proportions */
  display: block;
}


.logo img:hover {
  opacity: 0.85;
}
    footer {
      text-align: center;
      padding: 1rem;
      background: rgba(26, 26, 26, 0.8);
      position: fixed;
      bottom: 0;
      width: 100%;
      color: #fff;
      backdrop-filter: blur(10px);
      z-index: 10;
    }

    /* Formulaire */
	
    h2 {
      font-size: 2.5rem;
      margin-bottom: 2rem;
      text-align: center;
      background: linear-gradient(to right, #6ca0a3, #12474d);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      position: relative;
      z-index: 1;
    }

    .contact-container {
      max-width: 500px;
      margin: 2rem auto 4rem auto; /* marges ajustées pour header/footer */
      padding: 2rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      background: rgba(26, 26, 26, 0.6);
      border-radius: 20px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.5);
      position: relative;
      z-index: 1;
      transition: background 1s;
    }

    .avatar {
      font-size: 5rem;
      transition: transform 0.3s;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      width: 100%;
    }

    input, textarea {
      padding: 0.8rem 1rem;
      border-radius: 8px;
      border: none;
      outline: none;
      font-size: 1rem;
    }

    input:focus, textarea:focus {
      box-shadow: 0 0 0 3px #ff6a00;
    }

    textarea { resize: vertical; min-height: 120px; }

    button {
      padding: 0.8rem 1.5rem;
      background: linear-gradient(45deg, #6ca0a3, #12474d);
      border: none;
      border-radius: 30px;
      color: white;
      font-weight: 600;
      cursor: pointer;
      transition: opacity 0.3s;
    }

    button:hover { opacity: 0.8; }

    /* Responsive */
    @media(max-width: 300px) {
      .contact-container { margin: 8rem 1rem 6rem 1rem; }
      header { flex-direction: column; gap: 0.5rem; }
	    font-size: 0.9rem;
    }