/* Zync — site institucional. Tokens espelham @zync/design-tokens (tema escuro). */
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin.woff2) format('woff2');
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin-ext.woff2) format('woff2');
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

:root {
  --ink: #0c0d13;
  --bg: #111218;
  --surface: #1c1e27;
  --elevated: #262936;
  --line: #ffffff14;
  --line2: #ffffff22;
  --text: #f3f4f8;
  --muted: #969cab;
  --dim: #6b7183;
  --primary: #5865f2;
  --primary-2: #4a57f0;
  --primary-hi: #8590fb;
  --success: #23c483;
  --warning: #f0b44c;
  --danger: #f05267;
  --radius: 16px;
  --wrap: 1280px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font:
    16px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
html {
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--primary-hi);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.center {
  text-align: center;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--text);
  color: var(--ink);
}
.skip:focus {
  left: 8px;
}

/* Tipografia */
.display {
  font-size: clamp(40px, 5.6vw, 70px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.display--md {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.08;
}
.grad {
  background: linear-gradient(100deg, var(--primary-hi), #b6bdff 45%, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  max-width: 560px;
}
.center .lead,
.lead.center {
  margin-inline: auto;
}
.eyebrow {
  color: var(--primary-hi);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.btn--sm {
  padding: 8px 18px;
  font-size: 14px;
}
.btn--lg {
  padding: 15px 28px;
  font-size: 17px;
}
.btn--primary {
  background: linear-gradient(180deg, #6672f5, var(--primary-2));
  color: #fff;
  box-shadow:
    0 10px 30px -8px #5865f2aa,
    inset 0 1px 0 #ffffff33;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 40px -8px #5865f2cc,
    inset 0 1px 0 #ffffff33;
}
.btn--light {
  background: var(--text);
  color: var(--ink);
}
.btn--light:hover {
  transform: translateY(-2px);
  color: var(--primary-2);
  box-shadow: 0 14px 34px -10px #000a;
}
.btn--ghost {
  border-color: var(--line2);
  background: #ffffff08;
  color: var(--text);
}
.btn--ghost:hover {
  border-color: #ffffff44;
  background: #ffffff12;
}
.btn.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Navegação */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  transition:
    background 0.25s,
    border-color 0.25s,
    backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: #0c0d13cc;
  border-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav__in {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: 0.08em;
}
.logo img {
  width: 30px;
  height: auto;
  filter: drop-shadow(0 4px 12px #4a57f066);
}
.nav__links {
  display: flex;
  gap: 28px;
  margin-right: auto;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.15s;
}
.nav__links a:hover,
.nav__links a[aria-current='page'] {
  color: var(--text);
}
.nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s;
}
.nav__toggle[aria-expanded='true'] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav__toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 900px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 70% 30%, #5865f240, transparent 70%),
    radial-gradient(ellipse 35% 35% at 15% 10%, #8590fb24, transparent 70%),
    radial-gradient(ellipse 30% 30% at 90% 80%, #23c48314, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.5;
}
.hero__in {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: center;
}
.hero__copy .lead {
  margin: 22px 0 32px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border: 1px solid #23c48350;
  border-radius: 999px;
  background: #23c48314;
  color: var(--success);
  font-size: 13px;
  font-weight: 700;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 0 #23c48399;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  70% {
    box-shadow: 0 0 0 8px #23c48300;
  }
  100% {
    box-shadow: 0 0 0 0 #23c48300;
  }
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__meta {
  margin-top: 16px;
  color: var(--dim);
  font-size: 14px;
}

/* Maquete do app */
.app {
  position: relative;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: var(--bg);
  box-shadow:
    0 40px 100px -30px #000,
    0 0 0 1px #00000080,
    0 30px 80px -40px #5865f2aa;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.45;
  transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}
.app:hover {
  transform: perspective(1600px) rotateY(-2deg) rotateX(1deg);
}
.app__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
}
.app__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--elevated);
}
.app__bar span {
  margin: 0 auto;
  color: var(--dim);
  font-size: 11px;
  font-weight: 600;
  transform: translateX(-24px);
}
.app__body {
  display: grid;
  grid-template-columns: 54px 150px minmax(0, 1fr) 136px;
  height: 430px;
}
.rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  background: var(--ink);
}
.rail hr {
  width: 24px;
  border: 0;
  border-top: 2px solid var(--elevated);
  margin: 2px 0;
}
.rail__home,
.srv {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  font-size: 12px;
  font-weight: 800;
  transition: border-radius 0.2s;
}
.rail__home {
  border-radius: 12px;
  background: var(--elevated);
}
.rail__home img {
  width: 20px;
}
.srv--a {
  background: linear-gradient(135deg, #f05267, #f0b44c);
}
.srv--b {
  background: linear-gradient(135deg, #23c483, #1a8f9e);
}
.srv--c {
  background: linear-gradient(135deg, #8590fb, #b34df0);
}
.srv--add {
  color: var(--success);
  font-size: 20px;
  font-weight: 500;
}
.srv.is-on {
  border-radius: 12px;
  box-shadow: -9px 0 0 -5px var(--text);
}
.side {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 8px 8px;
  background: var(--surface);
  min-width: 0;
}
.side__head {
  margin: 0 -8px 6px;
  padding: 0 12px;
  height: 40px;
  display: flex;
  align-items: center;
  font-weight: 800;
  border-bottom: 1px solid #00000040;
}
.side__cat {
  margin: 10px 4px 4px;
  color: var(--dim);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.ch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px;
  border-radius: 6px;
  color: var(--muted);
  white-space: nowrap;
}
.ch.is-on {
  background: var(--elevated);
  color: var(--text);
}
.ch em {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  padding: 0 6px;
}
.side__me {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: auto -8px -8px;
  padding: 8px 10px;
  background: #15161e;
}
.side__me small {
  display: block;
  color: var(--dim);
  font-size: 11px;
  line-height: 1;
}
.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.chat__head {
  height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-weight: 800;
  border-bottom: 1px solid #00000040;
}
.chat__head small {
  color: var(--dim);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msgs {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 12px 16px;
  overflow: hidden;
}
.msg {
  display: flex;
  gap: 10px;
}
.msg time {
  color: var(--dim);
  font-size: 11px;
  margin-left: 4px;
}
.msg p {
  color: #dfe1e8;
}
.msg code {
  font:
    12px ui-monospace,
    Consolas,
    monospace;
  background: var(--ink);
  border-radius: 4px;
  padding: 1px 5px;
}
.av {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
}
.av--1 {
  background: linear-gradient(135deg, #8590fb, #5865f2);
}
.av--2 {
  background: linear-gradient(135deg, #f0b44c, #f05267);
}
.av--3 {
  background: linear-gradient(135deg, #23c483, #16a3b8);
}
.av--4 {
  background: linear-gradient(135deg, #b34df0, #f05267);
}
.av--5 {
  background: linear-gradient(135deg, #6b7183, #3b3f4e);
}
.av--6 {
  background: linear-gradient(135deg, #16a3b8, #5865f2);
}
.c1 {
  color: #9aa3ff;
}
.c2 {
  color: #f7c56b;
}
.c3 {
  color: #4fd9a0;
}
.reacts {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.reacts span {
  padding: 1px 8px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--surface);
  font-size: 12px;
}
.reacts span:first-child {
  border-color: #5865f2aa;
  background: #5865f222;
}
.reply {
  color: var(--dim);
  font-size: 12px;
  margin-bottom: 2px;
}
.file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 12px;
}
.file span {
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--danger);
  font-size: 9px;
  font-weight: 800;
}
.typing {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 0 16px 4px;
  color: var(--dim);
  font-size: 11px;
}
.typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.typing i:nth-child(3) {
  animation-delay: 0.3s;
  margin-right: 4px;
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: none;
  }
  30% {
    opacity: 1;
    transform: translateY(-2px);
  }
}
.composer {
  margin: 0 16px 14px;
  padding: 11px 14px;
  border-radius: 8px;
  background: var(--surface);
  color: var(--dim);
}
.members {
  padding: 0 8px;
  background: var(--surface);
  min-width: 0;
}
.members .side__cat:first-child {
  margin-top: 14px;
}
.mem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 6px;
  font-weight: 600;
}
.mem .av {
  width: 28px;
  height: 28px;
}
.mem.is-off {
  opacity: 0.4;
}
.st {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2.5px solid var(--surface);
}
.st--on {
  background: var(--success);
}
.st--away {
  background: var(--warning);
}
.st--dnd {
  background: var(--danger);
}

/* Faixa de novidade */
.news {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 56px;
  padding: 14px 18px;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: linear-gradient(90deg, #5865f21c, #ffffff05);
  text-decoration: none;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.news:hover {
  border-color: #5865f288;
  transform: translateY(-1px);
}
.news__txt {
  color: #cfd2dc;
  font-size: 15px;
}
.news__go {
  margin-left: auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--elevated);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--elevated);
  color: var(--text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--green {
  background: #23c48326;
  color: var(--success);
}
.tag--red {
  background: #f0526726;
  color: var(--danger);
}
.tag--amber {
  background: #f0b44c26;
  color: var(--warning);
}

/* Seções */
.section {
  padding: 110px 0;
}
.section--alt {
  background: linear-gradient(180deg, var(--bg), var(--ink));
  border-block: 1px solid var(--line);
}
.section .display--md {
  margin-bottom: 48px;
}

/* Público */
.aud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.aud__card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), #16171f);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s;
}
.aud__card:hover {
  transform: translateY(-4px);
  border-color: #5865f266;
}
.aud__card h3 {
  margin: 18px 0 8px;
  font-size: 19px;
  font-weight: 800;
}
.aud__card p {
  color: var(--muted);
  font-size: 15px;
}
.ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.ico svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.ico--a {
  background: #5865f226;
  color: var(--primary-hi);
}
.ico--b {
  background: #23c48322;
  color: var(--success);
}
.ico--c {
  background: #f0526722;
  color: #ff7d8f;
}
.ico--d {
  background: #f0b44c22;
  color: var(--warning);
}

/* Abas */
.tabs__list {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 40px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs__list button {
  flex: none;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}
.tabs__list button:hover {
  color: var(--text);
}
.tabs__list button[aria-selected='true'] {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 20px -6px #5865f2;
}
.panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, #5865f21a, transparent 70%), var(--bg);
  animation: fade 0.35s var(--ease);
}
.panel[hidden] {
  display: none;
}
.no-js .panel[hidden] {
  display: grid;
  margin-top: 16px;
}
.no-js .tabs__list {
  display: none;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.panel h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
}
.panel__copy > p {
  color: var(--muted);
  margin-bottom: 22px;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #5865f233
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%238590fb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E")
    center/14px no-repeat;
}
.mini {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 30px 60px -30px #000;
  font-size: 14px;
}
.mini .msg {
  padding: 10px;
  border-radius: 10px;
  background: var(--bg);
}
.mini .mem {
  padding: 10px;
  border-radius: 10px;
  background: var(--bg);
}
.mini .mem .av {
  width: 36px;
  height: 36px;
}
.mini .mem small {
  display: block;
  color: var(--dim);
  font-weight: 500;
  font-size: 12px;
}
.count {
  margin-left: auto;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  background: var(--danger);
  color: #fff;
  border-radius: 999px;
  padding: 1px 8px;
}
.link {
  margin-top: 8px;
  padding: 10px 12px;
  border-left: 3px solid var(--danger);
  border-radius: 6px;
  background: var(--surface);
  display: grid;
  font-size: 13px;
}
.link b {
  color: var(--dim);
  font-size: 11px;
}
.link span {
  color: #7fb2ff;
  font-weight: 700;
}
.perm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg);
  font-weight: 600;
}
.tri {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: 8px;
}
.tri i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 26px;
  font-style: normal;
  font-weight: 800;
  color: var(--dim);
  font-size: 12px;
}
.tri i + i {
  border-left: 1px solid var(--line2);
}
.tri .no.is-on {
  background: var(--danger);
  color: #fff;
}
.tri .yes.is-on {
  background: var(--success);
  color: #fff;
}
.tri i.is-on:not(.no):not(.yes) {
  background: var(--elevated);
  color: var(--text);
}
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.role::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.r1::before {
  background: var(--danger);
}
.r2::before {
  background: var(--warning);
}
.r3::before {
  background: var(--primary-hi);
}
.log {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg);
}
.log .tag {
  min-width: 84px;
  text-align: center;
}
.log small {
  display: block;
  color: var(--dim);
  font-size: 12px;
}

/* Faixa rolante */
.ticker {
  overflow: hidden;
  padding: 26px 0;
  background: linear-gradient(90deg, var(--primary-2), #7a5cf5, var(--primary-2));
  transform: rotate(-1.5deg);
  margin: 20px -20px;
  box-shadow: 0 20px 50px -20px #5865f2aa;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: roll 30s linear infinite;
}
.ticker span {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.ticker span::after {
  content: '';
  width: 18px;
  height: 18px;
  background: url(/mark.svg) center/contain no-repeat;
  filter: brightness(0) invert(1);
}
@keyframes roll {
  to {
    transform: translateX(-33.333%);
  }
}

/* Grade */
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.feat {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition:
    border-color 0.2s,
    background 0.2s;
}
.feat:hover {
  border-color: var(--line2);
  background: var(--surface);
}
.feat__ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px currentColor;
  transition: transform 0.2s var(--ease);
}
.feat__ico.ico--a {
  box-shadow: inset 0 0 0 1px #8590fb40;
}
.feat__ico.ico--b {
  box-shadow: inset 0 0 0 1px #23c48340;
}
.feat__ico.ico--c {
  box-shadow: inset 0 0 0 1px #ff7d8f40;
}
.feat__ico.ico--d {
  box-shadow: inset 0 0 0 1px #f0b44c40;
}
.feat:hover .feat__ico {
  transform: translateY(-2px) scale(1.05);
}
.i {
  width: 20px;
  height: 20px;
}
.feat b {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.feat p {
  color: var(--muted);
  font-size: 14px;
}

/* Segurança */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: center;
}
.split .display--md {
  margin: 0 0 20px;
}
.sec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.sec__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.sec__item b {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}
.sec__item p {
  color: var(--muted);
  font-size: 14px;
}

/* Roadmap */
.road {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.road::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--success) 0 30%,
    var(--primary) 30% 40%,
    var(--line2) 40%
  );
}
.road__item {
  position: relative;
  padding-top: 40px;
}
.road__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--line2);
}
.road__item.is-done::before {
  background: var(--success);
  border-color: var(--success);
}
.road__item.is-now::before {
  background: var(--primary);
  border-color: var(--primary-hi);
  box-shadow: 0 0 0 6px #5865f233;
}
.road__v {
  display: block;
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.is-done .road__v {
  color: var(--success);
}
.is-now .road__v {
  color: var(--primary-hi);
}
.road__item b {
  display: block;
  margin: 6px 0;
  font-size: 18px;
  font-weight: 800;
}
.road__item p {
  color: var(--muted);
  font-size: 14px;
}

/* FAQ */
.faq {
  max-width: 820px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 4px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--primary-hi);
  font-size: 20px;
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 4px 22px;
  color: var(--muted);
  max-width: 680px;
}
.faq a {
  color: var(--primary-hi);
}

/* CTA final */
.final {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  text-align: center;
}
.final__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 100%, #5865f255, transparent 70%),
    radial-gradient(ellipse 30% 40% at 50% 0%, #8590fb1f, transparent 70%);
}
.final .wrap {
  position: relative;
}
.final__icon {
  margin: 0 auto 28px;
  border-radius: 22px;
  box-shadow: 0 20px 60px -10px #5865f2aa;
}
.final .lead {
  margin: 20px auto 32px;
}

/* Rodapé */
.foot {
  border-top: 1px solid var(--line);
  background: var(--ink);
  padding: 56px 0 28px;
}
.foot__in {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
}
.foot__brand p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}
.foot__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__col b {
  color: var(--primary-hi);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.foot__col a,
.foot__bottom a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
}
.foot__col a:hover,
.foot__bottom a:hover {
  color: var(--text);
}
.foot__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

/* Páginas internas */
.phead {
  position: relative;
  padding: 72px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.phead__glow {
  position: absolute;
  inset: -40% -10% auto;
  height: 640px;
  pointer-events: none;
  background:
    radial-gradient(ellipse 45% 50% at 70% 30%, #5865f235, transparent 70%),
    radial-gradient(ellipse 30% 40% at 10% 0%, #8590fb1c, transparent 70%);
}
.phead .wrap {
  position: relative;
}
.phead .lead {
  margin-top: 18px;
}
.section--tight {
  padding: 72px 0;
}
.h2 {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  margin: 48px 0 20px;
}
.h2:first-child {
  margin-top: 0;
}
.h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 32px 0 12px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.prose > * {
  max-width: 820px;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 16px;
}
.prose a,
.legal a,
.muted a {
  color: var(--primary-hi);
}
code {
  font:
    0.92em ui-monospace,
    Consolas,
    'Cascadia Code',
    monospace;
}
.prose code,
.steps code,
.dl code {
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.code {
  margin: 0 0 16px;
  padding: 16px 18px;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--ink);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}
.code code {
  padding: 0;
  border: 0;
  background: none;
  white-space: pre;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
  display: grid;
  gap: 12px;
}
.steps li {
  position: relative;
  padding-left: 40px;
  counter-increment: s;
}
.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.checks--todo li::before {
  background: #f0b44c22
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4' fill='%23f0b44c'/%3E%3C/svg%3E")
    center/14px no-repeat;
}
.checks--no {
  margin-top: 12px !important;
}
.checks--no li::before {
  background: #f0526722
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23f05267' stroke-width='3' stroke-linecap='round' d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E")
    center/12px no-repeat;
}
.cols2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 24px;
}
.cols3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.cols3 .h2 {
  margin-top: 0;
}
.cta-row--center {
  justify-content: center;
  margin-top: 32px;
}
.split__more {
  margin-top: 28px;
}
.road__more {
  margin-top: 40px;
}
.road__more a {
  color: var(--primary-hi);
  font-weight: 700;
  text-decoration: none;
}
.news__txt b {
  color: var(--text);
}
.chat__search {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 6px;
  background: var(--ink);
  color: var(--dim);
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}
.search {
  padding: 10px 14px;
  border: 1px solid #5865f288;
  border-radius: 10px;
  background: var(--bg);
  color: var(--muted);
  font-size: 13px;
  box-shadow: 0 0 0 3px #5865f222;
}
.search b {
  color: var(--primary-hi);
}
.result {
  display: flex;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  background: var(--bg);
}
.result small {
  color: var(--dim);
  font-size: 12px;
}
.result mark {
  background: #f0b44c33;
  color: #ffd78a;
  border-radius: 3px;
  padding: 0 2px;
}
.mini__foot {
  color: var(--dim);
  font-size: 12px;
  text-align: right;
}

/* Download */
.dl__card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line2);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 120% at 100% 50%, #5865f222, transparent 70%), var(--surface);
}
.dl__card img {
  border-radius: 18px;
  box-shadow: 0 12px 30px -8px #5865f2aa;
}
.dl__info h2 {
  font-size: 26px;
  font-weight: 900;
}
.dl__cta {
  margin-left: auto;
  text-align: right;
}
.dl__cta .hero__meta {
  margin-top: 10px;
}
.dl__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 20px 0 12px;
}
.dl__facts div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  min-width: 0;
}
.dl__facts dt {
  color: var(--dim);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.dl__facts dd {
  margin: 4px 0 0;
  font-weight: 700;
  font-size: 17px;
}
.dl__hash {
  grid-column: 1/-1;
}
.dl__hash code {
  display: block;
  word-break: break-all;
  font-size: 12.5px;
  font-weight: 500;
  color: #cfd2dc;
  padding: 8px 10px !important;
}

/* Novidades */
.rels {
  display: grid;
  gap: 20px;
}
.rels > * {
  max-width: 980px;
}
.rel {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 32px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
  scroll-margin-top: 90px;
}
.rel:first-child {
  border-color: #5865f266;
  background: radial-gradient(ellipse 50% 100% at 100% 0%, #5865f21c, transparent 70%), var(--bg);
}
.rel:target {
  border-color: var(--primary-hi);
}
.rel__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.rel__v {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
}
.rel__meta time {
  color: var(--dim);
  font-size: 14px;
}
.rel h2 {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 6px;
}
.rel .muted {
  margin-bottom: 16px;
}

/* Status */
.status > * {
  max-width: 880px;
}
.status__banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: var(--surface);
  margin-bottom: 20px;
}
.status__banner > i,
.svc__state i,
.foot__status i {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--dim);
}
.status__banner > i {
  width: 16px;
  height: 16px;
}
.status__banner b {
  display: block;
  font-size: 19px;
}
.status__banner small {
  color: var(--muted);
}
[data-state='up'] > i {
  background: var(--success);
  box-shadow: 0 0 0 4px #23c48333;
}
[data-state='down'] > i {
  background: var(--danger);
  box-shadow: 0 0 0 4px #f0526733;
}
[data-state='partial'] > i {
  background: var(--warning);
  box-shadow: 0 0 0 4px #f0b44c33;
}
.status__banner[data-state='up'] {
  border-color: #23c48355;
  background: linear-gradient(90deg, #23c4831a, transparent 60%), var(--surface);
}
.status__banner[data-state='down'] {
  border-color: #f0526766;
  background: linear-gradient(90deg, #f052671a, transparent 60%), var(--surface);
}
.status__banner[data-state='partial'] {
  border-color: #f0b44c66;
  background: linear-gradient(90deg, #f0b44c1a, transparent 60%), var(--surface);
}
.svcs {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.svc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg);
}
.svc + .svc {
  border-top: 1px solid var(--line);
}
.svc b {
  display: block;
}
.svc small {
  color: var(--dim);
  font-size: 13px;
}
.svc__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.svc__state[data-state='up'] {
  color: var(--success);
}
.svc__state[data-state='down'] {
  color: var(--danger);
}
.status__facts {
  margin-top: 20px;
}
.foot__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 6px 12px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.foot__status:hover {
  color: var(--text);
}
.foot__status i {
  width: 8px;
  height: 8px;
}

/* Segurança */
.sec--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sec--3 .sec__item {
  gap: 0;
}

/* Textos legais */
.legal h2 {
  font-size: 22px;
  font-weight: 900;
  margin: 40px 0 12px;
  scroll-margin-top: 90px;
}
.legal h2:first-of-type {
  margin-top: 8px;
}
.legal ul {
  padding-left: 20px;
}
.legal li {
  margin-bottom: 8px;
  color: #d9dbe3;
}
.legal p {
  color: #d9dbe3;
}
.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 14px;
}
.toc b {
  width: 100%;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.toc a {
  text-decoration: none;
}
.tbl {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
  display: block;
  overflow-x: auto;
}
.tbl th,
.tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.tbl th {
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tbl td:first-child {
  font-weight: 700;
  white-space: nowrap;
}

/* Marca */
.brand {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.brand__card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface);
}
.brand__art {
  display: grid;
  place-items: center;
  height: 220px;
}
.brand__art img {
  width: auto;
  max-height: 140px;
}
.brand__art--dark {
  background: var(--ink);
}
.brand__art--light {
  background: #eef0fb;
}
.brand__art--grad {
  background: linear-gradient(135deg, #6c78f7, #4c59f0);
}
.brand__word {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
}
.brand__word img {
  filter: brightness(0) invert(1);
}
.brand__card figcaption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 20px;
}
.brand__card figcaption span {
  color: var(--muted);
  font-size: 14px;
}
.brand__card .btn {
  margin-top: 6px;
}
.brand__btns {
  display: flex;
  gap: 8px;
}
.sws {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sw {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.sw:hover {
  border-color: var(--line2);
  transform: translateY(-2px);
}
.sw.is-copied {
  border-color: var(--success);
}
.sw__c {
  display: block;
  width: 100%;
  height: 72px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sw b,
.sw code,
.sw small {
  padding: 0 14px;
}
.sw code {
  color: var(--muted);
  font-size: 13px;
}
.sw small {
  color: var(--dim);
  font-size: 12px;
}
.sw--5865f2 {
  background: #5865f2;
}
.sw--8590fb {
  background: #8590fb;
}
.sw--4a57f0 {
  background: #4a57f0;
}
.sw--111218 {
  background: #111218;
}
.sw--1c1e27 {
  background: #1c1e27;
}
.sw--f3f4f8 {
  background: #f3f4f8;
}
.sw--23c483 {
  background: #23c483;
}
.sw--f05267 {
  background: #f05267;
}
.type-sample {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  margin: 0 0 12px;
  background: linear-gradient(100deg, var(--primary-hi), var(--text));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* 404 */
.nf {
  position: relative;
  padding: 120px 0 140px;
  overflow: hidden;
}
.nf .wrap {
  position: relative;
}
.nf__code {
  font-size: clamp(110px, 22vw, 220px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #8590fb, #5865f200);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nf .lead {
  margin: 18px auto 0;
}

/* Revelar ao rolar */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsivo */
@media (max-width: 1080px) {
  .hero__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }
  .hero__copy {
    text-align: center;
  }
  .hero__copy .lead {
    margin-inline: auto;
  }
  .cta-row {
    justify-content: center;
  }
  .app {
    transform: none;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
  }
  .app:hover {
    transform: none;
  }
  .aud,
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .road {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding-left: 36px;
  }
  .road::before {
    left: 9px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      var(--success) 0 25%,
      var(--primary) 25% 40%,
      var(--line2) 40%
    );
  }
  .road__item {
    padding-top: 0;
  }
  .road__item::before {
    left: -36px;
  }
  .sec--3,
  .brand {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sws {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .foot__in {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot__brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 68px 0 auto;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 24px 20px;
    background: #0c0d13f5;
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s,
      transform 0.2s,
      visibility 0.2s;
  }
  .nav__links.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }
  .nav__cta {
    margin-left: auto;
  }
  .nav__toggle {
    display: flex;
  }
  .app__body {
    grid-template-columns: 52px 150px minmax(0, 1fr);
  }
  .members {
    display: none;
  }
  .panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding: 28px;
  }
  .tabs__list {
    justify-content: flex-start;
  }
  .news__txt {
    font-size: 14px;
  }
  .cols3,
  .cols2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .dl__card {
    flex-wrap: wrap;
  }
  .dl__cta {
    margin-left: 0;
    text-align: left;
    width: 100%;
  }
  .rel {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 24px;
  }
  .rel__meta {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .sws {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
  .hero {
    padding-top: 32px;
  }
  .app__body {
    grid-template-columns: 48px minmax(0, 1fr);
    height: 380px;
  }
  .side {
    display: none;
  }
  .app {
    font-size: 12px;
  }
  .aud,
  .grid,
  .sec {
    grid-template-columns: minmax(0, 1fr);
  }
  .section {
    padding: 80px 0;
  }
  .section .display--md {
    margin-bottom: 32px;
  }
  .news {
    flex-wrap: wrap;
    margin-top: 40px;
  }
  .news__go {
    margin-left: 0;
  }
  .btn--lg {
    width: 100%;
    justify-content: center;
  }
  .final {
    padding: 96px 0;
  }
  .foot__in {
    grid-template-columns: 1fr 1fr;
  }
  .foot__brand {
    grid-column: 1/-1;
  }
  .foot__bottom {
    flex-direction: column;
  }
  .log .tag {
    min-width: 72px;
  }
  .section--tight {
    padding: 56px 0;
  }
  .phead {
    padding: 48px 0 40px;
  }
  .sec--3,
  .brand,
  .dl__facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .svc {
    padding: 16px;
  }
  .type-sample {
    font-size: 72px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ───────────────────────── Componentes da fase 2 (S6–S8) ───────────────────────── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
kbd {
  display: inline-block;
  min-width: 24px;
  padding: 1px 7px;
  border: 1px solid var(--line2);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font:
    600 12px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    sans-serif;
  text-align: center;
  white-space: nowrap;
}
.tag--blue {
  background: #5865f22e;
  color: var(--primary-hi);
}
.tag--dim {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line2);
  color: var(--dim);
}

/* Botão de tema */
.theme-btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  margin-right: -16px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition:
    color 0.15s,
    border-color 0.15s;
}
.theme-btn:hover {
  color: var(--text);
  border-color: var(--dim);
}
.theme-btn .i {
  width: 18px;
  height: 18px;
}
.theme-btn .i + .i,
:root[data-theme='light'] .theme-btn .i:first-child {
  display: none;
}
:root[data-theme='light'] .theme-btn .i + .i {
  display: block;
}

/* Cabeçalho de página menor (artigos) */
.phead--sm {
  padding: 40px 0 36px;
}
.display--sm {
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.1;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  color: var(--dim);
  font-size: 14px;
}
.crumbs a {
  color: var(--primary-hi);
  text-decoration: none;
}
.crumbs .i {
  width: 14px;
  height: 14px;
}
.ahead {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ahead .lead {
  margin-top: 6px;
}
.feat__ico--lg {
  width: 56px;
  height: 56px;
  margin: 0;
  border-radius: 16px;
  flex: none;
}
.feat__ico--lg .i {
  width: 26px;
  height: 26px;
}

/* Central de ajuda */
.hsearch {
  position: relative;
  max-width: 640px;
  margin: 0 0 32px;
}
.hsearch > .i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  pointer-events: none;
}
.hsearch input {
  width: 100%;
  padding: 16px 18px 16px 50px;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.hsearch input::placeholder {
  color: var(--dim);
}
.hsearch input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px #5865f233;
}
.hgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.hcard {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  text-decoration: none;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s var(--ease);
}
.hcard[hidden] {
  display: none;
}
.hcard:hover {
  border-color: #5865f266;
  background: var(--surface);
  transform: translateY(-3px);
}
.hcard b {
  font-size: 17px;
  margin-bottom: 6px;
}
.hcard p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 16px;
}
.hcard__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: var(--primary-hi);
  font-size: 14px;
  font-weight: 700;
}
.hcard__go .i {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.hcard:hover .hcard__go .i {
  transform: translateX(3px);
}
.hempty {
  color: var(--muted);
  margin-top: 8px;
}
.hempty a,
.hcontact a:not(.btn) {
  color: var(--primary-hi);
}
.hcontact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.hcontact .h2 {
  margin: 0 0 6px;
}
.adoc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}
.aside__box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  font-size: 14px;
}
.aside__box b {
  margin: 0 0 8px 8px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aside__box a {
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}
.aside__box a:hover {
  background: var(--surface);
  color: var(--text);
}
.aside__box a[aria-current='page'] {
  background: #5865f222;
  color: var(--primary-hi);
  font-weight: 700;
}
.help h2 {
  scroll-margin-top: 90px;
}
.help .steps {
  margin-bottom: 16px;
}
.tbl--keys td:first-child {
  width: 1%;
}
.tbl--keys td {
  vertical-align: middle;
}
.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.pager a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s;
}
.pager a:hover {
  border-color: #5865f288;
}
.pager small {
  color: var(--dim);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pager b {
  color: var(--text);
}
.pager__next {
  text-align: right;
}

/* Roadmap */
.rboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.rcol {
  display: grid;
  gap: 12px;
}
.rcol__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.rcol__title i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dim);
}
.rcol--now .rcol__title i {
  background: var(--primary);
  box-shadow: 0 0 0 4px #5865f233;
}
.rcol--next .rcol__title i {
  background: var(--success);
}
.rcol__title small {
  margin-left: auto;
  padding: 1px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--dim);
  font-size: 12px;
}
.ritem {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}
.rcol--now .ritem {
  border-color: #5865f255;
  background: radial-gradient(ellipse 60% 100% at 100% 0%, #5865f21a, transparent 70%), var(--bg);
}
.ritem .feat__ico {
  margin: 0;
  flex: none;
}
.ritem h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}
.ritem p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}
.ship__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.ship__head .h2 {
  margin: 0;
}
.ship__head .btn .i {
  width: 16px;
  height: 16px;
}
.ship {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.ship a {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.2s;
}
.ship a:hover {
  border-color: #5865f288;
}
.ship__v {
  color: var(--success);
  font-size: 13px;
  font-weight: 800;
}
.ship time {
  color: var(--dim);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rboard,
  .ship {
    grid-template-columns: 1fr 1fr;
  }
  .adoc {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  /* Em telas estreitas o artigo vem primeiro; breadcrumb e "Anterior/Próximo" navegam. */
  .aside {
    display: none;
  }
}
@media (max-width: 860px) {
  .theme-btn {
    margin: 0 0 0 auto;
  }
  .theme-btn + .nav__cta {
    margin-left: 0;
  }
  .nav__in {
    gap: 12px;
  }
}
@media (max-width: 600px) {
  /* Atalhos no celular: a tecla em cima e a descrição embaixo, sem rolagem lateral. */
  .tbl--keys,
  .tbl--keys tbody,
  .tbl--keys tr,
  .tbl--keys td {
    display: block;
    width: auto;
  }
  .tbl--keys thead {
    display: none;
  }
  .tbl--keys tr {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .tbl--keys td {
    padding: 2px 0;
    border: 0;
  }
  .tbl--keys td:first-child {
    width: auto;
    white-space: normal;
  }
  .hgrid,
  .rboard,
  .ship,
  .aside,
  .pager {
    grid-template-columns: minmax(0, 1fr);
  }
  .ahead {
    align-items: flex-start;
  }
  .feat__ico--lg {
    width: 44px;
    height: 44px;
  }
  .theme-btn {
    width: 36px;
    height: 36px;
  }
}

/* ───────────────────────── Tema claro (S8) ───────────────────────── */
:root[data-theme='light'] {
  --ink: #f5f6fb;
  --bg: #ffffff;
  --surface: #eef0f6;
  --elevated: #e2e5ef;
  --line: #14182a17;
  --line2: #14182a29;
  --text: #151722;
  --muted: #555b6d;
  --dim: #767c8f;
  --primary-hi: #4a57f0;
  color-scheme: light;
}
/* Maquetes do app e a faixa rolante continuam escuras, como capturas de tela. */
.app,
.mini,
.ticker,
.brand__art--dark {
  --ink: #0c0d13;
  --bg: #111218;
  --surface: #1c1e27;
  --elevated: #262936;
  --line: #ffffff14;
  --line2: #ffffff22;
  --text: #f3f4f8;
  --muted: #969cab;
  --dim: #6b7183;
  --primary-hi: #8590fb;
  color: var(--text);
}
.ticker span {
  color: #fff;
}
:root[data-theme='light'] .brand__art--dark {
  background: #0c0d13;
}
:root[data-theme='light'] .grad {
  background-image: linear-gradient(100deg, #4a57f0, #7a5cf5 50%, #5865f2);
}
:root[data-theme='light'] .nav.is-scrolled {
  background: #f5f6fbd9;
}
:root[data-theme='light'] .btn--ghost {
  background: #ffffff;
  border-color: var(--line2);
}
:root[data-theme='light'] .btn--ghost:hover {
  border-color: #14182a40;
  background: var(--surface);
}
:root[data-theme='light'] .btn--light:hover {
  color: #c3c9ff;
}
:root[data-theme='light'] .news__txt,
:root[data-theme='light'] .legal p,
:root[data-theme='light'] .legal li,
:root[data-theme='light'] .dl__hash code {
  color: var(--text);
}
:root[data-theme='light'] .aud__card {
  background: linear-gradient(180deg, #ffffff, var(--ink));
}
:root[data-theme='light'] .app {
  box-shadow:
    0 40px 90px -40px #14182a80,
    0 0 0 1px #14182a1a,
    0 30px 80px -40px #5865f288;
}
:root[data-theme='light'] .pill,
:root[data-theme='light'] .tag--green,
:root[data-theme='light'] .ico--b,
:root[data-theme='light'] .ship__v,
:root[data-theme='light'] .svc__state[data-state='up'] {
  color: #0d8a57;
}
:root[data-theme='light'] .tag--red,
:root[data-theme='light'] .ico--c,
:root[data-theme='light'] .svc__state[data-state='down'] {
  color: #c62a43;
}
:root[data-theme='light'] .tag--amber,
:root[data-theme='light'] .ico--d {
  color: #a3680a;
}
:root[data-theme='light'] .dot {
  background: #0d8a57;
}
:root[data-theme='light'] .hero__glow,
:root[data-theme='light'] .phead__glow,
:root[data-theme='light'] .final__glow {
  opacity: 0.7;
}
@media (max-width: 860px) {
  :root[data-theme='light'] .nav__links {
    background: #f5f6fbf5;
  }
}

/* Maquete de voz (aba "Voz e tela") */
.vc__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 800;
}
.vc__head small {
  color: var(--dim);
  font-weight: 500;
  font-size: 12px;
}
.mini .mem.vc {
  position: relative;
}
.vc.is-talking .av {
  box-shadow:
    0 0 0 2px var(--surface),
    0 0 0 4px var(--success);
}
.vc__live {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 6px;
  background: var(--danger);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.vc__muted {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f0526733;
  color: var(--danger);
  font-size: 11px;
  font-weight: 800;
}
.vc__stream {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
  height: 120px;
  padding: 12px 14px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, transparent 40%, #000000b3),
    radial-gradient(ellipse 60% 70% at 30% 30%, #f0b44c66, transparent 70%),
    radial-gradient(ellipse 60% 70% at 80% 60%, #5865f2aa, transparent 70%), #1a1c2b;
}
.vc__stream span {
  color: #fff;
  font-weight: 800;
  font-size: 13px;
}
.vc__stream small {
  color: #ffffffb3;
  font-size: 12px;
}

/* Capturas reais do app (static/shots, geradas por scripts/app-shots.mjs) */
.app--shot {
  margin: 0;
  line-height: 0;
  background: #0c0d13;
}
.app--shot img {
  display: block;
  width: 100%;
  height: auto;
}
.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: 14px;
  background: #111218;
  box-shadow:
    0 30px 60px -30px #000000b3,
    0 0 0 1px #00000040;
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
/* Captura alta (chat): mostra a parte de baixo, onde estão as mensagens e o campo de texto. */
.shot--tall {
  aspect-ratio: 807 / 600;
}
.shot--tall img {
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
:root[data-theme='light'] .shot {
  box-shadow:
    0 30px 60px -34px #14182a66,
    0 0 0 1px #14182a14;
}

/* Capturas dentro dos artigos de ajuda */
.help__shot {
  margin: 8px 0 28px;
}
.help__shot figcaption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* Seletor de idioma (rodapé) */
.foot__langs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  margin-top: 16px;
  font-size: 13px;
}
.foot__langs .i {
  width: 16px;
  height: 16px;
  color: var(--dim);
}
.foot__langs a {
  color: var(--muted);
  text-decoration: none;
}
.foot__langs a:hover {
  color: var(--text);
}
.foot__langs a[aria-current='true'] {
  color: var(--text);
  font-weight: 700;
}
.nf__other {
  margin-top: 28px;
}
.nf__other a {
  color: var(--primary-hi);
}

/* Aviso das traduções dos textos legais */
.legal__notice {
  margin: 0 0 24px;
  padding: 14px 18px;
  border: 1px solid #f0b44c55;
  border-radius: 12px;
  background: #f0b44c14;
  color: var(--text);
  font-size: 14px;
}
.legal__notice a {
  color: var(--primary-hi);
}
