/* =============================================
   COMPONENTES — Reutilizaveis
   ============================================= */

/* -- Swipe Hover: cor entra pela esquerda, sai pela direita -- */
.btn-swipe {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn-swipe::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--swipe-color, var(--color-primary-60));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
  z-index: 0;
}

.btn-swipe:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-swipe > * {
  position: relative;
  z-index: 1;
}

/* -- Anti-FOUC: esconde elementos animados ate o GSAP hidratar -- */
[data-load],
[data-animate] {
  visibility: hidden;
}

/* -- Custom Scrollbar -- */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: #cfcfcf;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #969696;
}

/* -- Bar Primary: retângulo laranja reutilizável -- */
.bar-primary {
  width: 100%;
  height: 120px;
  background: var(--color-primary-pure, #ff5300);
}
