/* =========================================================
   Bouton Gutenberg — style « Découvrir (flèche) »
   Style de bloc enregistré sur core/button (is-style-ageval-arrow).
   Chargé sur le front ET dans l'éditeur Gutenberg.
   ========================================================= */

.wp-block-button.is-style-ageval-arrow .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0.5em 1.15em;
  background-color: #fff;
  color: #1d1d1f !important;
  border: 1px solid #1d1d1f;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: .2px;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
      margin-left: 10px !important;
}
.wp-block-button.is-style-ageval-arrow .wp-block-button__link:hover {
cursor: pointer;
}

/* Rond bleu + flèche blanche à droite */
.wp-block-button.is-style-ageval-arrow .wp-block-button__link::after {
  content: "";
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #5465FF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  transition: transform .25s ease, background-color .25s ease;
}

/* Hover : léger relief + flèche qui avance */
.wp-block-button.is-style-ageval-arrow .wp-block-button__link:hover,
.wp-block-button.is-style-ageval-arrow .wp-block-button__link:focus {
  background-color: #fff;
  color: #1d1d1f !important;
  box-shadow: 0 10px 24px -8px rgba(84, 101, 255, .5);
}
.wp-block-button.is-style-ageval-arrow .wp-block-button__link:hover::after,
.wp-block-button.is-style-ageval-arrow .wp-block-button__link:focus::after {
  transform: translateX(3px);
}
