/**
 * Bouton d’appel flottant — mobile uniquement (GIOR)
 */
.gior-mobile-call-fab-wrap {
  display: none;
}

@media screen and (max-width: 767px) {
  .gior-mobile-call-fab-wrap {
    display: block;
    position: fixed;
    right: max(16px, env(safe-area-inset-right, 0px));
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    pointer-events: none;
    animation: giorFabEnter 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.35s;
  }

  .gior-mobile-call-fab {
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(145deg, #002654 0%, #063a7a 55%, #002654 100%);
    box-shadow:
      0 4px 18px rgba(0, 38, 84, 0.38),
      0 0 0 1px rgba(184, 146, 79, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    transition:
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.28s ease,
      filter 0.28s ease;
  }

  .gior-mobile-call-fab:hover {
    transform: scale(1.06);
    box-shadow:
      0 8px 28px rgba(0, 38, 84, 0.45),
      0 0 0 1px rgba(184, 146, 79, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
    filter: brightness(1.05);
  }

  .gior-mobile-call-fab:active {
    transform: scale(0.94);
    transition-duration: 0.12s;
  }

  .gior-mobile-call-fab:focus-visible {
    outline: 3px solid #b8924f;
    outline-offset: 4px;
  }

  /* Anneaux pulsés (or GIOR) */
  .gior-mobile-call-fab__pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    pointer-events: none;
    border: 2px solid rgba(184, 146, 79, 0.55);
    animation: giorFabRing 2.4s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    opacity: 0;
  }

  .gior-mobile-call-fab__pulse--2 {
    animation-delay: 0.8s;
  }

  .gior-mobile-call-fab__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
  }

  .gior-mobile-call-fab__inner svg {
    width: 100%;
    height: 100%;
    display: block;
  }
}

@media print {
  .gior-mobile-call-fab-wrap {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gior-mobile-call-fab-wrap {
    animation: none;
    animation-delay: 0s;
  }

  .gior-mobile-call-fab__pulse {
    animation: none;
    opacity: 0.35;
  }

  .gior-mobile-call-fab,
  .gior-mobile-call-fab:hover,
  .gior-mobile-call-fab:active {
    transition: none;
  }
}

@keyframes giorFabEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.88);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes giorFabRing {
  0% {
    transform: scale(0.72);
    opacity: 0.55;
  }
  55% {
    transform: scale(1.15);
    opacity: 0;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}
