/* ============================================================
   E AÍ, PEDIU? — site institucional
   ============================================================ */
:root {
  --laranja: #FF5A3C;
  --marinho: #0D1B3D;
  --verde: #22C55E;
  --amarelo: #FFC107;
  --cinza: #F3F4F6;
  --branco: #FFFFFF;
  --texto: #1A2036;
  --texto-suave: #5B6178;

  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --radius: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); color: var(--marinho); line-height: 1.08; }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 620px; }

/* ---------- HEADER ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ECEDF2;
}
.topbar-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav-logo { height: 40px; width: auto; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--texto-suave); font-weight: 700; font-size: 0.92rem;
}
.nav-links a:hover { color: var(--marinho); }
.btn-nav {
  background: var(--laranja); color: #fff; font-weight: 800; font-size: 0.88rem;
  padding: 10px 20px; border-radius: 999px; white-space: nowrap;
}

/* ---------- POPUP DE INSTALAÇÃO ---------- */
.install-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,27,61,0.45);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease;
}
.install-overlay.hidden { display: none; }
.install-overlay.show { opacity: 1; }

.install-popup {
  background: #fff; width: 100%; max-width: 420px;
  border-radius: 24px 24px 0 0; padding: 28px 26px 30px;
  text-align: center; position: relative;
  transform: translateY(100%); transition: transform 0.3s ease;
}
.install-overlay.show .install-popup { transform: translateY(0); }

.install-popup-icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 14px; }
.install-popup-title { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--marinho); }
.install-popup-domain { display: block; font-size: 0.8rem; color: var(--texto-suave); margin-bottom: 12px; }
.install-popup-desc { color: var(--texto-suave); font-size: 0.9rem; line-height: 1.5; margin-bottom: 20px; }

.btn-install {
  background: var(--verde); color: #fff; border: none; font-family: var(--font-display);
  font-weight: 700; font-size: 1rem; padding: 13px 24px; border-radius: 999px; width: 100%;
}
.btn-fechar-install {
  position: absolute; top: 14px; right: 16px;
  background: var(--cinza); border: none; color: var(--texto-suave); font-size: 0.95rem;
  width: 30px; height: 30px; border-radius: 50%;
}

/* ---------- HERO ---------- */
.hero {
  background: var(--marinho);
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
}
.hero-text { flex: 1 1 380px; }
.hero-text h1 {
  color: #fff; font-size: 2.7rem; margin-bottom: 18px;
}
.hero-sub {
  color: #B9C0D6; font-size: 1.08rem; max-width: 46ch; margin-bottom: 30px; line-height: 1.5;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; background: var(--laranja); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(255,90,60,0.35);
}
.btn-ghost {
  display: inline-block; color: #fff; font-weight: 800; font-size: 1rem;
  padding: 14px 22px; border-radius: 999px; border: 2px solid rgba(255,255,255,0.35);
}
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }

.hero-visual { flex: 1 1 320px; display: flex; justify-content: center; }
.chat-mock {
  background: #fff; border-radius: 22px; width: 100%; max-width: 340px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35); overflow: hidden;
}
.chat-mock-header {
  background: var(--cinza); padding: 12px 16px; font-size: 0.78rem; font-weight: 800; color: var(--texto-suave);
  display: flex; align-items: center; gap: 8px;
}
.chat-mock-header .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }
.bubble { margin: 14px 16px; padding: 12px 14px; border-radius: 14px; font-size: 0.86rem; line-height: 1.4; }
.bubble-in { background: var(--cinza); color: var(--texto); border-bottom-left-radius: 4px; max-width: 88%; }
.bubble-out {
  background: var(--verde); color: #fff; margin-left: auto; border-bottom-right-radius: 4px;
  max-width: 88%; font-size: 0.82rem;
}
.bubble-out .total { display: block; margin-top: 6px; font-weight: 800; }
.chat-mock-foot { text-align: center; font-size: 0.72rem; color: var(--texto-suave); padding: 4px 0 16px; }

/* ---------- SECTIONS ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--cinza); }
.section-dark { background: var(--marinho); }
.section h2 { font-size: 2rem; margin-bottom: 12px; }
.text-light { color: #fff; }
.section-sub { color: var(--texto-suave); font-size: 1.02rem; max-width: 56ch; margin-bottom: 40px; }
.text-light-sub { color: #B9C0D6; }

/* ---------- DIFERENÇA ---------- */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { border-radius: var(--radius); padding: 26px; }
.compare-old { background: var(--cinza); }
.compare-new { background: var(--marinho); }
.compare-label {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  margin-bottom: 18px;
}
.compare-old .compare-label { color: var(--texto-suave); }
.compare-new .compare-label { color: var(--amarelo); }
.compare-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-top: 1px solid rgba(0,0,0,0.06); font-size: 0.92rem; font-weight: 700;
}
.compare-new .compare-row { border-top-color: rgba(255,255,255,0.12); color: #fff; }
.compare-old .compare-row { color: var(--texto); }
.compare-x { color: #C23B3B; font-weight: 800; }
.compare-check { color: var(--verde); font-weight: 800; }

/* ---------- FEATURES ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: 0 6px 20px rgba(13,27,61,0.06);
}
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--texto-suave); font-size: 0.92rem; line-height: 1.5; }

/* ---------- COMO FUNCIONA ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step-num {
  width: 40px; height: 40px; border-radius: 50%; background: var(--laranja); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step p { color: var(--texto-suave); font-size: 0.92rem; line-height: 1.5; }

/* ---------- CHIPS (futuro) ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 0.88rem;
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--marinho); color: #8890AC; text-align: center;
  padding: 40px 24px; font-size: 0.85rem;
}
.footer-logo { height: 34px; margin: 0 auto 14px; border-radius: 8px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 760px) {
  .hero-text h1 { font-size: 2.1rem; }
  .nav-links { display: none; }
  .compare-grid, .features-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
