/* GuildHall · landing page
   Página de produto no estilo Apple: escura, títulos enormes, muito espaço, "foto do produto" que
   se endireita ao rolar, carrossel de destaques, frase que acende, história com tela fixa e grade "bento".
   Paleta: preto profundo + azul do Discord (blurple) + ouro do Albion; verde e vermelho só como sinal. */

:root {
  --bg: #050507; --bg-2: #0a0b10; --sup: #111218; --sup-2: #171922; --sup-3: #1f2230;
  --linha: rgba(255,255,255,.08); --linha-2: rgba(255,255,255,.14);
  --tinta: #f5f5f7; --tinta-2: #a1a1a6; --tinta-3: #6e6e76;
  --discord: #5865f2; --discord-2: #4752c4; --discord-claro: #8b93ff;
  --ouro: #e9b949; --ouro-claro: #f5d27a; --ouro-escuro: #b8860b;
  --verde: #3ba55d; --verde-claro: #57f287; --vermelho: #ed4245; --roxo: #a78bfa;
  --degrade: linear-gradient(100deg, #8b93ff 0%, #c6a8ff 38%, #f5d27a 78%, #e9b949 100%);
  --raio: 28px; --raio-m: 20px; --raio-p: 14px;
  --sombra: 0 30px 80px rgba(0,0,0,.55);
  --dc-fundo: #313338; --dc-fundo-2: #2b2d31; --dc-texto: #dbdee1; --dc-muted: #949ba4;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--tinta);
  font: 17px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; }
a { color: var(--discord-claro); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", "Segoe UI", sans-serif;
  letter-spacing: -.028em; line-height: 1.05; margin: 0; font-weight: 700; }
h2 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); text-align: center; margin-bottom: 3.5rem; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -.018em; line-height: 1.15; }
code { background: var(--sup-3); padding: .08em .45em; border-radius: 6px; font-size: .88em; color: var(--ouro-claro); }
b { font-weight: 650; }
.apagado { color: var(--tinta-3); }
.verde { color: var(--verde-claro); }
.ouro { color: var(--ouro); } .vermelho { color: var(--vermelho); }
.degrade { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pular { position: absolute; left: -999px; top: 8px; background: var(--tinta); color: var(--bg); padding: .5rem 1rem; border-radius: 999px; z-index: 100; }
.pular:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--discord-claro); outline-offset: 3px; border-radius: 8px; }
.sobretitulo { color: var(--ouro); font-weight: 650; font-size: clamp(.95rem, 1.4vw, 1.15rem); margin: 0 0 1rem; letter-spacing: -.005em; }

/* ---------- botões ---------- */
.bt { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; border-radius: 999px; font-weight: 600;
  padding: .7rem 1.35rem; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.bt:hover { text-decoration: none; transform: translateY(-1px); }
.bt:active { transform: scale(.98); }
.bt-p { padding: .45rem 1rem; font-size: .88rem; }
.bt-g { padding: .95rem 1.75rem; font-size: 1.08rem; }
.bt-discord { background: var(--discord); color: #fff; box-shadow: 0 8px 30px rgba(88,101,242,.35); }
.bt-discord:hover { background: #6773f5; box-shadow: 0 10px 40px rgba(88,101,242,.5); }
.bt-ouro { background: linear-gradient(180deg, var(--ouro-claro), var(--ouro)); color: #1a1205; box-shadow: 0 8px 30px rgba(233,185,73,.3); }
.bt-vidro { background: rgba(255,255,255,.07); color: var(--tinta); border-color: var(--linha-2); backdrop-filter: blur(12px); }
.bt-vidro:hover { background: rgba(255,255,255,.12); }
.bt-link { color: var(--discord-claro); padding-left: .3rem; padding-right: .3rem; }
.bt-link:hover { text-decoration: underline; transform: none; }

/* ---------- navegação: pílula de vidro escuro ---------- */
.topo { position: fixed; inset: 12px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.pilula { pointer-events: auto; width: min(1080px, 100%); display: flex; align-items: center; gap: 1rem; padding: .45rem .5rem .45rem 1rem;
  border-radius: 999px; background: rgba(20,21,28,.55); border: 1px solid var(--linha); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); transition: background .3s, box-shadow .3s; }
.topo.rolou .pilula { background: rgba(14,15,20,.82); box-shadow: 0 12px 40px rgba(0,0,0,.45); }
.marca { display: flex; align-items: center; gap: .5rem; color: var(--tinta); font-weight: 700; letter-spacing: -.01em; }
.marca:hover { text-decoration: none; }
.links { display: flex; gap: .2rem; list-style: none; margin: 0 auto; padding: 0; }
.links a { color: var(--tinta-2); font-size: .88rem; padding: .4rem .75rem; border-radius: 999px; }
.links a:hover { color: var(--tinta); background: rgba(255,255,255,.06); text-decoration: none; }
.acoes-topo { display: flex; align-items: center; gap: .4rem; }
.bt-menu { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--linha-2); background: transparent; cursor: pointer; position: relative; }
.bt-menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--tinta); border-radius: 2px; transition: transform .25s; }
.bt-menu span:first-child { top: 15px; } .bt-menu span:last-child { top: 23px; }
.bt-menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.bt-menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- aurora (brilho de fundo) ---------- */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .5; }
.aurora .a1 { background: radial-gradient(circle, rgba(88,101,242,.75), transparent 62%); top: -28vmax; left: -12vmax; animation: deriva 22s ease-in-out infinite alternate; }
.aurora .a2 { background: radial-gradient(circle, rgba(233,185,73,.45), transparent 62%); top: -20vmax; right: -18vmax; animation: deriva 26s ease-in-out infinite alternate-reverse; }
.aurora .a3 { background: radial-gradient(circle, rgba(167,139,250,.35), transparent 62%); top: 18vmax; left: 25vmax; width: 45vmax; height: 45vmax; animation: deriva 30s ease-in-out infinite alternate; }
.aurora.fraca i { opacity: .35; }
@keyframes deriva { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(6vmax, 4vmax, 0) scale(1.12); } }

/* ---------- herói ---------- */
.heroi { position: relative; isolation: isolate; text-align: center; padding: clamp(8rem, 18vh, 11rem) 1.25rem 4rem; min-height: 100vh; overflow: hidden; }
.heroi h1 { font-size: clamp(3.2rem, 10vw, 8.2rem); letter-spacing: -.045em; line-height: .98; }
.lead { max-width: 640px; margin: 1.6rem auto 0; color: var(--tinta-2); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.45; }
.ctas { display: flex; gap: .9rem; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 2.2rem; }

.palco { position: relative; max-width: 860px; margin: 4.5rem auto 0; perspective: 1400px; --p: 0; }
.janela { position: relative; text-align: left; background: var(--dc-fundo); color: var(--dc-texto); border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1); box-shadow: 0 60px 140px rgba(88,101,242,.28), 0 30px 80px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
  transform: rotateX(calc((1 - var(--p)) * 22deg)) scale(calc(.9 + var(--p) * .1)); transform-origin: 50% 0; transition: transform .1s linear; }
.janela-barra { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: var(--dc-fundo-2); font-size: .85rem; color: var(--dc-muted); }
.janela-barra i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.janela-barra i:nth-child(2) { background: #febc2e; } .janela-barra i:nth-child(3) { background: #28c840; margin-right: .5rem; }
.msg { display: flex; gap: .9rem; padding: 1.1rem 1.2rem 1.3rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: #1e1f22; display: grid; place-items: center; flex: none; }
.avatar img { width: 26px; }
.msg-corpo { flex: 1; min-width: 0; }
.msg-autor { font-weight: 600; color: #fff; }
.tag-app { background: var(--discord); color: #fff; font-size: .62rem; padding: .08rem .3rem; border-radius: 4px; vertical-align: 1px; }
.hora { color: var(--dc-muted); font-weight: 400; font-size: .78rem; margin-left: .3rem; }
.mencao { background: rgba(88,101,242,.3); color: #c9cdfb; border-radius: 4px; padding: 0 .2rem; }
.embed { margin-top: .5rem; background: var(--dc-fundo-2); border-left: 4px solid var(--ouro); border-radius: 4px; padding: .8rem 1rem; }
.embed-titulo { font-weight: 700; color: #fff; }
.embed-sub { font-size: .85rem; color: var(--dc-muted); margin: .25rem 0 .6rem; }
.embed-funcoes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .45rem .9rem; }
.embed-funcoes div { display: grid; grid-template-columns: 30px 1fr auto; column-gap: .45rem; align-items: center; font-size: .86rem; }
.embed-funcoes img { width: 30px; height: 30px; grid-row: span 2; border-radius: 6px; background: #1e1f22; }
.embed-funcoes em { font-style: normal; color: var(--verde-claro); font-weight: 600; }
.embed-funcoes small { grid-column: 2 / 4; color: var(--dc-muted); font-size: .76rem; }
.embed-rodape { margin-top: .7rem; font-size: .76rem; color: var(--dc-muted); }
.botoes-discord { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .6rem; }
.bd { background: #4e5058; color: #fff; padding: .35rem .75rem; border-radius: 6px; font-size: .84rem; font-weight: 500; }
.bd.verde { background: #248046; }
.flutua { position: absolute; z-index: 2; width: 88px; height: 88px; border-radius: 22px; display: grid; place-items: center;
  background: rgba(30,31,40,.72); border: 1px solid var(--linha-2); backdrop-filter: blur(10px); box-shadow: 0 20px 50px rgba(0,0,0,.5);
  transform: translateY(calc(var(--y, 0) * 1px)); }
.flutua img { width: 68px; height: 68px; }
.f1 { left: -60px; top: 40px; } .f2 { right: -54px; top: -26px; } .f3 { left: -34px; bottom: -30px; } .f4 { right: -40px; bottom: 50px; }

/* ---------- seções ---------- */
.secao { padding: clamp(5rem, 12vw, 9rem) 1.25rem; max-width: 1180px; margin: 0 auto; }
.secao.estreita { max-width: 780px; }
.cab-secao { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2.2rem; }
.cab-secao h2 { text-align: left; margin: 0; }
.setas { display: flex; gap: .5rem; }
.seta { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sup-3); color: var(--tinta); font-size: 1.5rem; line-height: 1; cursor: pointer; transition: background .2s, opacity .2s; }
.seta:hover { background: #2a2e40; }
.seta:disabled { opacity: .35; cursor: default; }

/* ---------- carrossel de destaques ---------- */
.carrossel { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 82vw); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: .3rem .1rem 1.4rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.carrossel::-webkit-scrollbar { display: none; }
/* o trilho vaza até a borda direita da tela, como na Apple */
.carrossel { margin-right: calc(50% - 50vw); padding-right: max(1.25rem, calc(50vw - 50%)); scroll-padding-left: .1rem; }
.slide { scroll-snap-align: start; min-height: 560px; border-radius: var(--raio); padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: .6rem;
  position: relative; overflow: hidden; border: 1px solid var(--linha); background: var(--sup); }
.slide::before { content: ""; position: absolute; inset: auto -30% -40% -30%; height: 75%; filter: blur(60px); opacity: .55; z-index: 0; }
.slide > * { position: relative; z-index: 1; }
.s-discord::before { background: radial-gradient(circle, var(--discord), transparent 65%); }
.s-vermelho::before { background: radial-gradient(circle, #c4363c, transparent 65%); }
.s-roxo::before { background: radial-gradient(circle, #7c5cff, transparent 65%); }
.s-ouro::before { background: radial-gradient(circle, var(--ouro-escuro), transparent 65%); }
.s-verde::before { background: radial-gradient(circle, #23804a, transparent 65%); }
.s-alianca::before { background: radial-gradient(circle, #5865f2, transparent 55%), radial-gradient(circle at 80% 40%, var(--ouro-escuro), transparent 55%); }
.slide-tag { margin: 0; color: var(--tinta-2); font-weight: 600; font-size: .92rem; }
.slide h3 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); }
.slide-visual { margin-top: auto; display: flex; flex-direction: column; gap: .55rem; }
.vis-ping { flex-direction: row; flex-wrap: wrap; align-items: center; }
.vis-ping .contador { width: 100%; margin-top: .6rem; color: var(--tinta-2); font-size: 1rem; }
.vis-ping .contador b { font-size: 3.4rem; color: var(--tinta); letter-spacing: -.04em; margin-right: .3rem; }
.kill { background: rgba(0,0,0,.35); border: 1px solid var(--linha); border-radius: 12px; padding: .65rem .8rem; font-size: .92rem; display: flex; gap: .5rem; align-items: center; }
.kill em { margin-left: auto; font-style: normal; color: var(--tinta-2); font-size: .82rem; }
.selo-v, .selo-m { font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: rgba(59,165,93,.2); color: var(--verde-claro); }
.selo-m { background: rgba(237,66,69,.2); color: #ff8a8c; }
.vis-rota { flex-direction: column; align-items: flex-start; gap: 0; }
.vis-rota .no { padding: .45rem .9rem; border-radius: 999px; font-size: .88rem; font-weight: 600; background: rgba(0,0,0,.4); border: 1px solid var(--linha-2); }
.vis-rota .fio { width: 2px; height: 16px; background: var(--linha-2); margin-left: 1.3rem; }
.no.estrada { color: var(--roxo); } .no.amarela { color: #f1d04a; } .no.azul { color: #6aa8ff; } .no.cidade { color: var(--ouro-claro); border-color: rgba(233,185,73,.5); }
.vis-loot div { display: grid; grid-template-columns: 110px 1fr auto; gap: .7rem; align-items: center; font-size: .9rem; }
.vis-loot i { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); position: relative; overflow: hidden; }
.vis-loot i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--verde); border-radius: 99px; }
.vis-loot .alerta i::after { background: var(--vermelho); }
.vis-loot b { font-size: .8rem; color: var(--verde-claro); } .vis-loot .alerta b { color: #ff8a8c; }
.vis-voz .canal { background: rgba(0,0,0,.35); border-radius: 10px; padding: .6rem .85rem; color: var(--tinta-2); font-size: .92rem; }
.vis-voz .sala { color: var(--tinta); border: 1px solid rgba(59,165,93,.45); display: flex; justify-content: space-between; }
.vis-voz .membros { display: flex; gap: .3rem; padding-left: 1rem; }
.vis-voz .membros i { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--discord), var(--roxo)); border: 2px solid var(--verde); }
.vis-voz .membros i:nth-child(2) { background: linear-gradient(135deg, var(--ouro), #d97706); }
.vis-voz .membros i:nth-child(3) { background: linear-gradient(135deg, #3ba55d, #0ea5e9); border-color: transparent; }
.vis-voz .membros i:nth-child(4) { background: linear-gradient(135deg, #ed4245, #a78bfa); border-color: transparent; }
.vis-alianca div { display: flex; align-items: center; gap: .7rem; background: rgba(0,0,0,.35); border-radius: 12px; padding: .6rem .85rem; }
.vis-alianca b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--ouro); color: #1a1205; font-size: .85rem; }
.vis-alianca span { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--roxo); background: rgba(167,139,250,.15); padding: .15rem .5rem; border-radius: 999px; }
.pontos-carrossel { display: flex; justify-content: center; gap: .45rem; margin-top: .4rem; }
.pontos-carrossel i { width: 8px; height: 8px; border-radius: 50%; background: var(--sup-3); transition: width .3s, background .3s; }
.pontos-carrossel i.ativo { width: 26px; border-radius: 99px; background: var(--tinta-2); }

/* ---------- frase que acende ao rolar ---------- */
.manifesto { min-height: 160vh; padding: 0 1.25rem; }
.frase { position: sticky; top: 18vh; max-width: 1040px; margin: 0 auto; font-weight: 700; letter-spacing: -.035em; line-height: 1.12;
  font-size: clamp(2rem, 5.4vw, 4.4rem); color: var(--tinta-3); }
.frase span { transition: color .35s, opacity .35s; opacity: .28; }
.frase span.aceso { opacity: 1; color: var(--tinta); }
.frase span.final.aceso { background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- história com tela fixa ---------- */
.historia { padding: clamp(5rem, 12vw, 9rem) 1.25rem; max-width: 1180px; margin: 0 auto; }
.historia-grade { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.passo { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s; }
.passo.ativo { opacity: 1; }
.passo .num { font-size: .95rem; font-weight: 700; color: var(--ouro); margin-bottom: .7rem; }
.passo h3 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.035em; }
.passo p { color: var(--tinta-2); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 460px; }
.historia-tela { position: sticky; top: 18vh; }
.tela { position: relative; height: 440px; border-radius: 32px; background: linear-gradient(160deg, var(--sup-2), var(--bg-2));
  border: 1px solid var(--linha-2); box-shadow: var(--sombra), 0 0 0 10px rgba(255,255,255,.025); overflow: hidden; }
.tela::before { content: ""; position: absolute; inset: -40% -20% auto; height: 80%; background: radial-gradient(circle, rgba(88,101,242,.35), transparent 60%); filter: blur(40px); }
.quadro { position: absolute; inset: 0; padding: 2rem; display: flex; flex-direction: column; gap: .7rem; opacity: 0; transform: translateY(18px) scale(.98);
  transition: opacity .5s, transform .5s; pointer-events: none; }
.quadro.ativo { opacity: 1; transform: none; }
.q-cab { font-size: 1.25rem; font-weight: 700; margin-bottom: .4rem; }
.q-campo { background: rgba(255,255,255,.04); border: 1px solid var(--linha); border-radius: var(--raio-p); padding: .7rem .9rem; display: flex; flex-direction: column; }
.q-campo small { color: var(--tinta-3); font-size: .78rem; }
.q-linha { display: flex; justify-content: space-between; align-items: center; padding: .6rem .2rem; border-bottom: 1px solid var(--linha); }
.q-linha small { color: var(--tinta-2); } .q-linha small.on { color: var(--verde-claro); } .q-linha small.falta { color: #ff8a8c; }
.q-grande { display: flex; flex-direction: column; padding: .4rem 0; }
.q-grande b { font-size: 3.2rem; letter-spacing: -.04em; line-height: 1.05; }
.q-grande small { color: var(--tinta-2); }
.quadro .bt { align-self: flex-start; margin-top: auto; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; grid-auto-flow: dense; }
.tile { background: var(--sup); border: 1px solid var(--linha); border-radius: var(--raio); padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem;
  min-height: 250px; position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.tile:hover { border-color: var(--linha-2); transform: translateY(-2px); }
.tile h3 { font-size: 1.22rem; }
.t-largo { grid-column: span 2; flex-direction: row; align-items: center; gap: 1.5rem; }
.t-largo > div:first-child { flex: 1; }
.t-alto { grid-row: span 2; }
.vis-banco { flex: 1; display: flex; flex-direction: column; align-items: flex-end; }
.vis-banco b { font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.04em; background: linear-gradient(180deg, var(--ouro-claro), var(--ouro)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vis-banco small { color: var(--tinta-3); }
.barras { display: flex; align-items: flex-end; gap: 6px; height: 70px; margin-top: .8rem; width: 100%; max-width: 240px; }
.barras i { flex: 1; height: var(--v); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--discord-claro), var(--discord)); opacity: .85; }
.sparkline { width: 100%; height: 56px; margin-top: auto; }
.sparkline polyline { fill: none; stroke: var(--ouro); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.icones-set { display: flex; gap: .4rem; margin-top: auto; }
.icones-set img { width: 52px; height: 52px; border-radius: 12px; background: var(--sup-3); }
.codigo { margin-top: auto; display: block; padding: .7rem .8rem; border-radius: 12px; font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.podio { list-style: none; padding: 0; margin: auto 0 0; display: grid; gap: .45rem; }
.podio li { display: flex; align-items: center; gap: .6rem; background: rgba(255,255,255,.04); border-radius: 12px; padding: .65rem .8rem; }
.podio li span { width: 1.6rem; text-align: center; color: var(--tinta-3); }
.podio li b { margin-left: auto; color: var(--ouro); }
.relogio { margin-top: auto; } .relogio b { display: block; font-size: 2.6rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.relogio small { color: var(--tinta-2); }
.selo-negra { margin-top: auto; align-self: flex-start; padding: .45rem .8rem; border-radius: 999px; background: rgba(237,66,69,.15); color: #ff8a8c; font-weight: 600; font-size: .9rem; }
.chaves { flex: 1; display: grid; gap: .45rem; max-width: 320px; }
.chaves div { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; color: var(--tinta-2); }
.chaves i { width: 38px; height: 22px; border-radius: 99px; background: var(--sup-3); position: relative; flex: none; }
.chaves i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.chaves i.on { background: var(--verde); } .chaves i.on::after { transform: translateX(16px); }

/* ---------- números ---------- */
.numeros { max-width: 1180px; margin: 0 auto; padding: 2rem 1.25rem clamp(4rem, 9vw, 7rem); display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.numeros b { display: block; font-size: clamp(2.8rem, 6vw, 4.8rem); letter-spacing: -.045em; line-height: 1; font-weight: 700; }
.numeros span { display: block; margin-top: .6rem; color: var(--tinta-2); font-size: .95rem; }

/* ---------- três passos ---------- */
.tres { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tres li { background: var(--sup); border: 1px solid var(--linha); border-radius: var(--raio); padding: 2rem 1.7rem; }
.tres .grande { display: block; font-size: 4rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 1rem; }
.tres p { color: var(--tinta-2); margin: .5rem 0 0; }

/* ---------- planos ---------- */
.aviso-beta { max-width: 720px; margin: -1.5rem auto 2rem; text-align: center; padding: 1rem 1.3rem; border-radius: var(--raio-m);
  background: rgba(233,185,73,.08); border: 1px solid rgba(233,185,73,.25); color: var(--tinta-2); }
.aviso-beta b { color: var(--ouro-claro); }
.alternar { display: flex; justify-content: center; gap: .3rem; width: max-content; margin: 0 auto 2.4rem; padding: .3rem; border-radius: 999px; background: var(--sup-2); border: 1px solid var(--linha); }
.alternar button { border: 0; background: transparent; color: var(--tinta-2); padding: .55rem 1.1rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; }
.alternar button.ativo { background: var(--sup-3); color: var(--tinta); box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.pill { font-size: .72rem; font-weight: 700; padding: .12rem .5rem; border-radius: 999px; background: rgba(59,165,93,.2); color: var(--verde-claro); margin-left: .25rem; }
.grade-planos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: stretch; }
.plano { position: relative; background: var(--sup); border: 1px solid var(--linha); border-radius: var(--raio); padding: 2rem 1.7rem; display: flex; flex-direction: column; }
.plano.destacado { background: linear-gradient(var(--sup-2), var(--sup-2)) padding-box, var(--degrade) border-box; border: 1.5px solid transparent;
  box-shadow: 0 30px 90px rgba(88,101,242,.22); }
.fita { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--discord); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 999px; white-space: nowrap; }
.plano-resumo { color: var(--tinta-2); margin: .5rem 0 1.2rem; min-height: 3em; }
.preco b { font-size: 2.8rem; letter-spacing: -.04em; }
.preco span { color: var(--tinta-2); margin-left: .2rem; }
.preco-nota { color: var(--tinta-3); font-size: .85rem; margin: .2rem 0 1.3rem; }
.plano ul { list-style: none; padding: 0; margin: 0 0 1.8rem; display: grid; gap: .55rem; flex: 1; }
.plano li { padding-left: 1.6rem; position: relative; color: var(--tinta-2); font-size: .95rem; }
.plano li::before { content: "✓"; position: absolute; left: 0; color: var(--ouro); font-weight: 700; }
.plano .bt { width: 100%; }
.nota { text-align: center; color: var(--tinta-3); font-size: .88rem; margin-top: 1.6rem; }

/* ---------- dúvidas ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--sup); border: 1px solid var(--linha); border-radius: var(--raio-m); padding: 0 1.3rem; transition: border-color .2s; }
.faq details[open] { border-color: var(--linha-2); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--tinta-2); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 1.2rem; color: var(--tinta-2); }

/* ---------- chamada final ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; text-align: center; padding: clamp(6rem, 14vw, 11rem) 1.25rem; }
.final h2 { margin: 1.4rem 0 0; font-size: clamp(2.6rem, 7vw, 5.6rem); letter-spacing: -.045em; }
.final .ctas { margin-top: 2.6rem; }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); padding: 2rem 1.25rem 2.6rem; max-width: 1180px; margin: 0 auto; color: var(--tinta-3); font-size: .85rem; }
.rodape-linha { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.rodape nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.rodape nav a { color: var(--tinta-2); }
.marca.pequena { font-size: .95rem; }
.legal { margin: 1.2rem 0 0; line-height: 1.5; }

/* ---------- entrada suave ---------- */
.js .revelar { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1), filter .9s; }
.js .revelar.visivel { opacity: 1; transform: none; filter: none; }

/* ---------- celular e tablet ---------- */
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-alto { grid-row: auto; }
  .historia-grade { grid-template-columns: 1fr; gap: 0; }
  .historia-tela { top: 84px; order: -1; z-index: 2; }
  .tela { height: 290px; border-radius: 26px; }
  .quadro { padding: 1.3rem; gap: .5rem; }
  .q-grande b { font-size: 2.4rem; }
  .passo { min-height: 55vh; }
  .numeros { grid-template-columns: repeat(2, 1fr); }
  .grade-planos, .tres { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 760px) {
  .links { display: none; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; flex-direction: column; padding: .6rem;
    background: rgba(14,15,20,.95); border: 1px solid var(--linha); border-radius: 22px; backdrop-filter: blur(20px); }
  .links.aberto { display: flex; }
  .links a { font-size: 1rem; padding: .75rem 1rem; }
  .bt-menu { display: inline-block; }
  .so-desktop { display: none; }
  .pilula { justify-content: space-between; }
  .flutua { width: 62px; height: 62px; border-radius: 16px; } .flutua img { width: 46px; height: 46px; }
  .f1 { left: -8px; top: -30px; } .f2 { right: -6px; top: -48px; } .f3, .f4 { display: none; }
  .embed-funcoes { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .t-largo { grid-column: auto; flex-direction: column; align-items: stretch; }
  .vis-banco { align-items: flex-start; }
  .cab-secao { align-items: center; }
  .slide { min-height: 480px; }
  .manifesto { min-height: 130vh; }
}
/* iPhone SE e telas muito estreitas (≤400px) */
@media (max-width: 400px) {
  .heroi { padding-left: 1rem; padding-right: 1rem; }
  .bt-g { padding: .75rem 1.2rem; font-size: 1rem; }
  .numeros { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .slide { min-height: 420px; padding: 1.5rem 1.2rem; }
  .carrossel { grid-auto-columns: min(380px, 88vw); }
  .secao { padding-left: 1rem; padding-right: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora i { animation: none; }
  .js .revelar { opacity: 1; transform: none; filter: none; transition: none; }
  .janela { transform: none !important; }
  .frase span { opacity: 1; color: var(--tinta); }
  .passo { opacity: 1; }
}
