:root {
  --bg: #050508;
  --bg-2: #0b0b12;
  --card: rgba(255, 255, 255, 0.04);
  --line: rgba(190, 140, 255, 0.18);
  --text: #f4f2fa;
  --muted: #a9a3bd;
  --violet: #9d00ff;
  --grad: linear-gradient(120deg, #4f00ff 0%, #a100ff 50%, #ff00e6 100%);
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 50% -5%, rgba(120, 0, 255, 0.28), transparent 70%),
    radial-gradient(ellipse 50% 35% at 100% 100%, rgba(160, 0, 255, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 0% 60%, rgba(80, 0, 255, 0.12), transparent 70%);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
.accent { color: var(--violet); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* topo */
.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(5, 5, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 0.02em; font-size: 1.15rem; }
.brand img { width: 30px; height: 30px; }
.nav { display: flex; gap: 26px; font-size: 0.9rem; font-weight: 600; color: var(--muted); }
.nav a { text-decoration: none; transition: color 0.2s; }
.nav a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 36px rgba(160, 0, 255, 0.38);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 44px rgba(160, 0, 255, 0.5); }
.btn.small { padding: 10px 18px; font-size: 0.88rem; }
.btn-ghost {
  display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px;
  border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--text);
}
.btn-ghost:hover { border-color: rgba(190, 140, 255, 0.5); }

/* hero */
.hero { text-align: center; padding: 96px 0 72px; }
.hero .logo { width: 92px; margin: 0 auto 28px; filter: drop-shadow(0 0 34px rgba(170, 0, 255, 0.6)); }
.eyebrow { font-size: 1rem; color: var(--muted); margin-bottom: 10px; }
h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem); line-height: 1.02; font-weight: 900;
  letter-spacing: -0.02em; text-transform: uppercase;
}
.hero p.lead { max-width: 620px; margin: 24px auto 34px; color: var(--muted); font-size: 1.12rem; }
.hero .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* seções */
section { padding: 72px 0; }
.kicker { font-size: 0.95rem; color: var(--muted); }
h2 { font-size: clamp(1.8rem, 4.2vw, 2.9rem); font-weight: 900; line-height: 1.08; text-transform: uppercase; letter-spacing: -0.01em; margin: 6px 0 14px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head p { color: var(--muted); }

.grid { display: grid; gap: 18px; }
.grid.services { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(120, 0, 255, 0.07));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: rgba(157, 0, 255, 0.16); border: 1px solid var(--line); color: #d9a6ff;
}
.card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.95rem; }
.card.highlight { border-color: rgba(200, 120, 255, 0.45); box-shadow: 0 0 0 1px rgba(160, 0, 255, 0.25), 0 20px 60px rgba(120, 0, 255, 0.2); }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #e6c2ff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }

/* automação */
.auto { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.auto ul { list-style: none; display: grid; gap: 14px; margin: 22px 0 26px; }
.auto li { display: flex; gap: 12px; color: var(--muted); }
.auto li b { color: var(--text); }
.auto li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--grad); }
.note { font-size: 0.85rem; color: var(--muted); }
.phone {
  max-width: 340px; margin-inline: auto; border-radius: 34px; padding: 18px;
  background: #0d0c14; border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(110, 0, 255, 0.28);
}
.phone .bar { display: flex; align-items: center; gap: 10px; padding: 6px 6px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 14px; font-weight: 700; font-size: 0.9rem; }
.phone .bar span { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 0.8rem; }
.msg { max-width: 86%; padding: 9px 13px; border-radius: 14px; font-size: 0.86rem; margin-bottom: 8px; line-height: 1.45; }
.msg.in { background: #1d1b2a; border-top-left-radius: 4px; }
.msg.out { background: #3b0a6b; margin-left: auto; border-top-right-radius: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 10px; }
.chips span { font-size: 0.76rem; padding: 6px 10px; border-radius: 10px; border: 1px solid rgba(200, 140, 255, 0.4); color: #e6c2ff; }

/* portfólio */
.portfolio { grid-template-columns: repeat(4, 1fr); }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.shot img { aspect-ratio: 9 / 16; object-fit: cover; width: 100%; }

/* passos e público */
.steps { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.steps .card::before { counter-increment: step; content: "0" counter(step); display: block; font-weight: 900; font-size: 1.6rem; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pills span { padding: 13px 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,0.04); font-weight: 700; }

.final { text-align: center; }
.final .card { padding: 56px 28px; }
.final p { color: var(--muted); max-width: 520px; margin: 0 auto 30px; }

/* rodapé */
footer { border-top: 1px solid rgba(255,255,255,0.06); padding: 40px 0 56px; color: var(--muted); font-size: 0.85rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* páginas de texto */
.doc { padding: 56px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; text-transform: none; }
.doc .updated { color: var(--muted); margin-bottom: 36px; }
.doc h2 { font-size: 1.25rem; text-transform: none; margin: 36px 0 10px; letter-spacing: 0; }
.doc p, .doc li { color: #cfc9e0; margin-bottom: 10px; }
.doc ul { padding-left: 22px; }
.doc a { color: #d9a6ff; }

@media (max-width: 880px) {
  .nav { display: none; }
  .top .btn.small { padding: 9px 14px; font-size: 0.8rem; }
  .auto { grid-template-columns: 1fr; }
  .portfolio { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
