/* LimaOps — estilos do site */

:root {
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #5b6475;
  --bg: #ffffff;
  --bg-soft: #f5f7f2;
  --line: #e3e7df;
  --dark: #0b1220;
  --dark-2: #141d2e;
  --dark-line: #24304a;
  --on-dark: #e8edf5;
  --on-dark-muted: #9aa6ba;
  --lime: #a3e635;
  --lime-soft: #ecfccb;
  --lime-dark: #3f6212;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --max: 1120px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 18, 32, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--dark-line);
  color: var(--on-dark);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }

.logo { display: inline-flex; align-items: baseline; text-decoration: none; font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; color: #fff; }
.logo span { color: var(--lime); }
.logo small { font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--on-dark-muted); margin-left: 10px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--on-dark-muted); font-weight: 500; white-space: nowrap; }
@media (max-width: 1180px) { .logo small { display: none; } }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav .btn { color: var(--ink); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--dark-line); color: #fff;
  border-radius: 10px; width: 44px; height: 44px; cursor: pointer; font-size: 1.3rem;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark); border-bottom: 1px solid var(--dark-line); padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--dark-line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
}

/* ---------- Botões ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: #b5ef4f; }
.btn-ghost { border-color: var(--dark-line); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--on-dark-muted); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(800px 400px at 85% -10%, rgba(163, 230, 53, .16), transparent 60%),
    linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--on-dark);
  padding: 80px 0 90px;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: 1.15rem; color: var(--on-dark-muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 16px;
}
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--on-dark-muted); }

@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
}

/* Painel de automação (ilustração) */
.flow-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--dark-line);
  border-radius: 18px;
  padding: 22px;
  font-size: .92rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.flow-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; color: var(--on-dark-muted); font-size: .82rem; }
.flow-head strong { color: #fff; font-size: .95rem; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 8px; box-shadow: 0 0 0 4px rgba(163, 230, 53, .18); }
.flow-step {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--dark-line); margin-bottom: 10px;
}
.flow-step .ico {
  flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(163, 230, 53, .12); color: var(--lime); font-weight: 800;
}
.flow-step .txt { flex: 1; color: var(--on-dark); }
.flow-step .txt small { display: block; color: var(--on-dark-muted); font-size: .8rem; }
.flow-step .ok { color: var(--lime); font-weight: 700; font-size: .85rem; white-space: nowrap; }
.flow-foot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--dark-line); color: var(--on-dark-muted); font-size: .82rem; }
.flow-foot b { color: var(--lime); }

/* ---------- Seções ---------- */

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-dark h2 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--on-dark-muted); }
.section-head .eyebrow { color: var(--lime-dark); }
.section-dark .section-head .eyebrow { color: var(--lime); }

@media (max-width: 700px) { .section { padding: 64px 0; } }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card p { color: var(--muted); margin: 0; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lime-soft); color: var(--lime-dark); margin-bottom: 16px;
}
.card .ico svg { width: 22px; height: 22px; }

.pain { border-left: 4px solid var(--lime); }
.pain h3 { margin-bottom: .35em; }
.pain .fix { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .95rem; }
.pain .fix strong { color: var(--lime-dark); }

/* Especialidades */
.spec {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: 18px; padding: 32px;
  color: var(--on-dark); transition: border-color .15s, transform .15s;
}
.spec:hover { border-color: var(--lime); transform: translateY(-2px); }
.spec h3 { color: #fff; font-size: 1.4rem; }
.spec p { color: var(--on-dark-muted); }
.spec ul { margin: 0 0 22px; padding-left: 0; list-style: none; }
.spec li { padding: 6px 0 6px 26px; position: relative; color: var(--on-dark); font-size: .96rem; }
.spec li::before { content: "✓"; position: absolute; left: 0; color: var(--lime); font-weight: 800; }
.spec .more { margin-top: auto; color: var(--lime); font-weight: 700; }

/* Passos */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 84px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 26px; left: 26px;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--lime); font-weight: 800;
}
.step .tag { display: inline-block; font-size: .75rem; font-weight: 700; color: var(--lime-dark); background: var(--lime-soft); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }

/* Calculadora */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-form { background: var(--bg); padding: 34px; }
.calc-out { background: var(--dark); color: var(--on-dark); padding: 34px; display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 800px) { .calc { grid-template-columns: 1fr; } .calc-form, .calc-out { padding: 26px; } }

.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field input {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink);
}
.field input:focus { border-color: var(--lime-dark); outline: none; box-shadow: 0 0 0 3px rgba(163, 230, 53, .35); }

.out-label { color: var(--on-dark-muted); font-size: .9rem; margin-bottom: 4px; }
.out-big { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 800; color: #fff; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 18px; }
.out-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--dark-line); font-size: .98rem; }
.out-row b { color: #fff; }
.out-row.save b { color: var(--lime); }
.out-note { font-size: .8rem; color: var(--on-dark-muted); margin: 16px 0 20px; }

/* Demonstrações */
.demo .thumb {
  aspect-ratio: 16 / 9; border-radius: 10px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  display: grid; place-items: center; color: var(--on-dark-muted); font-size: .85rem; position: relative; overflow: hidden;
}
.demo .thumb::after {
  content: ""; width: 54px; height: 54px; border-radius: 50%; background: var(--lime);
  -webkit-mask: radial-gradient(circle, #000 98%, transparent 100%);
  position: absolute; opacity: .9;
}
.demo .thumb span { position: absolute; bottom: 10px; left: 12px; z-index: 1; }
.demo .badge { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; margin-top: 14px; }

/* Sobre */
.about { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: center; }
.avatar {
  width: 240px; height: 240px; border-radius: 24px; background: var(--lime-soft);
  display: grid; place-items: center; font-size: 4rem; font-weight: 800; color: var(--lime-dark);
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 28px; } .avatar { width: 160px; height: 160px; font-size: 3rem; } }

/* Faixa LGPD */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust div { padding: 20px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.trust strong { display: block; margin-bottom: 4px; }
.trust span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--lime-dark); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA final */
.cta {
  background:
    radial-gradient(600px 300px at 10% 0%, rgba(163, 230, 53, .18), transparent 60%),
    var(--dark);
  color: var(--on-dark); border-radius: 24px; padding: 56px; text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-muted); max-width: 36em; margin: 0 auto 28px; font-size: 1.08rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.cta-mail { margin-top: 20px; font-size: .95rem; color: var(--on-dark-muted); }
.cta-mail a { color: var(--lime); }
@media (max-width: 600px) { .cta { padding: 40px 22px; } }

/* Rodapé */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 48px 0 36px; font-size: .92rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Botão flutuante de WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}
.wa-float svg { width: 28px; height: 28px; }

/* Página de texto (privacidade) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2em; }

.page-hero { background: var(--dark); color: var(--on-dark); padding: 64px 0; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page-hero p { color: var(--on-dark-muted); margin: 0; }

.breadcrumb { font-size: .88rem; color: var(--on-dark-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--on-dark-muted); }
