:root {
    --neon: #00d4ff;
    --neon2: #0099cc;
    --bg-dark: #050a12;
    --bg-card: #0a1628;
    --bg-mid: #0d1f35;
    --text: #e8f4ff;
    --text-muted: #7aa8cc;
    --accent: #ff6b35;
    --gold: #ffd700;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; overflow-x: hidden; width: 100%;}

  body {
    background: var(--bg-dark);
    width: 100%;
    color: var(--text);
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
    cursor: none;
  }

  /* CURSOR PERSONALIZADO */
  .cursor {
    width: 20px; height: 20px;
    border: 2px solid var(--neon);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s ease, opacity 0.3s;
    mix-blend-mode: difference;
  }
  .cursor-dot {
    width: 5px; height: 5px;
    background: var(--neon);
    border-radius: 50%;
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
  }

  /* PARTÍCULAS */
  #particles { 
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
   }

  /* NAVBAR */
  nav {
    position: fixed; top: 0; width: 100%; z-index: 100;
    padding: 18px 5%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(5,10,18,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,212,255,0.15);
    transition: all 0.3s;
  }
  nav.scrolled {
    padding: 12px 5%;
    border-bottom-color: rgba(0,212,255,0.4);
    box-shadow: 0 4px 30px rgba(0,212,255,0.1);
  }
  
  .nav-logo a {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--neon);
  text-decoration: none;
  text-shadow: 0 0 20px var(--neon);
  letter-spacing: 2px;
  display: inline-block;
}

  .nav-logo a span {
    color: var(--text);
  }

  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
  }
  .nav-links a::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: var(--neon);
    box-shadow: 0 0 8px var(--neon);
    transition: width 0.3s;
  }
  .nav-links a:hover { color: var(--neon); }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    background: transparent;
    border: 1.5px solid var(--neon);
    color: var(--neon);
    padding: 8px 20px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: none;
    transition: all 0.3s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  }
  .nav-cta:hover {
    background: var(--neon);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(0,212,255,0.5);
  }
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; }
  .hamburger span { width: 25px; height: 2px; background: var(--neon); transition: all 0.3s; }

  /* FOOTER */
  footer {
    background: var(--bg-card);
    padding: 30px 5%;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(0,212,255,0.1);
    flex-wrap: wrap; gap: 16px;
  }
  .footer-credit {
    font-size: 0.85rem; color: var(--text-muted);
  }
  .footer-credit a {
    color: var(--neon); text-decoration: none; font-weight: 700;
    transition: text-shadow 0.3s;
  }
  .footer-credit a:hover { text-shadow: 0 0 10px var(--neon); }
  .footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem; color: var(--neon);
    letter-spacing: 2px;
  }

  /* SCROLL INDICATOR */
  .scroll-ind {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    animation: bounce 2s infinite;
    z-index: 2;
  }
  .scroll-ind span { font-size: 0.7rem; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }
  .scroll-arrow { width: 20px; height: 20px; border-right: 2px solid var(--neon); border-bottom: 2px solid var(--neon); transform: rotate(45deg); }
  @keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

  /* NEON GLOW LINE */
  .neon-divider {
    width: 60px; height: 3px;
    background: var(--neon);
    box-shadow: 0 0 15px var(--neon);
    margin: 16px auto 0;
  }

  /* REVEAL ANIMATION */
  .reveal { opacity: 0; transform: translateY(40px); transition: all 0.7s ease; }
  .reveal.visible { opacity: 1; transform: translateY(0); }


  section {
  overflow-x: hidden;
}

img,
canvas {
  max-width: 100%;
}

  /* MOBILE */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-image-nome { max-height: 100px; }
    .hero-image-side { opacity: 0.2; width: 100%; }
    .sobre-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-stats { gap: 1.2rem; }
    .stat-num { font-size: 1.5rem; }
    footer { flex-direction: column; text-align: center; }
    .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 5%;
    background: rgba(5,10,18,0.98);
    padding: 20px;
    border: 1px solid rgba(0,212,255,0.2);
    }

    .contato-form {
      width: 100%;
    }

    .form-row {
      grid-template-columns: 1fr;
    }

    .hero-buttons {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 14px;
      width: 100%;
      margin-bottom: 25px;
    }

    .hero-buttons a {
      width: 100%;
      max-width: 280px;
      text-align: center;
    }

    #hero {
      overflow: hidden;
      padding-left: 20px;
      padding-right: 20px;
    }

    .hero-content {
      width: 100%;
      max-width: 100%;
    }

    .hero-name {
      width: 100%;
      display: flex;
      justify-content: center;
    }

    .hero-image-nome {
      width: 100%;
      max-width: 280px;
      height: auto;
      object-fit: contain;
    }

    .hero-desc {
      width: 100%;
      max-width: 100%;
      text-align: center;
      font-size: 1rem;
      line-height: 1.6;
    }

    .hero-stats {
      width: 100%;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 18px;
    }

    .stat {
      min-width: 90px;
    }

    .stat-num {
      font-size: 1.4rem;
      white-space: nowrap;
    }

    .stat-label {
      font-size: 0.8rem;
    }

    .stat-divider {
      display: none;
    }

  }
    
  @media (min-width: 769px) and (max-width: 1080px) {
    .hero-image-nome { max-height: 140px; }
    }


  @media screen and (max-width: 768px) {

  .cursor,
  .cursor-dot {
    display: none !important;
  }

  .scroll-ind {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }

}
