/* ============================================================
   Sinais — Trading$yphers hub (hero-v2)
   Long-read surface in the whitepaper chrome: Inter 19px/1.8,
   ≤70ch single column, DMT concept blocks + 3 display tiers.
   Display face: 'Nova Square' (condensed squared/techno look).
   ============================================================ */
:root {
  --bg: #05070c;
  --bg-soft: #0a0e16;
  --ink: #d8dde6;
  --ink-dim: #8b93a3;
  --gold: #ffd700;
  --gold-soft: rgba(255, 215, 0, 0.14);
  --blue: #1e6fff;
  --line: rgba(216, 221, 230, 0.12);
  --measure: 70ch;
  /* DMT element colors (page-local) */
  --dmt-d: #ff4d4d;   /* Direção  — red */
  --dmt-m: #d9a441;   /* Movimento — gold */
  --dmt-t: #58e05b;   /* Tensão   — green */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(30, 111, 255, 0.07), transparent 60%),
    radial-gradient(900px 480px at -10% 8%, rgba(255, 215, 0, 0.05), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 19px;
  line-height: 1.8;
  font-weight: 300;
}

/* ===== chrome ===== */
.chrome {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px;
  background: linear-gradient(180deg, rgba(5, 7, 12, 0.92), rgba(5, 7, 12, 0.75) 70%, transparent);
  backdrop-filter: blur(8px);
}
.chrome a {
  color: var(--ink-dim); text-decoration: none;
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 10px; min-height: 44px; display: inline-flex; align-items: center;
  transition: color 0.25s;
}
.chrome a:hover, .chrome a:focus-visible { color: var(--gold); }
.chrome-mid { display: flex; gap: 6px; }
/* the systems rail — the page you are on stays lit */
.chrome-mid a.here { color: var(--gold); }
/* PT | EN — js/nav.js owns the switch, js/lang.js applies it (LANG-1 §2) */
.lang-toggle { display: flex; align-items: center; gap: 8px; }
.lang-toggle button {
  background: none; border: 0; cursor: pointer;
  color: var(--ink-dim);
  font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 0.08em;
  padding: 8px 4px; min-height: 44px;
  transition: color 0.25s;
}
.lang-toggle button:hover, .lang-toggle button:focus-visible,
.lang-toggle button.on { color: var(--gold); }
.lt-sep { color: rgba(216, 221, 230, 0.16); font-size: 11px; }

/* ===== layout ===== */
.wrap { max-width: 1280px; margin: 0 auto; padding: 110px 24px 80px; display: flex; justify-content: center; }
.paper { min-width: 0; max-width: var(--measure); }

/* ===== video slot ===== */
.video-slot { margin: 0 0 40px; }

.video-frame video {
  display: block; width: 100%;
  border: 1px solid var(--line); border-radius: 12px;
  background: #000;
  aspect-ratio: 16 / 9;
}
/* ===== copy ===== */
.p-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 12px;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
h1 {
  font-family: 'Cinzel', serif; font-weight: 700; color: #fff;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.15; margin: 10px 0 18px;
}
.lead { font-size: 22px; font-weight: 400; color: #fff; margin-bottom: 22px; }
p { margin: 0 0 18px; }
strong { color: #fff; font-weight: 600; }
em { color: var(--ink); }

.divider {
  border: none; border-top: 1px solid var(--line);
  margin: 38px 0 34px;
}

/* ===== DMT concept blocks ===== */
.concepts { padding: 10px 0 4px; }
.concept {
  border: 1px solid var(--line); border-left-width: 3px;
  border-radius: 0 12px 12px 0;
  background: var(--bg-soft);
  padding: 20px 24px 8px;
  margin: 0 0 20px;
}
.concept-name {
  font-family: 'Nova Square', 'Barlow', sans-serif; font-weight: 400;
  font-size: 22px; letter-spacing: 0.3em; text-transform: uppercase;
  margin: 0 0 12px;
}
.concept p { font-size: 17.5px; }
.c-d { border-left-color: var(--dmt-d); }
.c-m { border-left-color: var(--dmt-m); }
.c-t { border-left-color: var(--dmt-t); }
.c-d .concept-name { color: var(--dmt-d); }
.c-m .concept-name { color: var(--dmt-m); }
.c-t .concept-name { color: var(--dmt-t); }

/* ===== tier packages — display rows (not links) ===== */
.tiers {
  display: flex; flex-direction: column; align-items: center;
  gap: 52px; text-align: center;
  padding: 44px 0 26px; margin-top: 10px;
  border-top: 1px solid var(--line);
}
.tier { display: flex; flex-direction: column; align-items: center; gap: 10px; }

/* THE STYLING LAW: package name in the squared display face, every word
   light gray EXCEPT the tier's key word, which alone takes its color. */
.tier-name {
  font-family: 'Nova Square', 'Barlow', sans-serif; font-weight: 400;
  font-size: clamp(19px, 3.4vw, 27px); line-height: 1.35;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #b9bfca;
}
.kw-d { color: var(--dmt-d); }
.kw-m { color: var(--dmt-m); }
.kw-t { color: var(--dmt-t); }

.tier-glyph { font-size: 15px; line-height: 1; display: inline-flex; align-items: center; }
.g-d { color: var(--blue); }
.g-m { color: var(--dmt-m); }
.g-t { color: var(--dmt-t); font-size: 20px; }
.g-m svg { display: block; }

/* serif / old-style figures, per the reference photos */
.tier-price {
  font-family: Georgia, 'Times New Roman', serif;
  font-variant-numeric: oldstyle-nums;
  font-size: 19px; color: var(--ink); margin: 0;
}

/* ===== footer ===== */
.paper-foot {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-dim);
}
.foot-links {
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center;
  font-family: 'Barlow', sans-serif; font-size: 14px; margin-bottom: 14px;
}
.foot-links a {
  color: var(--ink-dim); text-decoration: none; padding: 8px 4px; min-height: 44px;
  display: inline-flex; align-items: center; transition: color 0.25s;
}
.foot-links a:hover, .foot-links a:focus-visible { color: var(--gold); }
.fsep { opacity: 0.5; }
.foot-brand {
  font-family: 'Fredericka the Great', cursive; font-size: 15px;
  color: var(--ink-dim); margin-top: 10px;
}

/* ===== responsive ===== */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 96px 18px 64px; }
  .concept { padding: 16px 16px 4px; }
  .concept-name { letter-spacing: 0.2em; }
  .tier-name { letter-spacing: 0.14em; }
  .tiers { gap: 40px; }
}
@media (max-width: 420px) {
  .chrome { padding: 10px 12px; }
  .chrome a { font-size: 12px; padding: 8px 6px; letter-spacing: 0.05em; }
  .chrome-mid { gap: 0; }
}
/* Narrow chrome. The PT|EN switch costs ~55px of the row, and English runs ~15%
   longer than Portuguese (translation canon §5). This page has no header shortcut
   to drop, so the row is only tightened. */
@media (max-width: 560px) {
  .chrome { padding: 10px 12px; }
  .chrome a { font-size: 12px; padding: 8px 6px; letter-spacing: 0.05em; }
  .chrome-mid { gap: 0; }
  .lang-toggle { gap: 5px; }
  .lang-toggle button { font-size: 12px; padding: 8px 2px; letter-spacing: 0.05em; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Thin dark scrollbar — this page also rides inside the Console window
   (js/syswin.js), where the default white track glares on the register.
   Standalone it reads the same, which is the point: one surface, one dress.
   Chromium honours scrollbar-*; Safari takes the -webkit- rules. */
html { scrollbar-width: thin; scrollbar-color: rgba(216, 221, 230, 0.26) transparent; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(216, 221, 230, 0.22); border-radius: 999px; }

/* Framed inside the Console window (js/syswin.js sets `data-framed`), the
   page's own menus retire — the window's corner discs ARE the navigation
   (operator, 2026-08-10). The PT|EN switch stays: language is not a menu. */
html[data-framed] .chrome-home,
html[data-framed] .chrome-mid { display: none; }
html[data-framed] .chrome { justify-content: flex-end; }
