/* WeS Inbox — site. Tema escuro como o app; o fio condutor é a própria caixa de entrada: linhas de mensagem com a
   barra de cor do projeto, a bolinha de não lida e a hora em fonte mono. Sem estilo inline (CSP): cores e atrasos
   por classe (.c-*, .d1…d4). */

@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JBMono"; src: url("../fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-extrabold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --ink: #070914;
  --ink-2: #0b0e1c;
  --panel: #10142a;
  --line: rgba(190, 205, 255, .09);
  --line-2: rgba(190, 205, 255, .16);
  --text: #eef1fb;
  --muted: #c3c9de;
  --dim: #9aa2bd;
  --blue: #4f9bff;
  --sky: #8cc4ff;
  --violet: #a48bff;
  --teal: #2fd3bd;
  --amber: #ffc24a;
  --coral: #ff7d66;
  --green: #45d69a;
  --grad: linear-gradient(90deg, #8cc4ff, #4f9bff 50%, #8f8cff);
  --display: "Bricolage", "Instrument", system-ui, sans-serif;
  --body: "Instrument", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JBMono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --wrap: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --bar-h: 66px;
  --c: var(--blue);
  --d: 0s;
}

.c-blue { --c: var(--blue); }
.c-violet { --c: var(--violet); }
.c-teal { --c: var(--teal); }
.c-amber { --c: var(--amber); }
.c-coral { --c: var(--coral); }
.c-green { --c: var(--green); }
.d1 { --d: .07s; }
.d2 { --d: .14s; }
.d3 { --d: .21s; }
.d4 { --d: .28s; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 16px); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0; }
::selection { background: rgba(79, 155, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; z-index: 100; top: 10px; left: 10px; background: var(--sky); color: #000; padding: 8px 14px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.mono { font-family: var(--mono); }
.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: 0 .12em .1em 0; margin: 0 -.12em -.1em 0; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
code { font: 500 13.5px var(--mono); background: rgba(255, 255, 255, .07); padding: 2px 6px; border-radius: 6px; color: #dbeaff; word-break: break-all; }

/* ------------------------------------------------------------------ marca */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo img { width: 38px; height: auto; }
.logo span { font: 800 22px/1 "Poppins", var(--display); letter-spacing: -.02em; white-space: nowrap; }
.logo b { color: #fff; font-weight: 800; }
.logo i { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ------------------------------------------------------------------ barra */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--bar-h);
  background: rgba(7, 9, 20, .74); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.bar-in { height: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; gap: 22px; }
.bar-nav { display: flex; gap: 4px; margin-left: auto; }
.bar-nav a {
  position: relative; padding: 8px 14px; border-radius: 9px; color: var(--muted); text-decoration: none;
  font-size: 15.5px; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s;
}
.bar-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.bar-nav a[aria-current="page"] { color: var(--text); }
.bar-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); }
.bar-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 13px; border-radius: 999px;
  background: #fff; color: #070914; font-weight: 650; font-size: 15px; text-decoration: none; transition: transform .15s, box-shadow .3s;
}
.bar-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 26px -8px rgba(79, 155, 255, .9); }
.bar-cta .ic { width: 18px; height: 18px; }
.bar-menu { display: none; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; color: var(--text); }
.bar-menu .ic-x { display: none; }

/* ------------------------------------------------------------------ botões */
.btn-dl {
  display: inline-flex; align-items: center; gap: 14px; padding: 13px 26px 13px 14px; border-radius: 16px;
  background: #fff; color: #070914; text-decoration: none; min-width: 270px;
  box-shadow: 0 18px 50px -18px rgba(79, 155, 255, .75), inset 0 -2px 0 rgba(0, 0, 0, .12); transition: transform .2s, box-shadow .3s;
}
.btn-dl:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -16px rgba(79, 155, 255, .95), inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn-dl-ic { width: 46px; height: 46px; border-radius: 12px; background: #070914; color: var(--sky); display: grid; place-items: center; }
.btn-dl-ic .ic { width: 24px; height: 24px; }
.btn-dl-txt { display: flex; flex-direction: column; line-height: 1.25; }
.btn-dl-txt b { font: 700 19px var(--display); letter-spacing: -.01em; }
.btn-dl-txt small { font: 500 12.5px var(--mono); color: #3c4560; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 600;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s;
}
.btn:hover { border-color: var(--sky); background: rgba(79, 155, 255, .08); }

/* ------------------------------------------------------------------ rótulos */
.tag { display: inline-flex; align-items: center; gap: 10px; font: 500 13.5px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.tag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); }
.tag b { color: var(--c); font-weight: 500; }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; min-height: min(100svh, 980px); padding-top: var(--bar-h); display: flex; flex-direction: column; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(7, 9, 20, .9) 28%, rgba(7, 9, 20, .35) 60%, rgba(7, 9, 20, .1) 100%),
    linear-gradient(0deg, var(--ink) 0%, rgba(7, 9, 20, 0) 40%);
}
.hero-main { flex: 1; display: flex; align-items: center; }
.hero-copy { max-width: 700px; padding: clamp(40px, 8vh, 96px) 0 32px; }
.hero h1 { font-size: clamp(50px, 8.4vw, 118px); font-weight: 750; letter-spacing: -.045em; line-height: .92; font-stretch: 88%; margin: 22px 0 26px; }
.hero h1 em { font-style: normal; display: block; }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: #e2e7f4; max-width: 580px; margin-bottom: 34px; }
.hero-lead b { color: #fff; font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.hero-alt { font-size: 14.5px; color: var(--muted); line-height: 1.5; margin: 0; }
.hero-alt a { color: var(--text); }

/* a caixa de entrada do hero: cada linha leva a uma seção */
.inbox {
  list-style: none; margin: 0 0 clamp(28px, 5vh, 56px); padding: 6px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
  border: 1px solid var(--line-2); border-radius: 18px; background: rgba(11, 14, 28, .78); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  max-width: 980px;
}
.inbox a {
  position: relative; display: grid; grid-template-columns: 10px minmax(0, auto) minmax(0, 1fr) auto; align-items: center; gap: 4px 12px;
  padding: 14px 16px 14px 18px; border-radius: 12px; text-decoration: none; overflow: hidden; transition: background .2s;
}
.inbox a::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.inbox a:hover { background: rgba(255, 255, 255, .05); }
.inbox i { width: 8px; height: 8px; border-radius: 50%; }
.inbox i.unread { background: var(--c); box-shadow: 0 0 10px var(--c); }
.inbox b { font-weight: 650; font-size: 15.5px; white-space: nowrap; }
.inbox span { color: var(--muted); font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox time { font: 500 12px var(--mono); color: var(--dim); }

/* ------------------------------------------------------------------ seções */
.sec { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px 60px; align-items: start; margin-bottom: clamp(40px, 6vw, 64px); }
.sec-head h2 { font-size: clamp(38px, 5.2vw, 70px); font-stretch: 90%; }
.sec-head p { color: var(--muted); font-size: 19px; max-width: 640px; margin: 18px 0 0; }
.lede { font-size: clamp(21px, 2.1vw, 28px); line-height: 1.55; color: #d8deee; max-width: 780px; }
.lede strong { color: #fff; font-weight: 600; }
.lede mark { background: none; color: #fff; background-image: linear-gradient(transparent 68%, rgba(79, 155, 255, .35) 68%); padding: 0 .06em; }

.about { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 24px 60px; }
.about-side { position: sticky; top: calc(var(--bar-h) + 30px); align-self: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 56px; border-top: 1px solid var(--line); }
.fact { padding: 26px 26px 26px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 26px; }
.fact-h { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fact-h .ic { width: 26px; height: 26px; color: var(--c); }
.fact-h h3 { font-size: 22px; letter-spacing: -.01em; }
.fact p { color: var(--muted); margin: 0; font-size: 16px; }

/* recursos: texto ao lado da ilustração, alternando */
.sec-recursos { padding-top: 0; }
.craft { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.craft.flip > .craft-media { order: -1; }
.craft + .craft { margin-top: clamp(90px, 12vw, 160px); }
.craft h2 { font-size: clamp(40px, 5vw, 66px); font-stretch: 88%; margin: 18px 0 20px; }
.craft h2 span { color: var(--c); }
.craft-text > p { color: #dde3f0; font-size: 18.5px; max-width: 560px; }
.rows { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.rows li {
  position: relative; padding: 14px 16px 14px 20px; border: 1px solid var(--line); border-radius: 12px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 75%);
}
.rows li::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.rows b { display: block; font-weight: 650; font-size: 16.5px; margin-bottom: 2px; }
.rows span { color: var(--muted); font-size: 15px; }
.craft-photo { border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 2.2; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 60px -30px var(--c); }
.craft-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.craft-media:hover .craft-photo img { transform: scale(1.07); }

/* baixar */
.dl-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.dl-figure { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 3 / 2.4; }
.dl-figure img { width: 100%; height: 100%; object-fit: cover; }
.dl-list { display: grid; gap: 10px; }
.dl-row {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 46px; grid-template-areas: "h go" "t go"; gap: 6px 18px; align-items: center;
  padding: 18px 18px 18px 22px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--ink-2); text-decoration: none;
  transition: border-color .2s, background .2s, transform .2s;
}
a.dl-row:hover { border-color: var(--sky); background: #0e1326; transform: translateX(3px); }
.dl-row.mine { border-color: color-mix(in srgb, var(--blue) 70%, transparent); background: radial-gradient(120% 120% at 100% 0%, rgba(79, 155, 255, .14), transparent 60%), var(--ink-2); }
.dl-row.mine::after { content: "Seu sistema"; position: absolute; top: -10px; right: 18px; padding: 3px 9px; border-radius: 6px; background: var(--blue); color: #fff; font: 600 11.5px var(--mono); }
.dl-row-h { grid-area: h; display: flex; align-items: center; gap: 14px; }
.dl-row-h .ic { width: 30px; height: 30px; color: var(--text); }
.dl-row-h b { display: block; font: 700 20px/1.15 var(--display); letter-spacing: -.01em; }
.dl-row-h small { display: block; font: 500 12.5px var(--mono); color: var(--dim); margin-top: 3px; }
.dl-row-t { grid-area: t; color: var(--muted); font-size: 15px; padding-left: 44px; }
.dl-row-t a { color: var(--text); }
.dl-row-go { grid-area: go; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #070914; }
a.dl-row-go:hover { background: var(--sky); }
.none { padding: 22px; border-radius: 16px; border: 1px dashed var(--line-2); color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(50px, 7vw, 80px); }
.step { padding: 22px; border-radius: 16px; background: var(--ink-2); border: 1px solid var(--line); border-top: 2px solid var(--c); }
.step-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.step-h .ic { width: 24px; height: 24px; color: var(--c); }
.step-h h3 { font-size: 20px; letter-spacing: -.01em; }
.step p { color: #d5dbea; font-size: 15px; margin: 0 0 .6em; }
.step a { color: var(--text); }
.cmd { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); overflow-x: auto; }
.cmd code { padding: 0; background: none; white-space: pre; word-break: normal; user-select: all; font-size: 12.5px; }
.after-steps { color: var(--muted); margin-top: 22px; }

/* ajuda e novidades na página inicial: duas linhas largas */
.sec-mais { padding-top: 0; }
.mais { display: grid; gap: 12px; }
.mais-row {
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr 28px; gap: 24px; align-items: center; padding: 26px 28px;
  border-radius: 18px; border: 1px solid var(--line-2); text-decoration: none; transition: border-color .2s, background .2s;
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 9%, transparent), transparent 60%), var(--ink-2);
}
.mais-row:hover { border-color: var(--c); }
.mais-h { display: flex; align-items: center; gap: 14px; }
.mais-h .ic { width: 30px; height: 30px; color: var(--c); }
.mais-h b { font: 700 28px var(--display); letter-spacing: -.02em; }
.mais-row > span:not(.mais-h) { color: var(--muted); }
.mais-row > .ic { color: var(--c); transition: transform .2s; }
.mais-row:hover > .ic { transform: translateX(4px); }

/* ------------------------------------------------------------------ páginas internas */
.phero { position: relative; padding: calc(var(--bar-h) + clamp(60px, 9vw, 110px)) 0 clamp(46px, 6vw, 72px); overflow: hidden; isolation: isolate; }
.phero h1 { font-size: clamp(44px, 7vw, 96px); font-stretch: 86%; letter-spacing: -.04em; max-width: 1000px; margin: 20px 0 22px; }
.phero p { font-size: clamp(18px, 1.6vw, 21px); color: #dde3f0; max-width: 700px; margin: 0; }
.phero-img { position: absolute; inset: 0; z-index: -1; }
.phero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; opacity: .6; }
.phero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 18%, rgba(7, 9, 20, .45)), linear-gradient(0deg, var(--ink), transparent 55%); }
.phero-curta { padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.phero-curta h1 { font-size: clamp(38px, 5.4vw, 72px); margin: 14px 0 14px; }
.phero-h { display: flex; align-items: center; gap: 18px; margin: 14px 0 14px; }
.phero-h .ic { width: clamp(38px, 4.4vw, 58px); height: clamp(38px, 4.4vw, 58px); color: var(--c); }
.phero-h h1 { margin: 0; }
.crumb { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 15px; }
.crumb:hover { color: var(--text); }
.crumb .ic { width: 18px; height: 18px; }
.updated { font: 500 13.5px var(--mono); color: var(--muted) !important; }

/* lista de assuntos da ajuda: linhas numeradas, ícone ao lado do título */
.topics { list-style: none; margin: 0; padding: 0 0 40px; border-top: 1px solid var(--line); }
.topics li { border-bottom: 1px solid var(--line); }
.topics a {
  display: grid; grid-template-columns: 54px minmax(220px, 340px) 1fr 28px; gap: 20px; align-items: center; padding: 24px 8px;
  text-decoration: none; transition: background .2s, padding .2s;
}
.topics a:hover { background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%); padding-left: 16px; }
.topic-n { color: var(--dim); font-size: 14px; }
.topic-h { display: flex; align-items: center; gap: 14px; }
.topic-h .ic { width: 28px; height: 28px; color: var(--c); }
.topic-h b { font: 700 22px var(--display); letter-spacing: -.015em; }
.topic-t { color: var(--muted); }
.topics a > .ic { color: var(--c); }

/* página de um assunto: índice ao lado e o texto */
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 30px 70px; padding-top: 50px; padding-bottom: 40px; }
.doc-nav { position: sticky; top: calc(var(--bar-h) + 24px); align-self: start; display: flex; flex-direction: column; gap: 2px; }
.doc-nav b { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 8px; }
.doc-nav a { padding: 8px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: 15px; border-left: 2px solid transparent; }
.doc-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.doc-nav a[aria-current="page"] { color: var(--text); border-left-color: var(--sky); background: rgba(79, 155, 255, .08); border-radius: 0 9px 9px 0; }
.doc-body { max-width: 820px; }
.doc-sec + .doc-sec { margin-top: 44px; }
.doc-sec h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.doc-sec ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doc-sec li { position: relative; padding-left: 22px; color: #d9dfee; }
.doc-sec li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 3px; border-radius: 2px; background: var(--c); }
.doc-sec li.key { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: 14px; align-items: baseline; padding-left: 0; }
.doc-sec li.key::before { display: none; }
.doc-sec li.key kbd { justify-self: start; }
kbd {
  display: inline-block; font: 500 13px var(--mono); padding: 4px 9px; border-radius: 7px; color: #fff; white-space: nowrap;
  background: linear-gradient(180deg, #1a2140, #121830); border: 1px solid var(--line-2); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .45);
}
.next {
  display: grid; grid-template-columns: 1fr 26px; align-items: center; gap: 2px 14px; margin-top: 56px; padding: 22px 24px; border-radius: 16px;
  border: 1px solid var(--line-2); text-decoration: none; transition: border-color .2s;
}
.next:hover { border-color: var(--sky); }
.next small { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.next b { font: 700 22px var(--display); grid-row: 2; }
.next .ic { grid-row: 1 / 3; grid-column: 2; color: var(--sky); }

/* novidades */
.rel { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px 60px; padding: 56px 0; border-top: 1px solid var(--line); }
.rel:first-child { border-top: 0; }
.rel-side { position: sticky; top: calc(var(--bar-h) + 30px); align-self: start; }
.rel-v { display: block; font: 700 clamp(52px, 5.6vw, 78px)/1 var(--display); letter-spacing: -.04em; font-stretch: 80%; text-decoration: none; }
.rel-v:hover { color: var(--sky); }
.rel-date { display: block; font: 500 13.5px var(--mono); color: var(--muted); margin-top: 10px; }
.rel-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(69, 214, 154, .12); color: var(--green); font-weight: 600; font-size: 13px; }
.rel-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.rel-intro { font-size: 20px; color: #e4e8f4; margin-bottom: 28px; }
.rel-group + .rel-group { margin-top: 28px; }
.rel-group-h { display: flex; align-items: center; gap: 12px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.rel-group-h .ic { width: 22px; height: 22px; color: var(--c); }
.rel-group-h h3 { font-size: 21px; letter-spacing: -.01em; }
.rel-group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.rel-group li { position: relative; padding-left: 22px; color: #dbe1ef; }
.rel-group li::before { content: ""; position: absolute; left: 0; top: .66em; width: 10px; height: 3px; border-radius: 2px; background: var(--c); }

/* política e termos: uma coluna legível */
.legal { max-width: 820px; padding-top: 40px; padding-bottom: 40px; color: var(--muted); font-size: 16.5px; line-height: 1.7; }
.legal h2 { color: var(--text); font-size: 26px; margin: 42px 0 12px; }
.legal h3 { color: var(--text); font-size: 19px; margin: 22px 0 8px; font-family: var(--body); font-weight: 650; letter-spacing: 0; }
.legal strong, .legal a { color: var(--text); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }

.nao-achou { min-height: 62vh; border-bottom: 0; }
.nao-achou-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.nao-achou-links .ic { color: var(--sky); }

/* ------------------------------------------------------------------ rodapé */
.foot { margin-top: 60px; background: var(--ink-2); border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.foot-brand p { color: var(--muted); font-size: 15px; margin-top: 16px; }
.foot-ver { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font: 500 13px var(--mono); color: var(--text) !important; }
.foot-ver a { color: var(--muted); }
.foot-ver .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col b { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--dim); margin-bottom: 4px; }
.foot-col a { color: #dbe1ef; text-decoration: none; font-size: 15px; }
.foot-col a:hover { color: var(--sky); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 34px; color: var(--dim); font-size: 14px; }

/* ------------------------------------------------------------------ entrada ao rolar */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ responsivo */
@media (max-width: 1100px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  :root { --bar-h: 60px; }
  .bar-menu { display: inline-flex; }
  .bar-cta { margin-left: auto; }
  .bar-nav {
    position: fixed; inset: var(--bar-h) 0 auto; flex-direction: column; gap: 2px; padding: 14px var(--pad) 24px; margin: 0;
    background: rgba(7, 9, 20, .97); border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .bar-nav a { font-size: 19px; padding: 14px 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .bar-nav a[aria-current="page"]::after { display: none; }
  .bar.open .bar-nav { transform: none; opacity: 1; visibility: visible; }
  .bar.open .bar-menu .ic-x { display: block; }
  .bar.open .bar-menu .ic:not(.ic-x) { display: none; }
  .sec-head, .about, .craft, .dl-layout, .doc, .rel { grid-template-columns: 1fr; }
  .about-side, .rel-side, .doc-nav { position: static; }
  .craft.flip > .craft-media { order: 0; }
  .inbox { grid-template-columns: 1fr; }
  .doc-nav { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .doc-nav b { width: 100%; }
  .doc-nav a { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
  .doc-nav a[aria-current="page"] { border-color: var(--sky); border-radius: 999px; }
  .rel { padding: 40px 0; }
  .rel-side { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
  .topics a { grid-template-columns: 40px 1fr 24px; }
  .topic-t { grid-column: 2; }
  .topics a > .ic { grid-row: 1; grid-column: 3; }
  .mais-row { grid-template-columns: 1fr 28px; }
  .mais-row > span:not(.mais-h) { grid-column: 1; }
  .mais-row > .ic { grid-row: 1; grid-column: 2; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo span { font-size: 19px; }
  .logo img { width: 32px; }
  .bar-cta { padding: 8px 12px; font-size: 14px; }
  .hero-bg img { object-position: 72% 50%; opacity: .7; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(7, 9, 20, .5), rgba(7, 9, 20, .82) 45%, var(--ink)); }
  .btn-dl { min-width: 0; width: 100%; }
  .inbox a { grid-template-columns: 10px minmax(0, 1fr) auto; }
  .inbox span { grid-column: 2 / 4; white-space: normal; }
  .inbox time { grid-row: 1; grid-column: 3; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(even) { padding: 22px 0; border-right: 0 !important; }
  .steps { grid-template-columns: 1fr; }
  .dl-row-t { padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .doc-sec li.key { grid-template-columns: 1fr; gap: 4px; }
}
