/* Concept Easy – visual "minimal escuro futurista" (opção 8) */

@font-face { font-family: 'Manrope'; src: url('fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  --fundo: #06080A;
  --texto: #E9ECEF;
  --suave: #B4BAC3;
  --fraco: #8C939D;
  --verde: #2FBF7A;
  --verde-texto: #4FD69A;
  --verde-claro: #7CF2B9;
  --grafite: #16181D;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--texto);
  background-color: var(--fundo);
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--verde-texto); }
a:hover { color: #8BE8BE; }
:focus-visible { outline: 2px solid var(--verde-claro); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Piso de grade em perspectiva ---------- */
.piso { position: fixed; left: -25%; right: -25%; bottom: -10%; height: 55vh; perspective: 700px; pointer-events: none; z-index: 0; }
.piso::before {
  content: ''; position: absolute; inset: 0;
  transform: rotateX(62deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(47,191,122,0.35) 1px, transparent 1px), linear-gradient(90deg, rgba(47,191,122,0.35) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  animation: grade 4s linear infinite;
}

/* ---------- Topo ---------- */
.topo { position: relative; z-index: 2; padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--fraco); }
.topo-home { display: inline-flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; font-family: Manrope, sans-serif; font-weight: 800; font-size: 18px; }
.status { display: inline-flex; align-items: center; gap: 8px; }
.ponto { width: 7px; height: 7px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 10px var(--verde); animation: pulsar 2s ease-in-out infinite; }
.idiomas { display: flex; gap: 4px; border: 1px solid rgba(47,191,122,0.3); background: rgba(6,8,10,0.7); border-radius: 10px; padding: 4px; }
.idiomas a { min-width: 44px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 12px; border-radius: 7px; color: var(--suave); text-decoration: none; font-family: var(--mono); font-size: 12px; font-weight: 500; }
.idiomas a:hover { color: var(--texto); background: rgba(255,255,255,0.06); }
.idiomas a[aria-current="true"] { background: var(--verde); color: var(--fundo); box-shadow: 0 0 14px rgba(47,191,122,0.5); }

/* ---------- Palco (logo) ---------- */
main { flex: 1; position: relative; z-index: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 16px 24px 96px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.halo { position: absolute; top: -60px; left: 50%; transform: translateX(-50%); width: 860px; height: 860px; max-width: 170%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47,191,122,0.30), rgba(47,191,122,0.06) 55%, transparent); pointer-events: none; }
.palco { position: relative; width: min(400px, 86vw); aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; }
.led { position: absolute; aspect-ratio: 1 / 1; animation: respirar 4s ease-in-out infinite; }
.led-1 { width: 58%; border-radius: 42px; background: var(--verde); filter: blur(48px); }
.led-2 { width: 50%; border-radius: 38px; background: var(--verde-claro); filter: blur(16px); opacity: 0.55; }
.balao {
  position: relative; width: 48%; aspect-ratio: 1 / 1; border-radius: 36px; overflow: hidden;
  background: linear-gradient(160deg, #1C1F25, #0B0D10);
  border: 1px solid rgba(124,242,185,0.7);
  box-shadow: 0 0 0 1px rgba(47,191,122,0.3), 0 0 24px rgba(47,191,122,0.6), inset 0 1px 0 rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  animation: flutuar 6s ease-in-out infinite;
}
.balao svg { position: relative; width: 64%; height: 64%; }
.scan { position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(to bottom, transparent, rgba(47,191,122,0.18), transparent); animation: scan 3.5s linear infinite; }

h1.marca {
  position: relative; margin: 24px 0 0; font-size: clamp(48px, 10vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 800;
  background: linear-gradient(180deg, #FFFFFF 30%, #8FE3BB); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 24px rgba(47,191,122,0.25));
}
.tag { position: relative; margin: 16px 0 0; font-family: var(--mono); font-size: 14px; color: var(--suave); letter-spacing: 0.02em; }
.cursor { display: inline-block; width: 8px; height: 16px; margin-left: 4px; vertical-align: -3px; background: var(--verde); animation: pulsar 1.2s steps(1) infinite; }

/* ---------- Balões ---------- */
.baloes { position: relative; margin-top: 48px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.bolha {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer;
  background: rgba(255,255,255,0.04); color: var(--texto); border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); backdrop-filter: blur(10px);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.bolha:hover { color: #FFFFFF; border-color: rgba(47,191,122,0.6); box-shadow: 0 0 20px rgba(47,191,122,0.25); }
.bolha small { font-family: var(--mono); font-size: 11px; font-weight: 400; opacity: 0.75; }
.bolha.destaque { background: var(--verde); color: var(--fundo); border-color: var(--verde); box-shadow: 0 0 28px rgba(47,191,122,0.5); }
.bolha.destaque:hover { color: var(--fundo); }
.bolha[aria-expanded="true"] { background: rgba(47,191,122,0.16); color: #FFFFFF; border-color: var(--verde); box-shadow: 0 0 0 4px rgba(47,191,122,0.15), 0 0 30px rgba(47,191,122,0.45); }
.dica { position: relative; margin: 20px 0 0; font-family: var(--mono); font-size: 12px; color: var(--fraco); }

/* ---------- Painéis ---------- */
.painel {
  position: relative; margin-top: 28px; width: 100%; text-align: left; scroll-margin-top: 24px;
  background: rgba(14,17,21,0.82); backdrop-filter: blur(14px);
  border: 1px solid rgba(47,191,122,0.35); border-radius: 22px; padding: clamp(22px, 4vw, 32px);
  box-shadow: 0 0 50px rgba(47,191,122,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
}
.js .painel { display: none; }
.js .painel.aberto { display: block; animation: entrar .35s ease-out; }
.js .painel-aberto .dica { display: none; }
.painel-topo { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 20px; }
.painel h2 { margin: 0; font-size: clamp(24px, 4vw, 30px); letter-spacing: -0.03em; }
.fechar { display: none; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.04); color: var(--texto); font: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.js .fechar { display: inline-flex; align-items: center; justify-content: center; }
.fechar:hover { border-color: var(--verde); }
.painel p { color: var(--suave); line-height: 1.6; }
.cartoes { display: flex; flex-wrap: wrap; gap: 12px; }
.cartao { flex: 1 1 300px; border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; padding: 20px; background: rgba(255,255,255,0.03); }
.cartao.verde { border-color: rgba(47,191,122,0.4); background: rgba(47,191,122,0.08); }
.cartao h3 { margin: 6px 0; font-size: 18px; }
.cartao p { margin: 0; }
.cartao-topo { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.cartao-topo h3 { font-size: 20px; margin: 0; }
.mono-verde { font-family: var(--mono); font-size: 12px; color: var(--verde-texto); }
.nota { font-family: var(--mono); font-size: 12px; color: var(--fraco) !important; }
.passos { list-style: none; margin: 0; padding: 0 0 0 6px; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid rgba(47,191,122,0.35); }
.passos li { display: flex; gap: 16px; align-items: flex-start; margin-left: -13px; }
.passos li::before { content: ''; flex: 0 0 auto; margin-top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--verde); box-shadow: 0 0 12px var(--verde); }
.passos strong { font-size: 18px; }
.passos p { margin: 4px 0 0; }
.botao { display: inline-block; background: var(--verde); color: var(--fundo); text-decoration: none; padding: 16px 26px; border-radius: 10px; font-weight: 800; font-size: 17px; box-shadow: 0 0 36px rgba(47,191,122,0.55); }
.botao:hover { color: var(--fundo); background: #45D08D; }

/* ---------- Páginas legais ---------- */
.legal { flex: 1; position: relative; z-index: 1; width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 24px 96px; }
.legal article { background: rgba(14,17,21,0.88); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.10); border-radius: 22px; padding: clamp(24px, 5vw, 48px); }
.legal h1 { margin: 0 0 8px; font-size: clamp(32px, 6vw, 44px); letter-spacing: -0.03em; }
.legal h2 { margin: 32px 0 8px; font-size: 18px; color: var(--texto); }
.legal p { margin: 0; color: var(--suave); line-height: 1.7; }
.legal .aviso { margin: 0 0 16px; font-family: var(--mono); font-size: 12px; color: var(--fraco); }
.legal .nota { margin-top: 32px; }
.legal mark { background: #F5B841; color: #000; padding: 0 4px; }
.voltar { display: inline-block; margin-bottom: 20px; font-family: var(--mono); font-size: 13px; }

/* ---------- Rodapé ---------- */
footer { position: relative; z-index: 1; padding: 20px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; font-family: var(--mono); font-size: 12px; color: var(--fraco); }
footer a { color: var(--suave); }

/* ---------- Animações ---------- */
@keyframes pulsar { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes respirar { 0%, 100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes scan { 0% { top: -30%; } 100% { top: 110%; } }
@keyframes grade { from { background-position: 0 0; } to { background-position: 0 64px; } }
@keyframes entrar { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 560px) {
  .bolha { font-size: 15px; padding: 10px 18px; }
}
