@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap');

:root {
  --bg:        #0A0A14;
  --bg2:       #0F0F1E;
  --bg3:       #13132A;
  --purple:    #6366F1;
  --purple-l:  #818CF8;
  --purple-d:  #4F46E5;
  --white:     #F0F0FF;
  --muted:     #8888AA;
  --border:    rgba(99,102,241,0.18);
  --card:      rgba(255,255,255,0.03);
}

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

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  height: 70px;
  background: rgba(10,10,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800;
  color: var(--white); text-decoration: none;
}
.nav-logo span { color: var(--purple-l); }
.nav-logo-icon { width: 36px; height: 36px; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: .9rem; transition: color .2s; }
.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--purple-d);
  color: #fff !important;
  padding: .45rem 1.1rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--purple) !important; color: #fff !important; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

.mobile-menu {
  display: none; position: fixed; top: 70px; left: 0; right: 0;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 1.5rem 6vw; z-index: 99; flex-direction: column; gap: 1.2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--muted); text-decoration: none; font-size: 1rem; }
.mobile-menu a:hover { color: var(--white); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  padding: 120px 6vw 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(99,102,241,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(79,70,229,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--purple-l);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 99px;
  padding: .35rem .9rem;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple-l);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.3; } }

.hero h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--purple-l), #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.2rem;
  line-height: 1.75;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--purple-d);
  color: #fff;
  padding: .8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background .2s, transform .15s;
  border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--purple); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: .8rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid var(--border);
  display: flex; align-items: center; gap: .5rem;
  transition: border-color .2s, background .2s, transform .15s;
}
.btn-ghost:hover { border-color: var(--purple-l); background: rgba(99,102,241,0.06); transform: translateY(-1px); }

.hero-visual { display: flex; align-items: center; justify-content: center; position: relative; }
.hero-svg-wrap { width: 100%; max-width: 520px; animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ── SECTIONS ── */
section { padding: 90px 6vw; }

.section-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--purple-l); margin-bottom: .7rem;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1rem; max-width: 580px; line-height: 1.75; }
.section-head { margin-bottom: 3.5rem; }

/* ── SOBRE ── */
.sobre { background: var(--bg2); }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.pilares { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 2rem; }

.pilar {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.2rem;
  transition: border-color .2s, transform .2s;
}
.pilar:hover { border-color: var(--purple); transform: translateY(-2px); }
.pilar h4 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; }
.pilar p { font-size: .82rem; color: var(--muted); line-height: 1.5; }

.sobre-visual { display: flex; align-items: center; justify-content: center; }

/* ── SERVIÇOS ── */
.servicos { background: var(--bg); }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem;
  transition: border-color .25s, transform .25s, background .25s;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--purple), transparent);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { border-color: var(--purple); transform: translateY(-4px); background: rgba(99,102,241,0.05); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  background: rgba(99,102,241,0.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.service-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ── PROCESSO ── */
.processo { background: var(--bg2); }

.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 3rem; position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 28px; left: 12.5%; right: 12.5%;
  height: 1px; background: var(--border); z-index: 0;
}

.step { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }

.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--purple-d);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 800;
  color: var(--purple-l);
  margin-bottom: 1rem;
}
.step h4 { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; }
.step p { font-size: .82rem; color: var(--muted); }

/* ── CTA ── */
.cta-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(99,102,241,0.1), transparent);
  pointer-events: none;
}
.cta-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800;
  margin-bottom: 1rem;
}
.cta-section p { color: var(--muted); max-width: 500px; margin: 0 auto 2.2rem; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 6vw 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand p { color: var(--muted); font-size: .88rem; margin-top: .8rem; max-width: 280px; line-height: 1.7; }
.footer-col h5 { font-size: .85rem; font-weight: 600; margin-bottom: 1rem; color: var(--white); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col ul li a:hover { color: var(--purple-l); }

.footer-bottom {
  padding: 1.5rem 6vw 1rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
}
.footer-bottom p { color: var(--muted); font-size: .82rem; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 100px 6vw 60px; }
  .hero-visual { display: none; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-visual { display: none; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  nav .nav-cta-desktop { display: none; }
  .hero h1 { font-size: 1.9rem; }
  .services-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pilares { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-btns { flex-direction: column; }
}

/* ── FADE-IN ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }