/* Home: topo, ilustrações do app em HTML/CSS (não há prints: o desenho acompanha o app) e blocos de recursos. */

/* Bolinhas de status, iguais em todas as ilustrações */
.rdot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.rdot--run { background: #3b82f6; box-shadow: 0 0 0 3px rgb(59 130 246 / .22); animation: pulse 1.6s ease-in-out infinite; }
.rdot--done { background: var(--green); }
.rdot--wait { background: #f5a524; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgb(59 130 246 / .08); } }

/* Topo */
.top { position: relative; overflow: hidden; padding-top: 72px; }
.top__copy { position: relative; }
.top h1 { max-width: 19ch; margin: 0 auto; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.05; text-wrap: balance; }
.top__lede { max-width: 700px; margin: 26px auto 0; color: var(--muted); font-size: 19px; }
.top .hero__btns { margin: 34px 0 18px; }
.top__note { margin: 0; color: var(--faint); font-size: 14px; }
.top__note a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.top__note a:hover { color: var(--fg); }
.top__caption { margin: 14px 0 0; text-align: center; color: var(--faint); font-size: 13px; }

/* O app desenhado */
.app { position: relative; margin-top: 64px; overflow: hidden; background: #111; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 50px 120px -40px #000, 0 0 0 1px rgb(215 117 82 / .06); text-align: left; }
.app__bar { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px; height: 44px; padding: 0 14px; background: #1b1b1b; border-bottom: 1px solid var(--line); font-size: 13px; }
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.app__ws { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 7px; }
.app__ws svg, .pl-menu__btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.app__title { text-align: center; color: var(--muted); }
.app__usage { display: flex; gap: 16px; }
.usage { display: flex; align-items: center; gap: 8px; font: 11px var(--mono); color: var(--muted); }
.usage b { font-weight: 400; }
.usage__bar { width: 54px; height: 5px; overflow: hidden; border-radius: 3px; background: #2e2e2e; }
.usage__bar i { display: block; height: 100%; background: var(--green); }
.usage--warn .usage__bar i { background: #f5a524; }
.app__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.app__canvas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-content: start; padding: 26px; background: radial-gradient(circle, #252525 1px, transparent 1.4px) 0 0 / 22px 22px; }
.app__loose { display: flex; flex-direction: column; gap: 14px; }
.app__status { display: flex; gap: 22px; padding: 9px 16px; background: #1b1b1b; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.app__status span { display: flex; align-items: center; gap: 8px; }

/* Grupo, pasta, nota e terminal */
.grp { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 12px 12px; border: 1px solid; border-radius: 14px; }
.grp--blue { border-color: rgb(59 130 246 / .45); background: rgb(59 130 246 / .04); }
.grp--green { border-color: rgb(31 189 83 / .4); background: rgb(31 189 83 / .04); }
.grp:first-child { grid-row: span 2; }
.grp__tag { position: absolute; top: -10px; left: 12px; padding: 2px 9px; border-radius: 999px; font: 600 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.grp--blue .grp__tag { background: #2b5fc4; }
.grp--green .grp__tag { background: #15803d; }
.fold { display: flex; flex-direction: column; gap: 6px; padding: 11px; background: #1e1e1e; border: 1px solid var(--line-2); border-radius: 10px; }
.fold__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.fold__head b { font-size: 14px; font-weight: 500; }
.fold__branch { padding: 2px 7px; border-radius: 5px; background: #262626; font: 10px var(--mono); color: var(--muted); white-space: nowrap; }
.fold__row { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 9px; border-radius: 7px; background: #262626; font-size: 13px; color: #d4d4d4; white-space: nowrap; overflow: hidden; }
.fold__row.is-open { background: #2f3644; }
.fold__row em, .pl-row em { margin-left: auto; font-style: normal; font-size: 11px; color: #f5a524; }
.fold__row small, .pl-row small { margin-left: auto; font-size: 11px; color: var(--faint); }
.note { padding: 10px 12px; background: #4a3a1a; border: 1px dashed #b98a2c; border-radius: 10px; font-size: 13px; color: #f1e4c6; }
.note b { display: block; margin-bottom: 3px; font-size: 11px; font-weight: 600; color: #f5c35a; }
.tty { padding: 0 12px 10px; background: #0b0b0b; border: 1px solid var(--line-2); border-radius: 10px; font: 12px/1.7 var(--mono); color: #bdbdbd; }
.tty p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tty__bar { margin: 0 -12px 8px !important; padding: 5px 12px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--faint); }
.tty__ok { color: var(--green); }

/* Conversa aberta ao lado */
.app__chat { display: flex; flex-direction: column; gap: 10px; padding: 16px; background: #171717; border-left: 1px solid var(--line); font-size: 13px; }
.app__chat p { margin: 0; }
.chat__head { padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__head b { font-weight: 500; color: var(--fg); }
.chat__me { padding: 10px 12px; border-radius: 10px; background: #262626; }
.chat__step { display: flex; align-items: center; gap: 8px; color: var(--muted); }
.chat__step b { font-weight: 500; color: var(--fg); }
.chat__input { margin-top: auto !important; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--faint); }
.perm { padding: 12px; background: #1f1f1f; border: 1px solid rgb(245 165 36 / .45); border-radius: 10px; }
.perm code { display: block; margin-top: 8px; padding: 7px 9px; border-radius: 6px; background: #0e0e0e; font: 12px var(--mono); color: #cfcfcf; }
.perm div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.perm div span { padding: 5px 12px; border: 1px solid var(--line-2); border-radius: 6px; font-size: 12px; }
.perm .perm__ok { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* O que vai no canvas + os três ganhos */
.kinds { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 48px; }
.kinds span { padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--card); font: 13px var(--mono); color: #cfcfcf; }
.kinds span::before { content: "› "; color: var(--accent); }
.gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gain { padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.gain__tag { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font: 12px var(--mono); color: var(--muted); }
.gain__tag i { width: 7px; height: 7px; border-radius: 50%; }
.gain h3 { font-size: 22px; margin-bottom: 10px; }
.gain > p:last-child { margin: 0; color: var(--muted); }

/* Cartões de recursos */
.pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.pillar { display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.pillar--wide { grid-column: 1 / -1; }
.pillar__art { display: grid; place-items: center; height: 320px; padding: 28px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle, #262626 1px, transparent 1.4px) 0 0 / 20px 20px, var(--bg-2); }
.pillar__body { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 30px; }
.pillar__body h3 { font-size: 24px; letter-spacing: -.02em; }
.pillar__body p { margin: 0; max-width: 62ch; color: var(--muted); font-size: 16px; }

/* Progresso e avisos */
.pl-track { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; width: 100%; max-width: 860px; }
.pl-rows { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: #1e1e1e; border: 1px solid var(--line-2); border-radius: 12px; }
.pl-row { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 9px 11px; border-radius: 8px; background: #262626; font-size: 14px; white-space: nowrap; overflow: hidden; }
.pl-row b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.pl-row--sub { margin: -4px 0 0 18px; padding: 4px 11px; background: none; font-size: 12px; color: var(--faint); }
.pl-side { display: flex; flex-direction: column; gap: 10px; }
.pl-toast { padding: 10px 12px; background: #262626; border: 1px solid #3a3a3a; border-radius: 12px; font-size: 13px; box-shadow: 0 12px 30px -12px #000; }
.pl-toast b { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.pl-status { display: flex; gap: 16px; align-self: flex-start; padding: 7px 14px; background: #1b1b1b; border: 1px solid var(--line-2); border-radius: 999px; font: 12px var(--mono); color: var(--muted); }
.pl-status span { display: flex; align-items: center; gap: 7px; }

/* Workspaces */
.pl-menu { display: flex; flex-direction: column; gap: 4px; width: 280px; padding: 8px; background: #1e1e1e; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px -20px #000; font-size: 14px; }
.pl-menu__btn { display: flex; align-items: center; gap: 6px; align-self: flex-start; margin: 0 0 6px; padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 7px; font-size: 13px; }
.pl-menu__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: 8px; }
.pl-menu__item.is-on { background: #2f3644; }
.pl-menu__item b { font-weight: 400; }
.pl-menu__item small { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.pl-menu__new { padding: 9px 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Contas por grupo */
.pl-accounts { display: flex; flex-direction: column; gap: 26px; width: 300px; }
.pl-accounts .grp { grid-row: auto; padding: 20px 14px 14px; }
.pl-acc { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; font-size: 14px; }
.pl-acc b { font-weight: 400; }

/* Agentes */
.pl-agentgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 400px; }
.pl-agentcard { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 11px; background: #1e1e1e; border: 1px solid var(--line-2); border-radius: 12px; }
.pl-agent { display: grid; place-items: center; grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; background: #fff; }
.pl-agent img { width: 20px; height: 20px; }
.pl-agentcard b { font-size: 13px; font-weight: 500; }
.pl-agentcard small { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; }

/* Agentes globais (@) */
.pl-at { display: flex; flex-direction: column; gap: 8px; width: 320px; }
.pl-at__menu { display: flex; flex-direction: column; gap: 2px; padding: 6px; background: #1e1e1e; border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 20px 50px -20px #000; }
.pl-at__menu span { display: flex; flex-direction: column; padding: 7px 10px; border-radius: 8px; }
.pl-at__menu span.is-on { background: #2f3644; }
.pl-at__menu b { font: 500 13px var(--mono); color: var(--accent); }
.pl-at__menu small { font-size: 12px; color: var(--muted); }
.pl-at__input { display: flex; align-items: center; gap: 5px; margin: 0; padding: 11px 13px; background: #171717; border: 1px solid var(--line-2); border-radius: 12px; font-size: 14px; color: #cfcfcf; }
.pl-at__input b { font-weight: 400; color: var(--accent); }
.pl-at__input i { width: 1.5px; height: 17px; background: var(--fg); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Terminais e notas */
.pl-ttys { display: grid; gap: 12px; width: 100%; max-width: 360px; }
.pl-ttys .tty:last-child { margin-left: 44px; }
.pl-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; width: 100%; max-width: 400px; }
.pl-notes .note:nth-child(2) { margin-top: 26px; transform: rotate(1.5deg); }
.pl-notes .fold { grid-column: 1 / -1; }

/* Acesso remoto: notebook, ligação e celular */
.rscene { margin: 56px auto 0; max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) 120px 260px; align-items: center; text-align: left; }
.rwin { background: #141414; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: 0 40px 100px -30px #000; }
.rwin__bar { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: #1f4fae; color: #fff; font-size: 12px; }
.rwin__dots { display: flex; gap: 5px; }
.rwin__dots i { width: 8px; height: 8px; border-radius: 50%; background: rgb(255 255 255 / .35); }
.rwin__host { padding: 2px 8px; border-radius: 5px; background: rgb(255 255 255 / .16); font-weight: 500; }
.rwin__count { margin-left: auto; font: 11px var(--mono); opacity: .85; }
.rwin__canvas { display: flex; gap: 24px; align-items: flex-start; min-height: 380px; padding: 28px; background: radial-gradient(circle, #2a2a2a 1px, transparent 1.4px) 0 0 / 22px 22px; }
.rgroup { display: flex; flex-direction: column; gap: 12px; width: 300px; flex: none; padding: 12px; border: 1px dashed #3a3a3a; border-radius: 12px; }
.rgroup__name { margin: 0; font: 11px var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .08em; }
.rfolder { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; }
.rfolder b { font-size: 14px; font-weight: 500; }
.rchat { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 7px; background: #222; color: #cfcfcf; font-size: 13px; }
.rterm { flex: 1; min-width: 0; align-self: flex-end; padding: 12px 14px; background: #0b0b0b; border: 1px solid var(--line-2); border-radius: 10px; font: 12px/1.7 var(--mono); color: #bdbdbd; }
.rterm p { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rterm__ok { color: var(--green); }
.rscene__label { margin: 14px 0 0; font: 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; text-align: center; }
.rlink { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font: 11px/1.4 var(--mono); color: var(--muted); text-align: center; }
.rlink::before { content: ""; position: absolute; top: 18px; left: 0; right: 0; border-top: 1px dashed #555; }
.rlink__lock { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); background: #1a1a1a; }
.rlink__lock svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rphone { width: 260px; padding: 10px; border: 1px solid #3a3a3a; border-radius: 38px; background: #0c0c0c; box-shadow: 0 40px 100px -30px #000; }
.rphone__screen { position: relative; display: flex; flex-direction: column; gap: 12px; min-height: 500px; padding: 44px 14px 14px; border-radius: 30px; background: #151515; }
.rphone__screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: #000; }
.rphone__title { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.rusage { padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: 12px; color: var(--muted); }
.rusage__row { display: flex; justify-content: space-between; }
.rusage__bar { height: 6px; margin-top: 8px; overflow: hidden; border-radius: 3px; background: #2a2a2a; }
.rusage__bar i { display: block; width: 42%; height: 100%; background: var(--green); }
.rtoast { padding: 10px 12px; background: #262626; border: 1px solid #3a3a3a; border-radius: 14px; font-size: 12px; box-shadow: 0 10px 30px -10px #000; }
.rtoast b { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 500; color: var(--muted); }
.rlist { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rlist li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--card); border-radius: 12px; font-size: 13px; }
.rlist small { display: block; color: var(--faint); font-size: 11px; }
.rinput { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 20px; font-size: 13px; color: var(--faint); }
.rinput svg { width: 16px; height: 16px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; }
.remote-feats { margin-top: 56px; }

/* Argus x editor de código */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vs { margin-top: 8px; border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; background: var(--bg-2); }
.vs__table { width: 100%; border-collapse: collapse; font-size: 16px; }
.vs__table th, .vs__table td { padding: 18px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.vs__table tbody tr:last-child th, .vs__table tbody tr:last-child td { border-bottom: 0; }
.vs__table thead th { font: 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 400; background: #131313; }
.vs__table thead th.vs__argus { color: var(--accent); }
.vs__table tbody th { width: 22%; font-weight: 500; color: var(--fg); }
.vs__table td { width: 39%; color: var(--muted); }
.vs__table td:last-child { color: var(--fg); background: rgb(215 117 82 / .05); border-left: 1px solid rgb(215 117 82 / .18); }
.vs__table thead th:last-child { background: rgb(215 117 82 / .08); border-left: 1px solid rgb(215 117 82 / .18); }
.vs__note { margin: 20px 0 0; color: var(--muted); font-size: 15px; }

/* Começar e fim */
.psteps code { padding: 1px 6px; border-radius: 5px; background: #262626; font: 13px var(--mono); }
.outro__os { justify-content: flex-start; margin: 30px 0 0; gap: 28px; font-size: 16px; font-weight: 500; color: var(--muted); }
.outro__os img { width: 18px; height: 18px; }

@media (max-width: 1100px) {
  .app__body { grid-template-columns: 1fr; }
  .app__chat { display: none; }
  .gains { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .rscene { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .rscene__win { width: 100%; }
  .rwin__canvas { flex-direction: column; min-height: 0; padding: 18px; }
  .rgroup { width: 100%; }
  .rterm { align-self: stretch; }
  .rlink { flex-direction: row; }
  .rlink::before { display: none; }
}
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar__art { height: auto; min-height: 260px; }
  .pl-track { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .top { padding-top: 40px; }
  .top__lede { font-size: 17px; }
  .app { margin-top: 44px; }
  .app__bar { grid-template-columns: auto 1fr; }
  .app__dots, .app__title { display: none; }
  .app__usage { justify-content: flex-end; }
  .usage b { display: none; }
  .app__canvas { grid-template-columns: 1fr; padding: 22px 14px 14px; }
  .app__loose .tty { display: none; }
  .app__status { gap: 14px; font-size: 11px; flex-wrap: wrap; }
  .pillar__art { min-height: 220px; padding: 22px 16px; }
  .pillar__body { padding: 22px 20px 24px; }
  .pl-menu, .pl-accounts, .pl-at { width: 100%; }
  .pl-ttys .tty:last-child { margin-left: 0; }
  .vs__table thead { display: none; }
  .vs__table, .vs__table tbody, .vs__table tr, .vs__table th, .vs__table td { display: block; width: auto; }
  .vs__table tr { padding: 18px 16px; border-bottom: 1px solid var(--line); }
  .vs__table tbody tr:last-child { border-bottom: 0; }
  .vs__table th, .vs__table td { padding: 0; border: 0; }
  .vs__table tbody th { margin-bottom: 10px; }
  .vs__table td { margin-top: 8px; padding: 10px 12px; border-radius: 8px; font-size: 15px; }
  .vs__table td::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
  .vs__table td:last-child { border-left: 0; background: rgb(215 117 82 / .08); }
  .vs__table td:last-child::before { color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .rdot--run, .pl-at__input i { animation: none; }
}
