/* ═══════════════════════════════════════════════
   UaiHost — estilos compartilhados (index + dev)
═══════════════════════════════════════════════ */
:root {
  --purple:       #863bff;
  --purple-deep:  #6d28d9;
  --purple-light: #a855f7;
  --cyan:         #47bfff;
  --cyan-light:   #7dd3fc;
  --green:        #22c55e;
  --green-deep:   #16a34a;
  --bg:           #05020e;
  --bg-2:         #0a0618;
  --surface:      rgba(255,255,255,0.035);
  --surface-2:    rgba(255,255,255,0.06);
  --border:       rgba(134,59,255,0.18);
  --border-soft:  rgba(255,255,255,0.08);
  --text:         #e2e8f0;
  --strong:       #ffffff;
  --muted:        #94a3b8;
  --radius:       18px;
  --radius-sm:    12px;
  --shadow:       0 20px 60px -20px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Tipografia ── */
h1, h2, h3, h4 { color: var(--strong); line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 40rem; }
.text-gradient {
  background: linear-gradient(120deg, var(--purple-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ── Badges ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cyan-light);
  padding: .4rem .85rem; border-radius: 999px;
  background: rgba(71,191,255,.08); border: 1px solid rgba(71,191,255,.2);
}
.eyebrow.purple { color: #c4b5fd; background: rgba(134,59,255,.1); border-color: rgba(134,59,255,.28); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .95rem; line-height: 1;
  padding: .9rem 1.4rem; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%); color: #fff; box-shadow: 0 10px 30px -8px rgba(134,59,255,.6); }
.btn-primary:hover { box-shadow: 0 14px 36px -8px rgba(134,59,255,.8); }
.btn-wpp { background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%); color: #fff; box-shadow: 0 10px 30px -8px rgba(34,197,94,.55); }
.btn-wpp:hover { box-shadow: 0 14px 36px -8px rgba(34,197,94,.75); }
.btn-outline { background: var(--surface); color: var(--strong); border-color: var(--border-soft); }
.btn-outline:hover { border-color: rgba(134,59,255,.5); background: var(--surface-2); }
.btn-lg { font-size: 1.02rem; padding: 1.05rem 1.7rem; }
.btn-sm { font-size: .85rem; padding: .65rem 1rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ── Navbar ── */
.topnav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.topnav.scrolled { background: rgba(5,2,14,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border-soft); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-link { font-size: .9rem; font-weight: 500; color: var(--muted); padding: .5rem .8rem; border-radius: 8px; transition: color .2s, background .2s; }
.nav-link:hover { color: var(--strong); background: var(--surface); }
.nav-cta { margin-left: .5rem; }
.hamburger { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 60; background: rgba(5,2,14,.97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu .nav-link { font-size: 1.15rem; }
.mobile-menu .btn { margin-top: 1rem; }
.close-menu { position: absolute; top: 1.4rem; right: 1.4rem; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }

/* ── Hero ── */
.hero { position: relative; padding: 9.5rem 0 5rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 15% 10%, rgba(134,59,255,.22), transparent 70%),
    radial-gradient(500px 380px at 85% 30%, rgba(71,191,255,.14), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3.5rem; align-items: center; }
.hero h1 { margin: 1.25rem 0 1.25rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-note { margin-top: 1rem; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--green); }

/* Mock do app de rádio no hero */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  width: 260px; border-radius: 36px; padding: 12px;
  background: linear-gradient(160deg, #1b1235, #0b0717);
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 40px 80px -30px rgba(134,59,255,.55), var(--shadow);
}
.phone-screen { border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #2a1660 0%, #0d0a1f 70%); padding: 1.6rem 1.2rem 1.4rem; text-align: center; }
.phone-notch { width: 90px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.15); margin: 0 auto 1.4rem; }
.phone-cover { width: 150px; height: 150px; margin: 0 auto 1.2rem; border-radius: 22px; background: linear-gradient(135deg, var(--purple) 0%, var(--cyan) 100%); display: grid; place-items: center; box-shadow: 0 18px 40px -12px rgba(134,59,255,.7); }
.phone-cover svg { width: 64px; height: 64px; color: #fff; }
.phone-live { display: inline-flex; align-items: center; gap: .35rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: #fca5a5; background: rgba(239,68,68,.15); padding: .25rem .6rem; border-radius: 999px; }
.phone-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ef4444; animation: pulse 1.6s infinite; }
.phone-title { color: #fff; font-weight: 800; margin-top: .6rem; }
.phone-sub { color: var(--muted); font-size: .8rem; }
.phone-bars { display: flex; justify-content: center; align-items: flex-end; gap: 4px; height: 34px; margin: 1.1rem 0; }
.phone-bars span { width: 5px; border-radius: 3px; background: linear-gradient(var(--cyan), var(--purple)); animation: eq 1.1s ease-in-out infinite; }
.phone-bars span:nth-child(2n) { animation-delay: -.3s; }
.phone-bars span:nth-child(3n) { animation-delay: -.6s; }
.phone-bars span:nth-child(5n) { animation-delay: -.8s; }
.phone-play { width: 58px; height: 58px; margin: 0 auto; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.phone-play svg { width: 22px; height: 22px; color: var(--purple-deep); margin-left: 3px; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  padding: .65rem .9rem; border-radius: 14px; font-size: .8rem; font-weight: 600; color: var(--strong);
  background: rgba(18,12,38,.9); border: 1px solid var(--border-soft); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-chip .ico { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; }
.float-chip .ico svg { width: 16px; height: 16px; }
.float-chip small { display: block; font-weight: 500; color: var(--muted); font-size: .7rem; }
.chip-1 { top: 8%; left: -4%; }
.chip-2 { top: 44%; right: -8%; animation-delay: -2s; }
.chip-3 { bottom: 6%; left: 0; animation-delay: -4s; }

@keyframes eq { 0%,100% { height: 20%; } 50% { height: 100%; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ── Faixa de confiança ── */
.trust { border-block: 1px solid var(--border-soft); background: rgba(255,255,255,.015); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.8rem 0; }
.trust-item { display: flex; align-items: center; gap: .85rem; }
.trust-item .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(134,59,255,.12); color: var(--purple-light); }
.trust-item .ico svg { width: 20px; height: 20px; }
.trust-item strong { display: block; color: var(--strong); font-size: 1.05rem; line-height: 1.2; }
.trust-item span { font-size: .82rem; color: var(--muted); }

/* ── Seções ── */
.section { padding: 6rem 0; position: relative; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(134,59,255,.045) 50%, transparent); }
.section-head { max-width: 46rem; margin: 0 auto 3.2rem; text-align: center; }
.section-head h2 { margin: 1rem 0 .9rem; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { margin-left: 0; text-align: left; }

/* ── Cards ── */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border-soft);
  transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(134,59,255,.4); background: var(--surface-2); box-shadow: 0 24px 50px -24px rgba(134,59,255,.45); }
.card-top { display: flex; align-items: center; gap: .85rem; }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.card-icon svg { width: 24px; height: 24px; }
.card-logo { height: 40px; display: flex; align-items: center; }
.card-logo img { max-height: 40px; width: auto; }
.card h3 { font-size: 1.15rem; }
.card-kicker { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card p { color: var(--muted); font-size: .94rem; }
.card ul { list-style: none; display: grid; gap: .45rem; }
.card li { display: flex; gap: .55rem; font-size: .9rem; color: var(--text); }
.card li svg { width: 16px; height: 16px; color: var(--cyan); margin-top: .22rem; }
.card-actions { margin-top: auto; padding-top: .4rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.card-badge { position: absolute; top: 1.1rem; right: 1.1rem; font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; background: rgba(71,191,255,.12); color: var(--cyan-light); border: 1px solid rgba(71,191,255,.25); }
.card-badge.new { background: rgba(34,197,94,.12); color: #86efac; border-color: rgba(34,197,94,.3); }
.card.featured { background: linear-gradient(160deg, rgba(134,59,255,.14), rgba(71,191,255,.05) 60%); border-color: rgba(134,59,255,.35); }

/* cores dos ícones */
.ic-purple { background: rgba(134,59,255,.14); color: var(--purple-light); border: 1px solid rgba(134,59,255,.25); }
.ic-cyan   { background: rgba(71,191,255,.12); color: var(--cyan); border: 1px solid rgba(71,191,255,.25); }
.ic-green  { background: rgba(34,197,94,.12); color: #4ade80; border: 1px solid rgba(34,197,94,.25); }
.ic-orange { background: rgba(249,115,22,.12); color: #fb923c; border: 1px solid rgba(249,115,22,.25); }
.ic-gold   { background: rgba(212,168,67,.12); color: #e7c46b; border: 1px solid rgba(212,168,67,.25); }
.ic-pink   { background: rgba(236,72,153,.12); color: #f472b6; border: 1px solid rgba(236,72,153,.25); }

/* ── Bloco "Rádio completa" ── */
.combo {
  margin-top: 2rem; padding: 2rem 2.2rem; border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  background: linear-gradient(120deg, rgba(134,59,255,.2), rgba(71,191,255,.1));
  border: 1px solid rgba(134,59,255,.35);
}
.combo h3 { font-size: 1.45rem; margin-bottom: .4rem; }
.combo p { color: var(--text); opacity: .85; }
.combo-steps { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.combo-steps span { font-size: .8rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid var(--border-soft); }

/* ── Casos reais ── */
.case { display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-soft); }
.case h3 { font-size: 1.1rem; }
.case-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-size: .74rem; font-weight: 600; padding: .28rem .6rem; border-radius: 999px; background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--border-soft); }
.tag.cyan { background: rgba(71,191,255,.1); color: var(--cyan-light); border-color: rgba(71,191,255,.25); }
.store-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.store-link { display: inline-flex; align-items: center; gap: .4rem; font-size: .8rem; font-weight: 600; padding: .5rem .8rem; border-radius: 10px; background: rgba(255,255,255,.06); border: 1px solid var(--border-soft); transition: border-color .2s, background .2s; }
.store-link:hover { border-color: rgba(134,59,255,.5); background: rgba(255,255,255,.09); }
.store-link svg { width: 15px; height: 15px; }

/* ── Passos ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.step { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-soft); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font-size: 2rem; font-weight: 900; line-height: 1; margin-bottom: .9rem; background: linear-gradient(120deg, var(--purple-light), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.step p { color: var(--muted); font-size: .9rem; }

/* ── Stack ── */
.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.stack span { font-size: .88rem; font-weight: 600; padding: .6rem 1rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-soft); }

/* ── FAQ ── */
.faq { max-width: 52rem; margin: 0 auto; display: grid; gap: .75rem; }
.faq details { border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border-soft); padding: 1.1rem 1.3rem; }
.faq details[open] { border-color: rgba(134,59,255,.35); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--strong); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--purple-light); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: .7rem; font-size: .95rem; }

/* ── CTA final ── */
.cta-final { padding: 5rem 0 6rem; }
.cta-box {
  position: relative; overflow: hidden; text-align: center;
  padding: 4rem 2rem; border-radius: 28px;
  background: linear-gradient(135deg, rgba(134,59,255,.28), rgba(71,191,255,.12));
  border: 1px solid rgba(134,59,255,.4);
}
.cta-box::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(134,59,255,.35), transparent 70%); top: -240px; left: 50%; transform: translateX(-50%); pointer-events: none; }
.cta-box > * { position: relative; }
.cta-box h2 { margin: 1rem 0 .9rem; }
.cta-box p { color: var(--text); opacity: .85; max-width: 36rem; margin: 0 auto; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: 2rem; }

/* ── Footer ── */
footer { border-top: 1px solid var(--border-soft); padding: 3.5rem 0 2rem; background: rgba(0,0,0,.25); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 20rem; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .9rem; }
.footer-col a { display: block; font-size: .9rem; color: var(--text); opacity: .8; padding: .25rem 0; transition: opacity .2s, color .2s; }
.footer-col a:hover { opacity: 1; color: var(--strong); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .83rem; color: var(--muted); }
.footer-bottom a:hover { color: var(--strong); }

/* ── WhatsApp flutuante (fica à esquerda: o chat do FlowSync ocupa a direita) ── */
.wpp-float {
  position: fixed; left: 1.1rem; bottom: 1.1rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.05rem; border-radius: 999px; font-weight: 700; font-size: .9rem; color: #fff;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  box-shadow: 0 12px 30px -8px rgba(34,197,94,.6);
  transition: transform .2s;
}
.wpp-float:hover { transform: translateY(-2px); }
.wpp-float svg { width: 20px; height: 20px; }

/* ── Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .phone-bars span, .phone-live::before { animation: none; }
}

/* ── Responsivo ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .hero { padding: 7.5rem 0 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: 2; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
  .combo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 4.5rem 0; }
  .grid-2, .grid-3, .grid-4, .steps { grid-template-columns: 1fr; }
  .hero-ctas .btn, .cta-actions .btn, .combo .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .chip-1 { left: 0; } .chip-2 { right: 0; } .chip-3 { left: 4%; }
  .combo { padding: 1.6rem; }
  .cta-box { padding: 3rem 1.25rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .wpp-float span { display: none; }
  .wpp-float { padding: .85rem; }
}
