/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM.CSS — pazent.fr
   Design refinements. Agency quality.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Selection ─── */
::selection { background: rgba(110,0,255,0.3); color: #fff; }
::-moz-selection { background: rgba(110,0,255,0.3); color: #fff; }

/* ─── Focus ─── */
:focus-visible { outline: 2px solid #6e00ff; outline-offset: 3px; border-radius: 4px; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(110,0,255,0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(110,0,255,0.7); }

/* ─── Smooth scroll ─── */
html { scroll-behavior: smooth; }

/* ─── Font rendering ─── */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ─── Noise overlay — très subtil ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='256' height='256' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 99990; mix-blend-mode: overlay;
  opacity: 0.5;
}

/* ─── Hero enhancements ─── */
.hero { position: relative; }


/* ─── Buttons ─── */
.btn {
  position: relative; overflow: hidden;
  font-weight: 500; letter-spacing: -0.01em;
}
.btn--primary {
  background: linear-gradient(135deg, #6e00ff, #5500cc);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(110,0,255,0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: box-shadow .3s, transform .2s;
}
.btn--primary:hover {
  box-shadow: 0 8px 30px rgba(110,0,255,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn--glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  transition: background .3s, border-color .3s, transform .2s;
}
.btn--glass:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
}

/* ─── Section headers ─── */
.section__title {
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section__tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6e00ff;
  opacity: 0.9;
}

/* ─── Project cards ─── */
.project-card {
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  transition: border-color .3s ease;
}
.project-card:hover {
  border-color: rgba(110,0,255,0.25);
}
.project-card__title {
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ─── Skill cards ─── */
.skill-card {
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

/* ─── Navbar ─── */
.navbar {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* ─── Badge dot pulse ─── */
.hero__badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3fb950;
  box-shadow: 0 0 0 0 rgba(63,185,80,0.4);
  animation: badge-pulse 2.5s ease infinite;
}
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(63,185,80,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(63,185,80,0); }
}

/* ─── Gradient text utility ─── */
.text-gradient {
  background: linear-gradient(135deg, #6e00ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Timeline ─── */
.timeline__dot {
  box-shadow: 0 0 0 0 rgba(110,0,255,0.4);
  transition: box-shadow .3s;
}
.timeline__item:hover .timeline__dot {
  box-shadow: 0 0 0 6px rgba(110,0,255,0.15);
}

/* ─── Links ─── */
.link--accent {
  color: #a78bfa;
  text-decoration: none;
  border-bottom: 1px solid rgba(167,139,250,0.3);
  transition: color .2s, border-color .2s;
}
.link--accent:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

/* ─── Footer CTA ─── */
.footer-cta {
  position: relative; overflow: hidden;
}
.footer-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(110,0,255,0.05), rgba(0,212,255,0.05));
  pointer-events: none;
}

/* ─── Responsive fine-tuning ─── */
@media (max-width: 768px) {
  .section__title { letter-spacing: -0.02em; }
  
}

/* ─── Print ─── */
@media print { body::before { display: none; } }
