/* Página: Agentes de IA — mesma linguagem da home: hero com fita (wop-hero.css), etiquetas mono,
   títulos em dois tons, navegação guiada com troca automática, banner escuro e fita no CTA. */
.page-agentes { background: #fff; }
.js-wa-icon svg { width: 20px; height: 20px; display: block; }

/* ===== Estrutura das seções (grade igual à da home: linha vertical à esquerda) ===== */
.ags { position: relative; padding: 110px 0; overflow-x: clip; }
.ags::before { content: ""; position: absolute; top: 0; bottom: 0; left: var(--frame); border-left: 1px solid var(--line); pointer-events: none; }
.ags__inner { position: relative; padding: 0 var(--frame) 0 calc(var(--frame) + 14px); max-width: 1440px; margin: 0 auto; }
.agp, .agw, .agq { background: #f8f9fc; }

.ags__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.ags__eyebrow i { width: 8px; height: 8px; border-radius: 2px; background: var(--brand-500); }
.ags__eyebrow--dark { color: #b9bdf0; }
.ags__eyebrow--dark i { background: var(--brand-400); }
.ags__title { max-width: 980px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: -.025em; font-weight: 400; color: var(--ink-2); }
.ags__strong { color: var(--ink); }
.ags__title--dark { color: #8f95c9; }
.ags__title--dark .ags__strong { color: #fff; }
.ags__lead { max-width: 620px; margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
/* palavras do título entram com máscara (JS) */
.ags__w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .1em; margin-bottom: -.1em; }
.ags__w > span { display: inline-block; }

/* ===== HERO (classes .hero__* vêm de wop-hero.css) ===== */
.agh { min-height: 780px; }
.agh .hero__content { max-width: calc(var(--content-left) + 700px); }
.agh__visual { position: absolute; z-index: 1; top: calc(var(--nav-h) + 8px); right: max(calc(var(--frame) + 10px), 4vw); width: 560px; height: 720px; }
@media (min-width: 961px) and (max-width: 1279px) {
  .agh .hero__content { max-width: calc(100% - 420px); }
  .agh__visual { right: 0; transform: scale(.82); transform-origin: 100% 0; }
}
.agh__scene { position: relative; width: 100%; height: 100%; perspective: 1400px; }

/* órbita dos 4 agentes (posição de cada cabeça calculada no JS a cada quadro) */
.agh__orbit { position: absolute; inset: 0; pointer-events: none; }
.agh__ring { position: absolute; left: 50%; top: 50%; width: 560px; height: 170px; margin: -85px 0 0 -280px; border-radius: 50%;
  border: 1.5px dashed rgba(59,43,255,.28); transform: rotate(-9deg); }
.agh__orb { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; will-change: transform;
  filter: drop-shadow(0 16px 18px rgba(11,16,51,.22)); }

/* objetos voxel flutuando em volta (paralaxe com o mouse) */
.agh__obj { position: absolute; z-index: 3; pointer-events: none; filter: drop-shadow(0 18px 20px rgba(11,16,51,.18)); will-change: transform; }
.agh__obj--moon { left: 18px; top: 28px; width: 96px; height: 96px; z-index: 0; }
.agh__obj--bell { right: 34px; top: 92px; width: 86px; height: 86px; z-index: 0; }
.agh__obj--bubble { left: 2px; top: 300px; width: 104px; height: 104px; }
.agh__obj--coins { right: 0; bottom: 96px; width: 110px; height: 110px; }

/* celular */
.ag-phone {
  position: absolute; z-index: 2; left: 50%; top: 44px; width: 300px; margin-left: -150px; padding: 10px; border-radius: 46px; background: #0b1033;
  box-shadow: 0 60px 100px -36px rgba(11,16,51,.6), 0 0 0 1px rgba(255,255,255,.06) inset, inset 0 0 0 1.5px #2a2f55, 0 0 0 8px rgba(59,43,255,.06);
  transform-style: preserve-3d;
}
.ag-phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); border-radius: 14px; background: #0b1033; z-index: 2; }
.ag-phone__screen { position: relative; height: 600px; border-radius: 37px; overflow: hidden; display: flex; flex-direction: column;
  background: radial-gradient(rgba(59,43,255,.07) 1px, transparent 1.2px) 0 0 / 14px 14px, linear-gradient(180deg, #f6f5ff, #eeedfb); }
.ag-phone__glare { position: absolute; inset: 10px; z-index: 3; border-radius: 37px; pointer-events: none; mix-blend-mode: soft-light;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.75) 48%, transparent 60%) 120% 0 / 260% 100% no-repeat; }
.ag-chat__head { display: flex; align-items: center; gap: 10px; padding: 52px 14px 12px; background: rgba(255,255,255,.86); backdrop-filter: blur(8px); border-bottom: 1px solid #e7e5f6; }
.ag-chat__head b { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); }
.ag-chat__head em { font: 600 9px/1 "JetBrains Mono", monospace; font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-500); padding: 4px 6px; border-radius: 5px; background: var(--brand-50); }
.ag-chat__head small { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 11.5px; color: #15803d; transition: color .3s; }
.ag-chat__head small i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; transition: background .3s; }
.ag-chat__head small.is-busy { color: var(--brand-500); }
.ag-chat__head small.is-busy i { background: var(--brand-500); animation: ag-blink .9s infinite; }
.ag-chat__avatar { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #ecebff, #d9d5ff); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(59,43,255,.3); }
.ag-chat__avatar img { width: 38px; height: 38px; margin-top: 4px; }
.ag-chat__body { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden;
  mask-image: linear-gradient(180deg, transparent, #000 34px); -webkit-mask-image: linear-gradient(180deg, transparent, #000 34px); }
.ag-msg { flex: none; max-width: 84%; padding: 8px 11px; border-radius: 14px 14px 14px 4px; background: #fff; font-size: 12.5px; line-height: 1.45; color: var(--ink); box-shadow: 0 6px 16px -10px rgba(11,16,51,.3); transform-origin: 0 100%; }
.ag-msg--out { align-self: flex-end; border-radius: 14px 14px 4px 14px; color: #fff; background: linear-gradient(135deg, #3b2bff, #6a5cff); box-shadow: 0 10px 20px -10px rgba(59,43,255,.6); transform-origin: 100% 100%; }
.ag-msg time { display: block; text-align: right; font-size: 10px; color: #8696a0; margin-top: 2px; }
.ag-msg--out time { color: rgba(255,255,255,.7); }
.ag-msg__prod { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding: 7px; border-radius: 9px; background: #fff; color: var(--ink); }
.ag-msg__prod i { width: 38px; height: 38px; border-radius: 7px; background: radial-gradient(circle at 50% 38%, #fff 0 22%, transparent 23%), linear-gradient(160deg, #fde68a, #f59e0b); flex: none; }
.ag-msg__prod b { display: block; font-size: 11.5px; }
.ag-msg__prod small { font-size: 10.5px; color: var(--ink-2); }
.ag-sys { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.9);
  box-shadow: 0 0 0 1px rgba(59,43,255,.16); font: 500 10.5px/1 "JetBrains Mono", monospace; color: var(--brand-500); white-space: nowrap; }
.ag-sys i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--brand-200); border-top-color: var(--brand-500); animation: ag-spin .7s linear infinite; }
.ag-sys.is-done i { animation: none; border: 0; background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ag-typing { flex: none; align-self: flex-end; display: inline-flex; gap: 4px; padding: 10px 12px; border-radius: 14px 14px 4px 14px; background: linear-gradient(135deg, #3b2bff, #6a5cff); }
.ag-typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ag-blink 1.1s infinite; }
.ag-typing i:nth-child(2) { animation-delay: .15s; } .ag-typing i:nth-child(3) { animation-delay: .3s; }
.ag-chat__foot { display: flex; align-items: center; gap: 8px; padding: 10px 12px 18px; }
.ag-chat__foot span { flex: 1; height: 36px; border-radius: 999px; background: #fff; display: flex; align-items: center; padding: 0 14px; font-size: 12.5px; color: #8696a0; box-shadow: 0 0 0 1px #e7e5f6; }
.ag-chat__foot i { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat; }
@keyframes ag-blink { 50% { opacity: .25; } }
@keyframes ag-spin { to { transform: rotate(360deg); } }

/* painel de vidro "enquanto você dormia" */
.agh__live { position: absolute; z-index: 4; left: -64px; bottom: 74px; display: grid; grid-template-columns: repeat(3, auto); column-gap: 20px; row-gap: 10px; padding: 14px 18px 16px;
  border-radius: 16px; background: rgba(255,255,255,.78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 30px 60px -28px rgba(11,16,51,.45), 0 0 0 1px rgba(255,255,255,.7) inset, 0 0 0 1px rgba(11,16,51,.06); }
.agh__live-k { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font: 500 10.5px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.agh__live-k i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; animation: agp-pulse-g 1.8s ease-in-out infinite; }
.agh__live b { display: block; font-size: 26px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.agh__live small { font-size: 11.5px; color: var(--ink-2); }
@keyframes agp-pulse-g { 50% { box-shadow: 0 0 0 7px rgba(34,197,94,.12); } }

/* notificações que chegam empilhadas ao lado do celular */
.agh__toasts { position: absolute; z-index: 4; right: -46px; top: 196px; width: 250px; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.agh__toast { display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; background: rgba(255,255,255,.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 22px 44px -22px rgba(11,16,51,.45), 0 0 0 1px rgba(11,16,51,.06); }
.agh__toast img { width: 40px; height: 40px; flex: none; border-radius: 10px; background: #f3f2ff; }
.agh__toast b { display: block; font-size: 13px; color: var(--ink); }
.agh__toast small { display: block; font-size: 11.5px; color: var(--ink-2); }

/* ===== Faixa de ações (letreiro contínuo entre duas linhas, como a faixa de logos) ===== */
.agt { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.agt__track { display: flex; width: max-content; animation: agt-move 48s linear infinite; }
.agt:hover .agt__track { animation-play-state: paused; }
.agt__set { display: flex; flex: none; }
.agt__set > span { display: inline-flex; align-items: center; gap: 12px; padding: 20px 34px; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; border-right: 1px solid var(--line); }
.agt__head { width: 44px; height: 44px; margin: -8px -2px -8px -10px; animation: agt-bob 3.2s ease-in-out infinite; }
.agt__set > span:nth-child(2n) .agt__head { animation-delay: -1.1s; }
.agt__set > span:nth-child(3n) .agt__head { animation-delay: -2.2s; }
@keyframes agt-bob { 50% { transform: translateY(-3px) rotate(-4deg); } }
.agt__set b { font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .04em; color: var(--brand-500); padding: 5px 8px; border-radius: 6px; background: var(--brand-50); }
@keyframes agt-move { to { transform: translateX(-50%); } }

/* ===== DOR ===== */
.agp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.agp__card { position: relative; display: flex; flex-direction: column; padding: 0 0 30px; overflow: hidden; background: #fff; border: 1px solid #eceef4; border-radius: 12px;
  transition: border-color .4s, box-shadow .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) {
  .agp__card:hover { border-color: var(--brand-200); transform: translateY(-6px); box-shadow: 0 40px 70px -40px rgba(59,43,255,.45); }
}
.agp__card > :not(.agp__vis):not(.deck__shade) { margin-left: 26px; margin-right: 26px; }
.agp__tag { align-self: flex-start; margin-top: 26px; margin-bottom: 14px; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .04em; color: #b42318; padding: 5px 8px; border-radius: 6px; background: #fdecea; }
.agp__card h3 { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.02em; font-weight: 400; color: var(--ink); }
.agp__card p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* palco da cena voxel: grade de pontos, brilho que segue o mouse e cartões em camadas */
.agp__vis { --mx: 50%; --my: 60%; position: relative; height: 300px; overflow: hidden; border-bottom: 1px solid #eceef4;
  background: radial-gradient(rgba(59,43,255,.1) 1px, transparent 1.2px) 0 0 / 16px 16px, radial-gradient(70% 80% at 50% 70%, rgba(123,108,255,.2), transparent 70%), linear-gradient(180deg, #fbfbff, #f1f0fe); }
.agp__glow { position: absolute; left: var(--mx); top: var(--my); width: 320px; height: 320px; margin: -160px 0 0 -160px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(123,108,255,.35), transparent 65%); opacity: 0; transition: opacity .5s; }
.agp__card:hover .agp__glow { opacity: 1; }
.agp__idx { position: absolute; left: 20px; bottom: 16px; font: 500 11px/1 "JetBrains Mono", monospace; letter-spacing: .06em; color: var(--muted); }
.agp__scene { position: absolute; left: 50%; top: 50%; width: 230px; height: 230px; margin: -112px 0 0 -115px; pointer-events: none; will-change: transform;
  filter: drop-shadow(0 26px 22px rgba(11,16,51,.2)); }
.agp__chip { position: absolute; z-index: 2; border-radius: 12px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 36px -18px rgba(11,16,51,.4), 0 0 0 1px rgba(11,16,51,.05); color: var(--ink); will-change: transform; }
/* perda: aparece de tempos em tempos (JS) */
.agp__lost { top: 18px; right: 16px; display: grid; gap: 2px; padding: 9px 12px; background: #fff5f4; box-shadow: 0 18px 36px -18px rgba(180,35,24,.45), 0 0 0 1px #f9cfcb;
  font-size: 11.5px; color: #b42318; opacity: 0; visibility: hidden; }
.agp__lost b { font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
/* 1 · mensagem sem resposta */
.agp__bubble { top: 22px; left: 18px; max-width: 180px; padding: 9px 12px; border-radius: 14px 14px 14px 4px; font-size: 12.5px; line-height: 1.4; }
.agp__bubble time { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 3px; font-size: 10.5px; color: #8696a0; }
.agp__bubble time i { width: 12px; height: 7px; border: solid #a5b0b8; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-2px); }
.agp__wait { right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 12px; color: var(--ink-2); box-shadow: 0 18px 36px -18px rgba(11,16,51,.4), 0 0 0 1px #f3d0cc; }
.agp__wait i { width: 7px; height: 7px; border-radius: 50%; background: #e5484d; animation: agp-pulse 1.6s ease-in-out infinite; }
.agp__wait b { font: 500 12px/1 "JetBrains Mono", monospace; color: #b42318; font-variant-numeric: tabular-nums; }
@keyframes agp-pulse { 50% { box-shadow: 0 0 0 6px rgba(229,72,77,.15); } }
/* 2 · orçamento esquecido */
.agp__doc { top: 22px; left: 18px; display: grid; gap: 3px; padding: 12px 14px; }
.agp__doc span { font: 500 10.5px/1.2 "JetBrains Mono", monospace; color: var(--muted); }
.agp__doc b { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.agp__doc em { display: flex; align-items: center; font-style: normal; font-size: 11.5px; color: #2563eb; }
.agp__doc em i { width: 10px; height: 6px; margin-right: -3px; border: solid #3b82f6; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg) translateY(-2px); }
.agp__doc em i + i { margin-right: 6px; }
.agp__days { right: 16px; bottom: 16px; display: flex; align-items: baseline; gap: 6px; padding: 9px 13px; font-size: 11.5px; color: var(--ink-2); }
.agp__days b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: #b42318; font-variant-numeric: tabular-nums; }
/* 3 · digitação manual */
.agp__row { top: 22px; left: 18px; display: flex; align-items: center; gap: 12px; min-width: 190px; height: 38px; padding: 0 12px; font-size: 12.5px; box-shadow: 0 18px 36px -18px rgba(11,16,51,.4), inset 0 0 0 1.5px var(--brand-300); }
.agp__row span:first-child { font: 500 11.5px/1 "JetBrains Mono", monospace; color: var(--muted); }
.agp__clock { right: 16px; bottom: 16px; display: grid; gap: 3px; padding: 9px 13px; font-size: 11.5px; color: var(--ink-2); }
.agp__clock b { font: 600 20px/1 "JetBrains Mono", monospace; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.js-typing::after { content: ""; display: inline-block; width: 1.5px; height: 13px; margin-left: 1px; vertical-align: -2px; background: var(--brand-500); animation: agp-caret 1s steps(1) infinite; }
@keyframes agp-caret { 50% { opacity: 0; } }

/* ===== OS 4 AGENTES ===== */
.agf__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); gap: 56px; align-items: start; margin-top: 56px; }
.agf__list-wrap { list-style: none; }
.agf__item { position: relative; border-bottom: 1px solid var(--line); }
.agf__item:first-child { border-top: 1px solid var(--line); }
.agf__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--brand-500); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; opacity: 0; transition: opacity .3s; }
.agf__item.is-active::after { opacity: 1; }
.agf__btn { display: flex; align-items: baseline; gap: 18px; width: 100%; padding: 22px 0; border: 0; background: none; text-align: left; cursor: pointer; color: var(--muted); transition: color .4s; }
.agf__btn:hover { color: var(--ink-2); }
.agf__btn:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }
.agf__btn { align-items: center; }
.agf__head { flex: none; width: 40px; height: 40px; margin: -8px -6px -8px -4px; opacity: .55; filter: saturate(.3); transform: scale(.9); transition: opacity .4s, filter .4s, transform .6s cubic-bezier(.34,1.56,.64,1); }
.agf__btn:hover .agf__head { opacity: .85; filter: none; }
.agf__item.is-active .agf__head { opacity: 1; filter: none; transform: scale(1.12) rotate(-6deg); }
.agf__num { flex: none; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .06em; transition: color .4s; }
.agf__title { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.25; letter-spacing: -.02em; }
.agf__item.is-active .agf__btn { color: var(--ink); }
.agf__item.is-active .agf__num { color: var(--brand-500); }
.agf__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.2,.8,.2,1); }
.agf__body > div { overflow: hidden; padding-left: 36px; }
.agf__item.is-active .agf__body { grid-template-rows: 1fr; }
.agf__body > div > * { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s cubic-bezier(.2,.8,.2,1); }
.agf__item.is-active .agf__body > div > * { opacity: 1; transform: none; transition-delay: .15s; }
.agf__body p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); max-width: 460px; }
.agf__list { list-style: none; display: grid; gap: 8px; padding-bottom: 22px; }
.agf__list li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.agf__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: var(--brand-50); box-shadow: inset 0 0 0 1px var(--brand-200); }
.agf__list li::after { content: ""; position: absolute; left: 5px; top: 7px; width: 5px; height: 3px; border: solid var(--brand-500); border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.agf__thumb, .agf__case, .deck__dots { display: none; }

/* palco */
.agf__stage { position: sticky; top: 100px; height: 600px; border-radius: 14px; overflow: hidden; isolation: isolate; background: linear-gradient(180deg, #f3f2ff, #f6f9fc 70%); box-shadow: inset 0 0 0 1px #eceef4; }
.agf__glow { position: absolute; inset: 35% -15% -25% -15%; z-index: -1; filter: blur(40px); opacity: .8; animation: glow-drift 14s ease-in-out infinite alternate;
  background: radial-gradient(45% 55% at 25% 70%, rgba(123,108,255,.7), transparent 70%), radial-gradient(45% 50% at 80% 85%, rgba(59,43,255,.55), transparent 70%), radial-gradient(60% 45% at 55% 40%, rgba(111,140,255,.45), transparent 70%); }
@keyframes glow-drift { 50% { transform: translate3d(3%, -2%, 0) scale(1.04); } 100% { transform: translate3d(-2%, 2%, 0) scale(.98); } }
.agf__count { position: absolute; right: 16px; top: 14px; z-index: 6; padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.9); box-shadow: 0 0 0 1px rgba(11,16,51,.06); font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .06em; color: var(--muted); }
.agf__count b { color: var(--brand-500); font-weight: 500; }
.agf__scene { position: absolute; inset: 0; visibility: hidden; opacity: 0; }
.agf__scene.is-in { visibility: visible; opacity: 1; }
.agf__win { position: absolute; left: 7%; right: 7%; top: 12%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -30px rgba(11,16,51,.45), 0 0 0 1px rgba(11,16,51,.06); }
.agf__bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #f6f7fb; border-bottom: 1px solid var(--line); }
.agf__bar b { width: 8px; height: 8px; border-radius: 50%; background: #d9dce6; }
.agf__bar span { margin: 0 auto; padding: 3px 14px; border-radius: 999px; background: #fff; font: 500 11px/1.4 "JetBrains Mono", monospace; color: var(--ink-2); }
.agf__win img { display: block; width: 100%; height: auto; aspect-ratio: 1400 / 830; object-fit: cover; object-position: top; transform-origin: 50% 0; }
.agf__who { position: absolute; left: 7%; top: 4.6%; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.95);
  box-shadow: 0 0 0 1px rgba(11,16,51,.06); font: 500 12px/1 "JetBrains Mono", monospace; color: var(--ink); }
.agf__who i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.agf__avatar { position: absolute; right: 2.5%; top: 8%; z-index: 3; width: clamp(96px, 10vw, 140px); height: auto; filter: drop-shadow(0 18px 24px rgba(11,16,51,.28)); }
.agf__stats { position: absolute; left: 4%; right: 4%; bottom: 5%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.agf__stat { padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); box-shadow: 0 20px 40px -20px rgba(11,16,51,.4), 0 0 0 1px rgba(11,16,51,.05); }
.agf__stat b, .agf__nums b { display: block; font-size: clamp(20px, 1.8vw, 26px); font-weight: 600; letter-spacing: -.02em; color: var(--brand-600); font-variant-numeric: tabular-nums; white-space: nowrap; }
.agf__stat small, .agf__nums small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.35; color: var(--ink-2); }

/* ===== ANTES E DEPOIS (banner escuro) ===== */
.agc { padding-top: 40px; }
.agc__banner { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: 56px; padding: 64px 56px; border-radius: 10px; background: #070a24; }
.agc__glow { position: absolute; inset: -30% -10% -30% 30%; z-index: -1; filter: blur(50px); opacity: .55; animation: glow-drift 16s ease-in-out infinite alternate;
  background: radial-gradient(40% 50% at 30% 40%, rgba(59,43,255,.8), transparent 70%), radial-gradient(40% 45% at 80% 70%, rgba(123,108,255,.6), transparent 70%); }
.agc__lead { max-width: 340px; margin-top: 22px; font-size: 16px; line-height: 1.6; color: #8f95c9; }
.agc__table { align-self: center; }
.agc__head { display: flex; flex-direction: column; }
/* ilustração voxel que preenche a coluna da esquerda */
.agc__art { position: relative; flex: 1; min-height: 300px; margin-top: 28px; display: grid; place-items: center; }
.agc__halo { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,108,255,.45), rgba(59,43,255,.12) 45%, transparent 70%); }
.agc__halo::before, .agc__halo::after { content: ""; position: absolute; inset: 16%; border-radius: 50%; border: 1px dashed rgba(167,158,255,.35); animation: agc-spin 40s linear infinite; }
.agc__halo::after { inset: -2%; border-style: solid; border-color: rgba(167,158,255,.12); animation-duration: 70s; animation-direction: reverse; }
@keyframes agc-spin { to { transform: rotate(360deg); } }
.agc__art img { position: relative; width: min(300px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); will-change: transform; }
.agc__pill { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 500 11.5px/1 "JetBrains Mono", monospace; color: #dcd8ff; }
.agc__pill i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.agc__pill--a { left: 0; top: 18%; }
.agc__pill--b { right: 0; bottom: 14%; }
.agc__row { display: grid; grid-template-columns: 1fr 1fr 1.15fr; align-items: center; border-top: 1px solid rgba(255,255,255,.09); }
.agc__row > span { padding: 17px 14px; font-size: 15px; line-height: 1.4; }
.agc__row > span:first-child { padding-left: 0; color: #fff; font-weight: 600; }
.agc__row > span:nth-child(2) { color: #7c82b6; }
.agc__row > span:last-child { display: flex; align-items: center; gap: 10px; color: #fff; }
.agc__row > span:last-child i { position: relative; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-500); box-shadow: 0 0 0 4px rgba(59,43,255,.25); }
.agc__row > span:last-child i::after { content: ""; position: absolute; left: 5px; top: 5.5px; width: 6px; height: 3.5px; border: solid #fff; border-width: 0 0 1.6px 1.6px; transform: rotate(-45deg); }
.agc__row--head { border-top: 0; }
.agc__row--head > span { padding-top: 0; font: 500 11.5px/1 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: #7c82b6 !important; }
.agc__row--head > span:last-child { color: var(--brand-300) !important; }
/* risco que se desenha no "Hoje" quando a linha entra */
.agc s { text-decoration: none; background: linear-gradient(#7c82b6, #7c82b6) 0 58% / 0% 1px no-repeat; transition: background-size .9s cubic-bezier(.65,0,.35,1) .35s; }
.agc__row.is-in s { background-size: 100% 1px; }

/* ===== COMO FUNCIONA (trilho) ===== */
.agw__track { position: relative; margin-top: 64px; }
.agw__rail { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.agw__rail i { position: absolute; inset: 0; background: var(--brand-500); transform: scaleX(0); transform-origin: 0 50%; }
.agw__steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.agw__steps li { position: relative; padding-top: 40px; }
.agw__dot { position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px #cfd3df; transition: box-shadow .4s, background .4s; }
.agw__steps li.is-on .agw__dot { background: var(--brand-500); box-shadow: inset 0 0 0 1.5px var(--brand-500), 0 0 0 5px var(--brand-100); }
.agw__n { display: block; margin-bottom: 14px; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .06em; color: var(--muted); transition: color .4s; }
.agw__steps li.is-on .agw__n { color: var(--brand-500); }
.agw__steps h3 { font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -.02em; font-weight: 400; color: var(--ink); }
.agw__steps p { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.agw__note { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.agw__note b { color: var(--ink); font-weight: 600; }

/* ===== CONFIANÇA (grade com linhas, sem cards) ===== */
.agg__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 56px; }
/* imagem voxel num painel com grade de pontos, etiquetas flutuando em camadas */
.agg__art { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 16px; border: 1px solid #eceef4;
  background: radial-gradient(rgba(59,43,255,.1) 1px, transparent 1.2px) 0 0 / 18px 18px, radial-gradient(60% 70% at 50% 60%, rgba(123,108,255,.25), transparent 70%), linear-gradient(180deg, #fbfbff, #efeefe); }
.agg__art img { position: absolute; inset: 4% 4% 2%; width: 92%; height: 94%; object-fit: contain; filter: drop-shadow(0 30px 30px rgba(11,16,51,.18)); will-change: transform; }
.agg__tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: #fff; white-space: nowrap;
  box-shadow: 0 14px 30px -16px rgba(11,16,51,.4), 0 0 0 1px rgba(11,16,51,.06); font: 500 11.5px/1 "JetBrains Mono", monospace; color: var(--ink); will-change: transform; }
.agg__tag i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px #dcfce7; }
.agg__tag--a { left: 14%; bottom: 12%; }
.agg__tag--b { left: 6%; top: 10%; }
.agg__tag--c { left: 62%; top: 7%; }
.agg__tag--d { right: 4%; bottom: 22%; }
.agg__grid { display: grid; grid-template-columns: 1fr 1fr; }
.agg__item { padding: 26px 24px 28px; border-top: 1px solid var(--line); transition: background .3s; }
.agg__item:nth-child(odd) { padding-left: 0; }
.agg__item:nth-child(even) { border-left: 1px solid var(--line); }
.agg__item:nth-child(n+3) { border-bottom: 1px solid var(--line); }
.agg__item:hover { background: linear-gradient(180deg, var(--brand-50), transparent); }
.agg__item i { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 10px; background: var(--brand-50); color: var(--brand-500); transition: background .3s, color .3s; }
.agg__item:hover i { background: var(--brand-500); color: #fff; }
.agg__item i svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.agg__item h3 { font-size: 18px; letter-spacing: -.015em; font-weight: 500; color: var(--ink); }
.agg__item p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }

/* ===== FAQ ===== */
.agq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.agq__head { position: sticky; top: 110px; }
.agq__list { border-top: 1px solid var(--line); }
.agq details { border-bottom: 1px solid var(--line); }
.agq summary { position: relative; list-style: none; cursor: pointer; padding: 24px 48px 24px 0; font-size: 18px; line-height: 1.35; letter-spacing: -.015em; color: var(--ink); transition: color .2s; }
.agq summary::-webkit-details-marker { display: none; }
.agq summary:hover { color: var(--brand-500); }
.agq summary::before, .agq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1.6px; background: currentColor; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.agq summary::after { transform: rotate(90deg); }
.agq details[open] summary::after { transform: rotate(0); }
.agq details > div { overflow: hidden; }
.agq details p { padding: 0 48px 26px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }

/* ===== CTA FINAL ===== */
.agx { padding-top: 40px; }
.agx__box { position: relative; overflow: hidden; isolation: isolate; padding: 80px 56px 64px; border-radius: 10px; background: #0b1033; }
.agx__ribbon { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .95; }
.agx__title { max-width: 760px; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.15; letter-spacing: -.025em; font-weight: 400; color: #8f95c9; }
.agx__title .ags__strong { color: #fff; }
.agx__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.agx__btn { background: #fff; color: var(--brand-600); }
.agx__btn:hover { background: var(--brand-50); }
.agx__ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.agx__ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.agx__box small { display: block; margin-top: 18px; font-size: 13px; color: #8f95c9; }

/* ===== Tablet / celular ===== */
@media (max-width: 960px) {
  .agh { min-height: 0; }
  .agh .hero__content { max-width: none; }
  .agh__visual { position: relative; top: auto; right: auto; width: min(100%, 520px); height: 700px; margin: 40px auto 0; }
  .agh__live { left: 0; }
  .agh__toasts { right: 0; }
  /* cards do problema: baralho infinito automático (sem depender da rolagem) */
  .agp, .agf { overflow-x: clip; }
  .agp__grid.is-deck { display: block; position: relative; }
  /* no baralho: sem desfoque nem transição de hover (deixa a troca leve) */
  .is-deck .agp__chip, .is-deck .agp__card { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .is-deck .agp__chip { background: #fff; }
  .is-deck .agp__lost { background: #fff5f4; }
  .is-deck .agp__glow { display: none; }
  .is-deck .agp__card { position: absolute; left: 0; right: 0; top: 0; transform-origin: 50% 100%; touch-action: pan-y; user-select: none; will-change: transform; box-shadow: 0 18px 40px -24px rgba(11,16,51,.35); }
  .agf__grid { grid-template-columns: 1fr; }
  .agf__stage { display: none; }
  /* no celular os 4 agentes ficam abertos, um embaixo do outro, com a tela e os números */
  .agf__item::after { display: none; }
  .agf__btn { cursor: default; color: var(--ink); padding: 26px 0 14px; }
  .agf__head { opacity: 1; filter: none; transform: scale(1.1); }
  .agf__num { color: var(--brand-500); }
  .agf__body { grid-template-rows: 1fr; }
  .agf__body > div { padding-left: 0; }
  .agf__body > div > * { opacity: 1; transform: none; }
  .agf__thumb { display: block; margin: 0 0 14px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 24px 50px -28px rgba(11,16,51,.45), 0 0 0 1px rgba(11,16,51,.06); }
  .agf__thumb img { width: 100%; height: auto; border-radius: 7px; }
  .agf__case { display: block; padding-bottom: 28px; }
  /* baralho infinito (igual às Soluções no celular): um card em cima do outro, o da frente sai e vai para o fundo */
  .agf__list-wrap.is-deck { position: relative; }
  .is-deck .agf__item { position: absolute; left: 0; right: 0; top: 0; padding: 0 20px; border: 1px solid #eceef4; border-radius: 10px; background: #fff;
    transform-origin: 50% 100%; touch-action: pan-y; user-select: none; will-change: transform; box-shadow: 0 18px 40px -24px rgba(11,16,51,.35); }
  .is-deck .agf__item:first-child { border-top: 1px solid #eceef4; }
  .is-deck .agf__btn { padding: 22px 0 12px; pointer-events: none; }
  .is-deck .agf__list { display: none; }
  .is-deck .agf__case { padding-bottom: 22px; }
  .deck__shade { position: absolute; inset: 0; z-index: 5; border-radius: inherit; background: #0b1033; opacity: 0; pointer-events: none; }
  .deck__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .deck__dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--brand-200); transition: width .3s, background .3s; }
  .deck__dots i.is-active { width: 22px; background: var(--brand-500); }
  .agf__case > span { display: block; font: 500 12px/1.4 "JetBrains Mono", monospace; color: var(--ink-2); }
  .agf__case > span b { color: var(--ink); font-weight: 500; }
  .agf__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
  .agc__banner { grid-template-columns: 1fr; gap: 36px; }
  .agw__steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .agw__rail { display: none; }
  .agg__layout { grid-template-columns: 1fr; gap: 28px; }
  .agq__grid { grid-template-columns: 1fr; gap: 32px; }
  .agq__head { position: static; }
}
@media (max-width: 760px) {
  .ags { padding: 72px 0; }
  .ags::before { display: none; }
  .ags__eyebrow { margin-bottom: 18px; }
  .ags__title, .agx__title { font-size: 27px; line-height: 1.16; }
  .ags__lead { font-size: 16px; }
  .agh__visual { height: 620px; margin-top: 28px; }
  .ag-phone { width: 260px; margin-left: -130px; top: 30px; border-radius: 42px; }
  .ag-phone__screen { height: 530px; border-radius: 33px; }
  .ag-phone__glare { border-radius: 33px; }
  .agh__ring { width: 380px; height: 120px; margin: -60px 0 0 -190px; }
  .agh__orb { width: 60px; height: 60px; margin: -30px 0 0 -30px; }
  .agh__obj--moon { width: 64px; height: 64px; left: 0; top: 10px; }
  .agh__obj--bell { width: 60px; height: 60px; right: 0; top: 70px; }
  .agh__obj--bubble { width: 70px; height: 70px; left: -6px; top: 250px; }
  .agh__obj--coins { width: 74px; height: 74px; right: -6px; bottom: 120px; }
  .agh__live { left: -4px; bottom: 6px; column-gap: 14px; padding: 12px 14px; }
  .agh__live b { font-size: 21px; }
  /* no celular as notificações descem do topo da tela, como no iOS */
  .agh__toasts { left: 50%; right: auto; top: 40px; width: 240px; margin-left: -120px; }
  .agh__toast { padding: 7px 11px 7px 7px; }
  .agh__toast img { width: 34px; height: 34px; }
  .agh__toast b { font-size: 12px; }
  .agt__set > span { padding: 16px 24px; font-size: 13.5px; }
  .agp__grid, .agf__grid, .agw__track, .agg__grid { margin-top: 36px; }
  .agp__vis { height: 260px; }
  .agp__scene { width: 190px; height: 190px; margin: -92px 0 0 -95px; }
  .agf__nums { grid-template-columns: 1fr 1fr; }
  .agc__banner { padding: 32px 20px 22px; border-radius: 10px; }
  /* tabela compacta: rótulo pequeno em cima, "hoje" e "com agentes" lado a lado */
  .agc__banner { gap: 20px; }
  .agc__lead { font-size: 15px; margin-top: 14px; }
  .agc__art { min-height: 0; height: 190px; margin-top: 10px; }
  .agc__art img { width: 180px; }
  .agc__halo { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
  .agc__pill { padding: 6px 10px; font-size: 10.5px; }
  .agc__pill--a { top: 8%; }
  .agc__pill--b { bottom: 6%; }
  .agc__row { grid-template-columns: 1fr 1.15fr; column-gap: 14px; padding: 12px 0; }
  .agc__row > span { padding: 0; font-size: 13.5px; }
  .agc__row > span:first-child { grid-column: 1 / -1; margin-bottom: 6px; font: 500 10.5px/1.2 "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-300); }
  .agc__row > span:nth-child(2) { font-size: 13px; }
  .agc__row > span:last-child { gap: 8px; }
  .agc__row > span:last-child i { width: 16px; height: 16px; box-shadow: 0 0 0 3px rgba(59,43,255,.25); }
  .agc__row > span:last-child i::after { left: 4.5px; top: 5px; }
  .agc__row--head { display: none; }
  .agw__steps { grid-template-columns: 1fr; row-gap: 36px; }
  .agw__steps li { padding: 0 0 0 34px; }
  .agw__dot { top: 3px; }
  .agw__note { margin-top: 40px; }
  /* garantias no celular: imagem em cima e a lista compacta (ícone ao lado do texto) */
  .agg__layout { margin-top: 32px; gap: 8px; }
  .agg__art { aspect-ratio: 4 / 3; border-radius: 12px; }
  .agg__art img { inset: 10% 2% 4%; width: 96%; height: 86%; }
  .agg__tag { padding: 6px 9px; font-size: 10px; }
  .agg__grid { grid-template-columns: 1fr; }
  .agg__item, .agg__item:nth-child(odd), .agg__item:nth-child(even) { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; padding: 16px 0; border-left: 0; border-bottom: 0; }
  .agg__item:last-child { border-bottom: 1px solid var(--line); }
  .agg__item:first-child { border-top: 0; }
  .agg__item i { grid-row: span 2; width: 36px; height: 36px; margin: 0; }
  .agg__item h3 { font-size: 16px; }
  .agg__item p { margin-top: 4px; font-size: 13.5px; line-height: 1.5; }
  .agq summary { font-size: 16.5px; padding: 20px 40px 20px 0; }
  .agq details p { padding-right: 0; }
  .agx__box { padding: 120px 20px 40px; }
  .agx__actions .btn { width: 100%; }
}
