
.push-button-wrap {
  /* --- Variables de configuration du bouton --- */
  /* Police et texte */
  --font-family: "Roboto", sans-serif; /* Famille de police du texte */
  --font-weight: 500; /* Graisse de la police */
  --font-color-start: rgba(25, 25, 25, 1); /* Dégradé de couleur du texte (début) */
  --font-color-end: rgba(75, 75, 75, 1); /* Dégradé de couleur du texte (fin) */
  --font-shadow-color: rgba(0, 0, 0, 0.1); /* Couleur de l'ombre du texte */

  /* Couleurs du bouton interne (la partie "pressable") */
  --inner-bg-start: rgba(230, 230, 230, 1); /* Dégradé de fond (début) */
  --inner-bg-end: rgba(180, 180, 180, 1); /* Dégradé de fond (fin) */
  --inner-bg-start-hover: rgba(210, 210, 210, 1); /* Dégradé de fond au survol (début) */
  --inner-bg-end-hover: rgba(160, 160, 160, 1); /* Dégradé de fond au survol (fin) */

  /* Couleurs des ombres et reflets */
  --outer-bg: rgba(0, 0, 0, 0.75); /* Fond extérieur du bouton */
  --shadow-dark: rgba(5, 5, 5, 1); /* Ombre la plus foncée */
  --shadow-strong: rgba(5, 5, 5, 0.75); /* Ombre forte (utilisée au survol) */
  --shadow-medium: rgba(5, 5, 5, 0.5); /* Ombre moyenne */
  --shadow-light: rgba(5, 5, 5, 0.25); /* Ombre claire */
  --shadow-faint: rgba(5, 5, 5, 0.1); /* Ombre très légère */
  --highlight-strong: rgba(255, 255, 255, 1); /* Reflet le plus brillant */
  --highlight-medium: rgba(255, 255, 255, 0.25); /* Reflet moyen */
  --highlight-faint: rgba(255, 255, 255, 0.15); /* Reflet léger */

  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.push-button-wrap button {
  all: unset;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  border-radius: 999vw;
  background-color: var(--outer-bg);
  box-shadow: -0.15em -0.15em 0.15em -0.075em var(--shadow-light),
    0.0375em 0.0375em 0.0675em 0 var(--shadow-faint);
}

.push-button-wrap button::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: calc(100% + 0.3em);
  height: calc(100% + 0.3em);
  top: -0.15em;
  left: -0.15em;
  border-radius: inherit;
  background: linear-gradient(
    -135deg, var(--shadow-medium),
    transparent 20%,
    transparent 100%
  );
  filter: blur(0.0125em);
  opacity: 0.25;
  mix-blend-mode: multiply;
}

.push-button-wrap .button-outer {
  position: relative;
  z-index: 1;
  border-radius: inherit;
  transition: box-shadow 300ms ease;
  will-change: box-shadow;
  box-shadow: 0 0.05em 0.05em -0.01em var(--shadow-dark),
    0 0.01em 0.01em -0.01em var(--shadow-medium),
    0.15em 0.3em 0.1em -0.01em var(--shadow-light);
}

.push-button-wrap button:hover .button-outer {
  box-shadow: 0 0 0 0 var(--shadow-dark), 0 0 0 0 var(--shadow-medium),
    0 0 0 0 var(--shadow-light);
}

.push-button-wrap .button-inner {
  --inset: 0.035em;
  position: relative;
  z-index: 1;
  border-radius: inherit;
  padding: 1em 1.5em;
  background-image: linear-gradient(
    135deg, var(--inner-bg-start), var(--inner-bg-end)
  );
  transition: box-shadow 300ms ease, clip-path 250ms ease,
    background-image 250ms ease, transform 250ms ease;
  will-change: box-shadow, clip-path, background-image, transform;
  overflow: clip;
  clip-path: inset(0 0 0 0 round 999vw);
  box-shadow: 0 0 0 0 inset var(--shadow-faint),
    -0.05em -0.05em 0.05em 0 inset var(--shadow-light),
    0 0 0 0 inset var(--shadow-faint),
    0 0 0.05em 0.2em inset var(--highlight-medium),
    0.025em 0.05em 0.1em 0 inset var(--highlight-strong),
    0.12em 0.12em 0.12em inset var(--highlight-medium),
    -0.075em -0.25em 0.25em 0.1em inset var(--shadow-light);
}

.push-button-wrap button:hover .button-inner {
  background-image: linear-gradient(
    135deg, var(--inner-bg-start-hover), var(--inner-bg-end-hover)
  );
  clip-path: inset(
    clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px)
      clamp(1px, 0.0625em, 2px) clamp(1px, 0.0625em, 2px) round 999vw
  );
  box-shadow: 0.1em 0.15em 0.05em 0 inset var(--shadow-strong),
    -0.025em -0.03em 0.05em 0.025em inset var(--shadow-medium),
    0.25em 0.25em 0.2em 0 inset var(--shadow-medium),
    0 0 0.05em 0.5em inset var(--highlight-faint),
    0 0 0 0 inset var(--highlight-strong),
    0.12em 0.12em 0.12em inset var(--highlight-medium),
    -0.075em -0.12em 0.2em 0.1em inset var(--shadow-light);
}

.push-button-wrap .button-inner span {
  position: relative;
  z-index: 4;
  font-family: inherit; 
  letter-spacing: -0.05em;
  font-weight: var(--font-weight);
  color: rgba(0, 0, 0, 0);
  background-image: linear-gradient(
    135deg, var(--font-color-start), var(--font-color-end)
  );
  -webkit-background-clip: text;
  background-clip: text;
  transition: transform 250ms ease;
  display: block;
  will-change: transform;
  text-shadow: var(--font-shadow-color) 0 0 0.1em;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.push-button-wrap button:hover .button-inner span {
  transform: scale(0.975);
}

.push-button-wrap button:active .button-inner {
  transform: scale(0.975);
}

/* Style pour le lien qui entoure le bouton */
.push-button-link {
  text-decoration: none;
}