.button {
    display: inline-flex;

    padding: 12px 24px;
    border: 1px solid #A6ABFF;
    border-radius: 16px;
    transition: all 0.2s ease-in;
    position: relative;
    overflow: hidden;
    font-size: 19px;
    cursor: pointer;
    color: #141414;
    background-color: #A6ABFF;
    z-index: 1;
  }
  
  .button:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
  }
  
  .button:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #141414;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
  }
  
  .button:hover {
    color: #ffffff;
    border: 1px solid #141414;
  }
  
  .button:hover:before {
    top: -50%;
    background-color: #141414;
    transform: translateX(-50%) scaleY(1.5) scaleX(1.2);
  }
  
  .button:hover:after {
    top: -80%;
    background-color: #141414;
    transform: translateX(-50%) scaleY(1.8) scaleX(1.6);
  }
  
  /* Règle spécifique pour les boutons dans les cartes métiers */
  .metier-actions .button {
    display: block;
    width: 100%;
    text-align: center;
  }
  
  /* Règle spécifique pour les boutons dans les templates */
  .template-buttons .button {
    font-weight: 400;
  }