/* ============================================================
   ICG TECH — Premium Landing Page
   Colors: #050505  ·  #FFFFFF  ·  #2F8FFF
============================================================ */

:root {
  --black: #050505;
  --white: #ffffff;
  --blue: #2f8fff;
  --blue-dim: #1e6fd6;

  --ink-70: rgba(255, 255, 255, 0.7);
  --ink-50: rgba(255, 255, 255, 0.5);
  --ink-35: rgba(255, 255, 255, 0.35);
  --ink-14: rgba(255, 255, 255, 0.14);
  --ink-08: rgba(255, 255, 255, 0.08);
  --ink-04: rgba(255, 255, 255, 0.04);

  --glass: rgba(255, 255, 255, 0.03);
  --glass-brd: rgba(255, 255, 255, 0.09);
  --glow: rgba(47, 143, 255, 0.5);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1240px;
}

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

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Hide native cursor on precise pointers only */
@media (pointer: fine) {
  body, a, button { cursor: none; }
}

a { color: inherit; text-decoration: none; }
em { font-style: normal; color: var(--blue); }
::selection { background: var(--blue); color: #fff; }

/* ============================================================
   CUSTOM CURSOR
============================================================ */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; mix-blend-mode: difference; }
.cursor__dot,
.cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, 0.6);
  transition: width .3s var(--ease), height .3s var(--ease), background .3s, border-color .3s, opacity .3s;
}
.cursor.is-hover .cursor__ring { width: 62px; height: 62px; background: rgba(47, 143, 255, 0.15); border-color: var(--blue); }
.cursor.is-down .cursor__ring { width: 30px; height: 30px; }
@media (pointer: coarse) { .cursor { display: none; } }

/* ============================================================
   BACKGROUND FX
============================================================ */
.bg-fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.bg-fx__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--ink-04) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}
.bg-fx__glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  top: -10%; left: 50%; transform: translate(-50%, 0);
  background: radial-gradient(circle, var(--glow) 0%, transparent 62%);
  filter: blur(40px); opacity: .28;
  transition: transform .6s var(--ease);
}
.bg-fx__noise {
  position: absolute; inset: 0; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--blue), #7ab6ff);
  z-index: 9998; box-shadow: 0 0 12px var(--glow);
}

/* ============================================================
   BRAND / LOGO
============================================================ */
.brand { display: inline-flex; align-items: baseline; gap: 2px; letter-spacing: -0.02em; }
.brand__mark { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: .04em; }
.brand__i { position: relative; color: var(--white); }
.brand__i::before {
  content: ""; position: absolute; top: -2px; left: 1px; width: 5px; height: 5px;
  background: var(--blue); border-radius: 1px; box-shadow: 0 0 8px var(--glow);
}
.brand__cg { color: var(--white); }
.brand__suffix { font-family: var(--font-display); font-weight: 500; font-size: .85rem; color: var(--ink-50); letter-spacing: .18em; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-weight: 500; font-size: .92rem; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 100px; white-space: nowrap;
  transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s, border-color .35s;
  will-change: transform;
}
.btn--ghost { background: var(--glass); color: var(--white); border: 1px solid var(--glass-brd); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(47,143,255,.6); background: rgba(47,143,255,.08); }
.btn--ghost svg { transition: transform .35s var(--ease); }
.btn--ghost:hover svg { transform: translateX(4px); }

.btn--mega {
  font-size: 1.35rem; padding: 26px 58px; color: #fff;
  border-radius: 100px; overflow: hidden;
}
.btn--mega span:not(.btn__ripple) { position: relative; z-index: 3; }
.btn__ripple {
  position: absolute; top: var(--y, 50%); left: var(--x, 50%); width: 0; height: 0;
  background: rgba(255, 255, 255, 0.25); border-radius: 50%;
  transform: translate(-50%, -50%); z-index: 1; transition: width .6s var(--ease), height .6s var(--ease);
}
.btn--mega:hover .btn__ripple { width: 480px; height: 480px; }

/* ---- Neon animated buttons (replace solid blue) ---- */
@property --neon-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

.btn--primary, .btn--mega {
  color: #fff; border: none; isolation: isolate;
  background:
    radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.5px) 0 0 / 9px 9px,
    radial-gradient(130% 130% at 0% 0%, rgba(47,143,255,0.5), transparent 55%),
    linear-gradient(160deg, #0d1a40 0%, #0a1230 40%, #05060f 100%);
  box-shadow: 0 0 22px -3px rgba(47,143,255,0.5), 0 0 52px -8px rgba(90,90,255,0.32), 0 12px 34px -14px #000;
  transition: transform .35s var(--ease), box-shadow .4s var(--ease);
}
.btn--primary > span { position: relative; z-index: 3; }

/* rotating neon border */
.btn--primary::before, .btn--mega::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.6px; z-index: 2;
  pointer-events: none;
  background: conic-gradient(from var(--neon-angle),
    #2F8FFF, #6a5cff, #00e5ff, #2F8FFF, #8a5cff, #2F8FFF);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: neon-spin 4s linear infinite;
}
.btn--primary:hover, .btn--mega:hover {
  box-shadow: 0 0 34px -1px rgba(47,143,255,0.7), 0 0 78px -6px rgba(110,92,255,0.5), 0 16px 44px -14px #000;
}
.btn--primary:hover::before, .btn--mega:hover::before { animation-duration: 1.6s; }

@keyframes neon-spin { to { --neon-angle: 360deg; } }

/* Fallback: no @property support → static blue-purple gradient border via box-shadow ring */
@supports not (background: conic-gradient(from var(--neon-angle), red, blue)) {
  .btn--primary::before, .btn--mega::before { background: linear-gradient(120deg, #2F8FFF, #6a5cff, #00e5ff); animation: none; }
}

/* ============================================================
   NAVBAR
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  transition: background .4s, backdrop-filter .4s, border-color .4s, padding .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5, 5, 5, 0.6); backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--ink-08);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav.is-scrolled .nav__inner { padding: 14px 32px; }
.nav__menu { display: flex; gap: 34px; }
.nav__link { position: relative; font-size: .92rem; color: var(--ink-70); transition: color .3s; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 1px;
  background: var(--blue); transition: width .35s var(--ease);
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }
.nav__burger { display: none; width: 40px; height: 40px; background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { width: 18px; height: 1.5px; background: #fff; transition: transform .3s, opacity .3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 850; background: rgba(5,5,5,.97); backdrop-filter: blur(16px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  /* visibility com delay só ao FECHAR: ao abrir ela precisa valer na hora,
     senão o menu ainda não é focável quando o JS move o foco para dentro dele */
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
.mobile-menu__link { font-family: var(--font-display); font-size: 2rem; font-weight: 500; }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative; min-height: 100vh; max-width: var(--maxw); margin: 0 auto;
  padding: 150px 32px 80px; display: grid; grid-template-columns: 1.05fr 0.95fr;
  align-items: center; gap: 40px;
}
.hero__eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); margin-bottom: 26px; }
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--glow); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.02; letter-spacing: -0.03em;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: block; transform: translateY(105%); }

.hero__sub { max-width: 440px; margin: 28px 0 20px; font-size: 1.08rem; color: var(--ink-70); line-height: 1.65; font-weight: 300; }
.hero__sub--muted { max-width: 500px; margin: 0 0 38px; font-size: .95rem; color: var(--ink-50); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__stats { display: flex; gap: 40px; margin-top: 54px; }
.stat { display: flex; flex-direction: column; }
.stat b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; }
.stat span { font-size: .78rem; color: var(--ink-50); letter-spacing: .04em; margin-top: 2px; }

/* Reveal helpers */
.reveal-up { opacity: 0; transform: translateY(26px); }

/* Rede de segurança: o conteúdo só começa escondido se o JS estiver de fato
   vivo para revelá-lo. Sem JS (ou se main.js falhar em carregar, quando o
   script inline do <head> marca .no-anim), a página aparece inteira. */
html:not(.js) .reveal-up,
html:not(.js) .hero__title .line > span,
html.no-anim .reveal-up,
html.no-anim [data-reveal],
html.no-anim .hero__title .line > span,
html.no-anim .hero__scene .window,
html.no-anim .hero__scene .chip {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
html:not(.js) .hero__title .line { overflow: visible; }

/* Trava o scroll do fundo enquanto o menu mobile está aberto */
body.is-locked { overflow: hidden; }

/* Hero scene */
.hero__scene { position: relative; height: 460px; transform-style: preserve-3d; perspective: 1000px; }
.scene__glow { position: absolute; inset: -10% 0 0 10%; background: radial-gradient(circle at 60% 40%, var(--glow), transparent 60%); filter: blur(50px); opacity: .35; }

.window {
  position: absolute; border-radius: 14px; overflow: hidden;
  background: rgba(14, 15, 18, 0.72); border: 1px solid var(--glass-brd);
  backdrop-filter: blur(14px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
  will-change: transform;
}
.window__bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--ink-08); }
.dotwin { width: 9px; height: 9px; border-radius: 50%; }
.dotwin.r { background: #ff5f57; } .dotwin.y { background: #febc2e; } .dotwin.g { background: #28c840; }
.window__url { margin-left: 10px; font-size: .72rem; color: var(--ink-50); background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 20px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }

.window--browser { top: 0; left: 0; width: 78%; z-index: 2; }
.window__body { padding: 20px; }
.mock-hero__line { height: 12px; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.05)); margin-bottom: 12px; }
.mock-hero__line.w70 { width: 70%; } .mock-hero__line.w40 { width: 40%; }
.mock-hero__btn { width: 96px; height: 26px; border-radius: 20px; background: var(--blue); box-shadow: 0 6px 20px -6px var(--glow); margin-top: 16px; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 24px; }
.mock-chart span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue), rgba(47,143,255,.15)); transform-origin: bottom; transform: scaleY(0); }

.window--code { bottom: 0; right: 0; width: 64%; z-index: 3; }
.code { padding: 16px 18px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .72rem; line-height: 1.75; color: var(--ink-70); min-height: 150px; white-space: pre-wrap; }
.code .k { color: var(--blue); } .code .s { color: #7ee0a1; } .code .f { color: #e8e8e8; } .code .c { color: var(--ink-35); }
.code .caret { color: var(--blue); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 14px; background: rgba(20, 21, 26, 0.8);
  border: 1px solid var(--glass-brd); backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.9); z-index: 4; will-change: transform;
}
.chip--metric { top: 12%; right: -6%; }
.chip__ring { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--blue); border-right-color: transparent; animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip__text { display: flex; flex-direction: column; line-height: 1.1; }
.chip__text b { font-family: var(--font-display); font-size: 1rem; }
.chip__text span { font-size: .68rem; color: var(--ink-50); }
.chip--stack { bottom: 6%; left: -4%; font-family: var(--font-display); font-size: .78rem; }

.hero__scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--ink-14); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.hero__scroll span { width: 3px; height: 8px; background: var(--blue); border-radius: 3px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{transform:translateY(0);opacity:1} 70%{transform:translateY(12px);opacity:0} 100%{opacity:0} }

/* ============================================================
   SECTIONS
============================================================ */
.section { max-width: var(--maxw); margin: 0 auto; padding: 130px 32px; }
.section__head { margin-bottom: 64px; }
.section__tag { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px; }
.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; }

/* SERVICES */
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; padding: 34px 28px 30px; border-radius: 20px; overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-brd);
  transform-style: preserve-3d; transition: transform .4s var(--ease), border-color .4s, background .4s;
  will-change: transform;
}
.card:hover { border-color: rgba(47,143,255,.4); background: rgba(47,143,255,.04); }
.card__glow { position: absolute; width: 220px; height: 220px; background: radial-gradient(circle, var(--glow), transparent 65%); top: var(--my, 0); left: var(--mx, 0); transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s; filter: blur(20px); pointer-events: none; }
.card:hover .card__glow { opacity: .5; }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(47,143,255,.1); border: 1px solid rgba(47,143,255,.25); color: var(--blue); margin-bottom: 26px; transform: translateZ(30px); }
.card__icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin-bottom: 10px; transform: translateZ(22px); }
.card p { font-size: .92rem; color: var(--ink-50); line-height: 1.6; transform: translateZ(14px); }
.card__num { position: absolute; top: 22px; right: 24px; font-family: var(--font-display); font-size: .8rem; color: var(--ink-14); }

/* SHOWCASE — scroll-driven 3D reveal */
.showcase { max-width: var(--maxw); margin: 0 auto; padding: 40px 32px 120px; }
.showcase__stage { perspective: 1400px; }
.showcase__title { max-width: 820px; margin: 0 auto 8px; text-align: center; will-change: transform; }
.showcase__title .section__tag { text-align: center; margin-bottom: 14px; }
.showcase__title .section__title { font-size: clamp(2rem, 5vw, 3.6rem); }

.showcase__card {
  max-width: 1100px; margin: 34px auto 0; transform-style: preserve-3d;
  transform-origin: 50% 0%; will-change: transform;
  border-radius: 26px; padding: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.02));
  border: 1px solid var(--glass-brd);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(47,143,255,.06);
}
.showcase__screen { border-radius: 18px; overflow: hidden; background: #0a0c11; border: 1px solid var(--ink-08); }

.browser { background: #0b0d12; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--ink-08); }
.browser__url { margin-left: 12px; font-size: .74rem; color: var(--ink-50); background: rgba(255,255,255,.05); padding: 4px 16px; border-radius: 20px; }
.browser__view { display: grid; grid-template-columns: 68px 1fr; gap: 0; min-height: clamp(300px, 42vw, 520px); }

.dash__side { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 22px 0; background: rgba(255,255,255,.02); border-right: 1px solid var(--ink-08); }
.dash__logo { width: 26px; height: 26px; border-radius: 8px; background: var(--blue); box-shadow: 0 0 16px var(--glow); }
.dash__nav { width: 26px; height: 10px; border-radius: 4px; background: var(--ink-08); }
.dash__nav.on { background: rgba(47,143,255,.5); }

.dash__main { padding: 26px clamp(18px, 3vw, 34px); }
.dash__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.dash__kpi { padding: 18px 20px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-brd); }
.dash__kpi b { display: block; font-family: var(--font-display); font-size: clamp(1.2rem, 2.6vw, 1.9rem); font-weight: 600; }
.dash__kpi i { font-style: normal; font-size: .74rem; color: var(--ink-50); }
.dash__chart { display: flex; align-items: flex-end; gap: clamp(8px, 1.4vw, 16px); height: clamp(90px, 14vw, 150px); padding: 18px 20px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-brd); margin-bottom: 20px; }
.dash__chart span { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(180deg, var(--blue), rgba(47,143,255,.12)); }
.dash__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dash__panel { height: clamp(70px, 10vw, 110px); border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-brd); }

/* ABOUT / SOBRE MIM */
.about__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about__intro .section__title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 30px; }
.about__id { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.about__avatar {
  flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .04em; color: #fff;
  background: linear-gradient(160deg, #0d1a40, #05060f); border: 1px solid rgba(47,143,255,.35);
  box-shadow: 0 0 22px -6px var(--glow);
}
.about__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; }
.about__role { font-size: .84rem; color: var(--ink-50); margin-top: 2px; }
.about__loc {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 100px;
  font-size: .84rem; color: var(--ink-70); background: var(--glass); border: 1px solid var(--glass-brd);
}
.about__loc svg { width: 15px; height: 15px; color: var(--blue); }

.about__body { max-width: 560px; }
.about__body p { color: var(--ink-50); font-size: 1rem; line-height: 1.75; font-weight: 300; margin-bottom: 20px; }
.about__body p:last-child { margin-bottom: 0; }
.about__body strong { color: var(--white); font-weight: 500; }
.about__lead { font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.75rem) !important; line-height: 1.4 !important; color: var(--white) !important; font-weight: 400 !important; margin-bottom: 30px !important; letter-spacing: -0.01em; }

/* PORTFOLIO */
.portfolio__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* real-project browser frame */
.project__frame { position: relative; display: block; overflow: hidden; background: #0b0d12; }
.project__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--ink-08); }
.project__bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.project__bar i:nth-child(1) { background: #ff5f57; }
.project__bar i:nth-child(2) { background: #febc2e; }
.project__bar i:nth-child(3) { background: #28c840; }
.project__bar span { margin-left: 10px; font-size: .72rem; color: var(--ink-50); background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 20px; }
.project__shot { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--g1, #0a1220), #05060f); }
.project__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--ease); }
.project:hover .project__shot img { transform: scale(1.05); }
.project__shot::after { content: ""; position: absolute; inset: 0; background: rgba(5,6,15,.28); opacity: 0; transition: opacity .4s; }
.project:hover .project__shot::after { opacity: 1; }
.project__visit {
  position: absolute; bottom: 14px; right: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: 100px; font-family: var(--font-display); font-size: .82rem; font-weight: 500; color: #fff;
  background: rgba(47,143,255,.92); box-shadow: 0 10px 28px -8px var(--glow); backdrop-filter: blur(4px);
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.project:hover .project__visit { opacity: 1; transform: translateY(0); }
.project { border-radius: 20px; overflow: hidden; border: 1px solid var(--glass-brd); background: var(--glass); }
.project--wide { grid-column: span 2; }
.project__media { position: relative; height: 300px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(120% 120% at 30% 10%, var(--g2, #2F8FFF) -30%, var(--g1, #0a2540) 55%); }
.project--wide .project__media { height: 340px; }
.project__media::after { content: ""; position: absolute; inset: 0; background: rgba(5,5,5,.35); opacity: 0; transition: opacity .5s; }
.project:hover .project__media::after { opacity: 1; }

.mockup { transition: transform .6s var(--ease); box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.project:hover .mockup { transform: scale(1.05) translateY(-6px); }
.mockup--desktop { width: 62%; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.15); background: #0b0d12; }
.mockup__bar { display: flex; gap: 5px; padding: 9px 12px; background: rgba(255,255,255,.06); }
.mockup__bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mockup__screen { height: 180px; background-size: cover; }
.mockup--phone { width: 130px; height: 250px; border-radius: 26px; border: 5px solid #14161c; overflow: hidden; background: #0b0d12; }
.mockup--phone .mockup__screen { height: 100%; }
.mockup--tablet { width: 220px; height: 250px; border-radius: 16px; border: 7px solid #14161c; overflow: hidden; background: #0b0d12; }
.mockup--tablet .mockup__screen { height: 100%; }
.s1 { background: linear-gradient(135deg,#0b1220,#123); box-shadow: inset 0 0 60px rgba(47,143,255,.3); }
.s2 { background: linear-gradient(160deg,#101018,#1a1a2e); box-shadow: inset 0 0 50px rgba(47,143,255,.35); }
.s3 { background: linear-gradient(135deg,#0d1b2a,#1b263b); box-shadow: inset 0 0 50px rgba(47,143,255,.25); }
.s4 { background: linear-gradient(135deg,#081c14,#0f2a1e); box-shadow: inset 0 0 60px rgba(47,143,255,.3); }

.project__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px 26px; }
.project__desc { margin-top: 12px; font-size: .88rem; line-height: 1.6; color: var(--ink-50); max-width: 46ch; }
.project__meta h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.project__meta p { font-size: .84rem; color: var(--ink-50); margin-top: 3px; }
.project__open { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--glass-brd); color: #fff; transition: background .3s, transform .3s, border-color .3s; }
.project:hover .project__open { background: var(--blue); border-color: var(--blue); transform: rotate(0) scale(1.05); box-shadow: 0 10px 30px -8px var(--glow); }

/* DIFF */
.diff__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.diff__item { padding: 30px 0; border-top: 1px solid var(--ink-08); }
.diff__check { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(47,143,255,.12); color: var(--blue); font-size: .85rem; margin-bottom: 18px; }
.diff__item h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; margin-bottom: 6px; }
.diff__item p { font-size: .9rem; color: var(--ink-50); }

/* STACK */
.stack { text-align: center; overflow: hidden; padding-bottom: 130px; }
.stack__tag { text-align: center; }
.marquee { position: relative; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; gap: 70px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.8rem); font-weight: 500;
  color: var(--ink-35); transition: color .35s, transform .35s var(--ease); cursor: none;
}
.marquee__track span:hover { color: var(--blue); transform: scale(1.15); text-shadow: 0 0 30px var(--glow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* CTA */
.cta { position: relative; text-align: center; padding: 150px 32px; overflow: hidden; }
.cta__glow { position: absolute; left: 50%; top: 50%; width: 700px; height: 700px; max-width: 90vw; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--glow), transparent 60%); filter: blur(60px); opacity: .22; }
.cta__title { position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 5.5vw, 4.2rem); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 48px; }
.cta__note { position: relative; margin-top: 30px; font-size: .88rem; color: var(--ink-50); }
.cta__sub { position: relative; max-width: 620px; margin: 0 auto 44px; font-size: 1.05rem; line-height: 1.7; color: var(--ink-70); font-weight: 300; }
.cta__tags { position: relative; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 720px; margin: 46px auto 0; }
.cta__tags li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 100px; font-size: .82rem; color: var(--ink-70); background: var(--glass); border: 1px solid var(--glass-brd); transition: border-color .3s, color .3s, transform .3s var(--ease); }
.cta__tags li::before { content: "✓"; color: var(--blue); font-size: .78rem; }
.cta__tags li:hover { color: #fff; border-color: rgba(47,143,255,.5); transform: translateY(-2px); }

/* Showcase description */
.showcase__desc { max-width: 640px; margin: 22px auto 0; font-size: 1.02rem; line-height: 1.7; color: var(--ink-50); font-weight: 300; }

/* Diferenciais header */
.diff__head { max-width: var(--maxw); margin: 0 auto 40px; padding: 0 32px; text-align: center; }
.diff__head .section__tag { text-align: center; }

/* Stack heading */
.stack__heading { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-top: 14px; }

/* FOOTER */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 60px 32px 44px; border-top: 1px solid var(--ink-08); }

.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; }
.footer__social { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__social a { font-size: .9rem; color: var(--ink-50); transition: color .3s; }
.footer__social a:hover { color: var(--blue); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 30px; border-top: 1px solid var(--ink-08); }
.footer__bottom p { font-size: .8rem; color: var(--ink-35); }

/* ============================================================
   PROCESSO
============================================================ */
/* .section já aplica max-width e padding lateral — não repetir aqui */
.process__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.process__step { position: relative; padding: 34px 0 0; border-top: 1px solid var(--ink-08); }
.process__step::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px;
  background: var(--blue); box-shadow: 0 0 14px var(--glow);
  transition: width .6s var(--ease);
}
.process__step:hover::before { width: 100%; }
.process__num { display: block; font-family: var(--font-display); font-size: .82rem; letter-spacing: .16em; color: var(--blue); margin-bottom: 16px; }
.process__step h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; margin-bottom: 10px; }
.process__step p { font-size: .9rem; line-height: 1.65; color: var(--ink-50); }

/* ============================================================
   DEPOIMENTOS (usado quando a seção for ativada)
============================================================ */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { padding: 32px 30px; border: 1px solid var(--glass-brd); border-radius: 18px; background: var(--glass); transition: border-color .4s, transform .5s var(--ease); }
.testimonial:hover { border-color: rgba(47,143,255,.4); transform: translateY(-4px); }
.testimonial blockquote { font-size: .98rem; line-height: 1.72; color: var(--ink-70); font-weight: 300; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--ink-08); }
.testimonial__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(47,143,255,.12); color: var(--blue); font-family: var(--font-display); font-size: .82rem; font-weight: 600; flex-shrink: 0; }
.testimonial figcaption b { display: block; font-size: .92rem; font-weight: 500; }
.testimonial figcaption i { display: block; font-style: normal; font-size: .8rem; color: var(--ink-50); margin-top: 2px; }

/* ============================================================
   FAQ
============================================================ */
.faq__item { max-width: 920px; border-bottom: 1px solid var(--ink-08); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; list-style: none;
  font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.16rem); font-weight: 500;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue); }
.faq__item summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
.faq__icon { position: relative; flex-shrink: 0; width: 20px; height: 20px; }
.faq__icon::before,
.faq__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: var(--blue);
  transform: translate(-50%, -50%); transition: transform .35s var(--ease), opacity .35s;
}
.faq__icon::before { width: 14px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq__item[open] summary { color: var(--blue); }
.faq__item > p { padding: 0 44px 28px 0; font-size: .95rem; line-height: 1.75; color: var(--ink-50); font-weight: 300; max-width: 68ch; }

/* ============================================================
   ATUAÇÃO (serviços / tecnologias / segmentos / regiões)
============================================================ */
/* A seção fica recolhida atrás de um botão. O conteúdo permanece no HTML
   (indexável e acessível), só não ocupa a página inteira por padrão. */
.areas { padding-top: 0; padding-bottom: 90px; }
.areas__panel { border-top: 1px solid var(--ink-08); }
.areas__toggle {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 30px 0 0; list-style: none; text-align: center;
  font-size: .88rem; color: var(--ink-35);
  transition: color .3s;
}
.areas__toggle::-webkit-details-marker { display: none; }
.areas__toggle:hover { color: var(--ink-70); }
.areas__toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 6px; }
.areas__toggle-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.areas__toggle-icon::before,
.areas__toggle-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; background: currentColor;
  transform: translate(-50%, -50%); transition: transform .35s var(--ease), opacity .35s;
}
.areas__toggle-icon::before { width: 11px; height: 1.5px; }
.areas__toggle-icon::after { width: 1.5px; height: 11px; }
.areas__panel[open] .areas__toggle-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.areas__panel[open] .areas__toggle { color: var(--blue); }

.areas__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 46px 60px; padding-top: 54px; }
.areas__group h3 {
  font-family: var(--font-display); font-size: .82rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--blue);
  padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--ink-08);
}
.areas__note { font-size: .88rem; line-height: 1.6; color: var(--ink-50); margin-bottom: 18px; }
.areas__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.areas__tags li {
  padding: 7px 14px; border-radius: 100px; font-size: .8rem; color: var(--ink-50);
  background: var(--glass); border: 1px solid var(--glass-brd);
  transition: color .3s, border-color .3s;
}
.areas__tags li:hover { color: #fff; border-color: rgba(47,143,255,.45); }

/* ============================================================
   WHATSAPP FLUTUANTE
============================================================ */
.wpp {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 16px; border-radius: 100px;
  background: #1fa855; color: #fff;
  box-shadow: 0 16px 38px -10px rgba(31,168,85,.6);
  opacity: 0; visibility: hidden; transform: translateY(18px) scale(.9);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s, gap .4s var(--ease), padding .4s var(--ease);
}
.wpp.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.wpp__label {
  max-width: 0; overflow: hidden; white-space: nowrap;
  font-size: .92rem; font-weight: 500;
  transition: max-width .45s var(--ease);
}
.wpp:hover { gap: 10px; padding: 0 24px 0 18px; }
.wpp:hover .wpp__label { max-width: 200px; }
.wpp:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 620px) {
  .wpp { right: 18px; bottom: 18px; height: 54px; padding: 0 14px; }
  .wpp:hover { gap: 0; padding: 0 14px; }
  .wpp:hover .wpp__label { max-width: 0; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; padding-top: 130px; gap: 60px; }
  .hero__scene { height: 380px; order: 2; }
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .diff__grid { grid-template-columns: repeat(2, 1fr); }
  .process__list { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__scroll { display: none; }
}
@media (max-width: 620px) {
  .section { padding: 90px 22px; }
  .nav__inner { padding: 16px 22px; }
  .hero { padding: 120px 22px 60px; }
  .services__grid { grid-template-columns: 1fr; }
  .diff__grid { grid-template-columns: 1fr; gap: 0; }
  .portfolio__grid { grid-template-columns: 1fr; }
  .project--wide { grid-column: span 1; }
  .process__list { grid-template-columns: 1fr; gap: 0; }
  .faq__item > p { padding-right: 0; }
  .areas__grid { grid-template-columns: 1fr; gap: 40px; }
  .btn--mega { font-size: 1.1rem; padding: 22px 40px; }
  .hero__scene { transform: scale(.92); }

  /* Hero title: shrink so long spans fit; never clip if it wraps */
  .hero__title { font-size: clamp(1.8rem, 7.6vw, 2.4rem); }
  .hero__title .line { overflow: visible; }
  .hero__sub, .hero__sub--muted { max-width: 100%; }
  .hero__stats { gap: 20px; }
  .stat b { font-size: 1.5rem; }
  .stat span { font-size: .72rem; }

  /* Section titles a touch smaller */
  .section__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .showcase__desc { font-size: .96rem; }

  /* Showcase dashboard: shrink internals so it fits the card */
  .showcase { padding: 24px 18px 80px; }
  .browser__view { grid-template-columns: 42px 1fr; min-height: 250px; }
  .dash__side { gap: 12px; padding: 16px 0; }
  .dash__logo { width: 20px; height: 20px; border-radius: 6px; }
  .dash__nav { width: 20px; height: 8px; }
  .dash__main { padding: 16px 12px; }
  .dash__row { gap: 8px; margin-bottom: 14px; }
  .dash__kpi { padding: 11px 9px; border-radius: 10px; }
  .dash__kpi b { font-size: 1rem; }
  .dash__kpi i { font-size: .56rem; }
  .dash__chart { gap: 5px; height: 78px; padding: 12px; margin-bottom: 12px; }
  .dash__grid { gap: 8px; }
  .dash__panel { height: 52px; }

  /* CTA breathing room */
  .cta { padding: 110px 22px; }
  .cta__tags { gap: 8px 10px; }
  .cta__tags li { padding: 8px 14px; font-size: .78rem; }

  /* Footer stacks cleanly */
  .footer__social { gap: 18px 22px; }
}

/* Hide the custom cursor on touch / small screens and restore the native one */
@media (max-width: 768px), (pointer: coarse) {
  .cursor { display: none !important; }
  body, a, button, .marquee__track span { cursor: auto !important; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal-up, .hero__title .line > span { opacity: 1 !important; transform: none !important; }
}
