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

    :root {
      --bg: #0a0a0a;
      --bg2: #111111;
      --bg3: #181818;
      --border: #2a2a2a;
      --text: #f0ede8;
      --muted: #888;
      --accent: #e8d5a3;
      --accent2: #c4a96b;
      --accent3: #7c6a3e;
      --danger: #d4614a;
      --font-head: 'Syne', sans-serif;
      --font-mono: 'Space Mono', monospace;
    }

    html { scroll-behavior: smooth; }
    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--font-mono);
      overflow-x: hidden;
      cursor: none;
    }

    /* CUSTOM CURSOR */
    .cursor {
      width: 12px; height: 12px;
      background: var(--accent);
      border-radius: 50%;
      position: fixed;
      top: 0; left: 0;
      pointer-events: none;
      z-index: 9999;
      transition: transform 0.15s ease, background 0.2s;
      transform: translate(-50%, -50%);
    }
    .cursor-ring {
      width: 36px; height: 36px;
      border: 1px solid var(--accent);
      border-radius: 50%;
      position: fixed;
      top: 0; left: 0;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: left 0.08s ease, top 0.08s ease, transform 0.2s, width 0.2s, height 0.2s, opacity 0.2s;
      opacity: 0.5;
    }
    body:has(a:hover) .cursor-ring,
    body:has(button:hover) .cursor-ring { width: 60px; height: 60px; opacity: 0.2; }

    /* NOISE OVERLAY */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9990;
      opacity: 0.4;
    }

    /* HEADER */
    header {
      position: fixed; top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 0 3rem;
      height: 64px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(10,10,10,0.85);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
    }
    .logo {
      font-family: var(--font-head);
      font-size: 1.1rem;
      font-weight: 800;
      letter-spacing: 0.05em;
      color: var(--accent);
      text-decoration: none;
    }
    .logo span { color: var(--text); }
    nav { display: flex; gap: 0.2rem; align-items: center; }
    nav a {
      color: var(--muted);
      text-decoration: none;
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.4rem 0.8rem;
      border: 1px solid transparent;
      border-radius: 2px;
      transition: all 0.2s;
    }
    nav a:hover, nav a.active {
      color: var(--accent);
      border-color: var(--accent3);
      background: rgba(232,213,163,0.05);
    }
    .mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

    /* PAGES */
   /** section.page {
      min-height: 100vh;
      padding: 100px 0 60px;
      display: none;
    } **/
    section.page {
      min-height: 100vh;
      padding: 100px 0 60px;
      display: block;
    }
   /** section.page.active { display: block; } **/

    .container { max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

    /* SECTION TITLE */
    .section-title {
      margin-bottom: 4rem;
    }
    .section-title .eyebrow {
      display: inline-block;
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1rem;
      border: 1px solid var(--accent3);
      padding: 0.3rem 0.8rem;
    }
    .section-title h2 {
      font-family: var(--font-head);
      font-size: clamp(2.5rem, 6vw, 5rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.02em;
      color: var(--text);
    }
    .section-title h2 span { color: var(--accent); }
    .section-title p {
      margin-top: 1.2rem;
      color: var(--muted);
      font-size: 0.85rem;
      max-width: 540px;
      line-height: 1.8;
    }

    /* ═══ HOME ═══ */
    #home {
      min-height: 100vh;
      display: flex;
      align-items: center;
      padding: 0;
      position: relative;
      overflow: hidden;
    }
    .hero-grid-bg {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(232,213,163,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,213,163,0.03) 1px, transparent 1px);
      background-size: 80px 80px;
    }
    .hero-glow {
      position: absolute;
      width: 600px; height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(196,169,107,0.08) 0%, transparent 70%);
      top: 50%; left: 50%;
      transform: translate(-50%, -50%);
      pointer-events: none;
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      max-width: 1140px;
      margin: 0 auto;
      padding: 0 2rem;
      width: 100%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }
    .hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      font-size: 0.72rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1.5rem;
    }
    .hero-tag::before {
      content: '';
      width: 24px; height: 1px;
      background: var(--accent);
    }
    .hero-name {
      font-family: var(--font-head);
      font-size: clamp(2rem, 5vw, 4rem);
      font-weight: 800;
      line-height: 0.95;
      letter-spacing: -0.03em;
    }
    .hero-name .highlight {
      color: var(--accent);
      display: block;
    }
    .hero-typed {
      font-family: var(--font-head);
      font-size: clamp(1.2rem, 2.5vw, 1.8rem);
      font-weight: 500;
      color: var(--muted);
      margin: 1.2rem 0;
    }
    .typed-cursor {
      color: var(--accent);
      animation: blink 1s infinite;
    }
    @keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
    .hero-desc { color: var(--muted); font-size: 0.85rem; line-height: 1.8; max-width: 440px; margin-bottom: 2.5rem; }
    .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
    .btn-primary {
      background: var(--accent);
      color: #0a0a0a;
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.85rem 2rem;
      border: none;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s;
      display: inline-block;
      font-weight: 700;
    }
    .btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,213,163,0.2); }
    .btn-outline {
      background: transparent;
      color: var(--text);
      font-family: var(--font-mono);
      font-size: 0.75rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      padding: 0.85rem 2rem;
      border: 1px solid var(--border);
      text-decoration: none;
      cursor: pointer;
      transition: all 0.2s;
      display: inline-block;
    }
    .btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
    .hero-socials { display: flex; gap: 1rem; }
    .hero-socials a {
      color: var(--muted);
      font-size: 1.1rem;
      width: 38px; height: 38px;
      display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--border);
      transition: all 0.2s;
      text-decoration: none;
    }
    .hero-socials a:hover { color: var(--accent); border-color: var(--accent); }
    .hero-image-side {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .hero-frame {
      position: relative;
      width: 380px; height: 460px;
    }
    .hero-frame::before {
      content: '';
      position: absolute;
      inset: -12px;
      border: 1px solid var(--accent3);
      transform: rotate(2deg);
    }
    .hero-frame::after {
      content: '';
      position: absolute;
      inset: -6px;
      border: 1px solid var(--border);
      transform: rotate(-1deg);
    }
    .hero-frame img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      position: relative;
      z-index: 1;
      filter: grayscale(20%);
    }
    .hero-frame-placeholder {
      width: 100%; height: 100%;
      background: var(--bg3);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      position: relative;
      z-index: 1;
    }
    .hero-frame-placeholder i { font-size: 4rem; color: var(--accent3); }
    .hero-frame-placeholder span { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
    .floating-chips {
      position: absolute;
      z-index: 2;
      inset: 0;
    }
    .chip {
      position: absolute;
      background: rgba(10,10,10,0.9);
      border: 1px solid var(--accent3);
      padding: 0.5rem 0.9rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-size: 0.72rem;
      color: var(--accent);
      backdrop-filter: blur(8px);
      white-space: nowrap;
    }
    .chip i { font-size: 0.9rem; }
    .chip-1 { top: 20px; right: -50px; animation: float1 3s ease-in-out infinite; }
    .chip-2 { bottom: 80px; right: -70px; animation: float2 3.5s ease-in-out infinite; }
    .chip-3 { bottom: 20px; left: -60px; animation: float1 4s ease-in-out infinite; }
    @keyframes float1 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
    @keyframes float2 { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
    .hero-counter {
      display: flex;
      gap: 2.5rem;
      margin-top: 2rem;
      padding-top: 2rem;
      border-top: 1px solid var(--border);
    }
    .counter-item { }
    .counter-num {
      font-family: var(--font-head);
      font-size: 2rem;
      font-weight: 800;
      color: var(--accent);
      line-height: 1;
    }
    .counter-label { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.3rem; }

    /* ═══ SOBRE ═══ */
    .sobre-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 5rem;
      align-items: start;
      margin-bottom: 5rem;
    }
    .sobre-img-wrap {
      position: relative;
    }
    .sobre-img-wrap img, .sobre-img-placeholder {
      width: 100%;
      aspect-ratio: 3/4;
      object-fit: cover;
    }
    .sobre-img-placeholder {
      background: var(--bg3);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      border: 1px solid var(--border);
    }
    .sobre-img-placeholder i { font-size: 5rem; color: var(--accent3); }
    .sobre-img-wrap::before {
      content: '';
      position: absolute;
      top: -16px; left: -16px;
      right: 16px; bottom: 16px;
      border: 1px solid var(--accent3);
      z-index: -1;
    }
    .sobre-quote {
      margin: 2rem 0;
      padding: 1.5rem;
      border-left: 3px solid var(--accent);
      background: var(--bg2);
    }
    .sobre-quote p {
      font-family: var(--font-head);
      font-size: 1.1rem;
      font-weight: 600;
      color: var(--text);
      font-style: italic;
      line-height: 1.5;
    }
    .sobre-text h2 {
      font-family: var(--font-head);
      font-size: 2.2rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
      line-height: 1.1;
    }
    .sobre-text .role {
      color: var(--accent);
      font-size: 0.85rem;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 1.5rem;
      display: block;
    }
    .sobre-text p {
      color: var(--muted);
      font-size: 0.85rem;
      line-height: 1.9;
      margin-bottom: 1.2rem;
    }
    .sobre-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }

    /* SKILLS */
    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
      gap: 1.5rem;
    }
    .skill-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      padding: 1.5rem;
      transition: border-color 0.2s, transform 0.2s;
    }
    .skill-card:hover { border-color: var(--accent3); transform: translateY(-4px); }
    .skill-card h3 {
      font-family: var(--font-head);
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }
    .skill-card p { color: var(--muted); font-size: 0.75rem; line-height: 1.6; margin-bottom: 1rem; }
    .skill-level { font-size: 0.72rem; color: var(--accent); text-align: right; margin-bottom: 0.4rem; }
    .skill-bar { background: var(--bg3); height: 3px; }
    .skill-bar-fill { height: 100%; background: linear-gradient(90deg, var(--accent3), var(--accent)); transition: width 1s ease; }

    /* ═══ CURRÍCULO ═══ */
    .cv-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
    }
    .cv-section { margin-bottom: 3rem; }
    .cv-section-title {
      font-family: var(--font-head);
      font-size: 0.7rem;
      font-weight: 700;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 1.5rem;
      padding-bottom: 0.8rem;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 0.8rem;
    }
    .cv-section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
    .cv-item {
      padding: 1.2rem;
      border: 1px solid var(--border);
      margin-bottom: 1rem;
      background: var(--bg2);
      transition: border-color 0.2s;
    }
    .cv-item:hover { border-color: var(--accent3); }
    .cv-item h4 {
      font-family: var(--font-head);
      font-size: 0.95rem;
      font-weight: 700;
      margin-bottom: 0.3rem;
    }
    .cv-item .cv-date {
      font-size: 0.72rem;
      color: var(--accent);
      margin-bottom: 0.4rem;
    }
    .cv-item .cv-sub {
      font-size: 0.78rem;
      color: var(--muted);
      font-style: italic;
      margin-bottom: 0.5rem;
    }
    .cv-item p { font-size: 0.8rem; color: var(--muted); line-height: 1.7; }
    .cv-personal {
      background: var(--bg2);
      border: 1px solid var(--border);
      padding: 1.5rem;
      margin-bottom: 2rem;
    }
    .cv-personal h3 {
      font-family: var(--font-head);
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 0.3rem;
    }
    .cv-personal .cv-age { color: var(--accent); font-size: 0.8rem; margin-bottom: 0.8rem; }
    .cv-personal .cv-info { display: flex; flex-direction: column; gap: 0.4rem; }
    .cv-personal .cv-info span { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
    .cv-personal .cv-info i { color: var(--accent); width: 16px; }
    .cv-objective { background: var(--bg3); padding: 1rem; margin-top: 1rem; font-size: 0.8rem; color: var(--muted); line-height: 1.7; }
    .cv-objective strong { color: var(--accent); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 0.4rem; }

    /* ═══ SERVIÇOS ═══ */
    .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 2rem;
    }
    .service-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      padding: 2rem;
      position: relative;
      overflow: hidden;
      transition: border-color 0.3s, transform 0.3s;
      cursor: pointer;
    }
    .service-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 2px;
      background: linear-gradient(90deg, var(--accent3), var(--accent));
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.3s;
    }
    .service-card:hover { border-color: var(--accent3); transform: translateY(-6px); }
    .service-card:hover::before { transform: scaleX(1); }
    .service-icon-wrap {
      width: 52px; height: 52px;
      background: var(--bg3);
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 1.4rem;
      color: var(--accent);
      margin-bottom: 1.5rem;
      transition: background 0.2s, border-color 0.2s;
    }
    .service-card:hover .service-icon-wrap { background: rgba(232,213,163,0.1); border-color: var(--accent); }
    .service-card h3 {
      font-family: var(--font-head);
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 0.8rem;
    }
    .service-card p { color: var(--muted); font-size: 0.8rem; line-height: 1.8; margin-bottom: 1.5rem; }
    .service-link {
      font-size: 0.72rem;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.12em;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      transition: gap 0.2s;
    }
    .service-link:hover { gap: 0.8rem; }
    .service-num {
      position: absolute;
      bottom: 1.5rem;
      right: 1.5rem;
      font-family: var(--font-head);
      font-size: 4rem;
      font-weight: 800;
      color: var(--border);
      line-height: 1;
      transition: color 0.3s;
    }
    .service-card:hover .service-num { color: rgba(232,213,163,0.05); }

    /* ═══ PORTFÓLIO ═══ */
    .portfolio-filters {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
      margin-bottom: 2.5rem;
      list-style: none;
    }
    .portfolio-filters li {
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
      padding: 0.45rem 1rem;
      border: 1px solid var(--border);
      cursor: pointer;
      transition: all 0.2s;
    }
    .portfolio-filters li:hover,
    .portfolio-filters li.active { color: var(--accent); border-color: var(--accent3); background: rgba(232,213,163,0.05); }
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .portfolio-item { position: relative; overflow: hidden; cursor: pointer; }
    .portfolio-item.hidden { display: none; }
    .portfolio-img {
      aspect-ratio: 4/3;
      overflow: hidden;
      background: var(--bg2);
      position: relative;
    }
    .portfolio-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      transition: transform 0.5s;
      filter: grayscale(30%);
    }
    .portfolio-item:hover .portfolio-img img { transform: scale(1.08); filter: grayscale(0); }
    .portfolio-img-placeholder {
      width: 100%; height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 3rem;
      color: var(--accent3);
    }
    .portfolio-overlay {
      position: absolute;
      inset: 0;
      background: rgba(10,10,10,0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1rem;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .portfolio-item:hover .portfolio-overlay { opacity: 1; }
    .portfolio-overlay a {
      width: 44px; height: 44px;
      background: var(--accent);
      color: #0a0a0a;
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem;
      text-decoration: none;
      transition: background 0.2s;
    }
    .portfolio-overlay a:hover { background: var(--accent2); }
    .portfolio-info { padding: 1rem 0; border-bottom: 1px solid var(--border); }
    .portfolio-info h4 { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
    .portfolio-info p { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.6rem; }
    .portfolio-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
    .portfolio-tags span {
      font-size: 0.65rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
      border: 1px solid var(--accent3);
      padding: 0.15rem 0.5rem;
    }

    /* ═══ CONTATO ═══ */
    .contact-wrap {
      display: grid;
      grid-template-columns: 1fr 1.4fr;
      gap: 4rem;
    }
    .contact-info h3 {
      font-family: var(--font-head);
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 0.8rem;
    }
    .contact-info p { color: var(--muted); font-size: 0.82rem; line-height: 1.8; margin-bottom: 2rem; }
    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 1rem;
      margin-bottom: 1.5rem;
      padding: 1.2rem;
      border: 1px solid var(--border);
      background: var(--bg2);
      transition: border-color 0.2s;
    }
    .contact-item:hover { border-color: var(--accent3); }
    .contact-item-icon {
      width: 40px; height: 40px;
      background: var(--bg3);
      border: 1px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      color: var(--accent);
      flex-shrink: 0;
    }
    .contact-item-text h4 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
    .contact-item-text p { font-size: 0.82rem; color: var(--text); }
    .contact-form-wrap h3 {
      font-family: var(--font-head);
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 0.6rem;
    }
    .contact-form-wrap > p { color: var(--muted); font-size: 0.82rem; margin-bottom: 2rem; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
    .form-group { margin-bottom: 1rem; }
    .form-group.full { grid-column: 1 / -1; }
    .form-group input,
    .form-group textarea {
      width: 100%;
      background: var(--bg2);
      border: 1px solid var(--border);
      color: var(--text);
      font-family: var(--font-mono);
      font-size: 0.82rem;
      padding: 0.9rem 1rem;
      outline: none;
      transition: border-color 0.2s;
      resize: vertical;
    }
    .form-group input:focus,
    .form-group textarea:focus { border-color: var(--accent3); }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: var(--muted); }
    .form-group textarea { min-height: 140px; }
    .form-submit { display: flex; justify-content: flex-end; }
    .form-message {
      font-size: 0.78rem;
      padding: 0.8rem 1rem;
      margin-bottom: 1rem;
      display: none;
    }
    .form-message.success { background: rgba(76,175,80,0.1); border: 1px solid rgba(76,175,80,0.3); color: #81c784; display: block; }
    .form-message.error { background: rgba(212,97,74,0.1); border: 1px solid rgba(212,97,74,0.3); color: var(--danger); display: block; }

    /* FOOTER */
    footer {
      background: var(--bg2);
      border-top: 1px solid var(--border);
      padding: 2rem;
      text-align: center;
    }
    footer p { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; }
    footer p strong { color: var(--accent); }
    .footer-socials { display: flex; gap: 0.8rem; justify-content: center; }
    .footer-socials a {
      color: var(--muted);
      font-size: 1rem;
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--border);
      text-decoration: none;
      transition: all 0.2s;
    }
    .footer-socials a:hover { color: var(--accent); border-color: var(--accent3); }

    /* MOBILE NAV */
    .mobile-nav {
      display: none;
      position: fixed;
      top: 64px; left: 0; right: 0; bottom: 0;
      background: rgba(10,10,10,0.97);
      z-index: 99;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav a {
      color: var(--text);
      text-decoration: none;
      font-family: var(--font-head);
      font-size: 2rem;
      font-weight: 700;
      transition: color 0.2s;
    }
    .mobile-nav a:hover, .mobile-nav a.active { color: var(--accent); }

    /* SCROLL TOP */
    .scroll-top {
      position: fixed;
      bottom: 2rem; right: 2rem;
      width: 44px; height: 44px;
      background: var(--accent);
      color: #0a0a0a;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.1rem;
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
      z-index: 90;
      border: none;
      text-decoration: none;
    }
    .scroll-top.visible { opacity: 1; pointer-events: auto; }

    /* FADE IN ANIMATIONS */
    .fade-in {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-in.visible { opacity: 1; transform: none; }

    /* RESPONSIVE */
    @media (max-width: 900px) {
      header { padding: 0 1.5rem; }
      nav { display: none; }
      .mobile-menu-btn { display: block; }
      .hero-inner { grid-template-columns: 1fr; text-align: center; }
      .hero-image-side { display: none; }
      .hero-actions { justify-content: center; }
      .hero-socials { justify-content: center; }
      .hero-counter { justify-content: center; }
      .sobre-grid { grid-template-columns: 1fr; }
      .sobre-img-wrap { display: none; }
      .cv-grid { grid-template-columns: 1fr; }
      .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
      .contact-wrap { grid-template-columns: 1fr; }
      .form-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 600px) {
      .portfolio-grid { grid-template-columns: 1fr; }
      .services-grid { grid-template-columns: 1fr; }
      .skills-grid { grid-template-columns: 1fr; }
    }
  