/*
  Site do Protocolo Z. Mesma identidade da tela de carregamento (az-carregamento): fundo #0E0E11, um vermelho só,
  Saira/Michroma/IBM Plex Mono, painéis só com borda de 1px. A abertura usa --u para a logo animada (js/animacao.js).
*/
@font-face { font-family: "Saira"; font-weight: 400; font-display: swap; src: url("../fontes/saira-latin-400-normal.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: "Saira"; font-weight: 400; font-display: swap; src: url("../fontes/saira-latin-ext-400-normal.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; }
@font-face { font-family: "Saira"; font-weight: 500; font-display: swap; src: url("../fontes/saira-latin-500-normal.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: "Saira"; font-weight: 500; font-display: swap; src: url("../fontes/saira-latin-ext-500-normal.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; }
@font-face { font-family: "Saira"; font-weight: 600; font-display: swap; src: url("../fontes/saira-latin-600-normal.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: "Saira"; font-weight: 600; font-display: swap; src: url("../fontes/saira-latin-ext-600-normal.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; }
@font-face { font-family: "Michroma"; font-weight: 400; font-display: swap; src: url("../fontes/Michroma-Regular.ttf") format("truetype"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("../fontes/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #0e0e11;
  --ink-2: #141418;
  --bone: #eeeded;
  --muted: #8d8b93;
  --line: rgba(238, 237, 237, 0.12);
  --line-forte: rgba(238, 237, 237, 0.22);
  --destaque: #e11d2a;
  --marca: #de0f1a;
  --f-rotulo: "Michroma", "Bahnschrift", sans-serif;
  --f-corpo: "Saira", "Segoe UI", sans-serif;
  --f-numero: "IBM Plex Mono", "Consolas", monospace;
  --largura: 1120px;
  --lado: clamp(16px, 5vw, 48px);
  --topo: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--topo); }
body { margin: 0; background: var(--ink); color: var(--bone); font: 400 16px/1.6 var(--f-corpo); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, blockquote { margin: 0; }
::selection { background: var(--destaque); color: #fff; }
:focus-visible { outline: 1px solid var(--destaque); outline-offset: 3px; }

.rotulo { font-family: var(--f-rotulo); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.rotulo b { font-weight: 400; color: var(--destaque); margin-right: 1.2em; }
.numero { font-family: var(--f-numero); font-variant-numeric: tabular-nums; }

/* botões */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px; border: 1px solid var(--line-forte); color: var(--bone); font: 500 14px var(--f-corpo); letter-spacing: 0.03em; transition: border-color 0.2s, background 0.2s; white-space: nowrap; }
.botao svg { width: 18px; height: 18px; fill: currentColor; }
.botao:hover { border-color: var(--destaque); background: rgba(225, 29, 42, 0.1); }
.botao-cheio { background: var(--destaque); border-color: var(--destaque); color: #fff; }
.botao-cheio:hover { background: #c81824; border-color: #c81824; }

/* topo */
.topo { position: fixed; inset: 0 0 auto; z-index: 10; height: var(--topo); display: flex; align-items: center; gap: 32px; padding: 0 var(--lado); border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.topo.rolou { background: rgba(14, 14, 17, 0.94); border-color: var(--line); }
.marca { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.marca-simbolo { width: 28px; height: 26px; }
.marca-simbolo .b { fill: var(--bone); }
.marca-simbolo .v { fill: var(--marca); }
.marca-nome { font-family: var(--f-rotulo); font-size: 12px; letter-spacing: 0.24em; }
.marca-nome b { font-weight: 400; color: var(--marca); }
.menu { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.menu a { transition: color 0.2s; }
.menu a:hover, .menu a.ativo { color: var(--bone); }
.topo .botao { height: 36px; padding: 0 14px; font-size: 13px; }
.topo .botao + .botao { margin-left: -20px; }
.conta-topo { gap: 8px; }
.conta-topo img { width: 22px; height: 22px; border-radius: 50%; margin-left: -6px; }
.conta-dm { display: inline-flex; align-items: center; gap: 5px; padding-left: 10px; margin-left: 2px; border-left: 1px solid var(--line-forte); font: 500 13px var(--f-numero); font-variant-numeric: tabular-nums; }
.conta-dm svg { width: 15px; height: 15px; fill: none; stroke: #67e8f9; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* abertura (logo animada da tela de carregamento) */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  padding: calc(var(--topo) + 24px) var(--lado) 96px;
  --u: clamp(6px, min(0.85vw, 1.5vh), 13px);
  --mx: 0; --my: 0; --brilho: 0.6;
}
.fundo { position: absolute; inset: -2%; background: url("../img/fundo.jpg") center / cover; opacity: 0.55; transform: translate(calc(var(--mx) * -0.8 * var(--u)), calc(var(--my) * -0.5 * var(--u))); transition: transform 0.6s cubic-bezier(.2,.7,.2,1); }
.veu { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 46%, rgba(14,14,17,0.1), rgba(14,14,17,0.93) 75%), linear-gradient(to top, var(--ink), transparent 35%); }
canvas.brasas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: screen; background: radial-gradient(circle at 50% 40%, rgba(255,140,110,0.95), rgba(255,60,50,0.35) 30%, transparent 60%); }
.hero-centro { position: relative; display: grid; justify-items: center; text-align: center; max-width: 640px; }
.selo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: calc(3 * var(--u)); font-size: 13px; color: var(--muted); }
.selo i { width: 6px; height: 6px; border-radius: 50%; background: var(--destaque); box-shadow: 0 0 8px var(--destaque); animation: pulsar 2s ease-in-out infinite; }
@keyframes pulsar { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

.logo { position: relative; display: grid; justify-items: center; gap: calc(1.6 * var(--u)); }
.logo.falha { filter: drop-shadow(calc(-0.35 * var(--u)) 0 0 rgba(255, 30, 40, 0.75)) drop-shadow(calc(0.35 * var(--u)) 0 0 rgba(40, 220, 255, 0.6)); }
.luz { position: absolute; left: 50%; top: calc(9.6 * var(--u)); width: calc(30 * var(--u)); height: calc(30 * var(--u)); transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; opacity: 0; background: radial-gradient(circle, rgba(225, 29, 42, 0.55), rgba(225, 29, 42, 0.12) 40%, transparent 68%); }
.simbolo { position: relative; width: calc(19 * var(--u)); overflow: visible; cursor: pointer; }
.simbolo .b, .letreiro .b { fill: var(--bone); }
.simbolo .v, .letreiro .v { fill: var(--marca); }
.simbolo .anel-mov { transform: translate(calc(var(--mx) * 0.6 * var(--u)), calc(var(--my) * 0.5 * var(--u))); transition: transform 0.5s cubic-bezier(.2,.7,.2,1); }
.simbolo .garras { transform: translate(calc(var(--mx) * 1.8 * var(--u)), calc(var(--my) * 1.4 * var(--u))); transition: transform 0.35s cubic-bezier(.2,.7,.2,1); filter: drop-shadow(0 0 calc(0.7 * var(--u)) rgba(225, 29, 42, var(--brilho))); }
.simbolo .quente { fill: #ffecd2; }
.letreiro { position: relative; width: calc(30 * var(--u)); overflow: visible; }

.hero-frase { margin-top: calc(4 * var(--u)); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.2; letter-spacing: 0.01em; }
.hero-sub { margin-top: 12px; max-width: 460px; color: var(--muted); }
.hero-acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.descer { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 40px; height: 40px; display: grid; place-items: center; color: var(--muted); transition: color 0.2s; }
.descer svg { width: 20px; height: 20px; fill: currentColor; animation: descer 2.4s ease-in-out infinite; }
.descer:hover { color: var(--bone); }
@keyframes descer { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }

/* seções */
.secao { max-width: calc(var(--largura) + 2 * var(--lado)); margin: 0 auto; padding: 120px var(--lado); }
.secao + .secao { border-top: 1px solid var(--line); }
.secao-cabeca { display: grid; gap: 16px; margin-bottom: 56px; }
h2 { font-weight: 500; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.005em; }

.premissa { display: grid; gap: 48px; }
.premissa-grande { max-width: 820px; font-weight: 500; font-size: clamp(24px, 3vw, 38px); line-height: 1.25; }
.premissa-colunas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; max-width: 820px; color: var(--muted); font-size: 17px; }
#premissa .secao-cabeca { margin-bottom: 32px; }

.cartoes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cartoes-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cartao { display: grid; align-content: start; gap: 10px; padding: 28px; border: 1px solid var(--line); background: var(--ink-2); transition: border-color 0.25s; }
.cartao:hover { border-color: var(--line-forte); }
.cartao-num { font-size: 12px; color: var(--destaque); margin-bottom: 20px; }
.cartao h3 { font-weight: 600; font-size: 19px; line-height: 1.25; }
.cartao p { color: var(--muted); font-size: 15px; }

.arquivo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.registro { border: 1px solid var(--line); background: var(--ink-2); }
.registro img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--line); filter: saturate(0.9); transition: filter 0.4s; }
.registro:hover img { filter: saturate(1.05); }
.registro-texto { display: grid; gap: 10px; padding: 24px 28px 28px; }
.registro h3 { font-weight: 600; font-size: 22px; line-height: 1.2; }
.registro blockquote { color: var(--muted); font-style: italic; }

.entrar { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: center; }
.jey { position: relative; justify-self: center; width: 100%; max-width: 420px; }
.jey::before { content: ""; position: absolute; inset: 12% 0 0; background: radial-gradient(ellipse 55% 50% at 50% 55%, rgba(225, 29, 42, 0.16), transparent 70%); }
.jey img { position: relative; width: 100%; height: auto; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
.entrar-texto { display: grid; justify-items: start; gap: 20px; }
.entrar-intro { color: var(--muted); max-width: 480px; }
.passos { list-style: none; padding: 0; width: 100%; margin: 8px 0 12px; border-top: 1px solid var(--line); }
.passos li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.passos li > .numero { font-size: 13px; color: var(--destaque); padding-top: 3px; }
.passos h3 { font-weight: 600; font-size: 17px; line-height: 1.3; }
.passos p { color: var(--muted); font-size: 15px; }
.passos b { color: var(--bone); font-weight: 500; }

/* rodapé */
.rodape { max-width: calc(var(--largura) + 2 * var(--lado)); margin: 0 auto; padding: 48px var(--lado) 56px; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px; color: var(--muted); font-size: 13px; }
.rodape-marca { display: flex; align-items: center; gap: 12px; color: var(--bone); }

/* revelar ao rolar */
.revelar { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1); }
.revelar.visto { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .menu { display: none; }
  .cartoes, .cartoes-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entrar { grid-template-columns: 1fr; gap: 32px; }
  .jey { max-width: 300px; }
  .rodape { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { --u: 2.3vw; }
  .secao { padding: 80px var(--lado); }
  .secao-cabeca { margin-bottom: 36px; }
  .premissa-colunas, .cartoes, .cartoes-4, .arquivo { grid-template-columns: 1fr; }
  .cartao { padding: 24px; }
  .cartao-num { margin-bottom: 8px; }
  .hero-acoes { display: grid; width: 100%; }
  .topo .marca-nome { display: none; }
  .topo .botao-discord span, .conta-topo .conta-nome { display: none; }
  .conta-dm { padding-left: 8px; }
  .topo .botao-discord { padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fundo, .simbolo .garras, .simbolo .anel-mov, .revelar { transition: none; }
  .selo i, .descer svg { animation: none; }
  .revelar { opacity: 1; transform: none; }
}
