/* =========================================================
   NUUP SISTEMAS INTELIGENTES — STYLESHEET
   Identidade visual oficial · Tipografia Arimo
   ========================================================= */

/* ---------- FONTES LOCAIS (Arimo) ---------- */
@font-face {
  font-family: 'Arimo';
  src: url('../fonts/static/Arimo-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arimo';
  src: url('../fonts/static/Arimo-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arimo';
  src: url('../fonts/static/Arimo-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Arimo';
  src: url('../fonts/static/Arimo-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- VARIÁVEIS DE MARCA ---------- */
:root {
  /* Cores oficiais */
  --c-black:      #0A0A0A;
  --c-dark:       #1A1A1A;
  --c-darker:     #0F0F10;
  --c-white:      #FFFFFF;
  --c-red:        #FF2401;
  --c-orange:     #FF6B31;
  --c-gray-light: #D9D8E0;
  --c-gray:       #565656;
  --c-blue:       #6D9FB8;

  /* Tons funcionais */
  --c-line:       rgba(255,255,255,0.08);
  --c-line-strong:rgba(255,255,255,0.16);
  --c-text:       #E9E9EE;
  --c-text-muted: #9A9AA3;

  /* Gradiente de marca */
  --grad-brand: linear-gradient(135deg, var(--c-red) 0%, var(--c-orange) 100%);
  --grad-soft:  linear-gradient(135deg, rgba(255,36,1,0.15) 0%, rgba(255,107,49,0.05) 100%);

  /* Tipografia */
  --font-sans: 'Arimo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Spacing & layout */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-soft: 0 1px 0 rgba(255,255,255,0.04) inset, 0 30px 60px -30px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(255,36,1,0.25), 0 20px 60px -20px rgba(255,36,1,0.45);

  --nav-h: 76px;
}

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  background: var(--c-black);
  color: var(--c-text);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--c-orange); }
::selection { background: var(--c-red); color: #fff; }
:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; border-radius: 4px; }

/* ---------- TIPOGRAFIA ---------- */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; color: #fff; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p  { margin: 0 0 1rem; }
.text-muted-soft { color: var(--c-text-muted); }
.text-grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* eyebrow / chip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  padding: .5rem .9rem;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(8px);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-red);
  box-shadow: 0 0 0 4px rgba(255,36,1,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,36,1,0.18); }
  50%      { box-shadow: 0 0 0 8px rgba(255,36,1,0.05); }
}

/* ---------- LAYOUT / SECTIONS ---------- */
.section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}
.section-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.section-head .eyebrow { margin-bottom: 1.25rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--c-text-muted); font-size: 1.05rem; }

/* ---------- NAVBAR ---------- */
.nuup-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.nuup-navbar.scrolled {
  background: rgba(10,10,10,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--c-line);
}
.nuup-navbar .navbar-brand img { height: 32px; width: auto; }
.nuup-navbar .nav-link {
  color: var(--c-text) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: .5rem .95rem !important;
  position: relative;
  transition: color .25s ease;
}
.nuup-navbar .nav-link::after {
  content: '';
  position: absolute; left: 50%; bottom: 4px;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 22px; height: 2px;
  background: var(--grad-brand);
  border-radius: 2px;
  transition: transform .3s ease;
}
.nuup-navbar .nav-link:hover { color: #fff !important; }
.nuup-navbar .nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.navbar-toggler {
  border: 1px solid var(--c-line-strong) !important;
  padding: .35rem .55rem !important;
  border-radius: 10px;
}
.navbar-toggler:focus { box-shadow: none !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ---------- BUTTONS ---------- */
.btn-nuup {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn-nuup svg { width: 18px; height: 18px; }
.btn-primary-nuup {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(255,60,10,0.55);
}
.btn-primary-nuup:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -10px rgba(255,60,10,0.7);
  color: #fff;
}
.btn-ghost-nuup {
  background: rgba(255,255,255,0.03);
  color: #fff;
  border-color: var(--c-line-strong);
  backdrop-filter: blur(10px);
}
.btn-ghost-nuup:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 80px;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(255,36,1,0.18), transparent 60%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(109,159,184,0.10), transparent 60%),
    var(--c-black);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero h1 {
  margin-bottom: 1.4rem;
  letter-spacing: -0.025em;
}
.hero h1 .line { display: block; }
.hero p.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--c-text-muted);
  max-width: 560px;
  margin-bottom: 2.2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.hero-stat { padding: 1.4rem .5rem 1rem; background: var(--c-black); }
.hero-stat .num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: .35rem;
  letter-spacing: -0.02em;
}
.hero-stat .num span { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stat .lbl { font-size: .8rem; color: var(--c-text-muted); letter-spacing: .04em; }

/* Hero visual mockup */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  max-width: 520px;
  margin-left: auto;
}
.mockup {
  position: absolute;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #161618 0%, #0E0E10 100%);
  border: 1px solid var(--c-line-strong);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.mockup-1 {
  inset: 0 12% 18% 0;
  transform: rotate(-1.5deg);
}
.mockup-2 {
  width: 58%;
  bottom: 0; right: 0;
  aspect-ratio: 4/3;
  transform: rotate(3deg);
}
.mockup-bar {
  height: 28px;
  background: #0A0A0C;
  border-bottom: 1px solid var(--c-line);
  display: flex; align-items: center; padding: 0 12px; gap: 6px;
}
.mockup-bar .dotbar { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.mockup-bar .dotbar:nth-child(1) { background: #FF5F57; }
.mockup-bar .dotbar:nth-child(2) { background: #FEBC2E; }
.mockup-bar .dotbar:nth-child(3) { background: #28C840; }
.mockup-body { padding: 18px; height: calc(100% - 28px); }

/* Mockup chart bars */
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 60%; margin-top: 14px; }
.chart-bars .bar {
  flex: 1; background: linear-gradient(180deg, var(--c-orange), var(--c-red));
  border-radius: 4px 4px 0 0; opacity: .25;
  transition: opacity .4s;
}
.chart-bars .bar.active { opacity: 1; }

.kpi-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.kpi {
  flex: 1 1 calc(50% - 4px);
  border: 1px solid var(--c-line);
  border-radius: 10px; padding: 8px 10px;
  background: rgba(255,255,255,0.015);
}
.kpi .k-l { font-size: 9px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: .08em; }
.kpi .k-v { font-size: 14px; color: #fff; font-weight: 700; }
.kpi .k-d { font-size: 9px; color: #4ade80; }
.kpi .k-d.down { color: var(--c-red); }

/* mockup 2 — point card */
.point-card { padding: 18px; }
.point-card .time {
  font-size: 32px; font-weight: 700; color: #fff; letter-spacing: -0.02em;
  background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.point-card .meta { font-size: 10px; color: var(--c-text-muted); margin-top: 2px; }
.point-card .pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; margin-right: 4px; box-shadow: 0 0 0 3px rgba(74,222,128,.2); }
.point-card .ok { font-size: 10px; color: #4ade80; margin-top: 8px; }

/* ---------- BADGE LOGOS / TRUST ---------- */
.trust-row {
  margin-top: 3rem; padding: 1.6rem 0;
  border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3rem; justify-content: space-between;
}
.trust-row .lbl { color: var(--c-text-muted); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.trust-row .marks { display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center; opacity: .55; }
.trust-row .marks span { font-weight: 700; font-size: 1.1rem; letter-spacing: .04em; color: #fff; }

/* ---------- SOBRE ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #1A1A1C, #0A0A0A);
  border: 1px solid var(--c-line-strong);
}
.about-visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,36,1,0.25), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(109,159,184,0.18), transparent 50%);
}
.about-visual .ring {
  position: absolute; border: 1px solid var(--c-line-strong); border-radius: 50%;
}
.about-visual .ring.r1 { inset: 8%; }
.about-visual .ring.r2 { inset: 18%; }
.about-visual .ring.r3 { inset: 28%; }
.about-visual .ring.r4 { inset: 38%; }
.about-visual .core {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 80px 10px rgba(255,60,10,0.35);
  display: grid; place-items: center;
}
.about-visual .core img { width: 60%; height: auto; filter: brightness(0) invert(1); }

.about-feats { display: grid; gap: 1.1rem; margin-top: 2rem; }
.about-feat { display: flex; gap: 1rem; align-items: flex-start; }
.about-feat .ic {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,36,1,0.1); border: 1px solid rgba(255,36,1,0.25);
  display: grid; place-items: center; color: var(--c-orange);
}
.about-feat .ic svg { width: 18px; height: 18px; }
.about-feat h4 { font-size: 1rem; color: #fff; margin-bottom: .15rem; }
.about-feat p { font-size: .92rem; color: var(--c-text-muted); margin: 0; }

/* ---------- SERVIÇOS ---------- */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.service-card {
  position: relative;
  grid-column: span 4;
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.01));
  border: 1px solid var(--c-line);
  transition: transform .35s ease, border-color .35s ease, background .35s ease;
  overflow: hidden;
  isolation: isolate;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,36,1,0.18), transparent 45%);
  opacity: 0; transition: opacity .35s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(255,36,1,0.35); }
.service-card:hover::before { opacity: 1; }
.service-card .ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,36,1,0.15), rgba(255,107,49,0.06));
  border: 1px solid rgba(255,107,49,0.25);
  display: grid; place-items: center; color: var(--c-orange);
  margin-bottom: 1.4rem;
  transition: transform .35s ease;
}
.service-card:hover .ic { transform: scale(1.05) rotate(-3deg); }
.service-card .ic svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.15rem; color: #fff; margin-bottom: .55rem; }
.service-card p { font-size: .92rem; color: var(--c-text-muted); margin: 0 0 1.2rem; }
.service-card .more {
  font-size: .85rem; color: var(--c-orange); font-weight: 600;
  display: inline-flex; align-items: center; gap: .4rem;
  opacity: 0; transform: translateY(4px);
  transition: opacity .3s ease, transform .3s ease;
}
.service-card:hover .more { opacity: 1; transform: translateY(0); }

.service-card.wide { grid-column: span 6; }
.service-card.full { grid-column: span 12; }

/* ---------- PORTFÓLIO / SOLUÇÕES ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.solution {
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: linear-gradient(180deg, #131315, #0B0B0D);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
  min-height: 240px;
  display: flex; flex-direction: column;
}
.solution:hover { border-color: rgba(255,107,49,0.35); transform: translateY(-3px); }
.solution .tag {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-text-muted); font-weight: 600; margin-bottom: .8rem;
}
.solution h4 { font-size: 1.2rem; color: #fff; margin-bottom: .6rem; }
.solution p { font-size: .9rem; color: var(--c-text-muted); margin: 0; }
.solution .visual {
  margin-top: auto;
  padding-top: 1.5rem;
}
.sol-1 { grid-column: span 4; }
.sol-2 { grid-column: span 2; }
.sol-3 { grid-column: span 2; }
.sol-4 { grid-column: span 2; }
.sol-5 { grid-column: span 2; }
.sol-6 { grid-column: span 4; background: linear-gradient(135deg, rgba(255,36,1,0.10), rgba(255,107,49,0.04)); border-color: rgba(255,107,49,0.25); }

/* visuals decorativos */
.viz-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.viz-bars i {
  flex: 1; background: linear-gradient(180deg, var(--c-orange), var(--c-red));
  border-radius: 3px 3px 0 0; display: block;
}
.viz-bars i:nth-child(1) { height: 30%; opacity: .35; }
.viz-bars i:nth-child(2) { height: 55%; opacity: .55; }
.viz-bars i:nth-child(3) { height: 40%; opacity: .45; }
.viz-bars i:nth-child(4) { height: 80%; opacity: .85; }
.viz-bars i:nth-child(5) { height: 65%; opacity: .7; }
.viz-bars i:nth-child(6) { height: 100%; opacity: 1; }

.viz-pulse {
  height: 70px; border-radius: 8px;
  background: var(--c-darker);
  border: 1px solid var(--c-line);
  position: relative; overflow: hidden;
}
.viz-pulse::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(74,222,128,0.4) 0, transparent 14%),
    radial-gradient(circle at 60% 50%, rgba(255,36,1,0.4) 0, transparent 14%),
    radial-gradient(circle at 85% 50%, rgba(109,159,184,0.4) 0, transparent 14%);
}
.viz-pulse::before {
  content: ''; position: absolute; left: 0; top: 50%; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-line-strong) 30%, var(--c-line-strong) 70%, transparent);
}

.viz-grid-mini {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; height: 70px;
}
.viz-grid-mini i {
  background: rgba(255,255,255,0.06); border-radius: 3px;
}
.viz-grid-mini i.on { background: var(--grad-brand); }

.viz-circle {
  height: 70px; display: grid; place-items: center;
}
.viz-circle .c {
  width: 64px; height: 64px; border-radius: 50%;
  border: 2px solid var(--c-line);
  position: relative; display: grid; place-items: center;
}
.viz-circle .c::before {
  content: ''; position: absolute; inset: -2px;
  border-radius: 50%; border: 2px solid transparent;
  border-top-color: var(--c-red); border-right-color: var(--c-orange);
  transform: rotate(-30deg);
}
.viz-circle strong { font-size: 14px; color: #fff; font-weight: 700; }

/* ---------- DIFERENCIAIS ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diff {
  padding: 2rem 1.6rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.02);
  position: relative;
  transition: border-color .3s ease;
}
.diff:hover { border-color: rgba(255,107,49,0.35); }
.diff .num {
  font-size: .8rem; color: var(--c-orange); font-weight: 700;
  letter-spacing: .12em; margin-bottom: 1rem;
}
.diff h4 { font-size: 1.1rem; color: #fff; margin-bottom: .5rem; }
.diff p { font-size: .92rem; color: var(--c-text-muted); margin: 0; }

/* ---------- DEPOIMENTOS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi {
  padding: 1.8rem;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
  display: flex; flex-direction: column;
  min-height: 100%;
}
.testi .quote svg { width: 22px; height: 22px; color: var(--c-red); margin-bottom: 1rem; }
.testi p { color: var(--c-text); font-size: .98rem; margin: 0 0 1.4rem; flex: 1; }
.testi .who { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--c-line); }
.testi .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-weight: 700; color: #fff; font-size: .9rem;
}
.testi .nm { font-size: .92rem; color: #fff; font-weight: 600; line-height: 1.2; }
.testi .co { font-size: .8rem; color: var(--c-text-muted); }

/* ---------- CTA FINAL ---------- */
.cta-final {
  position: relative;
  padding: clamp(60px, 8vw, 100px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #16161A 0%, #0A0A0A 100%);
  border: 1px solid var(--c-line-strong);
  overflow: hidden;
  text-align: center;
}
.cta-final::before {
  content: ''; position: absolute; inset: -50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,36,1,0.25), transparent 40%),
              radial-gradient(circle at 70% 70%, rgba(255,107,49,0.18), transparent 40%);
  animation: drift 20s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(2%,-2%) scale(1.08); }
}
.cta-final > * { position: relative; }
.cta-final h2 { margin-bottom: 1rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-final p { color: var(--c-text-muted); max-width: 580px; margin: 0 auto 2rem; }
.cta-final .actions { display: inline-flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }

/* ---------- FORMULÁRIO ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-info p { color: var(--c-text-muted); margin-bottom: 2rem; }
.contact-info ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-info li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info li .ic {
  flex: none; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,107,49,0.1); border: 1px solid rgba(255,107,49,0.25);
  display: grid; place-items: center; color: var(--c-orange);
}
.contact-info li .ic svg { width: 18px; height: 18px; }
.contact-info li strong { color: #fff; font-weight: 600; display: block; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .15rem; }
.contact-info li span { color: var(--c-text); font-size: .98rem; }

.contact-form {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.005));
  border: 1px solid var(--c-line);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { position: relative; margin-bottom: 1rem; }
.field input, .field textarea {
  width: 100%;
  padding: 1.05rem 1rem .55rem;
  background: var(--c-darker);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  color: #fff;
  font-family: inherit;
  font-size: .95rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.field textarea { min-height: 130px; resize: vertical; padding-top: 1.4rem; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: rgba(255,107,49,0.5);
  box-shadow: 0 0 0 4px rgba(255,107,49,0.12);
}
.field label {
  position: absolute; top: 50%; left: 1rem; transform: translateY(-50%);
  font-size: .92rem; color: var(--c-text-muted);
  pointer-events: none;
  transition: top .2s ease, font-size .2s ease, transform .2s ease, color .2s ease;
  background: transparent;
}
.field textarea + label { top: 1rem; transform: none; }
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: .35rem; transform: none;
  font-size: .7rem; color: var(--c-orange);
  letter-spacing: .06em; text-transform: uppercase; font-weight: 600;
}
.form-feedback {
  margin-top: 1rem; font-size: .9rem;
  padding: .8rem 1rem; border-radius: 10px;
  display: none;
}
.form-feedback.ok  { display: block; background: rgba(74,222,128,0.1); color: #4ade80; border: 1px solid rgba(74,222,128,0.25); }
.form-feedback.err { display: block; background: rgba(255,36,1,0.08);  color: #ff6b50; border: 1px solid rgba(255,36,1,0.25); }
.form-bottom {
  margin-top: 1.2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.form-bottom small { color: var(--c-text-muted); font-size: .8rem; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--c-darker);
  border-top: 1px solid var(--c-line);
  padding: 4rem 0 2rem;
}
.footer .grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem;
}
.footer h5 { color: #fff; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .55rem; }
.footer ul a { color: var(--c-text-muted); font-size: .92rem; }
.footer ul a:hover { color: #fff; }
.footer .brand img { height: 32px; margin-bottom: 1rem; }
.footer .brand p { color: var(--c-text-muted); font-size: .92rem; max-width: 320px; }
.footer .socials { display: flex; gap: .6rem; margin-top: 1rem; }
.footer .socials a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--c-line);
  display: grid; place-items: center;
  color: var(--c-text); transition: all .25s ease;
}
.footer .socials a:hover {
  background: var(--grad-brand);
  border-color: transparent; color: #fff;
  transform: translateY(-2px);
}
.footer .socials svg { width: 16px; height: 16px; }
.copy {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid var(--c-line);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  color: var(--c-text-muted); font-size: .85rem;
}

/* ---------- WHATSAPP FLUTUANTE ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 1040;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 14px 28px -8px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,.5);
  transition: transform .25s ease, box-shadow .25s ease;
  animation: waPulse 2.6s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 14px 28px -8px rgba(37,211,102,0.55), 0 0 0 0 rgba(37,211,102,.45); }
  50%      { box-shadow: 0 14px 28px -8px rgba(37,211,102,0.55), 0 0 0 14px rgba(37,211,102,0); }
}
.wa-float:hover { transform: scale(1.08) rotate(4deg); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: transform, opacity;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 991.98px) {
  .nuup-navbar { background: rgba(10,10,10,0.92); backdrop-filter: blur(14px); border-bottom-color: var(--c-line); }
  .nuup-navbar .navbar-collapse {
    background: rgba(10,10,10,0.96);
    margin: 12px -12px 0;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid var(--c-line);
  }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero-visual { max-width: 100%; margin: 3rem auto 0; aspect-ratio: 5/4; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 460px; margin: 0 auto; }
  .serv-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card.wide, .service-card.full { grid-column: span 1; }
  .solutions-grid { grid-template-columns: repeat(4, 1fr); }
  .sol-1, .sol-6 { grid-column: span 4; }
  .sol-2, .sol-3, .sol-4, .sol-5 { grid-column: span 2; }
  .diff-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stat { padding: 1rem .5rem; border-bottom: 1px solid var(--c-line); }
  .serv-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .sol-1, .sol-2, .sol-3, .sol-4, .sol-5, .sol-6 { grid-column: span 1; }
  .diff-grid, .testi-grid { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 24px; height: 24px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
