/* ============================================================
   Selecte — Estilos principais (landing do hub)
   ============================================================ */
:root {
  --p1: #6d28d9;
  --p2: #8b5cf6;
  --p3: #ec4899;
  --p4: #f59e0b;
  --dark: #0b0f1a;
  --dark2: #111827;
  --card: #151b2c;
  --line: rgba(255, 255, 255, .08);
  --txt: #e5e7eb;
  --muted: #9ca3af;
  --ok: #10b981;
  --danger: #ef4444;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0, 0, 0, .45);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--txt);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { width: min(1140px, 92%); margin-inline: auto; }

/* ---------- Fundos decorativos ---------- */
.hero-bg { position: relative; }
.hero-bg::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 500px at 12% -10%, rgba(139, 92, 246, .35), transparent 60%),
    radial-gradient(700px 500px at 88% 5%, rgba(236, 72, 153, .28), transparent 60%),
    radial-gradient(600px 400px at 50% 110%, rgba(245, 158, 11, .15), transparent 60%);
  pointer-events: none;
}

/* ---------- Navbar ---------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 26, .7);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--p1), var(--p3));
  font-weight: 900; color: #fff; font-size: 18px;
  box-shadow: 0 8px 24px rgba(109, 40, 217, .5);
}
.brand b { background: linear-gradient(90deg, #fff, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 600; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-burger {
  display: none; background: none; border: 0; color: #fff; font-size: 22px;
  padding: 8px; line-height: 1; cursor: pointer;
}
@media (max-width: 900px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; top: 62px; left: 0; right: 0; z-index: 59;
    display: none; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 16px; background: rgba(11, 15, 26, .97);
    backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(0, 0, 0, .5);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 14px; border-radius: 10px; font-size: 15px; }
  .nav-links > a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .nav-cta { flex-direction: column; gap: 8px; width: 100%; margin-top: 6px; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14px;
  border: 0; transition: transform .15s, box-shadow .2s, background .2s; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--p1), var(--p3));
  color: #fff; box-shadow: 0 10px 30px rgba(139, 92, 246, .4);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(236, 72, 153, .5); }
.btn-ghost { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-wa { background: #25d366; color: #063;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .35); }
.btn-wa:hover { background: #20bd5a; }
.btn-block { width: 100%; }
.btn-lg { padding: 15px 30px; font-size: 16px; border-radius: 14px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 70px; text-align: center; position: relative; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: rgba(139, 92, 246, .12); border: 1px solid rgba(139, 92, 246, .3); color: #c4b5fd;
  margin-bottom: 22px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16,185,129,.2); }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.1; letter-spacing: -.03em; font-weight: 900; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--p2), var(--p3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { max-width: 700px; margin: 20px auto 0; color: var(--muted); font-size: 18px; }
.hero .sub strong { color: var(--txt); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-trust { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust .ok { color: var(--ok); }

/* ---------- "Vitrine" de mini-avisos ---------- */
.mini-logos {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 42px;
}
.mini-logos span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 700;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--txt);
}
.mini-logos i { font-size: 12px; color: #fff; display: grid; place-items: center; }

/* ---------- Seções ---------- */
section { padding: 76px 0; position: relative; }
.section-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: #c4b5fd;
  background: rgba(139, 92, 246, .1); border: 1px solid rgba(139, 92, 246, .25);
}
.center { text-align: center; }
.center .section-tag { margin-bottom: 14px; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; font-weight: 900; margin-bottom: 12px; }
.section-desc { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto; }

.grid { display: grid; gap: 20px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(139, 92, 246, .4); }
.card .ic {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  font-size: 20px; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--p1), var(--p3));
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------- Projetos (vitrine) ---------- */
#projetos { background: var(--dark2); }
.proj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 48px; }
@media (max-width: 960px) { .proj-grid { grid-template-columns: 1fr; } }

.proj-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.proj-card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, .45); box-shadow: var(--shadow); }
.proj-card.destaque { border-color: rgba(139, 92, 246, .5); }

/* Mockup (mini-preview do projeto) */
.mock {
  background: #0d1220; padding: 16px 16px 0; position: relative; overflow: hidden;
}
.mock-bar {
  display: flex; gap: 6px; padding: 10px 12px; background: rgba(255, 255, 255, .04);
  border-radius: 10px 10px 0 0; margin-bottom: 12px;
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mock-bar i:nth-child(1) { background: #f87171; }
.mock-bar i:nth-child(2) { background: #fbbf24; }
.mock-bar i:nth-child(3) { background: #34d399; }
.mock-screen {
  background: #10182a; border: 1px solid var(--line); border-radius: 12px 12px 0 0;
  padding: 18px; display: flex; gap: 16px; align-items: flex-start;
  min-height: 150px;
}
.mock-v1 { flex-direction: row; }
.mock-v2 { flex-direction: column; }

.mock-logo {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 900; color: #fff; font-size: 17px; flex-shrink: 0;
}
.mock-v1 .mock-left { flex: 1; min-width: 0; }
.mock-v1 .mock-left h3 { font-size: 15px; margin: 8px 0 4px; color: #fff; }
.mock-v1 .mock-left p { font-size: 11.5px; color: var(--muted); margin-bottom: 10px; }
.mock-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-pills span {
  font-size: 10px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #cbd5e1;
}
.mock-v1 .mock-right { width: 128px; flex-shrink: 0; display: grid; gap: 8px; }
.mock-v1 .mock-card {
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  border-radius: 10px; padding: 9px 11px;
}
.mock-v1 .mock-card small { display: block; font-size: 9.5px; color: var(--muted); }
.mock-v1 .mock-card strong { font-size: 11px; color: #fff; }

.mock-v2 .mock-cat {
  display: flex; gap: 8px; margin: 10px 0 12px;
}
.mock-v2 .mock-cat span {
  font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: #cbd5e1;
}
.mock-produtos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-prod { background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.mock-prod .thumb {
  height: 34px; border-radius: 7px; margin-bottom: 8px; opacity: .85;
}
.mock-prod .t1 { height: 8px; width: 80%; border-radius: 4px; background: rgba(255,255,255,.14); margin-bottom: 5px; }
.mock-prod .t2 { height: 8px; width: 55%; border-radius: 4px; background: rgba(255,255,255,.1); }
.mock-prod b { display: block; margin-top: 7px; font-size: 10px; color: #fff; }
.mock-prod small { display: block; font-size: 9px; color: var(--muted); }

/* Mock v3 — chat (atendimento WhatsApp) */
.mock-v3 { flex-direction: column; }
.mock-v3-head { display: flex; align-items: center; gap: 10px; width: 100%; }
.mock-online {
  margin-left: auto; font-size: 9px; font-weight: 700; color: #34d399;
  background: rgba(52, 211, 153, .12); border: 1px solid rgba(52, 211, 153, .25);
  padding: 3px 8px; border-radius: 999px; flex: none;
}
.mock-chat { display: grid; gap: 7px; width: 100%; margin-top: 12px; }
.mock-bubble {
  max-width: 80%; padding: 7px 11px; border-radius: 12px;
  font-size: 10.5px; line-height: 1.45;
}
.mock-bubble.cli { align-self: flex-start; background: rgba(255, 255, 255, .07); color: #cbd5e1; border-bottom-left-radius: 3px; }
.mock-bubble.bot { align-self: flex-end; color: #fff; border-bottom-right-radius: 3px; }
.mock-chat-actions { display: flex; gap: 6px; }
.mock-chat-actions span {
  font-size: 9px; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  border: 1px solid var(--line); color: #cbd5e1; display: inline-flex; align-items: center; gap: 5px;
}

/* Mock v4 — vídeo (criativos de anúncio) */
.mock-v4 { flex-direction: column; }
.mock-v4-head { display: flex; align-items: center; gap: 10px; width: 100%; }
.mock-v4-mid { display: flex; align-items: center; gap: 16px; width: 100%; margin-top: 12px; }
.mock-video-frame {
  width: 74px; height: 116px; border-radius: 10px; position: relative;
  display: grid; place-items: center; flex: none;
}
.mock-video-frame .play {
  width: 28px; height: 28px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; color: #0b0f1a; font-size: 10px;
}
.mock-video-frame .dur {
  position: absolute; right: 5px; bottom: 5px; font-size: 8.5px; font-weight: 700;
  color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 5px; border-radius: 5px;
}
.mock-v4-side { display: grid; gap: 9px; flex: 1; min-width: 0; }
.mock-v4-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line);
  border-radius: 9px; padding: 8px 11px;
}
.mock-v4-row span { font-size: 9.5px; color: var(--muted); }
.mock-v4-row strong { font-size: 10.5px; color: #fff; text-align: right; }
.mock-timeline {
  width: 100%; height: 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); overflow: hidden; margin-top: 12px;
}
.mock-timeline i { display: block; height: 100%; width: 62%; background: var(--bar, #6d28d9); border-radius: 999px; }

.proj-body { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.proj-head { display: flex; align-items: center; gap: 14px; }
.proj-head .p-logo {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 22px; color: #fff; flex-shrink: 0;
}
.proj-head h3 { font-size: 21px; letter-spacing: -.01em; }
.proj-head .p-publico {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 3px;
  font-size: 12px; font-weight: 700; color: var(--muted);
}
.proj-tagline { color: #cbd5e1; font-weight: 700; font-size: 14px; }
.proj-desc { color: var(--muted); font-size: 14.5px; }
.proj-feats { display: flex; flex-wrap: wrap; gap: 8px; }
.proj-feats span {
  font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #e5e7eb;
}
.proj-cta { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.btn-proj { --pc: var(--p1); background: var(--pc); color: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.btn-proj:hover { filter: brightness(1.1); }
.btn-proj-ghost { background: transparent; border: 1.5px solid var(--line); color: var(--txt); }
.btn-proj-ghost:hover { background: rgba(255, 255, 255, .06); }

/* ---------- Passos ---------- */
#como-funciona { background: var(--dark2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; position: relative;
}
.step .num {
  font-size: 13px; font-weight: 900; color: var(--p2);
  display: inline-grid; place-items: center; width: 38px; height: 38px;
  border-radius: 12px; background: rgba(139, 92, 246, .12); margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 36px auto 0; display: grid; gap: 12px; }
.faq-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 22px; transition: border-color .2s;
}
.faq-item:hover { border-color: rgba(139, 92, 246, .4); }
.faq-item summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-weight: 700; font-size: 15.5px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus { color: var(--p2); font-size: 20px; font-weight: 400; transition: transform .2s; }
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-item .ans { color: var(--muted); font-size: 14.5px; padding-bottom: 18px; }

/* ---------- CTA final ---------- */
.cta-final {
  text-align: center; padding: 56px 40px; border-radius: 26px; position: relative; overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(139, 92, 246, .35), transparent 60%),
    radial-gradient(500px 300px at 90% 100%, rgba(236, 72, 153, .3), transparent 60%),
    var(--card);
  border: 1px solid rgba(139, 92, 246, .35);
}
.cta-final h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -.02em; font-weight: 900; margin-bottom: 12px; }
.cta-final p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* ---------- Rodapé ---------- */
.footer { border-top: 1px solid var(--line); padding: 46px 0 26px; background: var(--dark2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { font-size: 14px; margin-bottom: 14px; letter-spacing: .02em; }
.footer ul { display: grid; gap: 9px; }
.footer ul a { color: var(--muted); font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer .about { color: var(--muted); font-size: 14px; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; font-size: 28px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Flash ---------- */
.flash-wrap { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 100; width: min(560px, 92%); display: grid; gap: 10px; }
.flash {
  padding: 13px 18px; border-radius: 12px; font-size: 14px; font-weight: 600;
  border: 1px solid; backdrop-filter: blur(8px);
}
.flash.ok { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .4); color: #6ee7b7; }
.flash.err { background: rgba(239, 68, 68, .12); border-color: rgba(239, 68, 68, .4); color: #fca5a5; }
