/* ══════════════════════════════════════════
   0xKxbyte — Black & White Professional
   ══════════════════════════════════════════ */

:root {
  --black:   #000000;
  --grey-95: #0d0d0d;
  --grey-90: #1a1a1a;
  --grey-80: #2a2a2a;
  --grey-60: #555555;
  --grey-40: #888888;
  --grey-20: #cccccc;
  --grey-10: #e8e8e8;
  --white:   #ffffff;

  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.22);

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  --ease:   cubic-bezier(.4,0,.2,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --white: #ffffff;
  --ease: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; height:100%; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── CURSOR antigo ── */

/* Força todos os elementos a não mostrarem o cursor padrão */
* {
  cursor: none !important;
}

/* Remove o cursor de texto em inputs */
input, textarea, select {
  cursor: none !important;
}

/* Remove o cursor de link */
a, button, [role="button"], .clickable {
  cursor: none !important;
}

/* Seu código original (mantém igual) */
.c-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .06s, width .2s var(--ease), height .2s var(--ease), background .2s;
  will-change: left, top;
}

.c-trail {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .22s var(--ease), height .22s var(--ease), border-color .2s;
  will-change: left, top;
}

.c-dot.on-link   { width:10px; height:10px; background:var(--white); }
.c-trail.on-link { width:48px; height:48px; border-color:rgba(255,255,255,.7); }

/* ==================================== */

/* ── PAGE LAYOUT ── */
.page {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 100vh;
}

/* ── LEFT / IDENTITY ── */
.identity {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle grain texture */
.identity::before {
  content:'';
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px;
  opacity: .025;
  pointer-events:none;
}

/* Gradient accent — subtle white glow top-left */
.identity::after {
  content:'';
  position:absolute;
  top:-200px; left:-150px;
  width:500px; height:500px;
  background:radial-gradient(circle, rgba(255,255,255,.06), transparent 65%);
  pointer-events:none;
  animation: orb-shift 12s ease-in-out infinite alternate;
}
@keyframes orb-shift {
  from { transform:translate(0,0); }
  to   { transform:translate(60px,80px); }
}

.identity__inner {
  position:relative;
  z-index:1;
  padding: 52px 44px;
  width:100%;
}

/* Avatar */
.avatar-wrap {
  position: relative;
  width: 88px; height: 88px;
  margin-bottom: 28px;
}
.avatar {
  width:100%; height:100%;
  object-fit:cover;
  border-radius:50%;
  border: 1.5px solid var(--border-hover);
  display:block;
  transition: transform .5s var(--ease), filter .4s;
  filter: grayscale(30%);
}
.avatar-wrap:hover .avatar { transform:scale(1.05); filter:grayscale(0%); }
.avatar__ring {
  position:absolute; inset:-5px;
  border-radius:50%;
  border: 1px solid rgba(255,255,255,.15);
  animation: spin-slow 12s linear infinite;
  background: conic-gradient(from 0deg, transparent 0deg 270deg, rgba(255,255,255,.35) 270deg 360deg);
}
@keyframes spin-slow { to { transform:rotate(360deg); } }

/* Name */
.name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.5px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--white);
}

.role {
  font-size: 13px;
  color: var(--grey-40);
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing:.02em;
}
.mono { font-family: var(--font-mono); color: var(--grey-60); }

.about {
  font-size: 14px;
  line-height: 1.65;
  color: var(--grey-40);
  margin-bottom: 24px;
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
  margin-bottom: 24px;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 28px;
}
.tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--grey-40);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 4px;
  transition: border-color .2s, color .2s;
}
.tags span:hover {
  border-color: var(--border-hover);
  color: var(--grey-10);
}

/* Social icons */
.social-row {
  display: flex;
  gap: 20px;
  margin-bottom: 36px;
}
.social-row a {
  color: var(--grey-60);
  font-size: 17px;
  text-decoration: none;
  transition: color .2s, transform .2s var(--spring);
}
.social-row a:hover { color: var(--white); transform: translateY(-3px); }

.copy {
  font-size: 11px;
  color: var(--grey-60);
  letter-spacing: .04em;
}

/* ── RIGHT / LINKS PANEL ── */
.links-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  min-height: 100vh;
}
.links-panel__inner {
  width: 100%;
  max-width: 560px;
}

.links-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--grey-60);
  margin-bottom: 24px;
  text-transform: uppercase;
}

/* ── LINK ITEMS ── */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.lnk {
  display: grid;
  grid-template-columns: 36px 48px 1fr 32px;
  align-items: center;
  gap: 0 16px;
  padding: 22px 0;
  text-decoration: none;
  color: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: padding-left .3s var(--ease);
  cursor: none;
}
.links-list .lnk:first-child { border-top: 1px solid var(--border); }

/* Fill line that sweeps on hover */
.lnk::before {
  content:'';
  position:absolute;
  left:0; top:0; bottom:0;
  width:0;
  background: rgba(255,255,255,.04);
  transition: width .35s var(--ease);
  pointer-events:none;
}
.lnk:hover::before { width:100%; }

/* Left accent bar */
.lnk::after {
  content:'';
  position:absolute;
  left:0; top:50%;
  transform: translateY(-50%) scaleY(0);
  width:2px; height:60%;
  background:var(--white);
  border-radius:0 2px 2px 0;
  transition: transform .25s var(--spring);
}
.lnk:hover::after { transform: translateY(-50%) scaleY(1); }

.lnk:hover { padding-left: 10px; }

/* Number */
.lnk__num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--grey-60);
  transition: color .2s;
}
.lnk:hover .lnk__num { color: var(--grey-20); }

/* Icon box */
.lnk__icon {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px;
  color: var(--grey-40);
  background: transparent;
  transition: border-color .25s, color .25s, background .25s, transform .25s var(--spring);
}
.lnk:hover .lnk__icon {
  border-color: var(--border-hover);
  color: var(--white);
  background: rgba(255,255,255,.06);
  transform: scale(1.08) rotate(-4deg);
}

/* Info */
.lnk__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.lnk__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -.01em;
  transition: letter-spacing .2s;
}
.lnk:hover .lnk__title { letter-spacing: .01em; }
.lnk__sub {
  font-size: 12px;
  color: var(--grey-60);
  font-weight: 400;
}

/* Arrow */
.lnk__arrow {
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--grey-60);
  transition: color .2s, transform .25s var(--spring);
}
.lnk:hover .lnk__arrow {
  color: var(--white);
  transform: translate(4px, -4px);
}

/* Highlighted link (currículo) */
.lnk--highlight .lnk__icon {
  border-color: rgba(255,255,255,.25);
  color: var(--white);
  background: rgba(255,255,255,.06);
}
.lnk--highlight .lnk__title { color: var(--white); }

/* ── CREDITS ── */
.credits {
  margin-top: 36px;
  font-size: 12px;
  color: var(--grey-60);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.credits i { color: var(--grey-40); font-size: 10px; }
.credits a {
  color: var(--grey-20);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: color .2s, border-color .2s;
}
.credits a:hover { color: var(--white); border-color:var(--white); }

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  background: var(--white);
  color: var(--black);
  padding: 14px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: transform .4s var(--spring), opacity .3s;
  pointer-events:none;
}
.toast.show { transform:translateY(0); opacity:1; }

/* ── ANIMATIONS ── */
@keyframes slideUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.identity__inner { animation: slideUp .7s var(--ease) .1s both; }
.links-label     { animation: slideUp .6s var(--ease) .2s both; }
.lnk:nth-child(1) { animation: slideUp .5s var(--ease) .25s both; }
.lnk:nth-child(2) { animation: slideUp .5s var(--ease) .32s both; }
.lnk:nth-child(3) { animation: slideUp .5s var(--ease) .38s both; }
.lnk:nth-child(4) { animation: slideUp .5s var(--ease) .44s both; }
.lnk:nth-child(5) { animation: slideUp .5s var(--ease) .50s both; }
.lnk:nth-child(6) { animation: slideUp .5s var(--ease) .56s both; }
.credits          { animation: slideUp .5s var(--ease) .62s both; }

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .page {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .identity {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .identity__inner { padding: 44px 28px 36px; }
  .links-panel {
    padding: 48px 28px 60px;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .links-panel { padding: 36px 20px 56px; }
  .lnk { gap: 0 12px; }
  .name { font-size: 26px; }
}

/* ── TOUCH ── */
@media (hover:none) {
  body { cursor: auto; }
  .c-dot, .c-trail { display:none; }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--grey-80); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--grey-60); }

/* ── SELECTION ── */
::selection { background: var(--white); color: var(--black); }
