/* Oficina Lookcode — landing page ("Garagem Industrial", mesmo visual do sistema). */
:root {
  --bg: #0e1117;
  --s1: #161b22;
  --s2: #1e2229;
  --line: #2e3440;
  --line-2: #3b4252;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --amber: #f59e0b;
  --amber-hi: #ffc174;
  --amber-dark: #b45309;
  --orange: #f97316;
  --teal: #71ded0;
  --red: #ffb4ab;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Chivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber-hi); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.05; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.amber { color: var(--amber); }
.orange { color: var(--orange); }
.teal { color: var(--teal); }
.mono { font-family: var(--mono); font-size: 13px; }
.label, .eyebrow, .code {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { color: var(--amber); margin-bottom: 12px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.06s, background 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-primary { background: var(--amber); color: var(--bg); border-bottom: 3px solid var(--amber-dark); }
.btn-primary:hover { background: #fbb024; }
.btn-primary:active { transform: translateY(2px); border-bottom-width: 1px; }
.btn-secondary { background: var(--s2); color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--amber); color: var(--amber-hi); }
.btn-sm { min-height: 38px; padding: 6px 14px; font-size: 16px; }
.btn-block { width: 100%; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(14, 17, 23, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--amber); color: var(--bg);
  font-family: var(--display); font-weight: 700; font-size: 20px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.brand strong { display: block; font-family: var(--display); font-size: 22px; text-transform: uppercase; color: var(--amber-hi); line-height: 1; }
.brand small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-family: var(--display); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.nav a:hover { color: var(--amber-hi); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.hero-login { margin: 18px 0 0; color: var(--muted); }
.hero-login a { color: var(--amber-hi); font-weight: 600; text-decoration: none; }
.hero-login a:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 56px 0 72px; background:
  radial-gradient(ellipse at 85% 10%, rgba(245, 158, 11, 0.12), transparent 55%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px;
  background-blend-mode: normal;
}
.hero { position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,17,23,0.55), var(--bg) 92%); pointer-events: none; }
.hero > * { position: relative; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(42px, 7vw, 76px); }
.lead { margin-top: 20px; font-size: 18px; color: #c9ced6; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.hero-points li::before { content: "▸"; color: var(--amber); margin-right: 10px; }

/* Mock dashboard */
.mock { background: var(--s1); border: 1px solid var(--line); box-shadow: 0 4px 0 0 #07090c, 0 24px 48px rgba(0, 0, 0, 0.55); }
.mock-stripe { height: 5px; background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, #111 10px 20px); }
.mock-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.led { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--muted); }
.led-ok { background: var(--teal); box-shadow: 0 0 8px var(--teal); }
.led-label { font-family: var(--mono); font-size: 12px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; }
.mock-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); }
.stat { background: var(--s2); padding: 16px 18px; }
.stat b { display: block; margin-top: 6px; font-family: var(--display); font-size: 46px; line-height: 1; }
.mock-revenue { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.mock-revenue b { font-family: var(--display); font-size: 32px; }
.mock-list { list-style: none; margin: 0; padding: 0; }
.mock-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px 18px; font-size: 14px; border-bottom: 1px solid var(--line); }
.mock-list li:nth-child(odd) { background: #12161e; }
.mock-list li span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { display: inline-block; padding: 2px 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; border: 1px solid var(--line-2); white-space: nowrap; vertical-align: middle; }
.tag-ok { color: var(--teal); border-color: #134e4a; }
.tag-warn { color: var(--amber-hi); border-color: #78350f; }
.tag-alert { color: #fdba74; border-color: #7c2d12; }

/* Sections */
.section { padding: 80px 0; }
.band { background: var(--s1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(34px, 5vw, 52px); max-width: 820px; }
.sub { margin-top: 12px; color: var(--muted); }
.grid-3 { display: grid; gap: 20px; margin-top: 40px; }
.card { background: var(--s2); border: 1px solid var(--line); border-top-color: var(--line-2); padding: 24px; }
.card h3 { margin-top: 10px; font-size: 26px; text-transform: none; }
.card p { margin-top: 12px; color: #c9ced6; }

.features .feature { background: var(--s1); border: 1px solid var(--line); padding: 24px; }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin-top: 14px; font-size: 24px; }
.feature h3 .tag { margin-left: 6px; font-size: 10px; }
.feature p { margin-top: 10px; color: #c9ced6; font-size: 15px; }
.feature-hi { border-color: #78350f; background: linear-gradient(160deg, #231a0c, var(--s1) 60%); }

.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; counter-reset: none; }
.steps li { background: var(--s2); border: 1px solid var(--line); padding: 24px; }
.step-n { font-family: var(--display); font-size: 52px; font-weight: 700; color: var(--amber); line-height: 1; }
.steps h3 { margin-top: 10px; font-size: 26px; }
.steps p { margin-top: 8px; color: #c9ced6; }

/* Plans */
.plans { display: grid; gap: 20px; margin-top: 40px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--s1); border: 1px solid var(--line); padding: 28px 24px; }
.plan-featured { position: relative; padding-top: 33px; border-color: #78350f; background: linear-gradient(180deg, #1d1810, var(--s1) 40%); }
.plan-featured .mock-stripe { position: absolute; top: 0; left: 0; right: 0; }
.plan h3 { margin-top: 10px; font-size: 40px; }
.price { margin-top: 8px; font-family: var(--display); font-size: 58px; font-weight: 700; line-height: 1; color: var(--amber); }
.price span { font-size: 26px; margin-right: 4px; vertical-align: top; line-height: 1.6; }
.price small { font-family: var(--mono); font-size: 13px; color: var(--muted); font-weight: 500; margin-left: 4px; }
.plan-desc { margin-top: 12px; color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; border-top: 1px solid var(--line); padding-top: 20px; }
.plan li { position: relative; padding-left: 26px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 10px; height: 6px; border: solid var(--teal); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* FAQ */
.faq-wrap { display: grid; gap: 32px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--s2); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 20px; font-family: var(--display); font-size: 21px; font-weight: 600; text-transform: uppercase; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-family: var(--mono); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 20px; color: #c9ced6; }

/* Final CTA */
.cta { padding-top: 64px; }
.cta-box { padding: 0; }
.cta-box { background: var(--s1); border: 1px solid var(--line); max-width: 1160px; }
.cta-inner { display: grid; gap: 24px; padding: 36px 28px; align-items: center; }
.cta h2 { font-size: clamp(32px, 4.5vw, 46px); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0 96px; color: var(--muted); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  display: grid; place-items: center; width: 58px; height: 58px;
  background: #25d366; color: #fff; border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.06); }

@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .mock-stats { grid-template-columns: repeat(4, 1fr); }
  .stat b { font-size: 40px; }
}
@media (min-width: 960px) {
  .nav { display: flex; }
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 46px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .faq-wrap { grid-template-columns: 1fr 1.4fr; }
  .cta-inner { grid-template-columns: 1.4fr 1fr; padding: 44px 40px; }
  .cta-inner .hero-cta { justify-content: flex-end; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .wa-float { transition: none; }
}
@media (max-width: 479px) {
  .brand small, .topbar .btn-wa { display: none; }
  .brand strong { white-space: nowrap; }
}
