/* FaderMarket: estilos partilhados (landing, conta, admin) */
:root {
  --bg: #0B0E14;
  --surface: #151A24;
  --surface-2: #1D2330;
  --line: #262C3A;
  --red: #E8452C;
  --blue: #2F6FED;
  --green: #3fbf6f;
  --cream: #F3F1EA;
  --muted: #8B93A5;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--cream); font-family: 'Inter', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 640px; }

h1, h2, h3, .display { font-family: 'Unbounded', sans-serif; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(30px, 6vw, 54px); font-weight: 900; }
h2 { font-size: clamp(22px, 3.6vw, 32px); font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.red { color: var(--red); }

/* topo */
.topnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; }
.logo { font-family: 'Unbounded', sans-serif; font-weight: 900; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.logo span { color: var(--red); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch, .seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; padding: 3px; }
.lang-switch button, .seg button { background: none; border: 0; color: var(--muted); font: 700 12px 'Inter'; padding: 6px 11px; border-radius: 100px; cursor: pointer; }
.lang-switch button.active, .seg button.active { background: var(--blue); color: var(--cream); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 13px 20px; font: 700 15px 'Inter'; text-decoration: none; cursor: pointer; min-height: 46px; }
.btn.primary { background: var(--red); color: var(--cream); }
.btn.secondary { background: transparent; color: var(--cream); border: 1px solid var(--line); }
.btn.small { padding: 8px 12px; font-size: 13px; min-height: 36px; border-radius: 10px; }
.btn.ok { background: var(--green); color: #07130b; }
.btn:disabled { opacity: 0.5; cursor: default; }
.btn.block { width: 100%; }

/* cartões */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.card.hi { border-color: var(--red); background: linear-gradient(135deg, #2a1610, var(--surface) 70%); }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
section { padding: 44px 0; }
.eyebrow { display: inline-block; background: linear-gradient(90deg, var(--red), var(--blue)); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 100px; margin-bottom: 14px; }

.price { font-family: 'Unbounded'; font-weight: 900; font-size: 30px; }
.price span { font-size: 13px; font-weight: 600; color: var(--muted); }
.bar { height: 8px; background: #0e121b; border-radius: 100px; overflow: hidden; margin: 10px 0 6px; }
.bar > div { height: 100%; background: linear-gradient(90deg, var(--blue), var(--red)); }
.pill { display: inline-block; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 100px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.pill.ok { color: var(--green); border-color: #245c38; }
.pill.warn { color: #f4b740; border-color: #5c4a1c; }
.pill.bad { color: var(--red); border-color: #5c2a22; }
.pill.founder { color: #ff9a86; border-color: #6a3024; }

/* formulários */
.field { margin-bottom: 14px; }
.field label, .label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.input, select.input, textarea.input { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px; color: var(--cream); font: 15px 'Inter'; min-height: 46px; }
textarea.input { min-height: 80px; resize: vertical; }
.input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin-bottom: 14px; }
.choice { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; text-align: left; color: var(--cream); font: inherit; }
.choice.active { border-color: var(--red); background: #24140f; }
.choice b { display: block; font-size: 14px; margin-bottom: 2px; }
.choice span { font-size: 12.5px; color: var(--muted); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 100px; padding: 7px 12px; font-size: 13px; cursor: pointer; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 6px 0 16px; }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.form-error { background: #2a1210; border: 1px solid #6a2a20; color: #ffb4a6; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; display: none; }
.form-ok { background: #0f2417; border: 1px solid #245c38; color: #9fe3b6; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 14px; display: none; }
.hidden { display: none !important; }
fieldset { border: 0; }
legend { font-family: 'Unbounded'; font-weight: 700; font-size: 15px; margin: 22px 0 12px; }

/* tabelas (admin) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 720px; }
th { text-align: left; color: var(--muted); font-size: 12px; font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }

.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: 8px; color: var(--muted); }

footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); }

@media (max-width: 520px) {
  section { padding: 32px 0; }
  .logo { font-size: 16px; }
  .nav-right { gap: 6px; }
  .lang-switch button { padding: 5px 8px; }
  .card { padding: 15px; }
  .topnav .btn { padding: 8px 12px; min-height: 38px; font-size: 13px; }
}
