/* HZ Toolkit: mesma identidade do app (escuro, plano, ambar). Sem fontes externas. */
:root {
  --bg: #0f1113; --side: #14171a; --surface: #1a1e22; --surface2: #23282d; --surface3: #2c3238;
  --line: #2a3036; --text: #e6e8eb; --muted: #8b939c; --faint: #5e666f;
  --accent: #e8a33d; --accent-h: #f2b65c; --accent-soft: #2e2414; --accent-text: #1a1206;
  --danger: #d2544e; --good: #4db37e;
  --r: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-h); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- topo ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(15,17,19,.96); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.logo b { background: var(--accent); color: var(--accent-text); border-radius: 8px; padding: 5px 8px; font-size: 14px; }
.top nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.top nav a { color: var(--muted); font-size: 15px; }
.top nav a:hover { color: var(--text); }
@media (max-width: 720px) { .top nav .hide-sm { display: none; } }

/* ---------- botoes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 9px; border: 1px solid var(--line);
  background: var(--surface2); color: var(--text); font: 600 15px/1 inherit; cursor: pointer;
}
.btn:hover { background: var(--surface3); color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { background: var(--accent-h); }
.btn.small { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.big { height: 52px; padding: 0 28px; font-size: 16px; }
.btn.danger { background: transparent; border-color: #5a2b29; color: #ef8a84; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.full { width: 100%; }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft);
  border: 1px solid #4a3a1e; border-radius: 20px; padding: 4px 12px; margin-bottom: 18px; }
h1 { font-size: 46px; line-height: 1.1; margin: 0 0 18px; letter-spacing: -.5px; }
h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .price-note { color: var(--faint); font-size: 14px; margin-top: 14px; }
.shot { border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; background: var(--surface); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } h1 { font-size: 36px; } }

/* ---------- secoes ---------- */
section { padding: 64px 0; }
section.alt { background: var(--side); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: 30px; margin: 0 0 8px; letter-spacing: -.3px; }
.sub { color: var(--muted); margin: 0 0 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card h3 { margin: 12px 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.ico { width: 38px; height: 38px; border-radius: 9px; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 19px; }

.feature { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.feature:nth-child(even) { grid-template-columns: 1.3fr 1fr; }
.feature:nth-child(even) .txt { order: 2; }
.feature h3 { font-size: 24px; margin: 0 0 10px; }
.feature ul { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); }
.feature li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.feature li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 900px) { .feature, .feature:nth-child(even) { grid-template-columns: 1fr; } .feature:nth-child(even) .txt { order: 0; } }

.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 54px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: 18px; left: 22px;
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-text);
  font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }

/* ---------- preco ---------- */
.price { max-width: 460px; margin: 0 auto; text-align: center; padding: 34px; border-color: #4a3a1e; }
.price .val { font-size: 52px; font-weight: 700; margin: 6px 0 0; }
.price .val small { font-size: 18px; color: var(--muted); font-weight: 500; }
.price ul { text-align: left; list-style: none; padding: 0; margin: 22px 0 26px; }
.price li { padding: 7px 0 7px 28px; position: relative; border-bottom: 1px solid var(--line); color: #c9ced4; font-size: 15px; }
.price li::before { content: "✓"; position: absolute; left: 4px; color: var(--good); font-weight: 700; }

/* ---------- FAQ ---------- */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--faint); font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 16px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--faint); font-size: 14px; }
footer .wrap { display: flex; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: var(--muted); }

/* ---------- conta ---------- */
.auth { max-width: 440px; margin: 56px auto; }
.panel { max-width: 860px; margin: 40px auto; }
.tabs { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 9px; padding: 3px; margin-bottom: 22px; }
.tabs button { flex: 1; height: 36px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: 600 14px inherit; cursor: pointer; }
.tabs button.on { background: var(--surface3); color: var(--text); }
label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 6px; }
input[type=text], input[type=email], input[type=password], input[type=tel] {
  width: 100%; height: 44px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg);
  color: var(--text); padding: 0 12px; font: 15px inherit; outline: none;
}
input:focus { border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 16px 0 4px; }
.check input { margin-top: 4px; accent-color: var(--accent); }
.msg { margin-top: 14px; font-size: 14px; min-height: 20px; }
.msg.err { color: #ef8a84; } .msg.ok { color: var(--good); }
.link { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; padding: 0; }
.status { display: flex; align-items: center; gap: 16px; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--faint); flex: none; }
.dot.on { background: var(--good); } .dot.off { background: var(--danger); }
.status h2 { font-size: 22px; margin: 0; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.muted { color: var(--muted); } .faint { color: var(--faint); font-size: 14px; }
.hidden { display: none !important; }
.stack > * + * { margin-top: 16px; }

/* ---------- admin ---------- */
body.admin main.wide { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.stats { display: flex; gap: 14px; flex-wrap: wrap; margin: 16px 0 22px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; color: var(--muted); font-size: 13px; }
.stats span { display: block; font-size: 22px; font-weight: 700; color: var(--text); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
th { background: var(--surface); color: var(--muted); font-weight: 600; }
.badge { padding: 3px 9px; border-radius: 12px; font-size: 12px; background: var(--surface3); }
.badge.ok { background: #17352a; color: #7fd3a5; } .badge.bad { background: #3a1d1c; color: #ef8a84; }
.acts form { display: inline-block; margin-right: 6px; }
.acts input { width: 44px; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 4px; }
.acts button { background: var(--surface2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 4px 9px; cursor: pointer; }
.empty { text-align: center; color: var(--faint); padding: 30px; }
