/* ══════════════════════════════════════════════════════════
   ÉCLAIR AGENCY — STYLES PARTAGÉS HAUTE FIDÉLITÉ
   ══════════════════════════════════════════════════════════ */

/* Custom Cursor */
.custom-cursor {
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255, 204, 0, 0.7);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}

.custom-cursor-dot {
  width: 5px;
  height: 5px;
  background-color: #FFCC00;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 100000;
  transform: translate(-50%, -50%);
}

.custom-cursor.cursor-hover {
  width: 44px;
  height: 44px;
  border-color: #FFCC00;
  background: rgba(255, 204, 0, 0.08);
}

/* RÈGLE STRICTE UX : Curseur natif réactivé sur tous les champs de saisie */
input, select, textarea, button, a {
  cursor: auto !important;
}
input, textarea {
  cursor: text !important;
}
select, button, a, [data-select-offer] {
  cursor: pointer !important;
}

/* Canvas Étoilé */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Glassmorphism & Effets Visuels */
.glass-card {
  background: rgba(25, 25, 25, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(250, 250, 250, 0.08);
}

.glass-card:hover {
  border-color: rgba(255, 204, 0, 0.3);
}

/* Carte 3D Tilt dédiée */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.box-glow {
  box-shadow: 0 0 45px -8px rgba(255, 204, 0, 0.25);
}

.box-glow-sm {
  box-shadow: 0 0 25px -4px rgba(255, 204, 0, 0.18);
}

.text-glow {
  text-shadow: 0 0 16px rgba(255, 204, 0, 0.6);
}

/* Carrousel 3D */
.carousel-container {
  perspective: 1200px;
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-spinner {
  width: 320px;
  height: 350px;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.1s linear;
}

.carousel-item {
  position: absolute;
  width: 320px;
  height: 350px;
  left: 0;
  top: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Animations d'utilité */
@keyframes pulseSlow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(1.08); }
}

.pulse-slow {
  animation: pulseSlow 6s ease-in-out infinite;
}

/* Personnalisation Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #111111;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 204, 0, 0.35);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FFCC00;
}
