/* ============================================================
   ManausPlay — Site institucional
   Estilos do site público (segue os tokens do preview.html)
   ============================================================ */

:root {
  --green: #39b54a;
  --green-dark: #0c7c36;
  --green-deep: #055a25;
  --green-soft: #eaf8ee;
  --green-border: #ccefd5;

  --bg: #ffffff;
  --bg-alt: #f4f7f5;
  --card: #ffffff;
  --text: #151a26;
  --muted: #6b7280;
  --border: #e7ece8;
  --dark: #10261a;

  --shadow: 0 18px 40px rgba(13, 44, 24, 0.10);
  --shadow-sm: 0 8px 20px rgba(13, 44, 24, 0.06);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 22px rgba(57, 181, 74, 0.28);
}
.btn-primary:hover { background: var(--green-dark); }
.btn-outline {
  background: #fff;
  color: var(--green-dark);
  border-color: var(--green-border);
}
.btn-outline:hover { background: var(--green-soft); }
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-lg { padding: 17px 34px; font-size: 17px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 40px; width: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a.nav-link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  transition: color .15s;
}
.nav a.nav-link:hover { color: var(--green); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--text);
  border-radius: 3px;
  margin: 5px 0;
  transition: .2s;
}

/* ---------- Seções ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 52px; }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
.section-head h2 { font-size: 38px; font-weight: 800; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(57,181,74,0.12), transparent 60%),
    var(--bg);
  padding: 70px 0 80px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { font-size: 52px; font-weight: 800; }
.hero h1 .hl { color: var(--green); }
.hero .lead { font-size: 20px; color: var(--muted); margin: 22px 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-size: 26px; font-weight: 800; color: var(--text); }
.hero-trust span { font-size: 14px; color: var(--muted); }

.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid #fff;
  background: #000;
}
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.floating-badge small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.floating-badge .ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center;
}
.badge-tl { top: 22px; left: -26px; }
.badge-br { bottom: 22px; right: -22px; }

/* ---------- Faixa de números ---------- */
.stats {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 60%, var(--green-deep) 100%);
  color: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
  text-align: center;
}
.stats-grid .num { font-size: 42px; font-weight: 800; letter-spacing: -0.02em; }
.stats-grid .lbl { opacity: .9; font-size: 15px; margin-top: 4px; }

/* ---------- Cards de features ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.svg-ico { width: 28px; height: 28px; stroke-width: 2; }

/* ---------- Como funciona (passos) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step .n {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #fff; font-weight: 800; font-size: 20px;
  display: grid; place-items: center; margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(57,181,74,0.3);
}
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Split (imagem + texto) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { font-size: 34px; font-weight: 800; margin-bottom: 18px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.check-list .ck {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-dark);
  display: grid; place-items: center; margin-top: 2px;
}

/* ---------- Cases / prova social ---------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.case-logo {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  height: 120px;
  display: grid;
  place-items: center;
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.case-logo img { max-height: 70px; width: auto; object-fit: contain; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tag {
  background: #fff; border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14px;
  color: var(--text);
}

/* ---------- Preços ---------- */
.pricing { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 820px; margin: 0 auto; }
.price-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm);
  position: relative;
}
.price-card.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.price-card .pc-tag {
  position: absolute; top: -13px; right: 26px;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px;
}
.price-card h3 { font-size: 20px; }
.price-card .from { color: var(--muted); font-size: 14px; margin-top: 14px; }
.price-card .val { font-size: 40px; font-weight: 800; color: var(--text); }
.price-card .val span { font-size: 16px; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 10px; }
.price-card li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }
.price-card li .ck { color: var(--green); font-weight: 800; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 24px; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 24px; font-size: 17px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .pm { flex: none; color: var(--green); font-size: 24px; transition: transform .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--muted); }

/* ---------- CTA + formulário ---------- */
.cta {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 70%, var(--green-deep) 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cta h2 { font-size: 38px; font-weight: 800; }
.cta p { font-size: 18px; opacity: .92; margin-top: 16px; }
.cta-contacts { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.cta-contacts a { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.cta-contacts .ico { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.18); display: grid; place-items: center; }
.form-card {
  background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); color: var(--text);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border);
  border-radius: 12px; font-family: inherit; font-size: 15px; background: var(--bg-alt);
  transition: border-color .15s, background .15s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--green); background: #fff;
}
.field textarea { resize: vertical; min-height: 92px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #cfe9d6; padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer img.flogo { height: 40px; margin-bottom: 16px; }
.site-footer p { font-size: 14px; opacity: .8; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .03em; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 14px; opacity: .85; }
.site-footer a:hover { opacity: 1; color: #fff; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; opacity: .7;
}

/* ---------- Faixa de acesso ao painel (clientes) ---------- */
.access-band {
  background: var(--green-soft);
  border: 1px solid var(--green-border);
  border-radius: var(--radius);
  padding: 38px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.access-band .ab-text { display: flex; align-items: center; gap: 18px; }
.access-band .ab-ico {
  flex: none; width: 56px; height: 56px; border-radius: 16px;
  background: var(--green); color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 22px rgba(57,181,74,0.3);
}
.access-band h3 { font-size: 22px; font-weight: 800; }
.access-band p { color: var(--muted); font-size: 15px; margin-top: 4px; }
@media (max-width: 800px) {
  .access-band { padding: 28px; flex-direction: column; align-items: flex-start; }
  .access-band .btn { width: 100%; }
}

/* ---------- WhatsApp flutuante ---------- */
.wpp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.45);
  transition: transform .15s;
}
.wpp-float:hover { transform: scale(1.08); }
.wpp-float svg { width: 32px; height: 32px; }

/* ---------- Animação reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Decorações de marca ---------- */
.brand-x { position: absolute; opacity: .12; pointer-events: none; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1200px) {
  .hero h1 { font-size: 44px; }
  .cards.cols-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .section { padding: 60px 0; }
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 18px 24px; gap: 16px; box-shadow: var(--shadow);
  }
  .nav.open .nav-cta { flex-direction: column; align-items: stretch; }
  .menu-toggle { display: block; }
  .hero-grid, .split, .cta-grid, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 60px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 18px; }
  .section-head h2, .cta h2 { font-size: 30px; }
  .cards, .cards.cols-2, .cards.cols-4, .steps, .pricing, .cases-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; }
  .floating-badge { display: none; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .cards, .cards.cols-2, .steps, .pricing, .cases-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .section-head h2, .cta h2 { font-size: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
