body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background: url('img/background-collage.png') center center / cover no-repeat fixed;
            margin: 0;
}
html, body {
            margin: 0;
            padding: 0;
            overflow: hidden; /* Désactive le scroll */
            height: 100vh;
}

.btn-retour {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1e6d8c;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}
.btn-retour:hover {
  background-color: #155368;
}



.top-left {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1001;   

}

@media (max-width: 576px) {
  .top-left {
    top: 90px;
    left: 50%;                /* se place au milieu */
    transform: translateX(-50%); /* recentrage horizontal */
    width: 220px;
  }
}


.container {
  display: flex;
  justify-content: flex-start; 
  align-items: center;        
  min-height: 100vh;
  width: 100%;
  box-sizing: border-box;
  padding-left: 24px;    
}

.container .login-container {
  position: static;           
  margin: 0;                   
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.95);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px; /* 30% plus large */
  width: 100%;
  backdrop-filter: blur(4px);
  margin-left: 400px;
}

.header-logo {
  position: fixed;
  top: 0px;                /* ajuste si besoin (0 pour collé) */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: #fff;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
  padding: 12px 28px;
  display: inline-block;
}


.header-logo img {
  max-height: 60px;
  display: block;
}


.login-container {
  transform-origin: center left;
}
@media (max-width: 991px) {
  .container {
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
  }

  .container .login-container {
    margin-left: 0;
    max-width: 90%;
    padding: 30px;
  }

  .header-logo img {
    max-height: 50px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .container {
    flex-direction: column;
    justify-content: center;
    padding: 16px;
  }

  .container .login-container {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px;
  }

  .header-logo {
    padding: 10px 20px;
    border-radius: 0 0 20px 20px;
  }

  .header-logo img {
    max-height: 40px;
  }
}




















.logo {
            width: 100%;
            height: auto;
            margin-bottom: 20px;
            
}
        h2 {
            color: #2b6f95;
            margin-bottom: 20px;
        }
        input {
            width: calc(100% - 20px);
            padding: 12px;
            margin: 10px 0;
            border: 1px solid #ccc;
            border-radius: 6px;
            font-size: 16px;
        }
        button {
            background-color: #2b6f95;
            color: white;
            padding: 12px;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            width: 100%;
            font-size: 16px;
            transition: 0.3s;
        }
        button:hover {
            background-color: #1f5677;
        }
        .forgot-password {
            margin-top: 10px;
            font-size: 14px;
        }
        .forgot-password a {
            color: #2b6f95;
            text-decoration: none;
        }
        .forgot-password a:hover {
            text-decoration: underline;
        }

.site-avatar{
  position: absolute;
  left: -28px;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 6px solid #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.12);
  z-index: 1;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  }

.sites{
    display:flex;
    flex-direction:column;
    gap:30px; /* espace entre les lignes */
  }

.site-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* remplit tout le rond */
  border-radius: 50%;  /* garde bien la forme ronde */
}

.site{
    position:relative;   /* permet de positionner l’avatar en absolu */
  }
.site button{
    width:100%;
    padding:18px 24px 18px;
    border-radius:10px;
  }

  /* Ajustements mobiles */
@media (max-width:480px){
    .site .site-avatar{ left:-16px; width:64px; height:64px; }
    .site button{ padding-left:80px; }
  }
