.pic {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .card-img {
    transition: transform 0.5s ease;
    width: 100%;
    display: block;
  }
  
  .member:hover .card-img {
    transform: scale(1.1);
    filter: brightness(0.7);
  }
  
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.4s ease;
  }
  
  .member:hover .overlay {
    opacity: 1;
  }
  
  .see-more-text {
    color: #fff;
    font-weight: bold;
    background-color: rgba(255,255,255,0.2);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  
  .see-more-text:hover {
    background-color: #fff;
    color: #333;
  }
  


  /* anim coeur */

  .heart {
    width: 15px;
    height: 13px;
    position: relative;
    cursor: pointer;
    transform: rotate(-45deg);
    background-color: red;
    animation: beat 1s infinite;
    display: inline-block;
  }
  
  .heart::before,
  .heart::after {
    content: "";
    position: absolute;
    width: 15px;
    height: 13px;
    background-color: red;
    border-radius: 50%;
  }
  
  .heart::before {
    top: -8px;
    left: 0;
  }
  
  .heart::after {
    top: 0;
    left: 7.5px;
  }
  
  
  /* Mini-cœurs flottants */
  .floating-heart {
    position: absolute;
    width: 12px;
    height: 11px;
    background-color: pink;
    transform: rotate(-45deg);
    opacity: 1;
    pointer-events: none;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.15));
    z-index: 9999;
  }
  
  
  .floating-heart::before,
  .floating-heart::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 11px;
    background-color: inherit;
    border-radius: 50%;
  }
  
  .floating-heart::before {
    top: -7px;
    left: 0;
  }
  
  .floating-heart::after {
    left: 6px;
    top: 0;
  }
  
  @keyframes beat {
    0%, 100% {
      transform: rotate(-45deg) scale(1);
    }
    50% {
      transform: rotate(-45deg) scale(1.1);
    }
  }
  
  @keyframes floatUp {
    0% {
      transform: translate(0, 0) rotate(0deg) scale(1);
      opacity: 1;
    }
    100% {
      transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(0.8);
      opacity: 0;
    }
  }
  
  .heart.clicked {
    animation: pop 0.5s ease;
  }
  
  @keyframes pop {
    0% {
      transform: rotate(-45deg) scale(1);
      filter: brightness(1);
    }
    50% {
      transform: rotate(-45deg) scale(1.8);
      filter: brightness(1.5);
    }
    100% {
      transform: rotate(-45deg) scale(1);
      filter: brightness(1);
    }
  }







