/* ============================================================
   ARCANJO — página inicial (usa tokens.css)
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-2); color: var(--text); font-family: var(--sans);
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv02','cv03','cv04';
  transition: background var(--d), color var(--d);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { max-width: 100%; }
::selection { background: var(--brand); color: var(--brand-ink); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg-2) 88%, transparent);
  backdrop-filter: blur(14px); border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 32px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-txt { font-size: 16px; font-weight: 300; letter-spacing: .2em; text-transform: uppercase; }
.logo-txt b { font-weight: 650; color: var(--brand); }
.nav-links { display: flex; gap: 28px; margin-left: 12px; }
.nav-links a { font-size: 14px; color: var(--text-2); font-weight: 500; transition: color var(--d-fast); }
.nav-links a:hover { color: var(--brand); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--r-sm); font-size: 14px; font-weight: 600;
  transition: var(--d-fast); border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2);
  white-space: nowrap;
}
.btn:hover { border-color: var(--muted); color: var(--text); }
.btn svg { width: 15px; height: 15px; }
.btn.primary { background: var(--brand); color: var(--brand-ink); border-color: var(--brand); box-shadow: var(--sh-2); }
.btn.primary:hover { background: var(--brand-2); border-color: var(--brand-2); color: var(--brand-ink); }
.btn.lg { padding: 13px 24px; font-size: 15px; }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: var(--surface-2); }
.icon-btn {
  width: 36px; height: 36px; border-radius: var(--r-sm); display: grid; place-items: center;
  color: var(--text-2); border: 1px solid var(--border-2); background: var(--surface); transition: var(--d-fast);
}
.icon-btn:hover { color: var(--text); border-color: var(--muted); }
.icon-btn svg { width: 16px; height: 16px; }

/* ---------- SEÇÕES ---------- */
section { padding: 96px 0; }
section.alt { background: var(--bg); border-block: 1px solid var(--border); }
.eyebrow {
  font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700;
  color: var(--brand); margin-bottom: 14px; display: flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow.ai { color: var(--ai); } .eyebrow.ai::before { background: var(--ai); }
h1, h2, h3, h4 { letter-spacing: -.025em; line-height: 1.15; font-weight: 650; }
h2 { font-size: 38px; }
h3 { font-size: 20px; }
.lead { font-size: 17.5px; color: var(--text-2); line-height: 1.6; max-width: 640px; }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 + .lead { margin-top: 16px; }

/* ---------- HERO ---------- */
.hero { padding: 84px 0 76px; position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; top: -220px; right: -180px; width: 760px; height: 760px;
  background: radial-gradient(circle, var(--brand-tint) 0%, transparent 62%); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 56px; align-items: center; }
.hero h1 { font-size: 54px; letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lead { margin-top: 22px; font-size: 18.5px; }
.hero-cta { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; color: var(--pos); flex-shrink: 0; }

.tagbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.tag {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: var(--r-full);
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
}
.tag.ai { background: var(--ai-tint); border-color: var(--ai-line); color: var(--ai); }

/* mock visual do hero */
.shot {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-4); overflow: hidden;
}
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; border-bottom: 1px solid var(--border); background: var(--surface-2); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-2); }
.shot-bar span { margin-left: 8px; font-size: 11.5px; color: var(--muted); font-weight: 500; }
.shot-body { padding: 16px; display: grid; gap: 12px; }
.shot-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.shot-kpi { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r); padding: 11px 12px; }
.shot-kpi .k { font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.shot-kpi .v { font-size: 19px; font-weight: 650; margin-top: 4px; letter-spacing: -.03em; }
.shot-kpi .v.pos { color: var(--pos); }
.shot-map { position: relative; height: 186px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.shot-score {
  position: absolute; top: 12px; right: 12px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 9px 12px; box-shadow: var(--sh-2); display: flex; align-items: center; gap: 10px;
}
.shot-score .n { font-size: 22px; font-weight: 700; color: var(--pos); letter-spacing: -.03em; }
.shot-score .l { font-size: 9.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; line-height: 1.3; }
.shot-ai {
  background: var(--ai-tint); border: 1px solid var(--ai-line); border-radius: var(--r); padding: 11px 13px;
  font-size: 12.5px; color: var(--text-2); line-height: 1.5;
}
.shot-ai .h { display: flex; align-items: center; gap: 7px; color: var(--ai); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 6px; }
.shot-ai .h svg { width: 13px; height: 13px; }
.shot-ai b { color: var(--text); font-weight: 650; }

/* ---------- NÚMEROS ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: var(--bg-2); padding: 26px 24px; }
.stat .v { font-size: 34px; font-weight: 650; letter-spacing: -.035em; color: var(--brand); }
.stat .k { font-size: 13.5px; color: var(--text-2); margin-top: 6px; line-height: 1.45; }
.stat .s { font-size: 11.5px; color: var(--faint); margin-top: 8px; }

/* ---------- PROBLEMA ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
.prob-list { display: grid; gap: 2px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.prob { background: var(--surface); padding: 18px 20px; display: flex; gap: 15px; align-items: flex-start; }
.prob .i { width: 30px; height: 30px; border-radius: 50%; background: var(--neg-tint); color: var(--neg); display: grid; place-items: center; flex-shrink: 0; font-weight: 700; font-size: 14px; }
.prob .t { font-size: 15px; font-weight: 650; }
.prob .d { font-size: 13.5px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ---------- CARDS ---------- */
.cards { display: grid; gap: 18px; }
.c3 { grid-template-columns: repeat(3,1fr); }
.c4 { grid-template-columns: repeat(4,1fr); }
.c2 { grid-template-columns: repeat(2,1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 26px 24px; transition: var(--d); box-shadow: var(--sh-1);
}
.card:hover { border-color: var(--brand-line); box-shadow: var(--sh-3); transform: translateY(-3px); }
.card .ic { width: 40px; height: 40px; border-radius: var(--r); background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.card .ic svg { width: 20px; height: 20px; }
.card.ai-card { background: var(--ai-tint); border-color: var(--ai-line); }
.card.ai-card .ic { background: var(--ai); color: #fff; }
.card.ai-card:hover { border-color: var(--ai); }
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--text-2); line-height: 1.55; }
.card .no { font-size: 11px; font-weight: 700; color: var(--faint); letter-spacing: .1em; margin-bottom: 10px; }

/* módulos compactos */
.mods { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.mod { background: var(--surface); padding: 22px 24px; transition: background var(--d-fast); }
.mod:hover { background: var(--surface-2); }
.mod .top { display: flex; align-items: center; gap: 11px; margin-bottom: 9px; }
.mod .n { font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-tint); width: 26px; height: 26px; border-radius: var(--r-sm); display: grid; place-items: center; flex-shrink: 0; }
.mod h4 { font-size: 15.5px; }
.mod p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.mod .fase { margin-left: auto; font-size: 10.5px; font-weight: 700; padding: 2px 9px; border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .06em; }
.fase-1 { background: var(--pos-tint); color: var(--pos); }
.fase-2 { background: var(--brand-tint); color: var(--brand); }
.fase-3 { background: var(--surface-3); color: var(--muted); }

/* ---------- PASSOS ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: st; }
.step { position: relative; padding-top: 22px; }
.step::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--border); border-radius: 3px;
}
.step.on::before { background: var(--brand); }
.step .n { font-size: 12px; font-weight: 700; color: var(--brand); letter-spacing: .1em; }
.step h4 { font-size: 16.5px; margin: 8px 0 7px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ---------- PREÇOS ---------- */
.prices { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; align-items: start; }
.price { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.price.feat { border-color: var(--brand); box-shadow: var(--sh-3); position: relative; }
.price.feat::before {
  content: 'Mais contratado'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: var(--brand-ink); font-size: 10.5px; font-weight: 700;
  padding: 3px 12px; border-radius: var(--r-full); letter-spacing: .05em; white-space: nowrap;
}
.price .pn { font-size: 15px; font-weight: 700; }
.price .pd { font-size: 12.5px; color: var(--muted); margin-top: 4px; min-height: 34px; }
.price .pv { font-size: 30px; font-weight: 650; letter-spacing: -.035em; margin: 16px 0 2px; }
.price .pv small { font-size: 14px; font-weight: 500; color: var(--muted); }
.price .pu { font-size: 12px; color: var(--faint); margin-bottom: 18px; }
.price ul { list-style: none; display: grid; gap: 9px; margin-bottom: 22px; }
.price li { font-size: 13.5px; color: var(--text-2); display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.price li svg { width: 15px; height: 15px; color: var(--pos); flex-shrink: 0; margin-top: 2px; }
.price .btn { margin-top: auto; width: 100%; }

/* ---------- VISÃO / ROADMAP ---------- */
.road { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.road-c { background: var(--surface); padding: 28px 26px; }
.road-c .h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.road-c .ph { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.road-c .pr { font-size: 11.5px; color: var(--faint); margin-left: auto; }
.road-c h4 { font-size: 18px; margin-bottom: 12px; }
.road-c ul { list-style: none; display: grid; gap: 8px; }
.road-c li { font-size: 13.5px; color: var(--text-2); padding-left: 16px; position: relative; line-height: 1.5; }
.road-c li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }

.why { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--brand); border-radius: var(--r-lg); padding: 28px 30px; }
.why p { font-size: 15.5px; color: var(--text-2); line-height: 1.65; }
.why p + p { margin-top: 14px; }
.why b { color: var(--text); font-weight: 650; }

/* ---------- CTA FINAL ---------- */
.cta-final { background: var(--brand); color: var(--brand-ink); border-radius: var(--r-xl); padding: 56px 48px; text-align: center; }
.cta-final h2 { font-size: 34px; color: var(--brand-ink); }
.cta-final p { font-size: 17px; opacity: .85; margin: 14px auto 30px; max-width: 560px; }
.cta-final .btn { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }
.cta-final .btn:hover { opacity: .9; color: var(--brand); }
.cta-final .btn.out { background: transparent; color: var(--brand-ink); border-color: color-mix(in srgb, var(--brand-ink) 45%, transparent); }
.cta-final .btn.out:hover { background: color-mix(in srgb, var(--brand-ink) 12%, transparent); color: var(--brand-ink); }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- FOOTER ---------- */
footer { border-top: 1px solid var(--border); padding: 48px 0 34px; background: var(--bg); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.foot-top p { font-size: 13.5px; color: var(--muted); margin-top: 14px; max-width: 300px; line-height: 1.6; }
.foot-col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--text); font-weight: 700; margin-bottom: 14px; }
.foot-col a { display: block; font-size: 13.5px; color: var(--muted); padding: 4px 0; transition: color var(--d-fast); }
.foot-col a:hover { color: var(--brand); }
.foot-bot { border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); }

.disc { background: var(--warn-tint); border: 1px solid var(--warn); border-radius: var(--r); padding: 14px 18px; font-size: 13px; color: var(--text-2); display: flex; gap: 12px; margin-top: 30px; }
.disc svg { width: 17px; height: 17px; color: var(--warn); flex-shrink: 0; margin-top: 1px; }
.disc b { color: var(--warn); }

/* ---------- REVEAL ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--e-out), transform .55s var(--e-out); }
.rv.in { opacity: 1; transform: none; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .split { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  .stats, .c4, .prices, .steps { grid-template-columns: repeat(2,1fr); }
  .c3, .road, .mods, .foot-top { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .stats, .c4, .prices, .steps, .c2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 33px; }
  .cta-final { padding: 40px 24px; }
}
