:root {
      --bg: #0b0b0f;
      --panel: #111118;
      --muted: #9aa0a6;
      --text: #e6e6f0;
      --accent: #7c3aed; /* roxo neon */
      --accent-2: #00e5ff; /* ciano sutil */
      --card: #141420;
      --border: #23233a;
      --shadow: 0 10px 30px rgba(0,0,0,.45);
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
      background: radial-gradient(1200px 800px at 80% -10%, rgba(124, 58, 237, .18), transparent 50%),
                  radial-gradient(1000px 600px at 10% -20%, rgba(0, 229, 255, .12), transparent 50%),
                  var(--bg);
      color: var(--text);
      line-height: 1.6;
    }

    a { color: inherit; text-decoration: none; }

    /* Navbar */
    .nav {
      position: fixed; inset-inline: 0; top: 0; z-index: 50;
      backdrop-filter: blur(10px);
      background: linear-gradient(180deg, rgba(11,11,15,.8), rgba(11,11,15,.45), rgba(11,11,15,0));
      border-bottom: 1px solid rgba(255,255,255,.06);
    }
    .nav .wrap { max-width: 1120px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
    .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; }
    .brand .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 16px var(--accent); }
    .nav a.link { padding: 8px 12px; border-radius: 12px; transition: .2s ease; color: var(--muted); font-weight: 600; }
    .nav a.link:hover { color: var(--text); background: rgba(124,58,237,.12); }

    .links { display: flex; gap: 6px; align-items: center; }

    /* Hero */
    header.hero { padding-top: 120px; padding-bottom: 40px; }
    .container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
    .hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }

    .hi { font-size: 14px; color: var(--muted); letter-spacing: .16em; text-transform: uppercase; }
    .title { font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.1; margin: 10px 0 14px; }
    .title .accent { background: linear-gradient(135deg, var(--accent), var(--accent-2));
      -webkit-background-clip: text; background-clip: text; color: transparent; }
    .subtitle { font-size: clamp(16px, 2.5vw, 20px); color: var(--muted); max-width: 52ch; }

    .roles { margin-top: 22px; font-size: 18px; color: var(--text); }
    .roles .caret { display: inline-block; width: 10px; background: currentColor; margin-left: 3px; animation: blink 1s steps(2, start) infinite; }
    @keyframes blink { to { opacity: 0; } }

    .cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
    .btn { padding: 12px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--card); color: var(--text); font-weight: 700; box-shadow: var(--shadow); transition: .2s ease; }
    .btn:hover { transform: translateY(-1px); border-color: rgba(124,58,237,.45); box-shadow: 0 16px 36px rgba(124,58,237,.18); }
    .btn.primary { background: linear-gradient(135deg, rgba(124,58,237,.9), rgba(0,229,255,.8)); border: none; }

    .socials { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
    .sicon { width: 60px; height: 60px; display: grid; text-align: center; align-items: center; border-radius: 50%; background: #0f0f17; border: 1px solid var(--border); transition: .2s ease; }
    .sicon:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.35), 0 0 0 4px rgba(124,58,237,.18) inset; }

    /* Foto + Canvas */
    .visual { position: relative; height: 520px; border-radius: 20px; background: linear-gradient(180deg, rgba(20,20,32,.8), rgba(20,20,32,.4)); border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow); }
    .pfp { position: absolute; bottom: 16px; left: 16px; display: flex; align-items: center; gap: 12px; background: rgba(11,11,15,.7); padding: 10px 12px; border-radius: 16px; border: 1px solid var(--border); backdrop-filter: blur(6px); }
    .pfp img { width: 150px; height: 150px; object-fit: cover; border-radius: 50%; border: 2px solid rgba(124,58,237,.6); }
    .pfp .name { font-weight: 700; line-height: 1.2; }
    .pfp .role { font-size: 12px; color: var(--muted); }

    /* Projetos */
    section#projetos { padding: 80px 0 40px; }
    .sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
    .sec-head h2 { font-size: clamp(24px, 3.8vw, 34px); margin: 0; }
    .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

    .card { background: linear-gradient(180deg, rgba(20,20,32,.9), rgba(20,20,32,.6)); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transition: .25s ease; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
    .card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(124,58,237,.16); border-color: rgba(124,58,237,.4); }
    .thumb { aspect-ratio: 16/9; background: #0e0e14; display: grid; place-items: center; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--border); }
    .card .body { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
    .card h3 { margin: 0; font-size: 18px; }
    .tags { display: flex; flex-wrap: wrap; gap: 8px; }
    .tag { font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: #11111a; color: var(--muted); }
    .card .actions { margin-top: auto; display: flex; gap: 10px; }

    /* Contato */
    section#contato { padding: 60px 0 100px; }
    .contact { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
    form { background: linear-gradient(180deg, rgba(20,20,32,.9), rgba(20,20,32,.6)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
    label { font-size: 14px; color: var(--muted); }
    input, textarea { width: 100%; background: #0f0f17; border: 1px solid var(--border); color: var(--text); border-radius: 12px; padding: 12px 14px; font: inherit; }
    textarea { min-height: 140px; resize: vertical; }
    .info { background: linear-gradient(180deg, rgba(20,20,32,.9), rgba(20,20,32,.6)); border: 1px solid var(--border); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }

    /* Footer */
    footer { border-top: 1px solid var(--border); padding: 18px 20px; color: var(--muted); text-align: center; }

    /* Responsivo */
    @media (max-width: 980px) {
      .hero-grid { grid-template-columns: 1fr; }
      .contact { grid-template-columns: 1fr; }
      .grid { grid-template-columns: repeat(2, 1fr); }
      .visual { height: 440px; }
    }
    @media (max-width: 640px) {
      .grid { grid-template-columns: 1fr; }
      .nav .wrap { padding: 12px 14px; }
    }


    