:root{
    --black:#09090b;
    --black-soft:#101013;
    --panel:#15151a;
    --panel-2:#1b1b21;
    --cream:#edeadf;
    --cream-dim:#a8a397;
    --blue:#3d5a94;
    --blue-light:#8aa3d6;
    --blue-deep:#212f4b;
    --blue-pale:#c7d3ea;
    --border:rgba(237,234,223,0.1);
    --border-strong:rgba(237,234,223,0.18);
    --radius-lg:28px;
    --radius-md:18px;
    --radius-sm:10px;
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}

  /* esconde a barra de rolagem (Chrome/Edge/Safari + Firefox) sem travar o scroll */
  html, body{
    scrollbar-width:none;      /* Firefox */
    -ms-overflow-style:none;   /* Edge legado */
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar{
    display:none;              /* Chrome, Safari, Edge novo */
    width:0;
    height:0;
  }

  body{
    background:var(--black);
    color:var(--cream);
    font-family:'Space Grotesk', sans-serif;
    line-height:1.5;
    overflow-x:hidden;
  }

  ::selection{background:var(--blue);color:var(--cream);}

  .mono{
    font-family:'JetBrains Mono', monospace;
    letter-spacing:0.08em;
    text-transform:uppercase;
  }

  a{color:inherit;text-decoration:none;}
  img{display:block;max-width:100%;}

  .wrap{
    max-width:1240px;
    margin:0 auto;
    padding:0 40px;
  }

  /* ---------- eyebrow / labels ---------- */
  .eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:12px;
    color:var(--blue-light);
    margin-bottom:18px;
  }
  .eyebrow::before{
    content:"";
    width:7px;height:7px;
    border-radius:3px;
    background:var(--blue-light);
    display:inline-block;
    flex-shrink:0;
  }

  h1,h2,h3{
    font-family:'Baloo 2', sans-serif;
    font-weight:700;
    letter-spacing:-0.01em;
  }

  /* ---------- reveal on scroll ---------- */
  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.in{opacity:1;transform:translateY(0);}
  .reveal-delay-1{transition-delay:.08s;}
  .reveal-delay-2{transition-delay:.16s;}
  .reveal-delay-3{transition-delay:.24s;}
  .reveal-delay-4{transition-delay:.32s;}

  @media (prefers-reduced-motion: reduce){
    .reveal{opacity:1;transform:none;transition:none;}
    *{animation:none !important;}
  }

  /* ---------- nav ---------- */
  header{
    position:fixed;
    top:0;left:0;right:0;
    z-index:100;
    padding:22px 0;
    transition:padding .35s ease, background .35s ease, border-color .35s ease;
    border-bottom:1px solid transparent;
  }
  header.scrolled{
    padding:14px 0;
    background:rgba(9,9,11,0.86);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--border);
  }
  nav{
    display:flex;
    align-items:center;
    justify-content:space-between;
  }
  .brand{
    display:flex;
    align-items:center;
    gap:10px;
  }
  .brand img{
    width:34px;height:34px;
    object-fit:contain;
    border-radius:8px;
  }
  .brand-word{
    font-family:'Baloo 2', sans-serif;
    font-weight:700;
    font-size:19px;
    letter-spacing:-0.01em;
  }
  .brand-word span{color:var(--blue-light);}

  .nav-links{
    display:flex;
    align-items:center;
    gap:34px;
  }
  .nav-links a{
    font-size:13px;
    color:var(--cream-dim);
    transition:color .25s ease;
    position:relative;
  }
  .nav-links a:hover{color:var(--cream);}
  .nav-links a::after{
    content:"";
    position:absolute;
    left:0;bottom:-6px;
    width:0;height:2px;
    background:var(--blue-light);
    transition:width .25s ease;
    border-radius:2px;
  }
  .nav-links a:hover::after{width:100%;}

  .nav-cta{
    display:flex;
    align-items:center;
    gap:22px;
  }

  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 22px;
    border-radius:999px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    border:1px solid transparent;
    transition:transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:linear-gradient(135deg, var(--blue-light), var(--blue));
    color:#0c1220;
  }
  .btn-primary:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px -8px rgba(61,90,148,0.55);
  }
  .btn-outline{
    background:transparent;
    border:1px solid var(--border-strong);
    color:var(--cream);
  }
  .btn-outline:hover{
    border-color:var(--blue-light);
    transform:translateY(-2px);
  }
  .btn-arrow{transition:transform .25s ease;}
  .btn:hover .btn-arrow{transform:translate(3px,-2px);}

  .menu-toggle{display:none;}

  /* ---------- hero ---------- */
  .hero{
    position:relative;
    padding:168px 0 90px;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.1fr 0.9fr;
    gap:60px;
    align-items:center;
  }
  .hero-copy h1{
    font-size:clamp(38px,5vw,60px);
    line-height:1.06;
    margin-bottom:22px;
  }
  .hero-copy h1 .accent{
    color:var(--blue-light);
    display:inline-block;
  }
  .hero-copy p{
    max-width:460px;
    color:var(--cream-dim);
    font-size:16px;
    margin-bottom:34px;
  }
  .hero-actions{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
  }

  .hero-visual{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .logo-card{
    position:relative;
    width:340px;
    max-width:100%;
    background:linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 100%);
    border-radius:32px;
    padding:38px;
    transform:rotate(-4deg);
    box-shadow:0 40px 80px -30px rgba(61,90,148,0.55);
    animation:logoIn 1s cubic-bezier(.2,.9,.25,1.3) both;
  }
  .logo-card img{width:100%;}
  .logo-card .tag{
    margin-top:20px;
    text-align:center;
    font-size:11px;
    color:var(--blue-pale);
  }
  .logo-mini-card{
    position:absolute;
    bottom:-30px;
    left:-40px;
    width:118px;
    background:var(--black-soft);
    border:1px solid var(--border-strong);
    border-radius:20px;
    padding:16px;
    transform:rotate(6deg);
    animation:logoInMini 1.1s cubic-bezier(.2,.9,.25,1.3) both;
    animation-delay:.15s;
  }
  .logo-mini-card img{width:100%;}

  @keyframes logoIn{
    0%{opacity:0;transform:rotate(-14deg) scale(.75) translateY(30px);}
    100%{opacity:1;transform:rotate(-4deg) scale(1) translateY(0);}
  }
  @keyframes logoInMini{
    0%{opacity:0;transform:rotate(-4deg) scale(.6) translateY(20px);}
    100%{opacity:1;transform:rotate(6deg) scale(1) translateY(0);}
  }

  .glow{
    position:absolute;
    width:520px;height:520px;
    background:radial-gradient(circle, rgba(61,90,148,0.35), transparent 70%);
    filter:blur(10px);
    top:-160px;right:-140px;
    z-index:-1;
    pointer-events:none;
  }

  /* ---------- marquee ---------- */
  .marquee{
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    background:var(--black-soft);
    overflow:hidden;
    padding:16px 0;
  }
  .marquee-track{
    display:flex;
    width:max-content;
    animation:scroll 28s linear infinite;
  }
  .marquee-track span{
    font-family:'Baloo 2', sans-serif;
    font-weight:600;
    font-size:16px;
    color:var(--cream-dim);
    padding:0 26px;
    display:flex;
    align-items:center;
    gap:26px;
    white-space:nowrap;
  }
  .marquee-track span i{
    width:6px;height:6px;
    border-radius:50%;
    background:var(--blue-light);
    display:inline-block;
  }
  @keyframes scroll{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
  }

  /* ---------- section shell ---------- */
  section{
    padding:110px 0;
  }
  .section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:30px;
    margin-bottom:56px;
  }
  .section-head h2{
    font-size:clamp(28px,3.4vw,38px);
    line-height:1.15;
    max-width:560px;
  }

  /* ---------- about ---------- */
  .about-grid{
    display:grid;
    grid-template-columns:0.95fr 1.05fr;
    gap:64px;
    align-items:center;
  }
  .about-copy p{
    color:var(--cream-dim);
    font-size:15.5px;
    margin-bottom:26px;
    max-width:480px;
  }
  .stat-row{
    display:flex;
    gap:36px;
    flex-wrap:wrap;
    margin-bottom:32px;
  }
  .stat b{
    font-family:'Baloo 2', sans-serif;
    font-size:26px;
    display:block;
    color:var(--cream);
  }
  .stat span{
    font-size:12.5px;
    color:var(--cream-dim);
  }

  .code-window{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    overflow:hidden;
    box-shadow:0 30px 60px -30px rgba(0,0,0,0.6);
  }
  .code-window .bar{
    display:flex;
    align-items:center;
    gap:8px;
    padding:14px 18px;
    border-bottom:1px solid var(--border);
    background:var(--panel-2);
  }
  .code-window .bar i{
    width:10px;height:10px;
    border-radius:50%;
    background:#3a3a42;
  }
  .code-window .bar span{
    margin-left:10px;
    font-family:'JetBrains Mono',monospace;
    font-size:11.5px;
    color:var(--cream-dim);
  }
  .code-window .body{
    padding:26px 24px 30px;
    font-family:'JetBrains Mono', monospace;
    font-size:12.5px;
    line-height:2;
  }
  .code-window .body .ln{color:#4c4c56;display:inline-block;width:22px;}
  .cw-kw{color:var(--blue-light);}
  .cw-str{color:#c9b98e;}
  .cw-fn{color:var(--cream);}
  .cw-cm{color:#5c5c66;}
  .cw-tag{color:#93a8d6;}

  /* ---------- projects ---------- */
  .project-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:26px;
  }
  .project-card{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    overflow:hidden;
    transition:transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  }
  .project-card:hover{
    transform:translateY(-6px);
    border-color:var(--border-strong);
    box-shadow:0 24px 50px -24px rgba(0,0,0,0.65);
  }
  .project-preview{
    position:relative;
    height:190px;
    display:block;
    overflow:hidden;
    border-bottom:1px solid var(--border);
    background:var(--panel-2);
  }
  .project-preview img{
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:top center;
    display:block;
    transition:transform .5s ease;
  }
  .project-card:hover .project-preview img{transform:scale(1.06);}
  .project-preview .badge{
    position:absolute;
    top:14px;left:14px;
    z-index:2;
    font-size:10.5px;
    padding:5px 10px;
    border-radius:999px;
    background:rgba(9,9,11,0.55);
    backdrop-filter:blur(6px);
    border:1px solid var(--border-strong);
    color:var(--cream-dim);
  }

  .project-info{padding:24px 22px 26px;}
  .project-info h3{font-size:19px;margin-bottom:8px;}
  .project-info p{
    font-size:13.5px;
    color:var(--cream-dim);
    margin-bottom:16px;
    line-height:1.6;
  }
  .tag-row{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin-bottom:16px;
  }
  .tag{
    font-size:11px;
    padding:4px 10px;
    border-radius:999px;
    border:1px solid var(--border-strong);
    color:var(--cream-dim);
    font-family:'JetBrains Mono', monospace;
  }
  .project-link{
    font-size:13px;
    color:var(--blue-light);
    font-weight:600;
    display:inline-flex;
    align-items:center;
    gap:6px;
  }
  .project-link svg{transition:transform .25s ease;}
  .project-link:hover svg{transform:translate(3px,-3px);}

  /* ---------- services ---------- */
  .service-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
  }
  .service-card{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:28px 22px;
    transition:transform .3s ease, border-color .3s ease;
  }
  .service-card:hover{
    transform:translateY(-6px);
    border-color:var(--border-strong);
  }
  .service-icon{
    width:46px;height:46px;
    border-radius:14px;
    background:var(--blue-deep);
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
    color:var(--blue-light);
  }
  .service-card h3{font-size:16.5px;margin-bottom:10px;}
  .service-card p{font-size:13px;color:var(--cream-dim);line-height:1.6;}

  /* ---------- contact ---------- */
  .contact-grid{
    display:grid;
    grid-template-columns:0.85fr 1.15fr;
    gap:60px;
  }
  .contact-copy p{
    color:var(--cream-dim);
    font-size:15px;
    max-width:420px;
    margin-bottom:36px;
  }
  .info-item{
    display:flex;
    gap:14px;
    margin-bottom:22px;
  }
  .info-item .ico{
    width:38px;height:38px;
    border-radius:11px;
    background:var(--panel);
    border:1px solid var(--border);
    display:flex;align-items:center;justify-content:center;
    flex-shrink:0;
    color:var(--blue-light);
    transition:background .25s ease, border-color .25s ease, color .25s ease;
  }
  .info-item b{display:block;font-size:13.5px;margin-bottom:2px;}
  .info-item span{font-size:13px;color:var(--cream-dim);}

  /* ---------- instagram contact card ---------- */
  .insta-card{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:var(--radius-md);
    padding:44px 38px;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
  }
  .insta-icon{
    width:60px;height:60px;
    border-radius:18px;
    background:linear-gradient(135deg,#f9ce34,#ee2a7b 60%,#6228d7);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:22px;
  }
  .insta-card h3{
    font-size:21px;
    margin-bottom:10px;
    max-width:320px;
  }
  .insta-card p{
    font-size:14px;
    color:var(--cream-dim);
    max-width:320px;
    margin-bottom:22px;
    line-height:1.6;
  }
  .insta-msg-box{
    width:100%;
    max-width:320px;
    display:flex;
    align-items:center;
    gap:10px;
    background:var(--black-soft);
    border:1px solid var(--border-strong);
    border-radius:12px;
    padding:12px 14px;
    margin-bottom:18px;
  }
  .insta-msg-box span{
    flex:1;
    text-align:left;
    font-size:12.5px;
    color:var(--cream-dim);
    line-height:1.5;
  }
  .copy-btn{
    flex-shrink:0;
    width:32px;height:32px;
    border-radius:9px;
    border:1px solid var(--border-strong);
    background:var(--panel-2);
    color:var(--cream-dim);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:border-color .25s ease, color .25s ease, background .25s ease;
  }
  .copy-btn:hover{border-color:var(--blue-light);color:var(--blue-light);}
  .copy-btn.copied{
    border-color:#3fb27f;
    color:#3fb27f;
    background:rgba(63,178,127,0.1);
  }
  .insta-cta{width:100%;justify-content:center;max-width:320px;}
  .insta-hint{
    font-size:11px;
    color:var(--blue-light);
    margin-top:12px;
    opacity:0;
    transform:translateY(-4px);
    transition:opacity .3s ease, transform .3s ease;
  }
  .insta-hint.show{opacity:1;transform:translateY(0);}
  .follow-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:18px;
    font-size:13px;
    color:var(--cream-dim);
    transition:color .25s ease;
  }
  .follow-link:hover{color:#e1306c;}

  /* ---------- footer ---------- */
  footer{
    border-top:1px solid var(--border);
    padding:56px 0 30px;
  }
  .footer-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:30px;
    padding-bottom:40px;
    border-bottom:1px solid var(--border);
    margin-bottom:26px;
    flex-wrap:wrap;
  }
  .footer-brand .brand{margin-bottom:12px;}
  .footer-brand p{font-size:13px;color:var(--cream-dim);max-width:280px;}
  .footer-links{
    display:flex;
    gap:60px;
    flex-wrap:wrap;
  }
  .footer-col span{
    display:block;
    font-size:11px;
    color:var(--cream-dim);
    margin-bottom:14px;
  }
  .footer-col a{
    display:block;
    font-size:13.5px;
    margin-bottom:10px;
    color:var(--cream);
    transition:color .25s ease;
  }
  .footer-col a:hover{color:var(--blue-light);}
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-size:12px;
    color:var(--cream-dim);
    flex-wrap:wrap;
    gap:10px;
  }

  /* ---------- responsive ---------- */
  @media (max-width:980px){
    .wrap{padding:0 24px;}
    .hero-grid,.about-grid,.contact-grid{grid-template-columns:1fr;}
    .hero-visual{margin-top:50px;justify-content:flex-start;}
    .project-grid{grid-template-columns:1fr;}
    .service-grid{grid-template-columns:1fr 1fr;}
    .nav-links{display:none;}
    .nav-links.mobile-open{
      display:flex;
      flex-direction:column;
      position:absolute;
      top:calc(100% + 12px);
      right:24px;
      left:24px;
      background:var(--panel);
      border:1px solid var(--border-strong);
      border-radius:16px;
      padding:18px;
      gap:16px;
    }
    .menu-toggle{
      display:flex;
      width:38px;height:38px;
      border-radius:10px;
      border:1px solid var(--border-strong);
      align-items:center;
      justify-content:center;
      cursor:pointer;
    }
    .footer-top{flex-direction:column;}
  }
  @media (max-width:600px){
    .service-grid{grid-template-columns:1fr;}
    .section-head{flex-direction:column;align-items:flex-start;}
    section{padding:80px 0;}
    .hero{padding:150px 0 70px;}
  }