/* ========================================================================
   LOGIZAP — Landing page
   Dark, verde WhatsApp, gradiente verde→azul da marca. Motion discreto e
   refinado; respeita prefers-reduced-motion.
   ======================================================================== */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}

:root {
  --bg: #0a0a0b;
  --bg-2: #0e0e10;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --border: #212124;
  --border-strong: #2c2c31;
  --text: #f2f2f3;
  --text-muted: #9a9aa1;
  --text-dim: #66666d;
  --accent: #25d366;        /* verde WhatsApp */
  --accent-2: #1fb855;
  --blue: #1f86d6;          /* azul do gradiente da marca */
  --grad: linear-gradient(135deg, #43b05f 0%, #25d366 45%, #1f86d6 100%);
  --grad-soft: linear-gradient(135deg, rgba(67,176,95,.18), rgba(31,134,214,.18));
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 24px 60px -20px rgba(0,0,0,.6);
  --maxw: 1160px;
  --font: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: rgba(37,211,102,.3); }

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

/* ── Tipografia ──────────────────────────────────────── */
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent);
  padding: 6px 12px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: rgba(37,211,102,.06);
}
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.muted { color: var(--text-muted); }

/* ── Botões ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 500; font-size: 0.95rem;
  padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent); color: #05240f; border-color: var(--accent);
  box-shadow: 0 10px 30px -10px rgba(37,211,102,.5);
}
.btn-primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(37,211,102,.6); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--text-dim); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ── Nav ─────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,11,.78); backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; }
.brand-img { height: 34px; width: auto; display: block; }
.footer-brand .brand-img { height: 32px; }
@media (max-width: 560px) { .brand-img { height: 30px; } }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.nav-item { color: var(--text-muted); font-size: 0.92rem; transition: color .2s ease; }
.nav-links a.nav-item:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px; cursor: pointer; }
.nav-burger svg { width: 20px; height: 20px; color: var(--text); }

/* ── Fundo decorativo ────────────────────────────────── */
.bg-fx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.bg-glow.g1 { width: 540px; height: 540px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(37,211,102,.35), transparent 70%); }
.bg-glow.g2 { width: 520px; height: 520px; top: 120px; right: -160px; background: radial-gradient(circle, rgba(31,134,214,.28), transparent 70%); }

/* ── Seções ──────────────────────────────────────────── */
section { position: relative; padding: 96px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 16px 0 14px; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* ── Hero ────────────────────────────────────────────── */
.hero { padding: 150px 0 90px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); margin: 20px 0 20px; }
.hero p.lead { font-size: 1.16rem; color: var(--text-muted); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 0.86rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }

/* Mockup animado */
.mock {
  position: relative; border: 1px solid var(--border-strong); border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow); overflow: hidden; animation: float 6s ease-in-out infinite;
}
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 15px; border-bottom: 1px solid var(--border); background: var(--bg-2); }
.mock-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
.mock-dot.r { background: #e5484d; } .mock-dot.y { background: #d29922; } .mock-dot.g { background: var(--accent); }
.mock-title { margin-left: 8px; font-size: 0.78rem; color: var(--text-dim); font-family: var(--mono); }
.mock-body { padding: 20px; }
.mock-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mock-kpi { font-size: 0.74rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.mock-kpi b { display: block; font-size: 1.5rem; color: var(--text); letter-spacing: -0.02em; margin-top: 2px; }
.mock-kpi b.accent { color: var(--accent); }
.mock-prog { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin: 6px 0 20px; }
.mock-prog i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 999px; animation: fill 4.5s ease-in-out infinite; }
.mock-msgs { display: flex; flex-direction: column; gap: 10px; }
.mock-msg {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border); opacity: 0;
  animation: pop .5s ease forwards;
}
.mock-msg:nth-child(1) { animation-delay: .4s; } .mock-msg:nth-child(2) { animation-delay: 1.1s; }
.mock-msg:nth-child(3) { animation-delay: 1.8s; } .mock-msg:nth-child(4) { animation-delay: 2.5s; }
.mock-av { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); flex: 0 0 auto; }
.mock-msg .t { flex: 1 1 auto; height: 8px; border-radius: 4px; background: var(--border-strong); }
.mock-msg .t.s { width: 55%; }
.mock-check { color: var(--accent); width: 18px; height: 18px; flex: 0 0 auto; }
.mock-badge {
  position: absolute; right: -14px; bottom: 34px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 12px; padding: 12px 15px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px;
  animation: float 6s ease-in-out infinite .8s;
}
.mock-badge .ring { width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(var(--accent) 86%, var(--surface-2) 0); display: grid; place-items: center; }
.mock-badge .ring span { width: 26px; height: 26px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 0.66rem; font-weight: 600; color: var(--accent); }
.mock-badge small { display: block; color: var(--text-dim); font-size: 0.68rem; }
.mock-badge b { font-size: 0.86rem; }

/* ── Faixa de números ────────────────────────────────── */
.stats { padding: 44px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; letter-spacing: -0.03em; }
.stat span { color: var(--text-muted); font-size: 0.9rem; }

/* ── Features ────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.feature:hover { transform: translateY(-5px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.feature-ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--grad-soft); border: 1px solid var(--border-strong); color: var(--accent);
}
.feature-ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.feature p { color: var(--text-muted); font-size: 0.94rem; }

/* ── Como funciona ───────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.steps::before {
  content: ''; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}
.step { text-align: center; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  font-size: 1.3rem; font-weight: 600; color: var(--accent);
  background: var(--surface); border: 1px solid var(--border-strong); position: relative; z-index: 1;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.94rem; }

/* ── Destaque anti-bloqueio ──────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 18px; }
.split .lead { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 26px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; }
.check-list .ic { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 7px; background: rgba(37,211,102,.12); color: var(--accent); display: grid; place-items: center; margin-top: 2px; }
.check-list .ic svg { width: 15px; height: 15px; }
.check-list b { font-weight: 600; }
.check-list p { color: var(--text-muted); font-size: 0.92rem; }
.panel {
  border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 30px;
  background: radial-gradient(120% 120% at 100% 0%, rgba(31,134,214,.1), transparent), linear-gradient(180deg, var(--surface), var(--bg-2));
}
.gauge { display: flex; align-items: center; gap: 22px; margin-bottom: 24px; }
.gauge-ring {
  width: 108px; height: 108px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  background: conic-gradient(var(--accent) var(--pct, 0%), var(--surface-2) 0); transition: background 1.2s ease;
}
.gauge-ring span { width: 84px; height: 84px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-size: 1.4rem; font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; margin-top: 10px; }
.bars i { flex: 1; background: var(--grad); border-radius: 5px 5px 0 0; height: 20%; transform-origin: bottom; animation: rise 1.4s ease forwards; opacity: .85; }

/* ── Preços ──────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
  display: flex; flex-direction: column; padding: 30px 26px; border: 1px solid var(--border); border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); position: relative;
  transition: transform .22s ease, border-color .22s ease;
}
.price:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.price.featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 30px 70px -30px rgba(37,211,102,.4); }
.price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #05240f;
  font-size: 0.72rem; font-weight: 600; padding: 5px 14px; border-radius: 999px; letter-spacing: .03em;
}
.price h3 { font-size: 1.1rem; }
.price .amount { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.03em; margin: 14px 0 2px; }
.price .amount small { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; }
.price .desc { color: var(--text-muted); font-size: 0.9rem; min-height: 40px; margin-bottom: 20px; }
.price ul { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; flex: 1 1 auto; }
.price ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--text); }
.price ul li svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.price ul li.off { color: var(--text-dim); } .price ul li.off svg { color: var(--text-dim); }

/* ── FAQ ─────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; background: var(--surface); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 500; font-size: 1rem; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q .chev { transition: transform .25s ease; color: var(--text-muted); flex: 0 0 auto; }
.faq-item[open] .faq-q .chev { transform: rotate(180deg); }
.faq-a { padding: 0 22px 20px; color: var(--text-muted); font-size: 0.95rem; }

/* ── CTA final ───────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-card {
  border: 1px solid var(--border-strong); border-radius: 22px; padding: 64px 32px;
  background: radial-gradient(120% 140% at 50% 0%, rgba(37,211,102,.14), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2));
  box-shadow: var(--shadow);
}
.cta-card h2 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 16px; }
.cta-card p { color: var(--text-muted); font-size: 1.08rem; max-width: 520px; margin: 0 auto 30px; }

/* ── Footer ──────────────────────────────────────────── */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
.footer-brand p { color: var(--text-muted); font-size: 0.92rem; margin-top: 14px; max-width: 300px; }
.footer h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: .07em; color: var(--text-dim); margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { color: var(--text-muted); font-size: 0.92rem; transition: color .2s ease; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.84rem; flex-wrap: wrap; }
.footer-warn { max-width: 640px; }

/* ── Páginas legais ──────────────────────────────────── */
.legal { max-width: 800px; margin: 0 auto; padding: 130px 0 80px; }
.legal h1 { font-size: 2.1rem; margin-bottom: 8px; }
.legal .upd { color: var(--text-dim); font-size: 0.86rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.25rem; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--text-muted); font-size: 0.97rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; color: var(--text-muted); font-size: 0.9rem; }
.legal .note { border: 1px solid var(--border-strong); border-left: 3px solid var(--accent); border-radius: 8px; padding: 14px 18px; background: var(--surface); margin: 22px 0; font-size: 0.9rem; }

/* ── Reveal / motion ─────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes fill { 0% { width: 8%; } 60% { width: 78%; } 100% { width: 92%; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: scaleY(0); } }

/* ── Responsivo ──────────────────────────────────────── */
@media (max-width: 920px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .features-grid, .pricing-grid, .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border); padding: 10px 24px 20px;
  }
  .nav.open .nav-links a.nav-item { padding: 13px 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  section { padding: 72px 0; }
  .hero { padding: 120px 0 70px; }
  .nav-cta .btn-ghost { display: none; }
  .mock-badge { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
