/* HOME OVERLAY — Layout Arkon 3-zones */

/* ── ZONE GAUCHE : Identité + Contact ── */
/* Backdrop partagé — zones home + nav */
.home-left, .home-nav {
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 2px;
}

.home-left {
  position: fixed;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 22;
  pointer-events: auto;
  animation: slideInLeft 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s both;
  padding: 28px 32px;
}

.home-identity {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.home-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
}

.name-first {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  line-height: 1;
}

.name-last {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 6vw, 7rem);
  font-weight: 700;
  line-height: 0.82;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.home-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0;
}

.home-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.avail-dot {
  width: 6px;
  height: 6px;
  background: #00ff66;
  border-radius: 50%;
  box-shadow: 0 0 8px #00ff66;
  flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px #00ff66; }
  50%       { box-shadow: 0 0 14px #00ff66, 0 0 4px #00ff66; }
}

.home-contact { display: flex; flex-direction: column; gap: 10px; }

.home-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.home-email:hover { color: #ffffff; }

.home-socials { display: flex; gap: 16px; }
.home-socials a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.home-socials a:hover { color: #ffffff; }

.home-location {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  text-transform: uppercase;
}

/* ── NAV BAS ── */
.home-nav {
  position: fixed;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 22;
  pointer-events: auto;
  white-space: nowrap;
  animation: slideInUp 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.65s both;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.home-nav-btn {
  background: none;
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  cursor: none;
  transition: color 0.2s;
  padding: 4px 0;
  position: relative;
}
.home-nav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.25s ease;
}
.home-nav-btn:hover { color: #ffffff; }
.home-nav-btn:hover::after { width: 100%; }

.nav-sep { font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,0.35); font-size: 0.7rem; pointer-events: none; }

/* ── Animations d'entrée ── */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateY(-50%) translateX(-28px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(14px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Curseur custom ── */
body { cursor: none; }
a, button { cursor: none; }

.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}
.cursor-ring.is-hovering { width: 44px; height: 44px; border-color: var(--accent); }

/* ── Responsive home ── */
@media (max-width: 960px) {
  .home-left { left: 28px; }
  .name-last { font-size: clamp(2.8rem, 8vw, 5rem); }
}

@media (max-width: 620px) {
  /* Masque les nodules flottants de la sphère — la nav bar classique en bas suffit */
  #sphere-nav-overlay { display: none; }

  /* Sphère réduite pour laisser toute la place au texte (voir js/main.js) */

  .home-left {
    left: 16px;
    right: 16px;
    top: 56px;
    bottom: auto;
    transform: none;
    gap: 12px;
    animation: none;
    opacity: 1;
    background: rgba(0, 0, 0, 0.82);
    padding: 18px 20px;
  }
  .home-identity { gap: 10px; }
  .home-role { font-size: 0.72rem; line-height: 1.4; }
  .home-nav { bottom: 16px; gap: 8px; flex-wrap: wrap; justify-content: center; left: 16px; right: 16px; transform: none; animation: none; opacity: 1; padding: 10px 16px; }
  .home-nav-btn { font-size: 0.72rem; padding: 6px 2px; }
  .name-last { font-size: clamp(2.2rem, 9vw, 3.5rem); }
  .home-availability { white-space: normal; font-size: 0.66rem; line-height: 1.4; }
}