/* ===== Page Espace Membre - version moderne ===== */


/* titres un peu plus clean (tu peux ajuster) */
.content h1{ margin: 10px 0 8px; }
.content h2{ margin: 0 0 24px; }

/* ====== CARROUSEL ====== */
.conteneur-carrousel{
  width: min(720px, 100%);
  height: 420px;
  margin: 20px auto 40px;
  position: relative;

  background: rgba(255,255,255,0.75);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  overflow: hidden; /* important pour garder le look "card" */
  backdrop-filter: blur(8px);
}

.conteneur-images{
  width: 100%;
  height: 100%;
  position: relative;
}

/* IMPORTANT: ne coupe pas la tête -> object-position: top */
.conteneur-images img{
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;

  opacity: 0;
  transition: opacity .25s ease;

  object-fit: cover;          /* moderne */
  object-position: top center;/* 🔥 garde les têtes */
}

.actif{
  opacity: 1 !important;
}

/* ===== boutons flèches ===== */
.commandes{
  position: absolute;
  inset: 0;
  pointer-events: none; /* permet de cliquer que sur les boutons */
}

.commandes button{
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.85);
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
  transition: transform .2s ease, background .2s ease;
}

.commandes button:hover{
  transform: translateY(-50%) scale(1.06);
  background: rgba(255,255,255,0.95);
}

.commandes button.gauche{ left: 14px; }
.commandes button.droite{ right: 14px; }

.commandes button i{
  font-size: 26px;
  color: #ff2c9c; /* rose moderne */
}

/* ===== points (cercles) ===== */
.cercles{
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.cercle{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}

.cercle:hover{
  transform: scale(1.25);
}

.actif-cercle{
  background: #ff2c9c;
}

.container1{
  max-width: 520px;
  margin: 60px auto;
  padding: 40px;
  background: white;
  border-radius: 30px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.container1::before{
  content:"";
  position:absolute;
  bottom:-60px;
  left:-60px;
  width:180px;
  height:180px;
  background:linear-gradient(135deg,#ff2c9c,#ff7bd5);
  border-radius:50%;
  opacity:0.08;
}

.container1 legend{
  font-size:20px;
  font-weight:800;
  margin-bottom:25px;
  color:#ff2c9c;
  text-align:center;
}


.input-container{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.input-container label{
  font-weight: 700;
  color: #2b2b2b;
}

.input-container input[type="text"],
.input-container input[type="password"]{
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0 14px;
  outline: none;
  background: rgba(255,255,255,0.9);
}

.input-container input[type="text"]:focus,
.input-container input[type="password"]:focus{
  border-color: #ff2c9c;
  box-shadow: 0 0 0 4px rgba(255,44,156,0.14);
}

/* bouton submit */
.input-container input[type="submit"]{
  height: 48px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff2c9c, #ff7bd5);
  margin-top: 6px;
  transition: transform .15s ease, box-shadow .2s ease;
}

.input-container input[type="submit"]:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(255,44,156,0.25);
}

/* Responsive */
@media (max-width: 600px){
  .conteneur-carrousel{
    height: 320px;
  }
  .commandes button{
    width: 46px;
    height: 46px;
  }
  .commandes button i{
    font-size: 22px;
  }
}
/* ===== carte propre pour wrapper carrousel ===== */
.card-bloc {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(8px);
}

/* ===== carrousel mieux centré + responsive ===== */
.conteneur-carrousel {
  width: min(520px, 100%);
  height: 520px;
  margin: 0 auto;
  position: relative;
}

.conteneur-images {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

/* IMPORTANT: ne coupe pas les têtes => contain */
.conteneur-images img {
  width: 100%;
  height: 100%;
  object-fit: contain;    /* ✅ garde l’image entière */
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  background: rgba(245,245,255,0.6);
}

/* boutons */
.commandes button {
  border: 0;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  color: #ff2c9c;
}

.commandes button:hover {
  transform: translateY(-1px);
}

/* cercles */
.cercle {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0,0,0,0.15);
  height: 18px;
  width: 18px;
}

.actif-cercle {
  background: #ff2c9c;
  border-color: #ff2c9c;
}

.actif {
  opacity: 1 !important;
}
