/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:      #05070D;
  --bg2:     #0A0F1C;
  --bg3:     #101829;
  --blue:    #4F8EF7;
  --teal:    #2DD4BF;
  --violet:  #A78BFA;
  --border:  rgba(255,255,255,.06);
  --border2: rgba(255,255,255,.14);
  --muted:   #5B6B82;
  --text:    #C7D2E0;
  --white:   #F4F7FB;
  --r:       20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

::selection { background: rgba(79,142,247,.35); color: #fff; }
a { color: inherit; text-decoration: none; }

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

/* ===== SCROLL REVEAL ===== */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s; }
.rv.d2 { transition-delay: .16s; }
.rv.d3 { transition-delay: .24s; }

/* ===== NAVBAR — pill flutuante glass ===== */
.navbar {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
  z-index: 100; width: min(1080px, calc(100% - 28px));
  border-radius: 18px;
  background: rgba(10,15,28,.55);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(10,15,28,.85);
  border-color: var(--border2);
  box-shadow: 0 12px 48px rgba(0,0,0,.55);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 11px 20px; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 28px; width: auto; filter: brightness(0) invert(1); display: block; flex-shrink: 0; }
.logo-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.05rem; font-weight: 700; color: var(--white); letter-spacing: -.01em; line-height: 1;
}
.logo-sub-text {
  font-size: .5rem; color: rgba(255,255,255,.32);
  letter-spacing: .14em; text-transform: uppercase; line-height: 1; margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: .84rem; font-weight: 500; color: rgba(255,255,255,.55);
  padding: 7px 14px; border-radius: 10px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.06); }
.nav-links a.active { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links .nav-cta {
  background: var(--white); color: #0A0F1C;
  padding: 8px 18px; border-radius: 11px;
  font-size: .83rem; font-weight: 700;
  transition: transform .15s, box-shadow .2s;
}
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(244,247,251,.25); background: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { width: 21px; height: 1.5px; background: rgba(255,255,255,.75); border-radius: 2px; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ===== BOTÕES ===== */
.btn-main {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--white); color: #0A0F1C;
  padding: 15px 32px; border-radius: 14px;
  font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer; font-family: inherit;
  transition: transform .18s, box-shadow .25s;
}
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(244,247,251,.22); }
.btn-main .arr { transition: transform .2s; }
.btn-main:hover .arr { transform: translateX(3px); }

.btn-glass {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border2); color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.04); backdrop-filter: blur(8px);
  padding: 15px 28px; border-radius: 14px;
  font-weight: 500; font-size: .95rem;
  transition: border-color .2s, background .2s, color .2s;
}
.btn-glass:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); color: var(--white); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 130px 0 90px;
}
.mesh { position: absolute; inset: 0; pointer-events: none; }
.mesh i {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5;
  animation: drift 16s ease-in-out infinite alternate;
}
.mesh i:nth-child(1) { width: 560px; height: 560px; background: rgba(79,142,247,.30); top: -10%; left: 8%; }
.mesh i:nth-child(2) { width: 480px; height: 480px; background: rgba(167,139,250,.22); bottom: -16%; right: 4%; animation-delay: -5s; }
.mesh i:nth-child(3) { width: 380px; height: 380px; background: rgba(45,212,191,.16); top: 30%; right: 26%; animation-delay: -10s; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(60px,-40px) scale(1.15); }
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, black 30%, transparent 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; width: 100%; min-width: 0; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border2); border-radius: 999px;
  padding: 7px 18px; margin-bottom: 32px;
  background: rgba(255,255,255,.035);
  font-size: .78rem; font-weight: 500; color: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
}
.hero-pill .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 0 rgba(45,212,191,.6); animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45,212,191,.55); }
  70%  { box-shadow: 0 0 0 9px rgba(45,212,191,0); }
  100% { box-shadow: 0 0 0 0 rgba(45,212,191,0); }
}

.hero h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.8rem, 7.5vw, 5.6rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -.045em;
  color: var(--white); margin-bottom: 26px;
}
.gradient-text {
  background: linear-gradient(92deg, var(--blue) 0%, var(--teal) 48%, var(--violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 540px; margin: 0 auto 42px; line-height: 1.75; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Ticker de métricas */
.ticker-wrap {
  margin-top: 72px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; position: relative; max-width: 100%;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.ticker { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker:hover { animation-play-state: paused; }
.tk {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 36px; white-space: nowrap;
  font-size: .85rem; color: var(--muted); font-weight: 500;
}
.tk b { color: var(--white); font-weight: 800; font-size: 1rem; }
.tk::after { content: '·'; margin-left: 36px; color: rgba(255,255,255,.15); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECÇÕES ===== */
.section { padding: 110px 0; position: relative; }

.sec-eyebrow {
  font-family: 'Space Grotesk', sans-serif;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.sec-eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--teal); }

.sec-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700;
  color: var(--white); letter-spacing: -.03em; line-height: 1.12; margin-bottom: 16px;
}
.sec-p { color: var(--muted); font-size: .98rem; max-width: 520px; }

/* ===== CARDS COM SPOTLIGHT ===== */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.spot {
  position: relative; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 34px 30px; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.spot:hover { border-color: var(--border2); transform: translateY(-4px); }
.spot::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(79,142,247,.10), transparent 65%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.spot:hover::before { opacity: 1; }
.spot-ic {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(79,142,247,.16), rgba(45,212,191,.10));
  border: 1px solid rgba(79,142,247,.22);
  font-size: 1.3rem;
}
.spot h3 { font-size: 1.04rem; font-weight: 700; color: var(--white); margin-bottom: 10px; letter-spacing: -.01em; }
.spot p  { font-size: .88rem; color: var(--muted); line-height: 1.7; }

/* ===== METODOLOGIA — lista editorial ===== */
.meto-wrap { margin-top: 56px; border-top: 1px solid var(--border); }
.meto-row {
  display: grid; grid-template-columns: 110px 1fr 1.4fr; gap: 32px;
  padding: 38px 8px; border-bottom: 1px solid var(--border);
  align-items: baseline; position: relative;
  transition: background .25s, padding-left .25s;
}
.meto-row:hover { background: rgba(255,255,255,.018); padding-left: 20px; }
.meto-row .n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; line-height: 1;
}
.meto-row h3 { font-size: 1.12rem; font-weight: 700; color: var(--white); letter-spacing: -.015em; }
.meto-row p  { font-size: .9rem; color: var(--muted); line-height: 1.7; }

/* ===== CTA ===== */
.cta {
  position: relative; text-align: center;
  padding: 120px 24px; overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta::before {
  content: ''; position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: 720px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(79,142,247,.16) 0%, rgba(167,139,250,.08) 45%, transparent 70%);
  filter: blur(50px); pointer-events: none;
}
.cta h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700;
  color: var(--white); letter-spacing: -.035em; line-height: 1.1;
  margin-bottom: 18px; position: relative;
}
.cta p { color: var(--muted); font-size: 1rem; max-width: 460px; margin: 0 auto 40px; position: relative; }

/* ===== CONTACTO ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 60px; align-items: start; }
.ci { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.ci-ic {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px;
  background: rgba(79,142,247,.09); border: 1px solid rgba(79,142,247,.2);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.ci strong { display: block; font-size: .84rem; font-weight: 600; color: var(--white); margin-bottom: 2px; }
.ci span   { font-size: .84rem; color: var(--muted); }

.cf {
  background: rgba(255,255,255,.025); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 22px; padding: 38px;
}
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fg label { font-size: .79rem; font-weight: 600; color: rgba(255,255,255,.55); }
.fg input, .fg select, .fg textarea {
  background: rgba(255,255,255,.035); border: 1px solid var(--border);
  border-radius: 11px; padding: 12px 15px;
  font-family: inherit; font-size: .9rem; color: var(--white); outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(79,142,247,.55); background: rgba(79,142,247,.05);
  box-shadow: 0 0 0 3px rgba(79,142,247,.12);
}
.fg input::placeholder, .fg textarea::placeholder { color: var(--muted); }
.fg select { color: var(--muted); }
.fg select option { background: var(--bg2); color: var(--white); }
.fg textarea { resize: vertical; min-height: 104px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.btn-send {
  width: 100%; border: none; cursor: pointer; font-family: inherit;
  background: var(--white); color: #0A0F1C;
  padding: 15px; border-radius: 13px; font-size: .94rem; font-weight: 700;
  transition: transform .15s, box-shadow .2s;
}
.btn-send:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(244,247,251,.18); }
.btn-send:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }

.form-note { text-align: center; font-size: .76rem; color: var(--muted); margin-top: 12px; }
.form-note.success { color: var(--teal); }
.form-note.error   { color: #f87171; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 60px 0 0; background: var(--bg2); }
.footer-inner { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 52px; }
.footer-brand p { font-size: .86rem; color: var(--muted); max-width: 270px; margin-top: 16px; line-height: 1.7; }
.ft-col strong {
  font-size: .7rem; color: rgba(255,255,255,.28);
  letter-spacing: .12em; text-transform: uppercase;
  display: block; margin-bottom: 14px; font-weight: 600;
}
.ft-col a { display: block; font-size: .87rem; color: var(--muted); margin-bottom: 9px; transition: color .2s; }
.ft-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding: 22px 0; font-size: .77rem; color: rgba(255,255,255,.18); text-align: center; }

/* ===== PÁGINA SOLUÇÕES ===== */
.sol-hero {
  padding: 170px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sol-hero h1 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700; line-height: 1.05; letter-spacing: -.04em;
  color: var(--white); margin-bottom: 18px;
}
.sol-hero p { font-size: 1.05rem; color: var(--muted); max-width: 560px; margin: 0 auto; line-height: 1.75; }
.sol-hero-content { position: relative; z-index: 1; }

.sol-section { padding: 56px 0 96px; }
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1000px;
  margin: 0 auto;
}
.sol-card {
  position: relative; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 34px 28px 28px; overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color .25s, transform .25s;
}
a.sol-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.sol-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(79,142,247,.10), transparent 65%);
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
a.sol-card:hover::before { opacity: 1; }
.sol-card.disabled { opacity: .5; }

.sol-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.45rem; margin-bottom: 6px;
  border: 1px solid var(--border2);
}
.sol-icon.blue   { background: rgba(79,142,247,.12);  border-color: rgba(79,142,247,.25); }
.sol-icon.green  { background: rgba(45,212,160,.10);  border-color: rgba(45,212,160,.22); }
.sol-icon.purple { background: rgba(167,139,250,.10); border-color: rgba(167,139,250,.22); }
.sol-icon.teal   { background: rgba(45,212,191,.10);  border-color: rgba(45,212,191,.22); }
.sol-icon.gold   { background: rgba(245,158,11,.10);  border-color: rgba(245,158,11,.22); }
.sol-icon.orange { background: rgba(249,115,22,.10);  border-color: rgba(249,115,22,.22); }

.sol-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem; font-weight: 700; color: var(--white);
  line-height: 1.3; letter-spacing: -.015em;
}
.sol-card p { font-size: .87rem; color: var(--muted); line-height: 1.7; flex: 1; }

.sol-badge {
  display: inline-block; align-self: flex-start;
  margin-top: 8px;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}
.sol-badge.disponivel {
  background: rgba(45,212,191,.1);
  color: var(--teal);
  border: 1px solid rgba(45,212,191,.25);
}
.sol-badge.em-breve {
  background: rgba(255,255,255,.04);
  color: var(--muted);
  border: 1px solid var(--border);
}
.sol-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .84rem; font-weight: 600;
  color: var(--blue); margin-top: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: fixed; inset: 0;
    background: rgba(5,7,13,.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 34px; z-index: 200; border-radius: 0;
    height: 100vh; height: 100dvh;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.25rem; color: rgba(255,255,255,.85); }
  .hamburger { display: flex; z-index: 300; }
}

@media (max-width: 768px) {
  .logo-img { height: 21px; }
  .logo-text { font-size: .95rem; }
  .section { padding: 80px 0; }
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: clamp(1.45rem, 5.8vw, 2.5rem); letter-spacing: -.02em; word-break: break-word; overflow-wrap: break-word; }
  .hero-pill { font-size: .72rem; padding: 6px 14px; }
  .hero-sub { font-size: .9rem; overflow-wrap: break-word; }
  .hero-actions { gap: 10px; }
  .btn-main, .btn-glass { padding: 13px 22px; font-size: .9rem; }
  .cards3 { grid-template-columns: 1fr; }
  .meto-row { grid-template-columns: 64px 1fr; }
  .meto-row p { grid-column: 2; }
  .meto-row .n { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .row2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .sol-grid { grid-template-columns: 1fr; }
  .sol-hero { padding: 140px 0 50px; }
}
