/* BTC Radar · landing · filme em 3 cenas + acesso.
   Tokens: bg #0b1120, gold #e8b33a, ink #e8edf5, muted #7c8aa5. */

:root {
  --bg: #0b1120;
  --bg-deep: #070b14;
  --card: #0e1b33;
  --border: #1e293b;
  --ink: #e8edf5;
  --muted: #7c8aa5;
  --dim: #47566b;
  --gold: #e8b33a;
  --gold-soft: #f7d98c;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ── Barra superior ───────────────────────────────────────── */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(7, 11, 20, 0.92), rgba(7, 11, 20, 0));
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand__mark {
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  font-size: 1.15rem; font-weight: 700; color: var(--gold);
  border: 1px solid rgba(232, 179, 58, 0.45); border-radius: 0.55rem;
  background: var(--bg-deep);
}
.brand__name { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.topbar__cta {
  text-decoration: none; color: var(--ink);
  font-size: 0.85rem; font-weight: 600;
  padding: 0.55rem 1.1rem; border-radius: 0.5rem;
  border: 1px solid var(--border);
  transition: border-color .15s, color .15s;
}
.topbar__cta:hover { border-color: var(--gold); color: var(--gold); }

/* ── Cenas ────────────────────────────────────────────────── */
.scene {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.scene__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.scene__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 11, 20, 0.82) 0%, rgba(7, 11, 20, 0.45) 46%, rgba(7, 11, 20, 0.10) 74%);
}
.scene__veil--right {
  background: linear-gradient(270deg, rgba(7, 11, 20, 0.82) 0%, rgba(7, 11, 20, 0.45) 46%, rgba(7, 11, 20, 0.10) 74%);
}
.scene__copy {
  position: relative; z-index: 2;
  max-width: 38rem;
  padding: 6rem clamp(1.25rem, 5vw, 3.5rem) 3rem;
}
.scene--right .scene__copy { margin-left: auto; text-align: right; }
.scene--right .tags { justify-content: flex-end; }

.kicker {
  font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--gold);
}
h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.025em;
  margin: 1rem 0 1.1rem; max-width: 20ch;
}
.scene--right h1 { margin-left: auto; }
.lede {
  color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6; max-width: 46ch;
}
.scene--right .lede { margin-left: auto; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin-top: 1.5rem; }
.tags li {
  font-family: var(--mono); font-size: 0.72rem; color: var(--ink);
  border: 1px solid var(--border); border-radius: 999px;
  padding: 0.4rem 0.8rem; background: rgba(14, 27, 51, 0.5);
}

.scene__cta {
  display: inline-block; margin-top: 2rem;
  text-decoration: none; font-weight: 700; font-size: 1rem;
  color: #0b1120; background: var(--gold); border-radius: 0.6rem;
  padding: 0.95rem 1.7rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.scene__cta:hover { transform: translateY(-1px); box-shadow: 0 0 32px rgba(232, 179, 58, 0.35); }

/* ── Acesso ───────────────────────────────────────────────── */
.gate {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 1.25rem 4rem;
  background:
    radial-gradient(1100px 500px at 50% 0%, rgba(232, 179, 58, 0.05), transparent 60%),
    var(--bg-deep);
}
.gate__card {
  width: 100%; max-width: 26rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2.25rem;
}
.logo {
  width: 3.25rem; height: 3.25rem; margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 0.85rem; font-size: 1.7rem; font-weight: 700; color: var(--gold);
  background: var(--bg-deep); border: 1px solid rgba(232, 179, 58, 0.4);
}
h2 { text-align: center; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.01em; }
.gate__sub { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 0.45rem 0 1.4rem; }
form { display: flex; flex-direction: column; gap: 0.9rem; }
label {
  font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted);
}
input {
  width: 100%; padding: 0.85rem 1rem; font-size: 1rem; font-family: inherit;
  color: var(--ink); background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: 0.5rem; outline: none; transition: border-color .15s, box-shadow .15s;
}
input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(232, 179, 58, 0.14); }
.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: 0.5rem; padding: 4px; margin-bottom: 1.1rem;
}
.tab {
  padding: 0.6rem; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  color: var(--muted); background: transparent; border: none; border-radius: 0.35rem;
  transition: background .15s, color .15s; min-height: 2.75rem;
}
.tab.active { background: var(--gold); color: #0b1120; }
.tab:hover:not(.active) { color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.hidden { display: none; }
button[type="submit"] {
  width: 100%; padding: 0.9rem; font-size: 0.95rem; font-weight: 700; cursor: pointer;
  color: #0b1120; background: var(--gold); border: none; border-radius: 0.5rem;
  min-height: 2.9rem; transition: box-shadow .15s, transform .1s;
}
button[type="submit"]:hover { box-shadow: 0 0 24px rgba(232, 179, 58, 0.3); transform: translateY(-1px); }
button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.error { color: #f87171; font-size: 0.85rem; text-align: center; min-height: 1rem; }
.gate__foot { text-align: center; color: var(--dim); font-size: 0.72rem; margin-top: 1.2rem; }

/* ── prefers-reduced-motion: desliga o movimento ──────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene__video { display: none; }
  .scene { background: var(--bg); }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
