/* =============================
   VERSION DESKTOP / MOBILE
============================= */

.phone-desktop-version {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}

.phone-mobile-version {
  display: none;
  width: 100%;
  margin-top: auto;
}

/* =============================
   VERSION ORDINATEUR
============================= */

.phone-desktop-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  margin-top: 18px;
  padding: 18px 20px;

  border-radius: 18px;
  background: #edf7f4;
}

.phone-desktop-number i {
  font-size: 1.6rem;
  color: #20b191;
}

.phone-desktop-number span {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #20b191;
}

.phone-desktop-note {
  margin: 16px 0 0;

  text-align: center;

  font-size: 0.82rem;
  line-height: 1.4;

  color: #74828c;
}

/* =============================
   SLIDE TO CALL
============================= */

.slide-call {
  position: relative;

  width: 100%;
  height: 66px;

  overflow: hidden;

  border-radius: 999px;
  background: #edf7f4;

  user-select: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.slide-call-fill {
  position: absolute;
  inset: 0 auto 0 0;

  width: 0;
  height: 100%;

  border-radius: inherit;

  background: linear-gradient(
    135deg,
    #20b191,
    #62beaf
  );

  pointer-events: none;
}

.slide-call-text {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 20px 0 58px;

  font-family: "Roboto", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;

  color: #20b191;

  pointer-events: none;
}

.slide-call-thumb {
  position: absolute;
  top: 7px;
  left: 7px;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;
  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #20b191;
  color: #fff;

  font-size: 1.6rem;

  cursor: grab;

  box-shadow:
    0 8px 22px rgba(4, 31, 45, 0.16);

  will-change: transform;
}

.slide-call-thumb:active {
  cursor: grabbing;
}

.slide-call-thumb i {
  color: #fff;
  pointer-events: none;
}

.slide-call.is-ready .slide-call-text {
  color: #fff;
}

/* =============================
   MOBILE
============================= */

@media screen and (max-width: 900px) {

  .phone-desktop-version {
    display: none !important;
  }

  .phone-mobile-version {
    display: block !important;
    width: 100%;
    margin-top: auto;
  }

  .slide-call {
    display: block;
    width: 100%;
  }
}