/* Gungnir · site institucional.
   Direção: forja digital. Tinta quase preta, faíscas âmbar (do emblema), faixas claras para dar ritmo, ecrãs reais da aplicação em molduras de telemóvel.
   Fonte do sistema e SVG próprios (sem pedidos externos). Espaços em múltiplos de 4/8, raios 8/12/16/24/32. */
:root {
  --bg: #09090B; --bg2: #101013; --card: rgba(255,255,255,.045); --card-solid: #17171B; --line: rgba(255,255,255,.11);
  --text: #F6F3EC; --muted: #B3AEA5; --amber: #FFB547; --amber-2: #FFC770; --amber-ink: #FFB547; --green: #7FD6A0; --ink: #0C0D10;
  --shadow: 0 24px 60px rgba(0,0,0,.55), 0 2px 0 rgba(255,255,255,.04) inset;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}
/* Faixa clara: só redefine as variáveis; os componentes seguem sozinhos */
.light { --bg: #EDF0F4; --bg2: #E3E8EE; --card: #FFFFFF; --card-solid: #FFFFFF; --line: #D0D7E0; --text: #0C1016; --muted: #455062; --amber-ink: #7A4A00; --shadow: 0 18px 44px rgba(20,30,50,.14), 0 1px 0 rgba(255,255,255,.9) inset; color-scheme: light; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: #09090B; color: var(--text); font: 400 16px/24px var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--amber); color: #000; }
img { max-width: 100%; height: auto; }
a { color: var(--amber-ink); text-underline-offset: 3px; }
h1, h2, h3, p, ul, ol, figure, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }
.light :focus-visible { outline-color: #1B4DD6; }
* { scrollbar-color: #3a3b42 transparent; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; position: relative; }
.narrow { max-width: 780px; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--amber); color: #000; padding: 8px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.ico { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Brilhos subtis atrás das secções (radiais, nunca sobre o texto) */
.glow { position: absolute; z-index: 0; pointer-events: none; border-radius: 9999px; filter: blur(8px); }
.g1 { width: 760px; height: 760px; right: -160px; top: -80px; background: radial-gradient(closest-side, rgba(255,181,71,.30), rgba(255,181,71,0)); }
.g2 { width: 560px; height: 560px; left: -220px; bottom: -120px; background: radial-gradient(closest-side, rgba(255,120,40,.16), rgba(255,120,40,0)); }
.g3 { width: 800px; height: 800px; left: 50%; top: 50%; margin: -400px 0 0 -100px; background: radial-gradient(closest-side, rgba(255,181,71,.20), rgba(255,181,71,0)); }
.g4 { width: 700px; height: 700px; right: -260px; top: 0; background: radial-gradient(closest-side, rgba(255,181,71,.14), rgba(255,181,71,0)); }
.g5 { width: 800px; height: 800px; left: -300px; top: 10%; background: radial-gradient(closest-side, rgba(255,181,71,.18), rgba(255,181,71,0)); }
.g6 { width: 1000px; height: 700px; left: 50%; top: 50%; margin: -350px 0 0 -500px; background: radial-gradient(closest-side, rgba(255,181,71,.24), rgba(255,181,71,0)); }

/* Vidro fosco */
.glass { background: var(--card); border: 1px solid var(--line); border-radius: 24px; backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: var(--shadow); }

/* Navegação flutuante */
.nav { position: fixed; top: 12px; left: 0; right: 0; margin-inline: auto; z-index: 50; display: flex; align-items: center; gap: 16px; width: max-content; max-width: calc(100% - 24px); padding: 8px 8px 8px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 9999px; color: #F6F3EC; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(16,16,19,.7); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #F6F3EC; text-decoration: none; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.brand img { border-radius: 6px; }
.menu { display: flex; gap: 2px; }
.menu a { display: inline-flex; align-items: center; min-height: 44px; color: #B3AEA5; text-decoration: none; font-size: 14px; line-height: 20px; padding: 8px 12px; border-radius: 9999px; transition: color .3s var(--ease), background-color .3s var(--ease); }
.menu a:hover, .menu a[aria-current="true"] { color: #F6F3EC; background: rgba(255,255,255,.09); }
.burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 9999px; background: rgba(255,255,255,.1); position: relative; color: #F6F3EC; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #F6F3EC; transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* Botões e ligações */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 16px; min-height: 44px; border: 0; border-radius: 9999px; background: var(--amber); color: #000; font-size: 16px; line-height: 24px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(255,181,71,.28), 0 1px 0 rgba(255,255,255,.4) inset; transition: transform .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.btn:hover { background: var(--amber-2); transform: translateY(-2px); box-shadow: 0 14px 32px rgba(255,181,71,.38), 0 1px 0 rgba(255,255,255,.4) inset; }
.btn:active { transform: scale(.98); }
.btn[disabled] { background: #2a2b31; color: #B3AEA5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-sm { font-size: 14px; line-height: 20px; padding: 8px 16px; white-space: nowrap; }
.btn-lg { padding: 12px 28px; }
.btn .ico { width: 20px; height: 20px; stroke-width: 2.2; }
.link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; color: var(--text); font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 9999px; transition: background-color .3s var(--ease); }
.link:hover { background: var(--card); }

/* Tipografia */
.h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; font-weight: 750; letter-spacing: -.03em; text-wrap: balance; max-width: 760px; }
.sub { margin-top: 16px; max-width: 640px; color: var(--muted); font-size: 18px; line-height: 28px; text-wrap: pretty; }
.fine { margin-top: 24px; max-width: 680px; color: var(--muted); font-size: 14px; line-height: 20px; text-wrap: pretty; }
.fine.center { margin-inline: auto; text-align: center; }
.fine a, .fine strong { color: var(--text); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border: 1px solid var(--line); border-radius: 9999px; background: var(--card); color: var(--muted); font-size: 14px; line-height: 20px; backdrop-filter: blur(12px); }
.dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--amber); box-shadow: 0 0 12px var(--amber); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.tag { display: inline-block; align-self: flex-start; padding: 2px 10px; border: 1px solid rgba(127,214,160,.5); border-radius: 9999px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--green); background: rgba(127,214,160,.08); }
.tag.soon { color: var(--muted); border-color: var(--line); background: transparent; }
.light .tag { color: #1D6B3F; }
.ib { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--amber-ink); }

/* Moedas: insígnias coloridas, desenhadas por nós */
.coin { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 9999px; color: #0C0D10; box-shadow: 0 6px 16px rgba(0,0,0,.35), 0 1px 0 rgba(255,255,255,.5) inset; }
.coin .ico { width: 24px; height: 24px; stroke-width: 1.9; }
.coin.lg { width: 64px; height: 64px; box-shadow: 0 12px 28px rgba(0,0,0,.4), 0 1px 0 rgba(255,255,255,.5) inset, 0 0 0 6px rgba(255,255,255,.04); }
.coin.lg .ico { width: 34px; height: 34px; }
.c-btc { background: #FFB547; } .c-ln { background: #FFE08A; } .c-eth { background: #A9B8FF; } .c-ltc { background: #D5DDE8; }
.c-usdc { background: #78D8B6; } .c-card { background: #8DB4FF; } .c-mc { background: #FF9C86; } .c-mb { background: #F4A3D0; } .c-ref { background: #FFD1A1; } .c-wal { background: #C9B8FF; }

/* 1. Hero */
.hero { position: relative; padding: 128px 0 80px; overflow: hidden; background: var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; z-index: 1; }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 6vw, 80px); line-height: 1; font-weight: 800; letter-spacing: -.04em; max-width: 640px; text-wrap: balance; }
.lead { margin-top: 24px; max-width: 540px; color: var(--muted); font-size: 18px; line-height: 28px; text-wrap: pretty; }
.actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.states { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.states li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); backdrop-filter: blur(12px); font-size: 14px; line-height: 20px; font-weight: 600; }
.states .ico { width: 20px; height: 20px; color: var(--amber); }
.states .tag { font-weight: 600; }

/* Molduras de telemóvel com capturas reais */
.dev { position: relative; padding: 2.4%; border-radius: clamp(22px, 7cqw, 46px); background: linear-gradient(160deg, #5a5b63, #232429 40%, #3a3b42); box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1) inset; }
.dev-in { position: relative; border-radius: clamp(18px, 5.8cqw, 38px); overflow: hidden; background: #000; aspect-ratio: 390 / 844; }
.dev-in img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-vis { position: relative; container-type: inline-size; }
.stack { position: relative; width: 100%; aspect-ratio: 1 / 1.08; container-type: inline-size; }
.stack .dev { position: absolute; width: 47%; }
.d-c { left: 26.5%; top: 0; z-index: 3; }
.d-l { left: 0; top: 13%; z-index: 2; transform: rotate(-9deg); transform-origin: 70% 100%; width: 42% !important; filter: brightness(.82); }
.d-r { right: 0; top: 13%; z-index: 2; transform: rotate(9deg); transform-origin: 30% 100%; width: 42% !important; filter: brightness(.82); }
.float { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(20,20,24,.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 18px 40px rgba(0,0,0,.55); color: #F6F3EC; }
.float strong { display: block; font-size: 14px; line-height: 20px; } .float small { display: block; color: #B3AEA5; font-size: 12px; line-height: 16px; }
.f-notif { left: -2%; top: 8%; } .f-eur { right: -1%; bottom: 7%; } .f-eur > .ico { color: var(--amber); width: 28px; height: 28px; }
.cap { margin-top: 12px; text-align: center; color: var(--muted); font-size: 12px; line-height: 16px; }
/* Momento de entrada: os três telemóveis sobem em sequência (só na carga) */
.js .stack .dev, .js .float { animation: rise-in 1s var(--ease) both; }
.js .d-c { animation-delay: .1s; } .js .d-l { animation-delay: .3s; } .js .d-r { animation-delay: .4s; } .js .f-notif { animation-delay: .8s; } .js .f-eur { animation-delay: 1s; }
@keyframes rise-in { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
.tick { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 9999px; background: var(--green); color: #000; flex: none; }
.tick .ico { width: 24px; height: 24px; stroke-width: 2.4; stroke-dasharray: 26; stroke-dashoffset: 26; }
.tick.sm { width: 36px; height: 36px; } .tick.sm .ico { width: 20px; height: 20px; stroke-dashoffset: 0; stroke-dasharray: none; stroke-width: 2.2; }

/* 2. Faixa animada */
.strip { position: relative; padding: 32px 0 40px; border-block: 1px solid var(--line); background: var(--bg2); overflow: hidden; }
.strip-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.strip-t { font-size: 18px; line-height: 28px; font-weight: 600; text-wrap: balance; max-width: 560px; }
.pause { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 9999px; background: transparent; color: var(--muted); font-size: 14px; }
.pause:hover { color: var(--text); background: var(--card); }
.pause .ico { width: 18px; height: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 16px; width: max-content; padding: 4px 0; }
.track li { display: inline-flex; align-items: center; gap: 12px; padding: 8px 24px 8px 8px; border: 1px solid var(--line); border-radius: 9999px; background: var(--card); font-size: 18px; line-height: 28px; font-weight: 600; white-space: nowrap; }
.js .track { animation: slide 38s linear infinite; }
.marquee:hover .track, .marquee.paused .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 8px)); } }
.strip .fine { margin-top: 24px; }

/* Frase de destaque */
.tagline { padding: 112px 0; background: var(--bg); }
.tag-big + .sep { margin-top: 56px; }
.tag-big { max-width: 960px; margin-inline: auto; font-size: clamp(30px, 5vw, 56px); line-height: 1.05; font-weight: 750; letter-spacing: -.035em; text-wrap: balance; }
.tag-big .w { color: var(--text); transition: color .5s var(--ease); }
.js .tag-big .w { color: #5d5d63; }
.js .tag-big .w.on { color: var(--text); }
.js .tag-big .w.hl.on { color: var(--amber); }

/* Secções */
.sec { position: relative; padding: 112px 0; background: var(--bg); overflow: hidden; }
.sec > .wrap { z-index: 1; }
.sec.light { background: var(--bg); color: var(--text); }
.sec.alt { background: var(--bg2); }

/* 3. Passos com ilustrações */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; counter-increment: s; display: flex; flex-direction: column; gap: 8px; padding: 12px 12px 28px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.step .ill { display: block; width: 100%; height: auto; border-radius: 18px; margin-bottom: 16px; }
.step h3, .step p { padding: 0 16px; }
.step h3 { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.015em; }
.step h3::before { content: counter(s) ". "; color: var(--amber-ink); }
.step p { color: var(--muted); text-wrap: pretty; }
.flow-wrap { margin-top: 24px; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.flow-t { color: var(--muted); max-width: 560px; }
.flow { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.flow li { position: relative; display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.flow .ib { margin-bottom: 12px; width: 56px; height: 56px; border-radius: 9999px; background: #0C0D10; color: var(--amber); border-color: #0C0D10; position: relative; z-index: 1; }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 68px; right: -20px; top: 27px; border-top: 2px dashed var(--amber-ink); opacity: .7; }
.flow span:not(.ib) { font-weight: 700; } .flow small { color: var(--muted); font-size: 14px; line-height: 20px; }

/* 4. Maquete interativa */
.demo-sec { background: var(--bg); }
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ticks { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ticks .ico { width: 28px; height: 28px; padding: 5px; border-radius: 9999px; background: rgba(127,214,160,.16); color: var(--green); }
.demo { position: relative; display: flex; justify-content: center; padding: 24px 0; }
.rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.rings i { position: absolute; border: 1px solid rgba(255,181,71,.22); border-radius: 9999px; }
.rings i:nth-child(1) { width: 400px; height: 400px; } .rings i:nth-child(2) { width: 540px; height: 540px; border-color: rgba(255,181,71,.12); } .rings i:nth-child(3) { width: 680px; height: 680px; border-color: rgba(255,181,71,.06); }
.phone { position: relative; width: 100%; max-width: 330px; padding: 8px; border-radius: 48px; background: linear-gradient(160deg, #5a5b63, #232429 40%, #3a3b42); box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.1) inset, 0 0 90px rgba(255,181,71,.12); }
.btn-side { position: absolute; width: 3px; border-radius: 2px; background: #4a4a4a; }
.btn-side.s1 { left: -3px; top: 96px; height: 24px; } .btn-side.s2 { left: -3px; top: 136px; height: 40px; } .btn-side.s3 { right: -3px; top: 128px; height: 64px; }
.screen { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 12px 16px 16px; border-radius: 40px; background: #0B0B0D; overflow: hidden; }
.island { position: absolute; top: 8px; left: 50%; width: 88px; height: 24px; margin-left: -44px; border-radius: 9999px; background: #000; z-index: 2; }
.status { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; height: 24px; font-size: 12px; line-height: 16px; font-weight: 600; color: #F6F3EC; }
.status-r { display: inline-flex; gap: 2px; align-items: flex-end; }
.status-r i { width: 3px; background: #F6F3EC; border-radius: 1px; } .status-r i:nth-child(1) { height: 4px; } .status-r i:nth-child(2) { height: 7px; } .status-r i:nth-child(3) { height: 10px; }
.phone-top { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; color: #B3AEA5; font-size: 14px; line-height: 20px; }
.badge { padding: 2px 10px; border: 1px solid var(--line); border-radius: 9999px; font-size: 12px; line-height: 16px; color: var(--amber); background: rgba(255,181,71,.08); white-space: nowrap; }
.light .badge { color: #7A4A00; }
.amount { font-size: 48px; line-height: 1; font-weight: 750; letter-spacing: -.04em; text-align: center; padding: 8px 0; color: #F6F3EC; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chip, .seg button, .filters button, .coins button, .go { border: 1px solid rgba(255,255,255,.12); background: #1B1B20; color: #F6F3EC; border-radius: 12px; padding: 8px 0; min-height: 44px; font-size: 14px; line-height: 20px; font-weight: 500; transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), color .3s var(--ease); }
.chip:hover, .seg button:hover, .coins button:hover { background: #26262d; }
.chip:active, .seg button:active, .filters button:active, .coins button:active, .go:active { transform: scale(.98); }
.chip.on, .coins .on { background: #2a2113; border-color: var(--amber); }
.chip { font-size: 12px; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; background: #1B1B20; }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; border-radius: 8px; color: #B3AEA5; }
.seg button:hover { background: transparent; color: #F6F3EC; }
.seg button.on { color: #000; }
.seg .ico { width: 20px; height: 20px; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 8px; background: var(--amber); transition: transform .5s var(--ease); }
.seg[data-m="crypto"] .seg-thumb { transform: translateX(100%); }
.stage { position: relative; height: 184px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: #141418; overflow: hidden; }
.pane { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 12px; text-align: center; color: #B3AEA5; font-size: 14px; line-height: 20px; opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.stage[data-state="idle"][data-m="card"] .pane-card, .stage[data-state="idle"][data-m="crypto"] .pane-crypto, .stage[data-state="wait"] .pane-wait, .stage[data-state="paid"] .pane-paid { opacity: 1; transform: none; pointer-events: auto; }
.nfc-card { position: relative; z-index: 1; width: 128px; height: 80px; padding: 8px 12px; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; border: 1px solid #4a4a4a; border-radius: 12px; background: linear-gradient(140deg, #34353c, #1f2025); color: #F6F3EC; animation: float 4s var(--ease) infinite; }
.nfc-card .ico { position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; color: var(--amber); }
.nfc-card .chipmark { width: 24px; height: 16px; border-radius: 4px; background: var(--amber); }
.nfc-card b { font-size: 12px; line-height: 16px; font-weight: 500; color: #B3AEA5; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-6px) rotate(2deg); } }
.waves { position: absolute; left: 50%; top: 44px; width: 96px; height: 96px; margin-left: -48px; z-index: 0; }
.waves i { position: absolute; inset: 0; border: 2px solid var(--amber); border-radius: 9999px; opacity: 0; animation: wave 2.4s var(--ease) infinite; }
.waves i:nth-child(2) { animation-delay: .6s; } .waves i:nth-child(3) { animation-delay: 1.2s; }
@keyframes wave { 0% { transform: scale(.35); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
.pane-card p { margin-top: 24px; position: relative; z-index: 1; }
.qr { display: grid; grid-template-columns: repeat(21, 1fr); width: 96px; height: 96px; padding: 4px; border-radius: 8px; background: #fff; }
.qr b { background: #000; } .qr s { background: #fff; text-decoration: none; }
.coins { display: flex; gap: 8px; }
.coins button { width: 44px; padding: 0; display: grid; place-items: center; border-radius: 9999px; }
.coins .ico { width: 20px; height: 20px; }
.spin { width: 40px; height: 40px; border: 3px solid #3a3b42; border-top-color: var(--amber); border-radius: 9999px; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage[data-state="paid"] .tick .ico { animation: draw .7s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.paid-t { color: var(--green); font-weight: 600; font-size: 18px; line-height: 28px; }
.paid-s { color: #F6F3EC; font-size: 24px; line-height: 32px; font-weight: 600; }
.go { width: 100%; background: var(--amber); border-color: var(--amber); color: #000; font-weight: 700; font-size: 16px; line-height: 24px; }
.go:hover { background: var(--amber-2); }
.go[disabled] { background: #26262d; border-color: #3a3b42; color: #B3AEA5; cursor: progress; }
.phone-note { text-align: center; color: var(--green); font-size: 12px; line-height: 16px; min-height: 16px; }
.toast { position: absolute; right: -24px; top: 56px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; background: rgba(20,20,24,.78); backdrop-filter: blur(16px); box-shadow: 0 16px 40px rgba(0,0,0,.6); color: #F6F3EC; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }
.toast strong { display: block; font-size: 14px; line-height: 20px; } .toast small { display: block; color: #B3AEA5; font-size: 12px; line-height: 16px; }

/* 5. Mosaico com mini interfaces */
.bento-sec { background: var(--bg2); }
.bento { margin-top: 48px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.b { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px; overflow: hidden; transition: transform .5s var(--ease), border-color .3s var(--ease); }
.b:hover { border-color: rgba(255,181,71,.5); }
.b-bal { grid-column: span 5; background: linear-gradient(160deg, rgba(255,181,71,.2), rgba(255,181,71,.04) 60%), var(--card); }
.b-chart { grid-column: span 7; }
.b-notif, .b-rec, .b-qr { grid-column: span 4; }
.b-lang { grid-column: span 12; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.chip-t { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 600; }
.chip-t .ico { width: 20px; height: 20px; color: var(--amber); }
.b-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bal-n, .chart-n { font-size: clamp(40px, 5.4vw, 64px); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.chart-n { font-size: 36px; }
.b-sub { color: var(--muted); font-size: 14px; }
.b-bal hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0 4px; }
.b-row { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; } .b-row strong { color: var(--green); font-size: 20px; }
.b-note { color: var(--muted); font-size: 14px; line-height: 20px; text-wrap: pretty; }
.chart { width: 100%; height: auto; margin-top: 4px; overflow: visible; }
.js .c-line { stroke-dasharray: 1; stroke-dashoffset: 1; } .js .c-fill, .js .c-dot { opacity: 0; }
.b.in .c-line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.b.in .c-fill, .b.in .c-dot { opacity: 1; transition: opacity 1s ease .9s; }
.days { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; line-height: 16px; letter-spacing: .06em; }
.notif { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.05); }
.light .notif { background: #F5F7FA; }
.notif strong { display: block; font-size: 14px; line-height: 20px; } .notif small { display: block; color: var(--muted); font-size: 12px; line-height: 16px; }
.notif.n2 { margin-left: 24px; opacity: .85; }
.receipt { position: relative; padding: 16px 16px 20px; border-radius: 12px; background: #F5F1E8; color: #14110B; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 14px 30px rgba(0,0,0,.4); transform: rotate(-1.5deg); }
.r-top { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #55504a; padding-bottom: 8px; border-bottom: 1px dashed #b9b2a4; }
.r-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; } .r-line .ok { color: #14693a; }
.r-bar { height: 28px; margin-top: 4px; background: repeating-linear-gradient(90deg, #14110B 0 2px, transparent 2px 5px, #14110B 5px 6px, transparent 6px 10px); opacity: .85; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: linear-gradient(135deg, #F5F1E8 25%, transparent 25%) 0 0/12px 8px, linear-gradient(225deg, #F5F1E8 25%, transparent 25%) 0 0/12px 8px; }
.qr-lg { width: 148px; height: 148px; align-self: center; padding: 8px; border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.4); }
.lang-n { font-size: 32px; line-height: 40px; font-weight: 700; } .lang-n span { color: var(--amber); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs li { padding: 6px 16px; border: 1px solid var(--line); border-radius: 9999px; background: rgba(255,255,255,.05); font-size: 14px; line-height: 20px; }

/* 6. Galeria de ecrãs */
.gal { margin-top: 56px; display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: center; }
.tabs { display: flex; flex-direction: column; gap: 8px; }
.tabs button { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); }
.tabs button:hover { transform: translateX(4px); }
.tabs button .ico { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: #0C0D10; color: var(--amber); }
.tabs button b { display: block; font-size: 18px; line-height: 24px; }
.tabs button small { display: block; color: var(--muted); font-size: 14px; line-height: 20px; }
.tabs button[aria-selected="true"] { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), var(--shadow); }
.gal-stage { position: relative; display: grid; place-items: center; padding: 24px 0; container-type: inline-size; }
.halo { position: absolute; inset: -10% -20%; background: radial-gradient(closest-side, rgba(255,181,71,.38), rgba(255,181,71,0)); pointer-events: none; }
.d-g { position: relative; width: 100%; max-width: 320px; z-index: 1; }
.dev-in img[hidden] { display: none; }
.dev-in img:not([hidden]) { animation: fade .6s var(--ease); }
@keyframes fade { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }

/* 7. Formas de pagar */
.filters { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { padding: 8px 20px; border-radius: 9999px; display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); color: var(--text); font-weight: 600; }
.filters button:hover { background: var(--bg2); }
.filters .on { background: var(--amber); border-color: var(--amber); color: #000; }
.count { padding: 0 8px; border-radius: 9999px; background: rgba(0,0,0,.14); font-size: 12px; line-height: 20px; }
.filters button:not(.on) .count { background: var(--bg2); color: var(--muted); }
.catalog { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m { display: flex; flex-direction: column; gap: 8px; padding: 24px; animation: rise .5s var(--ease) both; transition: transform .5s var(--ease), border-color .3s var(--ease); }
.m:hover { transform: translateY(-4px); border-color: rgba(255,181,71,.55); }
.m[hidden] { display: none; }
.m .coin { margin-bottom: 12px; }
.m h3 { font-size: 20px; line-height: 28px; font-weight: 700; }
.m p { color: var(--muted); font-size: 14px; line-height: 20px; text-wrap: pretty; margin-bottom: 8px; }
.m .tag { margin-top: auto; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* 8. Comparação */
.cmp-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.cmp { min-width: 0; width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; line-height: 24px; }
.cmp th, .cmp td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cmp thead th { font-size: 16px; font-weight: 700; padding-top: 28px; padding-bottom: 20px; font-family: var(--sans); text-transform: none; letter-spacing: 0; color: var(--muted); }
.cmp thead th.us { color: #000; background: var(--amber); border-radius: 20px 20px 0 0; }
.cmp tbody th { font-weight: 700; width: 24%; }
.cmp td { color: var(--muted); } .cmp td.us { color: var(--text); background: rgba(255,181,71,.16); font-weight: 600; }
.cmp td .ico { display: inline-block; vertical-align: -6px; margin-right: 12px; width: 24px; height: 24px; padding: 4px; border-radius: 9999px; }
.cmp .yes { background: var(--green); color: #000; } .cmp .no { background: rgba(120,128,140,.25); color: var(--muted); }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp tbody tr:last-child td.us { border-radius: 0 0 20px 20px; }
.cmp tr:hover td { background-color: rgba(127,127,127,.06); } .cmp tr:hover td.us { background-color: rgba(255,181,71,.24); }

/* 9. Taxas */
.fees { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fee { display: flex; flex-direction: column; gap: 4px; padding: 28px; }
.fee .coin { margin-bottom: 16px; }
.fee h3 { font-size: 22px; line-height: 28px; font-weight: 700; }
.fee p { color: var(--muted); font-size: 14px; line-height: 20px; }
.fee strong { margin-top: 16px; font-size: 26px; line-height: 32px; font-weight: 750; letter-spacing: -.02em; color: var(--amber); text-wrap: balance; }
.table { margin-top: 24px; overflow-x: auto; border-radius: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; line-height: 20px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
thead th { color: var(--muted); font-weight: 600; font-size: 14px; }
tbody th { font-weight: 700; } tbody tr:last-child > * { border-bottom: 0; } td { color: var(--muted); }
tbody tr { transition: background-color .3s var(--ease); } .table tbody tr:hover { background: rgba(255,255,255,.04); }

/* 10. Segurança */
.sec-sec { background: var(--bg); }
.seg-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.seg-ill svg { display: block; width: 100%; max-width: 440px; margin-inline: auto; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.orbit { transform-origin: 200px 200px; animation: orbit 24s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.sec-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.sg { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 20px; background: var(--card); backdrop-filter: blur(14px); color: var(--muted); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.sg:hover { border-color: rgba(255,181,71,.5); transform: translateX(4px); }
.sg .ib { flex: none; }
.sg strong { color: var(--text); }
.sg p { text-wrap: pretty; }

/* 11. FAQ */
.faq { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
.faq li[hidden] { display: none; }
.faq li { animation: rise .5s var(--ease) both; }
details { border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); transition: border-color .3s var(--ease); }
details:hover, details[open] { border-color: #8d96a3; }
summary { cursor: pointer; padding: 16px 24px; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; border-radius: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px; background: #0C0D10; color: var(--amber); font-size: 22px; line-height: 1; transition: transform .5s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 20px; color: var(--muted); text-wrap: pretty; max-width: 66ch; }

/* 12. Chamada final */
.final { text-align: center; background: var(--bg2); }
.cta { position: relative; padding: 72px 24px; border: 1px solid rgba(255,181,71,.35); border-radius: 36px; background: rgba(20,18,14,.6); backdrop-filter: blur(16px); display: flex; flex-direction: column; align-items: center; box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 120px rgba(255,181,71,.12); }
.cta-logo { margin-bottom: 24px; border-radius: 16px; filter: drop-shadow(0 0 24px rgba(255,181,71,.5)); }
.cta .h2 { margin-inline: auto; } .cta .sub { margin-inline: auto; margin-bottom: 32px; }
.seals { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.seals li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 9999px; background: var(--card); color: var(--muted); font-size: 14px; line-height: 20px; }
.seals .ico { width: 20px; height: 20px; color: var(--amber); }

/* Rodapé */
.foot { padding: 72px 0 48px; border-top: 1px solid var(--line); background: #060607; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.foot-brand img { border-radius: 6px; }
.foot-sub { margin-top: 12px; max-width: 320px; color: var(--muted); font-size: 14px; line-height: 20px; }
.foot-h { margin-bottom: 8px; color: var(--muted); font-size: 14px; line-height: 20px; font-weight: 700; }
.foot-grid li a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-size: 14px; line-height: 20px; transition: color .3s var(--ease); }
.foot-grid li a:hover { color: var(--amber); }
.foot .fine:first-of-type { margin-top: 32px; }

/* Revelação ao rolar (só quando há JavaScript) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .b:nth-child(2).reveal { transition-delay: .08s; } .js .b:nth-child(3).reveal { transition-delay: .12s; } .js .b:nth-child(4).reveal { transition-delay: .18s; } .js .b:nth-child(5).reveal { transition-delay: .24s; }

@media (max-width: 1100px) {
  .menu a { padding: 8px 8px; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .gal { grid-template-columns: 1fr 320px; gap: 32px; }
}
@media (max-width: 960px) {
  .hero-grid, .demo-grid, .seg-grid { grid-template-columns: 1fr; }
  .hero-vis { max-width: 520px; margin-inline: auto; width: 100%; }
  .hero { padding-top: 112px; }
  .steps, .fees { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow li::after { display: none !important; }
  .b-bal, .b-chart { grid-column: span 12; } .b-notif, .b-rec, .b-qr { grid-column: span 12; }
  .gal { grid-template-columns: 1fr; }
  .gal-stage { order: -1; }
  .tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .tabs button:hover { transform: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .toast { right: 0; }
  .nav { gap: 8px; }
  .burger { display: block; }
  .menu { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 8px; background: rgba(9,9,11,.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  .menu a { font-size: 24px; line-height: 32px; color: #F6F3EC; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .menu.open { opacity: 1; visibility: visible; }
  .menu.open a { opacity: 1; transform: none; }
  .menu.open a:nth-child(2) { transition-delay: 60ms; } .menu.open a:nth-child(3) { transition-delay: 120ms; } .menu.open a:nth-child(4) { transition-delay: 180ms; }
  .menu.open a:nth-child(5) { transition-delay: 240ms; } .menu.open a:nth-child(6) { transition-delay: 300ms; }
  /* comparação em cartões */
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: auto; }
  .cmp thead { display: none; }
  .cmp tbody tr { padding: 8px 0 16px; border-bottom: 1px solid var(--line); }
  .cmp tbody tr:last-child { border-bottom: 0; }
  .cmp tbody th { width: auto; border: 0; padding: 16px 20px 4px; font-size: 18px; }
  .cmp td { border: 0; padding: 8px 20px; }
  .cmp td::before { content: attr(data-l); display: block; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--amber-ink); margin-bottom: 2px; }
  .cmp td.us { border-radius: 0 !important; }
  .cmp td .ico { float: left; margin-top: 6px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 104px; padding-bottom: 56px; }
  .sec, .tagline { padding: 72px 0; }
  .rings { display: none; }
  .catalog { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .tabs { grid-template-columns: 1fr; }
  .f-notif { left: 0; top: 2%; padding: 8px 12px; } .f-eur { right: 0; bottom: 2%; padding: 8px 12px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta { padding: 48px 16px; border-radius: 28px; }
  .brand span { display: none; }
  .btn-sm { padding: 8px 12px; }
  .step { padding-bottom: 24px; }
  .flow-wrap { padding: 24px; }
  .strip-head { align-items: flex-start; }
  .toast { display: none; }
  .b-lang { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-property: opacity, color, background-color, border-color !important; animation: none !important; }
  .js .reveal { transform: none; }
  .btn:hover, .m:hover, .sg:hover, .tabs button:hover { transform: none; }
  .pane { transform: none; }
  .tick .ico { stroke-dashoffset: 0 !important; }
  .js .c-line { stroke-dashoffset: 0; } .js .c-fill, .js .c-dot { opacity: 1; }
  .track { width: auto; flex-wrap: wrap; }
  .marquee { mask-image: none; -webkit-mask-image: none; }
  .pause { display: none; }
}

/* Acertos finais */
.bal-n, .chart-n, .amount.mono, .paid-s.mono, .lang-n { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.b-bal .b-note { margin-top: auto; }
.sep { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 0 auto 48px; max-width: 520px; color: var(--amber); }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,181,71,.6)); }
.sep::after { background: linear-gradient(270deg, transparent, rgba(255,181,71,.6)); }
.sep svg { width: 88px; height: 32px; fill: currentColor; }

/* Navegação: botões de conta (desktop) e links equivalentes no menu móvel */
.nav-m { display: none; }
@media (max-width: 960px) {
  .nav-d { display: none; }
  .nav-m { display: inline-flex; }
}

/* Instalar o Gungnir (ecrã principal, sem loja) */
.inst-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.inst-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow); }
.inst-ico { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 16px; background: rgba(255,181,71,.12); color: var(--amber); }
.inst-ico .ico { width: 26px; height: 26px; }
.inst-card h3 { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.015em; }
.inst-card p { color: var(--muted); text-wrap: pretty; }
.inst-card .btn { margin-top: 8px; }
.inst-soon { margin-top: 8px; font-size: 14px; line-height: 20px; }
@media (max-width: 960px) { .inst-grid { grid-template-columns: 1fr; } }
