/* v58 — zoom discret des encadrés d'action.
   La différence porte sur la carte entière : une transformation ne doit
   pas isoler ses textes blancs du fond texturé. */
html body :is(
  #services-summary .home-svc-grid a.presta-select-card:any-link,
  #view-services a.presta-select-card,
  #view-services .price-card
) {
  color: #fff !important;
  -webkit-text-fill-color: currentColor !important;
  border-color: #fff !important;
  mix-blend-mode: difference !important;
}
html body :is(
  #services-summary .home-svc-grid a.presta-select-card:any-link,
  #view-services a.presta-select-card,
  #view-services .price-card
) * {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
  mix-blend-mode: normal !important;
}
html body #services-summary .home-svc-grid a.presta-select-card::before {
  mix-blend-mode: normal !important;
}
/* Les offres choisies gardent leur fond et leur encre propres au thème. */
html body #view-services :is(a.presta-select-card.presta-select-card.active, .price-card.price-card.selected) {
  color: var(--accent-ink) !important;
  background: var(--red) !important;
  border-color: var(--red) !important;
  mix-blend-mode: normal !important;
}

/* `scale` est indépendant des translations d'apparition déjà en place.
   Il ne change ni les dimensions de la grille ni la position des voisins. */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html body :is(
    #services-summary .home-svc-grid .presta-select-card,
    .presta-select-card,
    .price-card,
    .btn-view-all,
    form.msg-form button[type="submit"],
    .contact-links a,
    #to-contact,
    #back-to-top,
    .testimonial-toggle,
    .fw-media-link-btn
  ) {
    scale: 1;
    transform-origin: center;
    transition: scale .22s ease, color .2s ease,
      background-color .2s ease, border-color .2s ease,
      opacity .4s ease, transform .4s ease !important;
  }

  html body :is(
    #services-summary .home-svc-grid .presta-select-card,
    .presta-select-card,
    .price-card,
    .btn-view-all,
    form.msg-form button[type="submit"],
    .contact-links a,
    #to-contact,
    #back-to-top,
    .testimonial-toggle,
    .fw-media-link-btn
  ):not(:disabled):not([aria-disabled="true"]):is(:hover, :focus-visible) {
    scale: 1.025;
  }
}
