/* =====================================================================
   GNZ SOLUTIONS — style.css
   Design system dark + scroll experience (estilo Apple / Dragonfly)
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:            #05060a;
  --bg-2:          #0a0c14;
  --surface:       #0e1018;
  --surface-2:     #12141f;
  --line:          rgba(255,255,255,.08);
  --line-strong:   rgba(255,255,255,.16);

  --text:          #eef1f6;
  --muted:         #9aa2b1;
  --muted-2:       #6b7280;

  --blue:          #1FA2FF;
  --indigo:        #6B6BFB;
  --violet:        #A234FF;

  --grad:          linear-gradient(115deg, #1FA2FF 0%, #6B6BFB 48%, #A234FF 100%);
  --grad-soft:     linear-gradient(115deg, rgba(31,162,255,.16), rgba(162,52,255,.16));

  --glow-blue:     rgba(31,162,255,.45);
  --glow-violet:   rgba(162,52,255,.45);

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

  --ease:          cubic-bezier(.16, 1, .3, 1);
  --maxw:          1200px;
  --radius:        20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: rgba(107,107,251,.4); color: #fff; }

/* subtle noise + vignette on body for depth */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(31,162,255,.10), transparent 60%),
    radial-gradient(1000px 700px at 0% 110%, rgba(162,52,255,.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Utility ---------- */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-eyebrow {
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .32em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -.02em;
}

/* =====================================================================
   Reveal system  (visível por padrão; JS ativa a animação)
   Isto evita "congelar" quando o SO tem 'reduzir movimento' ligado.
   ===================================================================== */
[data-reveal] { opacity: 1; transform: none; }

html.is-animated [data-reveal] {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
  filter: blur(6px);
  will-change: opacity, transform;
}
html.is-animated [data-reveal="scale"] { transform: scale(.86); }
html.is-animated [data-reveal].is-visible {
  opacity: 1; transform: none; filter: blur(0);
}

/* =====================================================================
   Scroll progress bar
   ===================================================================== */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: transparent; z-index: 200;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: var(--grad);
  box-shadow: 0 0 14px var(--glow-violet);
}

/* =====================================================================
   Custom cursor glow (desktop)
   ===================================================================== */
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(107,107,251,.16), transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none; z-index: 1; opacity: 0;
  transition: opacity .4s ease;
  mix-blend-mode: screen;
}

/* =====================================================================
   Navbar
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  transition: background .4s ease, backdrop-filter .4s ease, padding .4s ease, border-color .4s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(5,6,10,.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
  padding-top: 12px; padding-bottom: 12px;
}

.nav__brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 38px; height: 38px; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.15rem; letter-spacing: .04em;
  display: flex; align-items: baseline; gap: 6px;
}
.nav__wordmark i {
  font-style: normal; font-weight: 400; font-size: .72rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--muted);
}

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: .92rem; color: var(--muted); font-weight: 500;
  position: relative; transition: color .25s ease;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover { color: var(--text); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }

.nav__cta {
  padding: 9px 20px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--text) !important;
  background: rgba(255,255,255,.03);
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease;
}
.nav__cta:hover { border-color: transparent; background: var(--grad-soft); transform: translateY(-2px); }

.nav__burger {
  display: none; flex-direction: column; gap: 6px; background: none;
  border: 0; cursor: pointer; padding: 8px;
}
.nav__burger span { width: 26px; height: 2px; background: var(--text); transition: .3s var(--ease); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child  { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
  background: rgba(8,9,14,.96); backdrop-filter: blur(20px);
  z-index: 99; transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 40px; border-left: 1px solid var(--line);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text);
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  padding: 120px 20px 80px;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .9; }
.hero__glow {
  position: absolute; z-index: 0; top: 40%; left: 50%;
  width: 900px; height: 900px; max-width: 130vw; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(107,107,251,.22), rgba(31,162,255,.10) 40%, transparent 65%);
  filter: blur(30px); pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 72%);
}

.hero__inner { position: relative; z-index: 2; max-width: 920px; }

.hero__mark { width: clamp(104px, 14vw, 148px); margin: 0 auto 28px; }
.hero__mark-img {
  width: 100%;
  filter: drop-shadow(0 0 30px rgba(84, 74, 240, .55));
  animation: floaty 6s ease-in-out infinite;
}
img.brand-mark { object-fit: contain; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero__eyebrow {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: .42em; font-size: clamp(.7rem, 2vw, .85rem);
  color: var(--blue); margin-bottom: 22px; padding-left: .42em;
}

.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 8vw, 5.6rem); line-height: 1.02;
  letter-spacing: -.03em;
}
.hero__title span { display: block; }
.hero__title em { font-style: normal; }
.hero__title em.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__title em:not(.grad) { color: var(--text); }

.hero__sub {
  max-width: 620px; margin: 26px auto 0; color: var(--muted);
  font-size: clamp(1rem, 2.4vw, 1.2rem);
}
.hero__sub strong { color: var(--text); font-weight: 600; }

.hero__actions {
  margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s ease;
  border: 1px solid transparent; will-change: transform;
}
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 10px 30px -8px rgba(107,107,251,.6);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -10px rgba(107,107,251,.8); }
.btn--ghost {
  border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.02);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.05); }

.hero__pills {
  margin-top: 46px; display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; font-weight: 500;
}
.hero__pills i { width: 5px; height: 5px; border-radius: 50%; background: var(--violet); opacity: .7; }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--muted-2); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll-line { width: 1px; height: 46px; background: var(--line-strong); overflow: hidden; position: relative; }
.hero__scroll-line i { position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--grad); animation: scrolldot 2s ease-in-out infinite; }
@keyframes scrolldot { 0% { top: -50%; } 100% { top: 100%; } }

/* =====================================================================
   MANIFESTO
   ===================================================================== */
.manifesto {
  position: relative; z-index: 2;
  max-width: 1000px; margin: 0 auto;
  padding: clamp(90px, 16vw, 200px) clamp(20px, 5vw, 40px);
}
.manifesto__text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 4.4vw, 3rem); line-height: 1.28; letter-spacing: -.01em;
}
.manifesto__text .word { display: inline-block; }
.manifesto__text b { font-weight: 700; }
/* animated word coloring driven by JS */
.manifesto__text .word { color: rgba(154,162,177,.28); transition: color .3s ease; }
.manifesto__text .word.lit { color: var(--text); }
.manifesto__text .word--b.lit {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* fallback: se JS não rodar, texto legível */
html:not(.is-animated) .manifesto__text .word { color: var(--text); }

/* =====================================================================
   SHOWCASE (pinned services)
   ===================================================================== */
.showcase { position: relative; z-index: 2; }
.showcase__intro {
  max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px) 20px;
  text-align: center;
}
.showcase__intro .section-title { max-width: 760px; margin: 0 auto; }

.showcase__track { height: 460vh; position: relative; }
.showcase__stage {
  position: sticky; top: 0; height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}

.showcase__bgnum {
  position: absolute; z-index: 0; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: var(--font-display); font-weight: 700;
  font-size: min(62vw, 60vh); line-height: 1; letter-spacing: -.05em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.06);
  user-select: none; pointer-events: none;
}

.showcase__panels {
  position: relative; z-index: 1;
  width: min(880px, 92vw); min-height: 380px;
}

.service {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  opacity: 0; transform: translateY(60px) scale(.96); filter: blur(10px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.service.is-active { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; }
/* fallback quando não há JS: mostra empilhado */
html:not(.is-animated) .showcase__track { height: auto; }
html:not(.is-animated) .showcase__stage { position: static; height: auto; display: block; padding: 40px 20px; }
html:not(.is-animated) .service { position: static; opacity: 1; transform: none; filter: none; margin: 0 auto 60px; }
html:not(.is-animated) .showcase__bgnum { display: none; }

.service__icon {
  width: 74px; height: 74px; border-radius: 20px; display: grid; place-items: center;
  color: #fff; margin-bottom: 26px;
  background: var(--grad-soft); border: 1px solid var(--line-strong);
  box-shadow: 0 0 40px -12px var(--glow-violet);
}
.service__icon svg { width: 36px; height: 36px; }
.service__kicker {
  font-family: var(--font-display); font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; font-size: .8rem; color: var(--blue); margin-bottom: 16px;
}
.service__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.8rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -.02em;
  max-width: 16ch;
}
.service__desc {
  color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.18rem);
  max-width: 560px; margin: 22px auto 0;
}
.service__list {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 28px;
}
.service__list li {
  font-size: .86rem; color: var(--text); font-weight: 500;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.02);
}

.showcase__nav {
  position: absolute; z-index: 2; bottom: 6vh; left: 50%; transform: translateX(-50%);
  display: flex; gap: 14px;
}
.showcase__nav button {
  width: 44px; height: 4px; border-radius: 999px; border: 0; cursor: pointer; padding: 0;
  background: rgba(255,255,255,.14); overflow: hidden; position: relative;
}
.showcase__nav button span { position: absolute; inset: 0; width: 0; background: var(--grad); transition: width .2s linear; }
.showcase__nav button.is-active span { width: 100%; }

/* =====================================================================
   STATS
   ===================================================================== */
.stats {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 12vw, 130px) clamp(20px, 5vw, 40px);
}
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 60px 0;
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.03em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { color: var(--muted); margin-top: 12px; font-size: .95rem; max-width: 22ch; margin-inline: auto; }

/* =====================================================================
   PROCESSO
   ===================================================================== */
.process {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 12vw, 130px) clamp(20px, 5vw, 40px);
}
.process__head { text-align: center; margin-bottom: 70px; }
.process__head .section-title { max-width: 640px; margin: 0 auto; }

.process__line {
  position: relative; height: 2px; background: var(--line); margin-bottom: -1px;
  max-width: 1000px; margin-inline: auto;
}
.process__line i { position: absolute; inset: 0; width: 0; background: var(--grad); box-shadow: 0 0 12px var(--glow-violet); }

.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.pstep { position: relative; padding-top: 28px; }
.pstep::before {
  content: ""; position: absolute; top: -41px; left: 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--violet); box-shadow: 0 0 14px var(--glow-violet);
}
.pstep__num {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text;
  letter-spacing: .1em;
}
.pstep h3 { font-family: var(--font-display); font-size: 1.3rem; margin: 10px 0 10px; letter-spacing: -.01em; }
.pstep p { color: var(--muted); font-size: .95rem; }

/* =====================================================================
   DIFERENCIAIS
   ===================================================================== */
.features {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 12vw, 130px) clamp(20px, 5vw, 40px);
}
.features__head { text-align: center; margin-bottom: 60px; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 34px 30px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); position: relative; overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s ease;
}
.feature::before {
  content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s ease;
}
.feature:hover { transform: translateY(-6px); }
.feature:hover::before { opacity: 1; }
.feature h3 { font-family: var(--font-display); font-size: 1.28rem; margin-bottom: 12px; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: .96rem; }

/* =====================================================================
   PORTFÓLIO
   ===================================================================== */
.portfolio {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(70px, 12vw, 130px) clamp(20px, 5vw, 40px);
}
.portfolio__head { text-align: center; margin-bottom: 56px; }
.portfolio__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.pcard {
  display: flex; flex-direction: column; border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s ease, box-shadow .4s ease;
}
.pcard:hover {
  transform: translateY(-8px); border-color: var(--line-strong);
  box-shadow: 0 34px 60px -34px rgba(84, 74, 240, .65);
}

.pcard__frame { display: flex; flex-direction: column; aspect-ratio: 16 / 10; background: #0b0d16; border-bottom: 1px solid var(--line); }
.pcard__bar {
  flex: none; display: flex; align-items: center; gap: 7px; padding: 11px 14px;
  background: rgba(255,255,255,.03); border-bottom: 1px solid var(--line);
}
.pcard__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.16); }
.pcard__bar span:nth-child(1) { background: #ff5f57; }
.pcard__bar span:nth-child(2) { background: #febc2e; }
.pcard__bar span:nth-child(3) { background: #28c840; }
.pcard__bar i {
  margin-left: 10px; font-style: normal; font-size: .72rem; color: var(--muted);
  background: rgba(255,255,255,.04); padding: 3px 12px; border-radius: 999px;
}

.pcard__screen { position: relative; flex: 1; overflow: hidden; }
.pcard__screen img {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .6s var(--ease);
}
.pcard:hover .pcard__screen img { transform: scale(1.05); }
.pcard__fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(31,162,255,.28), transparent 58%),
    radial-gradient(circle at 82% 88%, rgba(162,52,255,.28), transparent 58%),
    #0b0d16;
}
.pcard__fallback span {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: .01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.pcard__body { padding: 22px 24px 26px; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; }
.pcard__body h3 { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.01em; }
.pcard__go { color: var(--muted); font-size: 1.15rem; transition: transform .3s var(--ease), color .3s ease; }
.pcard:hover .pcard__go { transform: translate(4px, -4px); color: var(--text); }
.pcard__tag { font-family: var(--font-display); color: var(--blue); font-size: .86rem; font-weight: 600; margin-top: 4px; }
.pcard__desc { color: var(--muted); font-size: .95rem; margin-top: 12px; }
.pcard__stack { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.pcard__stack span {
  font-size: .76rem; color: var(--text); padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,.02);
}

/* card-convite */
.pcard--cta { border-style: dashed; border-color: var(--line-strong); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.pcard__frame--empty {
  display: flex; align-items: center; justify-content: center; border-bottom-color: transparent;
  background:
    radial-gradient(circle at 50% 50%, rgba(107,107,251,.14), transparent 60%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px), #0b0d16;
}
.pcard__plus { font-family: var(--font-display); font-weight: 500; font-size: 3.4rem; color: var(--muted-2); line-height: 1; }
.pcard--cta:hover .pcard__plus { color: var(--blue); }

/* =====================================================================
   CTA
   ===================================================================== */
.cta { position: relative; z-index: 2; overflow: hidden; padding: clamp(90px, 16vw, 180px) 20px; text-align: center; }
.cta__glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 1000px; height: 700px; max-width: 130vw;
  background: radial-gradient(circle, rgba(107,107,251,.20), rgba(162,52,255,.10) 40%, transparent 68%);
  filter: blur(20px); pointer-events: none;
}
.cta__inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 6.5vw, 4.4rem); line-height: 1.04; letter-spacing: -.03em; margin-top: 8px;
}
.cta__sub { color: var(--muted); font-size: clamp(1rem, 2.4vw, 1.2rem); margin-top: 22px; }
.cta__actions { margin-top: 40px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line);
  padding: 60px clamp(20px, 5vw, 40px) 40px;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__tag { font-family: var(--font-display); color: var(--muted); font-size: 1.05rem; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; justify-content: center; }
.footer__links a { color: var(--muted); font-size: .92rem; transition: color .25s ease; }
.footer__links a:hover { color: var(--text); }
.footer__copy { color: var(--muted-2); font-size: .82rem; margin-top: 10px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process__line { display: none; }
  .pstep::before { display: none; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid { grid-template-columns: 1fr; }
  .showcase__track { height: 420vh; }
}

@media (max-width: 560px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .features__grid { grid-template-columns: 1fr; }
  .hero__pills { gap: 12px; }
  .service__list { gap: 8px; }
  .service__list li { font-size: .8rem; padding: 7px 13px; }
  .cursor-glow { display: none; }
}

/* Telas muito baixas: reduz a altura do track pra não “prender” demais */
@media (max-height: 620px) {
  .showcase__track { height: 380vh; }
}
