/* CliqueRende */
:root {
  --green: #0E8A4F;
  --green-d: #0B6B3D;
  --green-l: #E7F5EC;
  --ink: #0B1F14;
  --ink-2: #3D5247;
  --muted: #5B6E63;
  --line: #DCE8E0;
  --bg: #F6FBF7;
  --card: #FFFFFF;
  --gold: #FFC83D;
  --red: #B42318;
  --red-l: #FDECEA;
  --blue-l: #EAF2FF;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--green); }
a:hover { color: var(--green-d); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.5px; }
h2 { font-size: 22px; font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0 0 1em; }
code { background: var(--green-l); padding: 2px 6px; border-radius: 6px; font-size: .92em; word-break: break-all; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 560px; }
.pad { padding-top: 40px; padding-bottom: 56px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.grow { flex: 1 1 260px; min-width: 0; }
.mt { margin-top: 24px; }

/* Topo */
.topbar { background: #fff; border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-text { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.logo-a { color: var(--ink); }
.logo-b { color: var(--green); }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; color: var(--ink-2); }
.nav a:hover { color: var(--green); }
.nav a.btn { color: #fff; }
.nav a.btn-ghost { color: var(--ink); }

/* Botões e formulários */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #fff; border: 0; border-radius: 12px;
  padding: 12px 20px; min-height: 44px; font: inherit; font-weight: 600;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--green-d); color: #fff; }
.btn:disabled { background: #9DB8A8; cursor: not-allowed; }
.btn-sm { padding: 8px 14px; min-height: 38px; font-size: 15px; }
.btn-lg { padding: 16px 28px; font-size: 18px; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--green-l); color: var(--ink); }
.btn-danger { background: var(--red); }
.btn-danger:hover { background: #8E1B12; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F0B520; color: var(--ink); }
.btn-block { width: 100%; }
.inline { display: inline; }

input, select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #C5D6CB; border-radius: 10px; padding: 11px 13px; min-height: 44px;
}
textarea { min-height: 110px; font-family: ui-monospace, Consolas, monospace; font-size: 14px; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(14,138,79,.25); border-color: var(--green); }
.form label { display: block; font-weight: 500; margin-bottom: 14px; }
.form label input, .form label select, .form label textarea { margin-top: 6px; }
.form .hint { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 4px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { width: auto; min-height: 0; margin-top: 4px; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card + .card { margin-top: 20px; }

.alert { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; font-weight: 500; }
.alert-ok { background: var(--green-l); color: var(--green-d); }
.alert-err { background: var(--red-l); color: var(--red); }
.alert-info { background: var(--blue-l); color: #1D3E8A; }

/* Início */
.hero { padding: 64px 0 40px; text-align: center; }
.hero p.lead { font-size: 20px; color: var(--ink-2); max-width: 620px; margin: 0 auto 28px; }
.shorten {
  display: flex; gap: 10px; max-width: 760px; margin: 0 auto; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px;
  box-shadow: 0 8px 30px rgba(11,31,20,.06);
}
.shorten input { border: 0; flex: 1 1 300px; font-size: 17px; }
.shorten input:focus { outline: none; }
.shorten .alias { flex: 0 1 200px; border: 1px solid var(--line); }
.result { max-width: 760px; margin: 18px auto 0; text-align: left; }
.result .short { font-size: 20px; font-weight: 600; word-break: break-all; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 48px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: left; }
.step .num { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; background: var(--green-l); color: var(--green-d); font-weight: 800; align-items: center; justify-content: center; margin-bottom: 10px; }
.cta { background: var(--ink); color: #fff; border-radius: 20px; padding: 36px 28px; margin: 48px 0; text-align: center; }
.cta h2 { color: #fff; }
.cta p { color: #B9D3C3; }
.cta strong { color: var(--gold); }

/* Página do link */
.go-wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }
.ad-slot { display: flex; justify-content: center; margin: 14px 0; overflow: hidden; max-width: 100%; }
.go-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 22px; text-align: center; }
.go-steps { display: inline-flex; gap: 8px; margin-bottom: 16px; }
.go-steps span { width: 34px; height: 6px; border-radius: 3px; background: var(--line); }
.go-steps span.on { background: var(--green); }
.timer { font-size: 56px; font-weight: 800; color: var(--green); line-height: 1; margin: 12px 0; }
.captcha-box { display: flex; justify-content: center; margin: 18px 0; }
.math-q { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: 20px; font-weight: 600; }
.math-q input { width: 110px; text-align: center; font-size: 20px; }
.dest { font-size: 14px; color: var(--muted); word-break: break-all; margin-top: 14px; }

/* Painel */
.dash { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 48px; }
.side { flex: 1 1 200px; max-width: 240px; }
.side a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; margin-bottom: 4px; }
.side a:hover { background: var(--green-l); color: var(--ink); }
.side a.on { background: var(--green); color: #fff; }
.content { flex: 999 1 560px; min-width: 0; }
@media (max-width: 720px) {
  .side { max-width: none; display: flex; flex-wrap: wrap; gap: 6px; }
  .side a { margin: 0; }
}
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat .k { font-size: 14px; color: var(--muted); }
.stat .v { font-size: 26px; font-weight: 800; margin-top: 4px; }
.stat.hl { background: var(--ink); border-color: var(--ink); }
.stat.hl .k { color: #B9D3C3; }
.stat.hl .v { color: var(--gold); }

.table-box { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 13px; text-transform: uppercase; letter-spacing: .4px; color: var(--muted); background: #FAFDFB; }
tr:last-child td { border-bottom: 0; }
td.url { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.b-pending { background: #FFF4D6; color: #7A5200; }
.b-paid, .b-active { background: var(--green-l); color: var(--green-d); }
.b-rejected, .b-banned, .b-disabled { background: var(--red-l); color: var(--red); }
.bar { height: 10px; border-radius: 5px; background: var(--green); min-width: 2px; }
.pager { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); background: #fff; }
.footer-in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px; color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 16px; }
