/* Keyframes CSS pures */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Loader plein écran */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background-color: var(--color-bg);
  clip-path: inset(0 0 0% 0);
  pointer-events: none;
}

/* Cursor personnalisé — invisible par défaut, visible après init JS */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

.has-custom-cursor .cursor-dot,
.has-custom-cursor .cursor-ring {
  opacity: 1;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--color-text);
  border-radius: 50%;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-text-muted);
  border-radius: 50%;
}

@media (hover: none) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}
