/* ============================================================
   Migo Flow — variações de landing (páginas de teste)
   Design system compartilhado. Tokens fiéis ao site real.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b1424;
  --ink-soft: #1e293b;
  --muted: #475569;
  --canvas: #f5f5f7;
  --surface: #ffffff;
  --line: #e6e8ee;
  --accent: #10b981;
  --accent-strong: #059669;
  --accent-soft: #ecfdf5;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -18px rgba(11, 20, 36, 0.18);
  --shadow-soft: 0 8px 24px -12px rgba(11, 20, 36, 0.12);
  --font-head: 'Outfit', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'Work Sans', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--canvas);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.mid { max-width: 880px; }

section { padding: 64px 0; }
.eyebrow {
  display: inline-block; background: var(--accent-soft); color: var(--accent-strong);
  font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px;
}
.center { text-align: center; }
.muted { color: var(--muted); }
h1 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); line-height: 1.6; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 16px; padding: 14px 28px;
  border-radius: 999px; cursor: pointer; transition: all .2s ease; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-dark { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-ghost-dark:hover { background: rgba(255,255,255,.1); }

/* Navbar */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(245,245,247,.8); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav .logo { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.nav .logo b { color: var(--accent-strong); }
.nav .links { display: flex; gap: 28px; align-items: center; }
.nav .links a { color: var(--muted); font-weight: 500; font-size: 15px; }
.nav .links a:hover { color: var(--ink); }
@media (max-width: 820px) { .nav .links { display: none; } }

/* Cards / bento */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bento .card { transition: all .2s ease; }
.bento .card.col2 { grid-column: span 2; }
@media (max-width: 820px) { .bento { grid-template-columns: 1fr; } .bento .card.col2 { grid-column: span 1; } }
.ico { width: 46px; height: 46px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent-strong); margin-bottom: 16px; }
.ico svg { width: 24px; height: 24px; }

/* Mockups */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.mock-row { display: flex; justify-content: space-between; font-size: 14px; padding: 4px 0; color: var(--ink-soft); }
.mock-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 8px; }
.mock-total { border-top: 1px solid var(--line); padding-top: 8px; font-weight: 700; color: var(--ink); }
.tag-soft { background: var(--accent-soft); color: var(--accent-strong); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.cashline { background: var(--accent-soft); color: var(--accent-strong); font-size: 13px; font-weight: 600; padding: 9px 12px; border-radius: 12px; margin-top: 10px; }
.wa-bubble { background: var(--accent); color: #fff; font-size: 13px; padding: 9px 12px; border-radius: 16px 16px 16px 4px; max-width: 88%; }
.browser-bar { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e5ec; display: inline-block; }

/* Stats band */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats .stat .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(28px, 4vw, 42px); color: var(--ink); }
.stats .stat .l { color: var(--muted); font-size: 14px; margin-top: 4px; }
@media (max-width: 820px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Comparativo */
.cmp { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cmp .r { display: grid; grid-template-columns: 1.2fr 1fr 1fr; font-size: 15px; }
.cmp .head { background: var(--ink); color: #fff; font-weight: 600; }
.cmp .head .accent { color: var(--accent); }
.cmp .r > div { padding: 16px 20px; }
.cmp .r.alt { background: #fafbfc; }
.cmp .r .c { text-align: center; }
.cmp .r .c.muted { color: var(--muted); }
.cmp .r .c.win { font-weight: 700; color: var(--ink); }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step .num { width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-head); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--accent-strong); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* CTA escuro */
.cta-dark { background: var(--ink); border-radius: var(--radius); padding: 64px 24px; text-align: center; }
.cta-dark h2 { color: #fff; }
.cta-dark p { color: rgba(255,255,255,.7); margin-top: 14px; }

/* Prova social */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .proof { grid-template-columns: 1fr; } }
.proof .q { font-size: 17px; color: var(--ink-soft); line-height: 1.5; }
.proof .who { margin-top: 16px; font-weight: 600; color: var(--ink); font-size: 14px; }
.placeholder { border: 1px dashed var(--accent-strong); color: var(--accent-strong); background: var(--accent-soft); border-radius: 12px; padding: 8px 12px; font-size: 13px; font-weight: 600; display: inline-block; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 36px; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot .cols a { color: var(--muted); font-size: 14px; display: block; margin-top: 8px; }
.foot .legal { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 820px) { .foot .cols { grid-template-columns: 1fr; } }

.float-wa { position: fixed; right: 22px; bottom: 22px; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); z-index: 50; }

/* ============================================================
   MODIFICADORES POR VARIAÇÃO
   ============================================================ */

/* A — ENERGIA: gradiente verde no herói, ícones preenchidos */
.var-a .hero { background: linear-gradient(160deg, #ecfdf5 0%, #f5f5f7 60%); border-bottom: 1px solid var(--line); }
.var-a .ico { background: linear-gradient(145deg, var(--accent), var(--accent-strong)); color: #fff; }
.var-a .bento .card:hover { border-color: var(--accent); box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.var-a .eyebrow { background: #fff; box-shadow: var(--shadow-soft); }
.var-a section.tint { background: var(--accent-soft); }

/* B — PREMIUM LIMPA: minimalismo elevado, ritmo claro/escuro, sombras suaves */
.var-b .bento .card:hover { border-color: var(--line); box-shadow: var(--shadow); }
.var-b .card { box-shadow: var(--shadow-soft); }
.var-b section.tint { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.var-b .hero { padding-top: 40px; }

/* C — PROVA/CONFIANÇA: números grandes, mockups, fundo navy em blocos */
.var-c .hero { background: var(--ink); }
.var-c .hero h1, .var-c .hero .lead { color: #fff; }
.var-c .hero .lead { color: rgba(255,255,255,.78); }
.var-c .hero .eyebrow { background: rgba(255,255,255,.1); color: #6ee7b7; }
.var-c .hero .btn-ghost { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.var-c .hero .micro { color: rgba(255,255,255,.55); }
.var-c .statband { background: var(--ink); }
.var-c .statband .n { color: #fff; }
.var-c .statband .l { color: rgba(255,255,255,.6); }
.var-c .ico { background: var(--accent); color: #fff; }
