
/* Style global */
* { box-sizing: border-box; }
body { font-family: Arial, sans-serif; margin: 0; padding: 0; background: #f9fafb; color: #1f2937; }
header { background: #1f2937; color: #fff; padding: 16px 0; text-align: center; }
nav { display: flex; justify-content: center; flex-wrap: wrap; background: #111827; }
nav a { color: #fff; padding: 12px 16px; text-decoration: none; display: block; font-weight: 600; }
nav a:hover { background: #374151; }
.container { max-width: 1100px; margin: auto; padding: 20px; }

/* Slider accueil */
.slider { position: relative; width: 100%; max-width: 900px; margin: 20px auto; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.slide { display: none; text-align: center; font-size: 1.2em; padding: 40px; background: #e5e7eb; }
.slide.active { display: block; }
.slider-controls { text-align: center; }
.button { margin: 8px; padding: 10px 16px; font-size: 1em; border: none; border-radius: 6px; background: #2563eb; color: #fff; cursor: pointer; }
.button:hover { background: #1d4ed8; }

/* Formulaire commande */
.form { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.form .row { display: flex; gap: 16px; flex-wrap: wrap; }
.form label { display: block; font-weight: 600; margin-bottom: 6px; }
.form input[type=text], .form input[type=email], .form input[type=number], .form select, .form textarea { width: 100%; padding: 10px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; }
.form textarea { min-height: 120px; }
.form .actions { margin-top: 16px; }
.form .actions button { padding: 12px 18px; border: none; border-radius: 6px; background: #10b981; color: #fff; font-weight: 700; cursor: pointer; }
.form .actions button:hover { background: #059669; }
.notice { padding: 12px; border-radius: 6px; margin-bottom: 16px; }
.notice.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.notice.error { background: #fef2f2; color: #7f1d1d; border: 1px solid #fecaca; }

/* Galerie illustrations */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters button { padding: 8px 12px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; cursor: pointer; }
.filters button.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .item { position: relative; cursor: pointer; }
.gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.gallery .caption { position: absolute; bottom: 8px; left: 8px; background: rgba(0,0,0,0.6); color: #fff; padding: 4px 8px; border-radius: 4px; font-size: 0.85em; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.8); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox-content { max-width: 90vw; max-height: 85vh; }
.lightbox-content img { max-width: 100%; max-height: 80vh; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: #ef4444; color: #fff; border: none; border-radius: 50%; width: 44px; height: 44px; font-size: 1.2em; cursor: pointer; }

/* Responsive */
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .gallery { grid-template-columns: 1fr; } nav { flex-direction: column; } }

<!-- ======= Curseur personnalisé ======= -->
/* Masquer le curseur système partout */
* {
  cursor: none !important;
}

/* Curseur personnalisé animé type gemme */
#customCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  pointer-events: none;
  background: url('E:/streetAtomeVideoPrroduction/ADMINISTRATIF/projets/Équinoxe 2830/Couverture/Finale/Emblème.png') center center no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%) scale(1);
  z-index: 99999;
  animation: pulseCursor 2s infinite ease-in-out;
  transition: width 0.2s, height 0.2s, transform 0.2s;
}

/* Animation pulsation */
@keyframes pulseCursor {
  0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
  50%  { transform: translate(-50%, -50%) scale(1.15); opacity: 0.9; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* Trail lumineux */
.trail-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  pointer-events: none;
  border-radius: 50%;
  background: #6ff3ff;
  opacity: 0.8;
  transform: translate(-50%, -50%) scale(1);
  animation: pulseTrail 1.5s infinite ease-in-out;
  will-change: transform, opacity;
  z-index: 99998;
  box-shadow: 0 0 12px #6ff3ff88, 0 0 20px #6ff3ff55;
}

@keyframes pulseTrail {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  50% { transform: translate(-50%, -50%) scale(1.3); opacity: 0.5; }
}

#musicBtn {
    background: linear-gradient(135deg, #00ffff, #2ec1d0);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    cursor: pointer;
    box-shadow: 0 0 16px #00ffff88, 0 0 28px #00ffff55;
    font-size: 1.5rem;
    color: #00151c;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.3s;
    animation: pulseMusicBtn 2s infinite ease-in-out;
    z-index: 1;
  }

  #musicBtn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 28px #00ffffcc, 0 0 48px #2ec1d0aa;
  }

  @keyframes pulseMusicBtn {
    0%, 100% { transform: scale(1); box-shadow: 0 0 16px #00ffff88, 0 0 28px #00ffff55; }
    50% { transform: scale(1.1); box-shadow: 0 0 28px #00ffffcc, 0 0 48px #2ec1d0aa; }
  }