/* ==========================================================================
   Novo Lead Digital — Folha de estilo principal
   Agência de Marketing Digital
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #060A13;
  --bg-2: #0A1020;
  --surface: #0F172A;
  --surface-2: #131F3A;
  --line: rgba(148, 163, 184, .16);
  --line-strong: rgba(148, 163, 184, .30);

  --brand: #2E8BFF;
  --brand-600: #1D6FE0;
  --brand-300: #7FB6FF;
  --cyan: #22D3EE;
  --cyan-300: #67E8F9;

  --text: #E9EFFA;
  --muted: #9AA9C0;
  --muted-2: #7A8AA3;

  --ok: #34D399;
  --warn: #FBBF24;

  --grad: linear-gradient(120deg, var(--brand) 0%, var(--cyan) 100%);
  --grad-soft: linear-gradient(120deg, rgba(46,139,255,.18) 0%, rgba(34,211,238,.14) 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  --shadow: 0 18px 50px -18px rgba(0, 0, 0, .75);
  --shadow-glow: 0 0 0 1px rgba(46,139,255,.25), 0 20px 60px -20px rgba(46,139,255,.45);

  --wrap: 1160px;
  --gutter: 22px;

  --ff: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--ff);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-300); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Utilitários ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--brand); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 10px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-300);
  background: rgba(34,211,238,.09);
  border: 1px solid rgba(34,211,238,.26);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.lead { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--muted); max-width: 62ch; }
.center .lead { margin-inline: auto; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 1px solid transparent; cursor: pointer; text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--grad); color: #04101F; box-shadow: var(--shadow-glow); }
.btn--primary:hover { box-shadow: 0 0 0 1px rgba(46,139,255,.4), 0 26px 70px -20px rgba(34,211,238,.6); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--brand); background: rgba(46,139,255,.10); }
.btn--sm { padding: 11px 20px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6,10,19,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none !important; color: var(--text); }
.brand img { height: 38px; width: auto; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.03rem; letter-spacing: -.01em; }
.brand__tag { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: var(--muted); font-size: .93rem; font-weight: 600;
  padding: 9px 13px; border-radius: 8px; text-decoration: none !important;
  transition: color .15s, background .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255,255,255,.05); }
.nav a[aria-current="page"] { color: var(--cyan-300); }
.header .btn { margin-left: 10px; }

.nav-toggle {
  display: none; background: transparent; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 9px 11px; cursor: pointer; color: var(--text);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 14px var(--gutter) 22px; display: none; max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 12px; font-size: 1rem; }
  .header .btn { margin: 10px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(52px, 7vw, 96px) 0 clamp(56px, 7vw, 92px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 720px;
  background:
    radial-gradient(46% 52% at 22% 30%, rgba(46,139,255,.30), transparent 62%),
    radial-gradient(40% 46% at 78% 22%, rgba(34,211,238,.22), transparent 64%);
  filter: blur(6px); pointer-events: none; z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero__art { position: relative; }
.hero__art img { filter: drop-shadow(0 30px 60px rgba(0,0,0,.55)); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 520px; margin-inline: auto; }
}

.hero__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .hero__stats { grid-template-columns: 1fr; gap: 18px; } }
.hero__stat b { font-size: 1.16rem !important; margin-bottom: 2px; }
.hero__stat b { display: block; font-size: 1.5rem; font-weight: 800; }
.hero__stat span { font-size: .84rem; color: var(--muted); }

/* ---------- Grades e cards ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(46,139,255,.45); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(46,139,255,.28);
}
.card__icon img, .card__icon svg { width: 30px; height: 30px; }
.card ul { padding-left: 1.1em; color: var(--muted); font-size: .94rem; }
.card--flat:hover { transform: none; }

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 0; }
.tag-list li {
  margin: 0; font-size: .78rem; font-weight: 600; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px;
  background: rgba(255,255,255,.02);
}

/* ---------- Passos ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.02); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-size: 1.6rem; font-weight: 800; margin-bottom: 10px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h3 { font-size: 1.08rem; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- Faixa de destaque ---------- */
.band {
  background: linear-gradient(140deg, rgba(46,139,255,.14), rgba(34,211,238,.09));
  border-block: 1px solid var(--line);
}

.cta-box {
  background: linear-gradient(140deg, rgba(46,139,255,.20), rgba(34,211,238,.12));
  border: 1px solid rgba(46,139,255,.35);
  border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 60px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-box::after {
  content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -180px;
  background: radial-gradient(circle, rgba(34,211,238,.28), transparent 62%); pointer-events: none;
}
.cta-box > * { position: relative; }

/* ---------- Formulário ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.field .hint { display: block; font-weight: 400; font-size: .82rem; color: var(--muted-2); margin-top: 4px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-size: 1rem; font-family: inherit;
  color: var(--text); background: rgba(255,255,255,.04);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color .15s, background .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); background: rgba(46,139,255,.07); outline: none;
}
.field select option { background: var(--surface); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-note {
  font-size: .88rem; color: var(--muted); background: rgba(46,139,255,.07);
  border: 1px solid rgba(46,139,255,.28); border-radius: var(--radius-sm);
  padding: 14px 16px; margin-bottom: 22px;
}
.form-note strong { color: var(--brand-300); }
.form-note--ok {
  background: rgba(52,211,153,.09); border-color: rgba(52,211,153,.4);
  font-size: .95rem; line-height: 1.65;
}
.form-note--ok strong { color: var(--ok); }
.form-note--erro { background: rgba(251,191,36,.09); border-color: rgba(251,191,36,.4); }
.form-note--erro strong { color: var(--warn); }

/* Campo isca contra mensagens automáticas: some da tela e do leitor de tela,
   mas continua existindo no formulário para os robôs preencherem. */
.campo-oculto {
  position: absolute !important; left: -9999px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}

/* ---------- Contato info ---------- */
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: 14px; margin-bottom: 20px; }
.info-list .ico {
  flex: 0 0 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid rgba(46,139,255,.26); font-size: 1.05rem;
}
.info-list b { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin-bottom: 12px; background: rgba(255,255,255,.02);
}
.faq details[open] { border-color: rgba(46,139,255,.4); }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--cyan); line-height: 1; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; color: var(--muted); }

/* ---------- Página de conteúdo legal ---------- */
.legal { max-width: 850px; }
.legal h2 { margin-top: 2.2em; font-size: 1.45rem; }
.legal h3 { margin-top: 1.6em; font-size: 1.12rem; }
.legal li { color: var(--muted); }
.legal p { color: var(--muted); }
.legal strong { color: var(--text); }
.legal-meta {
  font-size: .88rem; color: var(--muted-2);
  border-left: 3px solid var(--brand); padding: 4px 0 4px 16px; margin-bottom: 2rem;
}
.toc {
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 26px; margin-bottom: 2.4rem;
}
.toc h2 { margin: 0 0 .6em; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-2); }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 30px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.toc li { font-size: .93rem; }

.page-head { padding: clamp(44px, 6vw, 76px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: -60% 30% auto -10%; height: 420px;
  background: radial-gradient(50% 50% at 30% 50%, rgba(46,139,255,.20), transparent 65%);
  pointer-events: none;
}
.page-head > * { position: relative; }

/* ---------- Breadcrumb ---------- */
.crumbs { font-size: .84rem; color: var(--muted-2); margin-bottom: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

/* ---------- Tabela ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 480px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
th { background: rgba(255,255,255,.04); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); }
tr:last-child td { border-bottom: 0; }
td { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-2); margin-bottom: 1.1em; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .6em; }
.footer a { color: var(--muted); font-size: .93rem; }
.footer a:hover { color: var(--cyan-300); }
.footer p { font-size: .92rem; color: var(--muted); }
.footer .brand { margin-bottom: 16px; }
.footer__legal {
  margin-top: 42px; border-top: 1px solid var(--line); padding: 24px 0 30px;
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center;
  font-size: .84rem; color: var(--muted-2);
}
.footer__legal p { margin: 0; font-size: .84rem; }
.footer__cnpj { font-size: .84rem; color: var(--muted-2); line-height: 1.6; }
.footer__cnpj strong { color: var(--muted); font-weight: 600; }

/* ---------- Banner de cookies ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: rgba(10,16,32,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(46,139,255,.35);
  box-shadow: 0 -14px 44px rgba(0,0,0,.55);
  padding: 16px 0;
  transform: translateY(120%); transition: transform .35s ease;
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar__inner {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between;
}
.cookie-bar p { margin: 0; font-size: .9rem; color: var(--muted); max-width: 72ch; }
.cookie-bar strong { color: var(--text); }
.cookie-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .cookie-bar { padding: 12px 0; max-height: 62vh; overflow-y: auto; }
  .cookie-bar__inner { gap: 12px; }
  .cookie-bar p { font-size: .8rem; line-height: 1.5; }
  .cookie-bar__actions { width: 100%; }
  .cookie-bar__actions .btn { flex: 1; padding: 10px 14px; font-size: .84rem; }
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Impressão ---------- */
@media print {
  .header, .footer, .cookie-bar, .btn { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; }
}
