/* v54.1.996 — bouton flottant retour haut global, basé sur espace pro */
.pro-back-to-top,
.global-back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 22px 8px 22px 8px;
  background: linear-gradient(135deg, rgba(23,54,40,.96), rgba(32,85,58,.94));
  box-shadow: 0 18px 42px rgba(23,54,40,.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease;
}

.global-back-to-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.global-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pro-back-to-top .brand-arrow,
.global-back-to-top .brand-arrow {
  --brand-arrow-w: 30px;
  --brand-arrow-h: 16px;
  --brand-arrow-half: 8px;
  --brand-arrow-head: 13px;
  --brand-arrow-stroke: 3.8px;
  position: relative;
  display: inline-block;
  width: var(--brand-arrow-w);
  height: var(--brand-arrow-h);
  color: #9fbc2c;
  flex: 0 0 auto;
  overflow: visible;
  vertical-align: middle;
  transform: rotate(-90deg) scale(1.08);
}

.pro-back-to-top .brand-arrow::before,
.pro-back-to-top .brand-arrow::after,
.global-back-to-top .brand-arrow::before,
.global-back-to-top .brand-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.pro-back-to-top .brand-arrow::before,
.global-back-to-top .brand-arrow::before {
  left: 0;
  width: calc(100% - var(--brand-arrow-head) + 2px);
  height: var(--brand-arrow-stroke);
  border-radius: 999px;
  background: currentColor;
}

.pro-back-to-top .brand-arrow::after,
.global-back-to-top .brand-arrow::after {
  right: 0;
  width: 0;
  height: 0;
  border-top: var(--brand-arrow-half) solid transparent;
  border-bottom: var(--brand-arrow-half) solid transparent;
  border-left: var(--brand-arrow-head) solid currentColor;
}

.pro-back-to-top:hover,
.global-back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(23,54,40,.28);
}

.global-back-to-top.is-visible:hover {
  transform: translateY(-3px);
}

.pro-back-to-top:focus-visible,
.global-back-to-top:focus-visible {
  outline: 3px solid rgba(159,188,44,.55);
  outline-offset: 4px;
}

@media (max-width: 760px) {
  .pro-back-to-top,
  .global-back-to-top {
    right: 14px;
    bottom: 14px;
    width: 50px;
    height: 50px;
    border-radius: 18px 7px 18px 7px;
  }
  .pro-back-to-top .brand-arrow,
  .global-back-to-top .brand-arrow {
    --brand-arrow-w: 26px;
    --brand-arrow-h: 14px;
    --brand-arrow-half: 7px;
    --brand-arrow-head: 11px;
    --brand-arrow-stroke: 3.4px;
  }
}
