/* Identidade: Manual de Marca NorthScale (set/2026). Visual alinhado ao site thenorthscales (tema escuro, vidro, brilho azul, animações de entrada). */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap; src: url('assets/fontes/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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 800; font-display: swap; src: url('assets/fontes/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; }

:root {
  --azul: #4260E6; --azul-escuro: #1B22A7; --azul-claro: #8FA3F2; --preto: #07080d; --branco: #FAFAFA;
  --texto-fraco: rgba(250, 250, 250, 0.72); --borda: rgba(255, 255, 255, .12);
  --vidro: rgba(14, 16, 26, .55);
  --fonte: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --raio: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--preto); }

body {
  min-height: 100vh; min-height: 100dvh;
  color: var(--branco); font-family: var(--fonte); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-color: var(--preto);
  background-image:
    radial-gradient(60% 45% at 78% 12%, rgba(66, 96, 230, .38), transparent 70%),
    radial-gradient(50% 40% at 8% 96%, rgba(27, 34, 167, .5), transparent 70%),
    url('assets/fundo-globo.webp');
  background-repeat: no-repeat; background-size: 100% 100%, 100% 100%, cover; background-position: center, center, 70% 90%; background-attachment: fixed;
}

/* fundo: grade que some nas bordas + orbes que flutuam devagar */
.fundo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 35%, #000, transparent); }
.orbe { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.orbe--a { width: 340px; height: 340px; right: -90px; top: 6%; background: radial-gradient(circle, #3f5fe8, transparent 70%); opacity: .55; animation: flutua 14s ease-in-out infinite alternate; }
.orbe--b { width: 280px; height: 280px; left: -90px; bottom: 8%; background: radial-gradient(circle, #5ee6a0, transparent 70%); opacity: .2; animation: flutua 18s ease-in-out infinite alternate-reverse; }
@keyframes flutua { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-50px, 44px, 0) scale(1.18); } }

.page {
  position: relative; z-index: 1;
  width: 100%; max-width: 480px; min-height: 100vh; min-height: 100dvh;
  margin: 0 auto; padding: 64px 20px 32px;
  display: flex; flex-direction: column; align-items: center; gap: 44px;
}

/* entrada escalonada (mesma curva do site) */
@keyframes subir { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes logoEntra { from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.logo { animation: logoEntra .9s var(--ease) both; }
.descritor { animation: subir .8s .15s var(--ease) both; }
.redes li { animation: subir .7s var(--ease) both; }
.redes li:nth-child(1) { animation-delay: .3s; } .redes li:nth-child(2) { animation-delay: .38s; } .redes li:nth-child(3) { animation-delay: .46s; } .redes li:nth-child(4) { animation-delay: .54s; }
.botao { animation: subir .8s var(--ease) both; }
.botao:nth-child(1) { animation-delay: .5s; } .botao:nth-child(2) { animation-delay: .62s; } .botao:nth-child(3) { animation-delay: .74s; }
.assinatura { animation: subir .8s .95s var(--ease) both; }

.marca { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; text-align: center; }
.logo { display: block; width: min(100%, 340px); height: auto; margin: 0 auto; }
.marca h1 { width: 100%; }
.descritor { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; border: 1px solid var(--borda); background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px); font-size: 13px; font-weight: 500; color: var(--texto-fraco); }
.descritor::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #5ee6a0; box-shadow: 0 0 12px #5ee6a0; animation: pulso 2.4s infinite; flex: none; }
@keyframes pulso { 50% { opacity: .35; } }

.redes { display: flex; gap: 14px; list-style: none; margin-top: 6px; }
.rede {
  position: relative; overflow: hidden; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: var(--branco);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--borda); backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.rede::before, .botao::before { content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .25s; pointer-events: none;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgba(143, 163, 242, .35), transparent 65%); }
.rede:hover, .rede:focus-visible { transform: translateY(-3px); border-color: var(--azul-claro); box-shadow: 0 10px 28px rgba(66, 96, 230, .4); outline: none; }
.rede:hover::before, .botao:hover::before { opacity: 1; }
.rede:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; }
.rede:active { transform: scale(.94); }

.botoes { width: 100%; display: flex; flex-direction: column; gap: 16px; }

.botao {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 68px; padding: 0 22px; border-radius: var(--raio);
  font-size: 17px; font-weight: 700; letter-spacing: -.01em; text-decoration: none;
  border: 1px solid var(--borda);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, background .3s;
}
.botao span { flex: 1; text-align: center; }
.botao svg, .botao img { flex: none; }
/* equilibra o ícone da direita e centraliza o texto */
.botao span { padding-left: 30px; }
.botao::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; transform: skewX(-20deg); pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transition: left .8s var(--ease); }
.botao:hover::after { left: 130%; }
.botao:hover, .botao:focus-visible { transform: translateY(-3px); outline: none; }
.botao:active { transform: scale(.98); }
.botao:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 3px; }
.botao > * { position: relative; z-index: 2; }
.botao svg { transition: transform .3s var(--ease); }
.botao:hover svg { transform: translate(3px, -3px); }

.primario { background: linear-gradient(120deg, #6f86ff 0%, var(--azul) 55%, #3450d8 100%); color: #fff; border-color: transparent; box-shadow: 0 10px 30px rgba(66, 96, 230, .4); }
.primario:hover, .primario:focus-visible { box-shadow: 0 16px 42px rgba(66, 96, 230, .6); }
.claro { background: var(--vidro); color: var(--branco); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 8px 28px rgba(0, 0, 0, .35); }
.claro:hover, .claro:focus-visible { border-color: var(--azul-claro); background: rgba(24, 28, 46, .7); box-shadow: 0 14px 38px rgba(66, 96, 230, .3); }
.claro svg { stroke: var(--azul-claro); }

.assinatura { margin-top: auto; font-size: 13px; font-weight: 500; color: var(--texto-fraco); letter-spacing: .02em; }

/* Seletor de idioma (EN | PT): páginas separadas, cada uma com seu endereço (bom pra SEO e pra compartilhar) */
.idioma {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  display: flex; gap: 2px; padding: 3px; border: 1px solid var(--borda); border-radius: 999px; background: var(--vidro); backdrop-filter: blur(12px);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; animation: subir .6s .2s var(--ease) both;
}
.idioma a, .idioma span { padding: 5px 11px; border-radius: 999px; text-decoration: none; color: var(--texto-fraco); transition: background .2s, color .2s; }
.idioma [aria-current="true"] { background: var(--branco); color: var(--preto); }
.idioma a:hover, .idioma a:focus-visible { color: var(--branco); background: rgba(255, 255, 255, .12); outline: 2px solid var(--azul-claro); outline-offset: 1px; }

/* texto só para leitores de tela e buscadores (o h1 visual é o logo) */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  .logo, .descritor, .redes li, .botao, .assinatura, .idioma, .orbe { animation: none !important; }
  .descritor::before { animation: none; }
  .botao, .rede, .botao svg { transition: none; }
  .botao::after { display: none; }
  .botao:hover, .botao:focus-visible, .rede:hover, .rede:focus-visible { transform: none; }
}
