/* ================================================================
   Bloc Bouton Rendez-vous
   ================================================================ */

.bouton-rdv__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px 14px 40px;
  background-color: var(--wp--preset--color--default);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-family: var(--wp--preset--font-family--cera-pro);
  font-size: var(--wp--preset--font-size--2);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: background-color 0.3s ease;
  clip-path: polygon(16px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 100%);
}

.bouton-rdv__link:hover,
.bouton-rdv__link:focus-visible {
  background-color: var(--wp--preset--color--primary);
  color: #fff;
}

/* ── Pictos ─────────────────────────────────────── */

.bouton-rdv__picto-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.bouton-rdv__picto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.bouton-rdv__picto--hover {
  opacity: 0;
}

.bouton-rdv__link:hover .bouton-rdv__picto--default,
.bouton-rdv__link:focus-visible .bouton-rdv__picto--default {
  opacity: 0;
}

.bouton-rdv__link:hover .bouton-rdv__picto--hover,
.bouton-rdv__link:focus-visible .bouton-rdv__picto--hover {
  opacity: 1;
}

/* ── Label ──────────────────────────────────────── */

.bouton-rdv__label {
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .bouton-rdv {
    order: 100!important;
  }
}