/* Seção "Aja na hora": título e abas centralizados; embaixo um palco de altura fixa
   (texto à esquerda, tela à direita) que é igual nas 4 abas, sem pulo de tamanho. */
.act { padding: 120px 0; border-top: 1px solid rgba(150, 180, 225, 0.07); }
.act-in { max-width: 1320px; margin: 0 auto; padding: 0 32px; display: flex; flex-direction: column; gap: 40px; }
.act-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
/* mesmo padrão de título da seção dos funis: grande, com o destaque em amarelo */
.act-head h2 { margin: 0; max-width: 1180px; font: 700 clamp(40px, 4.6vw, 64px)/1.04 'Funnel Display', sans-serif; letter-spacing: -0.035em; color: #D9C8B7; text-wrap: balance; }
.act-head h2 span { color: #FFC30F; }
.act-head p { margin: 0; max-width: 860px; font: 400 18px/1.6 'Plus Jakarta Sans', sans-serif; color: #A3B1C8; text-wrap: pretty; }
.act-tabs {
  align-self: center;
  max-width: 100%;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #0B1A30;
  border: 1px solid rgba(150, 180, 225, 0.14);
  border-radius: 30px;
  padding: 6px;
}
.act-tabs::-webkit-scrollbar { display: none; }
.act-tabs button { flex: none; border: 0; border-radius: 999px; padding: 11px 20px; font: 600 14px 'Plus Jakarta Sans', sans-serif; white-space: nowrap; cursor: pointer; transition: background 0.3s, color 0.3s; }

/* palco fixo */
.act-stage { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: stretch; }
/* texto no topo e um cartão de apoio no pé, alinhado com a base da tela: a coluna não fica vazia */
.act-copy { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }

/* cartão de apoio de cada aba */
.act-note { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border-radius: 14px; border: 1px solid rgba(150, 180, 225, 0.14);
  background: radial-gradient(260px 140px at 0% 0%, rgba(255, 195, 15, 0.07), transparent 70%), #0B1A30; box-shadow: 0 20px 50px rgba(1, 34, 75, 0.35); }
.act-note > small { font: 700 10px 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.16em; color: #8090AC; }
.act-note > small::before { content: "✦ "; color: #FFC30F; }
.act-note > b { font: 600 20px/1.2 'Funnel Display', sans-serif; color: #D9C8B7; text-wrap: balance; }
.act-note > p { margin: 0; font: 400 14px/1.55 'Plus Jakarta Sans', sans-serif; color: #A3B1C8; text-wrap: pretty; }
.act-note-n { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.act-note-n span { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; background: #06101F; border: 1px solid rgba(150, 180, 225, 0.08); font: 500 11px 'Plus Jakarta Sans', sans-serif; color: #8090AC; }
.act-note-n b { font: 700 26px/1 'Funnel Display', sans-serif; }
.act-note-ch { display: flex; flex-wrap: wrap; gap: 6px; }
.act-note-ch span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: #06101F; border: 1px solid rgba(88, 212, 23, 0.28); font: 600 11px 'Plus Jakarta Sans', sans-serif; color: #C3CDDD; }
.act-note-ch span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #58D417; }
.act-note-bars { display: flex; align-items: flex-end; gap: 5px; height: 54px; padding-bottom: 2px; border-bottom: 1px solid rgba(150, 180, 225, 0.12); }
.act-note-bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #1796D4, rgba(23, 150, 212, 0.35)); }
.act-note-bars i:last-child { background: linear-gradient(180deg, #FFC30F, rgba(255, 195, 15, 0.35)); }
.act-note-conf { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font: 500 12px 'Plus Jakarta Sans', sans-serif; color: #8090AC; }
.act-note-conf > div { height: 8px; border-radius: 4px; background: #10223D; overflow: hidden; }
.act-note-conf i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, #2E8B0F, #58D417); }
.act-note-conf em { font: 700 14px 'Funnel Display', sans-serif; font-style: normal; color: #58D417; }
.act-copy h3 { margin: 0; font: 600 30px/1.15 'Funnel Display', sans-serif; color: #D9C8B7; text-wrap: balance; }
.act-copy p { margin: 0; font: 400 16px/1.6 'Plus Jakarta Sans', sans-serif; color: #A3B1C8; text-wrap: pretty; }
.act-pts { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; font: 500 14px/1.4 'Plus Jakarta Sans', sans-serif; color: #C3CDDD; }
.act-pts span { display: flex; align-items: center; gap: 10px; }
.act-pts i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c, #FFC30F); box-shadow: 0 0 10px var(--c, #FFC30F); }
.act-pts b { color: #D9C8B7; font-weight: 700; }

.act-vis { position: relative; height: 580px; min-width: 0; }
.act-vis > hd-raiox { display: block; height: 100%; }
.act-vis .hd-rxw { height: 100%; }

/* moldura das telas (mesmo visual do raio-x) */
.act-scr {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(150, 180, 225, 0.16);
  background: radial-gradient(600px 300px at 20% 0%, rgba(23, 150, 212, 0.1), transparent 70%), radial-gradient(600px 320px at 100% 100%, rgba(255, 195, 15, 0.06), transparent 70%), #080D18;
  box-shadow: 0 40px 120px rgba(1, 34, 75, 0.55);
}
.act-scr-hd { flex: none; padding: 16px 20px 14px; border-bottom: 1px solid rgba(150, 180, 225, 0.1); background: rgba(8, 13, 24, 0.92); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.act-scr-hd small { display: block; font: 700 10px 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.16em; color: #8090AC; }
.act-scr-hd small::before { content: "✦ "; color: #FFC30F; }
.act-scr-hd b { display: block; margin-top: 7px; font: 700 21px/1.15 'Plus Jakarta Sans', sans-serif; color: #F5F6FA; letter-spacing: -0.01em; }
.act-badge { font: 600 11px 'Plus Jakarta Sans', sans-serif; border-radius: 999px; padding: 5px 10px; white-space: nowrap; }
.act-scr-bd { flex: 1; min-height: 0; padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; }

/* alertas */
.act-al { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #0B1A30; border: 1px solid rgba(150, 180, 225, 0.08); border-radius: 10px; padding: 13px 16px; }
.act-al > span:first-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.act-al b { font: 600 14px 'Plus Jakarta Sans', sans-serif; color: #D9C8B7; }
.act-al small { font: 400 12px 'Plus Jakarta Sans', sans-serif; color: #8090AC; }
.act-al em { flex: none; font: 700 10px 'Plus Jakarta Sans', sans-serif; font-style: normal; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 4px; padding: 4px 8px; }
.act-new { margin-top: auto; border: 1px dashed rgba(255, 195, 15, 0.4); background: rgba(255, 195, 15, 0.04); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.act-new > small { font: 700 10px 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.14em; color: #FFC30F; }
.act-rule { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font: 500 13px 'Plus Jakarta Sans', sans-serif; color: #A3B1C8; }
.act-rule span { padding: 5px 10px; border-radius: 7px; background: #10223D; border: 1px solid rgba(150, 180, 225, 0.16); color: #F5F6FA; font-weight: 600; }
.act-rule span.go { background: rgba(255, 195, 15, 0.14); border-color: rgba(255, 195, 15, 0.45); color: #FFE08A; }
.act-rule i { width: 2px; height: 16px; background: #FFC30F; animation: actCaret 1s steps(1) infinite; }
@keyframes actCaret { 50% { opacity: 0; } }

/* notificações */
.act-scr--push { position: relative; align-items: center; justify-content: center; background: radial-gradient(420px 380px at 50% 50%, rgba(23, 150, 212, 0.2), transparent 70%), #080D18; }
.act-phone { width: 290px; max-width: calc(100% - 32px); background: #06101F; border: 1px solid rgba(150, 180, 225, 0.18); border-radius: 40px; padding: 18px 14px 24px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.act-phone .clk { text-align: center; font: 600 46px/1 'Funnel Display', sans-serif; color: #D9C8B7; padding: 16px 0 4px; }
.act-phone .day { text-align: center; font: 500 12px 'Plus Jakarta Sans', sans-serif; color: #8090AC; margin-bottom: 10px; }
.act-push { display: flex; gap: 10px; background: rgba(26, 48, 80, 0.75); border-radius: 14px; padding: 10px 12px; transition: opacity 0.5s ease; }
.act-push img { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 7px; background: #0B1A30; }
.act-push > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.act-push b { font: 600 12px 'Plus Jakarta Sans', sans-serif; color: #F5F6FA; }
.act-push small { font: 400 11px/1.35 'Plus Jakarta Sans', sans-serif; color: #C3CDDD; }
.act-tag { position: absolute; top: 18px; left: 20px; font: 700 10px 'Plus Jakarta Sans', sans-serif; letter-spacing: 0.16em; color: #8090AC; }
.act-tag::before { content: "✦ "; color: #FFC30F; }
.act-live { position: absolute; top: 14px; right: 18px; display: inline-flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(88, 212, 23, 0.3); background: rgba(88, 212, 23, 0.08); font: 500 11px 'Plus Jakarta Sans', sans-serif; color: #C3CDDD; }
.act-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #58D417; animation: hePulse 1.6s infinite; }

@media (max-width: 1060px) {
  .act-stage { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  /* empilhado: o texto ganha altura mínima para a tela não subir e descer ao trocar de aba */
  .act-copy { max-width: 640px; min-height: 320px; padding-top: 0; }
  /* empilhado não sobra vazio ao lado da tela: o cartão de apoio sai */
  .act-note { display: none; }
}
@media (max-width: 640px) {
  .act { padding: 88px 0; }
  .act-in { padding: 0 20px; gap: 32px; }
  .act-tabs { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; }
  .act-tabs button { padding: 11px 10px; font-size: 13px; }
  .act-scr-bd > .act-al:nth-child(4) { display: none; }
  .act-vis { height: 540px; }
  .act-copy { min-height: 350px; }
  .act-scr-bd { padding: 14px; }
  .act-al { padding: 11px 12px; }
}
/* mobile: cada aba vira um item que abre no lugar (mesmo padrão da seção dos funis) */
.act-acc { display: flex; flex-direction: column; gap: 40px; }
.act-acc-h { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: transparent; border: 0; border-top: 1px solid rgba(150, 180, 225, 0.14); padding: 18px 0; cursor: pointer; text-align: left; font: 600 20px/1.2 'Funnel Display', sans-serif; letter-spacing: -0.01em; color: #D9C8B7; }
.act-acc-h > span { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.act-acc-h em { font: 600 12px 'JetBrains Mono', monospace; font-style: normal; color: #4A5B78; }
.act-acc-h.is-open, .act-acc-h.is-open em { color: #FFC30F; }
.act-acc-h.is-open .acc-pm { transform: rotate(45deg); background: #FFC30F; border-color: #FFC30F; animation: none; }
.act-acc-h.is-open .acc-pm::before, .act-acc-h.is-open .acc-pm::after { background: #06101F; }
@media (max-width: 760px) {
  .act { padding: 64px 0; }
  .act-in { padding: 0 20px; gap: 32px; }
  .act-head h2 { font-size: 34px; }
  .act-head p { font-size: 16px; }
  .act-acc { gap: 0; border-bottom: 1px solid rgba(150, 180, 225, 0.14); }
  .act-acc .act-stage { gap: 24px; padding: 4px 0 28px; }
  .act-acc .act-copy { min-height: 0; }
  .act-copy h3 { font-size: 26px; }
  /* subtítulo curto no celular */
  .act-head .act-d { display: none; }
  /* dentro de cada item: título, animação e só então o texto e os tópicos */
  .act-acc .act-copy { display: contents; }
  .act-acc .act-copy h3 { order: 1; }
  .act-acc .act-vis { order: 2; }
  .act-acc .act-copy p { order: 3; }
  .act-acc .act-pts { order: 4; margin-top: -8px; }
  .act-acc .act-stage { gap: 20px; }
  .act-vis--rx { height: 460px; }
  /* Alertas: altura do conteúdo, tudo um pouco menor */
  .act-vis--al, .act-vis--al .act-scr { height: auto; }
  .act-vis--al .act-scr-hd { padding: 12px 14px 10px; }
  .act-vis--al .act-scr-hd b { margin-top: 5px; font-size: 17px; }
  .act-vis--al .act-badge { font-size: 10px; padding: 4px 8px; }
  .act-vis--al .act-scr-bd { padding: 10px; gap: 8px; }
  .act-vis--al .act-al { padding: 9px 11px; gap: 10px; }
  .act-vis--al .act-al b { font-size: 12.5px; }
  .act-vis--al .act-al small { font-size: 10.5px; }
  .act-vis--al .act-al em { font-size: 9px; padding: 3px 6px; }
  .act-vis--al .act-new { margin-top: 2px; padding: 10px 12px; gap: 8px; }
  .act-vis--al .act-rule { gap: 5px; font-size: 11.5px; }
  .act-vis--al .act-rule span { padding: 3px 7px; }
  /* Notificações: sem moldura atrás, só o celular */
  .act-vis--push { height: auto; }
  .act-vis--push .act-scr--push { height: auto; padding: 4px 0 8px; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
  .act-vis--push .act-tag, .act-vis--push .act-live { display: none; }
  .act-vis--push .act-phone { position: relative; width: 236px; max-width: 100%; aspect-ratio: 9 / 18.5; padding: 44px 10px 22px; gap: 7px; border: 7px solid #1B2638; border-radius: 40px;
    background: radial-gradient(220px 260px at 30% 0%, rgba(23, 150, 212, 0.35), transparent 70%), radial-gradient(200px 220px at 100% 100%, rgba(255, 195, 15, 0.12), transparent 70%), #06101F;
    box-shadow: 0 0 0 1px rgba(150, 180, 225, 0.25), 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(23, 150, 212, 0.18); }
  /* ilha no topo e barrinha de início */
  .act-vis--push .act-phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 66px; height: 18px; margin-left: -33px; border-radius: 999px; background: #000; }
  .act-vis--push .act-phone::after { content: ""; position: absolute; bottom: 8px; left: 50%; width: 76px; height: 4px; margin-left: -38px; border-radius: 999px; background: rgba(217, 200, 183, 0.55); }
  .act-vis--push .act-phone .clk { padding: 4px 0 2px; font-size: 40px; }
  .act-vis--push .act-phone .day { margin-bottom: 8px; font-size: 10.5px; }
  .act-vis--push .act-push { gap: 8px; padding: 8px 9px; border-radius: 12px; }
  .act-vis--push .act-push img { width: 22px; height: 22px; padding: 4px; border-radius: 6px; }
  .act-vis--push .act-push b { font-size: 10.5px; }
  .act-vis--push .act-push small { font-size: 9.5px; }
  /* Raio-X compacto no celular: cabeçalho menor, abas em duas linhas e cards em uma coluna */
  .act-vis--rx .hd-rx-hd { padding: 12px 12px 10px; }
  .act-vis--rx .hd-rx-k { font-size: 9px; letter-spacing: 0.12em; }
  .act-vis--rx .hd-rx-now { height: 22px; padding: 0 8px; font-size: 10px; }
  .act-vis--rx .hd-rx-t { margin: 6px 0 8px; font-size: 17px; }
  .act-vis--rx .hd-rx-by > span { display: none; }
  .act-vis--rx .hd-rx-tabs { flex: 1; }
  .act-vis--rx .hd-rx-tabs > span { flex: 1; flex-direction: column; gap: 2px; padding: 5px 4px; font-size: 10.5px; }
  .act-vis--rx .hd-cnt { gap: 4px; font-size: 9px; }
  .act-vis--rx .hd-rx-in { padding: 10px 10px 32px; gap: 10px; }
  .act-vis--rx .hd-rx-sec { gap: 7px; font-size: 10px; }
  .act-vis--rx .hd-rx-sec b { font-size: 13px; }
  .act-vis--rx .hd-rx-sec small { display: none; }
  .act-vis--rx .hd-rx-grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .act-vis--rx .hd-rc { padding: 10px 9px 6px; border-radius: 10px; }
  .act-vis--rx .hd-rc-tag { font-size: 8.5px; padding: 2px 6px; }
  .act-vis--rx .hd-rc-act { font-size: 9px; padding: 2px 6px; }
  .act-vis--rx .hd-rc-n { margin: 6px 0 2px; font-size: 11px; }
  .act-vis--rx .hd-rc p { margin-bottom: 6px; font-size: 9.5px; }
  .act-vis--rx .hd-rc .hd-tb th { padding: 4px 3px; font-size: 7.5px; }
  .act-vis--rx .hd-rc .hd-tb td { padding: 4px 3px; font-size: 9.5px; }
  .act-vis--rx .hd-var { min-width: 38px; padding: 1px 4px; font-size: 8.5px; }
}
.act-head .act-m { display: none; }
@media (max-width: 760px) { .act-head .act-m { display: block; } }
@media (prefers-reduced-motion: reduce) {
  .act-rule i, .act-live::before { animation: none; }
}

/* botão de abrir/fechar das listas do celular (funis e Raio-X): traços desenhados, sempre no centro.
   Fechado, o "+" pulsa para mostrar que dá para tocar; aberto, gira e vira "×" amarelo. */
.acc-pm { flex: none; position: relative; display: block; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 195, 15, 0.55); background: rgba(255, 195, 15, 0.08);
  box-shadow: 0 0 14px rgba(255, 195, 15, 0.25); animation: accPulse 2.2s ease-out infinite; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, border-color 0.3s; }
.acc-pm::before, .acc-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: #FFC30F; transition: background 0.3s; }
.acc-pm::after { transform: rotate(90deg); }
.acc-pm.is-open { transform: rotate(45deg); background: #FFC30F; border-color: #FFC30F; animation: none; }
.acc-pm.is-open::before, .acc-pm.is-open::after { background: #06101F; }
@keyframes accPulse { 0% { box-shadow: 0 0 14px rgba(255, 195, 15, 0.25), 0 0 0 0 rgba(255, 195, 15, 0.5); } 70%, 100% { box-shadow: 0 0 14px rgba(255, 195, 15, 0.25), 0 0 0 10px rgba(255, 195, 15, 0); } }
@media (prefers-reduced-motion: reduce) { .acc-pm { animation: none; } }
