/* =====================================================================
   /servicos/agentes-de-ia/ · estilos só desta página (prefixo ag-).
   A base (lp-*) vem de ../lp.css; tokens e componentes da home, de /styles.css.
   ===================================================================== */

.ag-link { color: var(--tinta); font-weight: 600; text-decoration: underline; text-decoration-color: var(--acento); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; transition: color .2s; }
.ag-link:hover { color: var(--lp-acento-texto); }
.ag-centro { text-align: center; margin-inline: auto; max-width: 52em; }
.lp ::selection { background: var(--acento); color: var(--acento-sobre); }
.ag-url .lp-url__campo span::after { display: none; }
.lp code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* ===== Bolhas de conversa (usadas em várias seções) ===== */
.ag-bolha { max-width: 88%; padding: .65em .95em; font-size: .95em; line-height: 1.45; }
.ag-bolha--cli { justify-self: end; margin-left: auto; border-radius: 1.1em 1.1em .3em 1.1em; background: #fff; color: var(--tinta); box-shadow: 0 .3em .9em -.6em rgb(15 16 20 / .35); }
.ag-bolha--ag { border-radius: 1.1em 1.1em 1.1em .3em; background: var(--tinta); color: #fff; }
.ag-bolha--p { font-size: .9em; max-width: 100%; }

/* =====================================================================
   1. HERO
   ===================================================================== */
.ag-palco { --palco-ar: 1 / .92; }
.ag-t-chat   { --x: 2%;  --y: 3%;  --w: 55%; --rot: -1.5deg; --prof: .5;  --i: 0; }
.ag-t-hora   { --x: 63%; --y: 0%;  --w: 31%; --rot: 3deg;    --prof: 1.6; --i: 1; padding: 1em 1.1em 1.1em; }
.ag-t-bast   { --x: 55%; --y: 27%; --w: 44%; --rot: 1.5deg;  --prof: 1.2; --i: 2; padding: 1em 1.1em 1.1em; }
.ag-t-crm    { --x: 61%; --y: 61%; --w: 37%; --rot: -2deg;   --prof: 1.4; --i: 3; padding: 1em 1.1em 1.1em; }
.ag-t-resumo { --x: 10%; --y: 84%; --w: 56%; --rot: 1deg;    --prof: 1.9; --i: 4; padding: .9em 1em; }

/* Janela de conversa (estilo WhatsApp, sem marca) */
.ag-zap { display: grid; grid-template-rows: auto auto 1fr; background: #F4EFEA; color: var(--tinta); }
.ag-zap__topo { display: flex; align-items: center; gap: .7em; padding: .8em 1em; background: var(--tinta); color: #fff; }
.ag-zap__avatar { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: var(--acento); color: var(--acento-sobre); font-weight: 700; }
.ag-zap__nome { flex: 1; display: grid; min-width: 0; line-height: 1.25; }
.ag-zap__nome b { font-size: .95em; font-weight: 600; }
.ag-zap__nome small { font-size: .74em; color: #A7ACBA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-zap__selo { flex: none; padding: .3em .7em; border-radius: 999px; background: rgb(255 255 255 / .1); font-size: .68em; font-weight: 600; letter-spacing: .02em; color: #fff; }
.ag-zap__corpo {
  display: flex; flex-direction: column; justify-content: flex-end; gap: .55em;
  height: 20.5em; padding: .4em .9em 1.1em; overflow: hidden;
  background-image: radial-gradient(rgb(15 16 20 / .06) 1px, transparent 1.2px); background-size: 1.1em 1.1em;
}
.ag-zap__aviso { display: grid; justify-items: center; gap: .5em; padding: .9em 1.4em .3em; text-align: center; }
.ag-zap__aviso span { padding: .2em .8em; border-radius: .5em; background: #fff; font-size: .72em; font-weight: 600; color: var(--tinta-3); box-shadow: 0 .1em .3em rgb(15 16 20 / .08); }
.ag-zap__aviso p { max-width: 26em; padding: .45em .8em; border-radius: .6em; background: #FFF4D6; font-size: .72em; line-height: 1.35; color: #5C4A1A; }
.ag-msg { position: relative; max-width: 84%; padding: .55em .8em 1.25em; font-size: .9em; line-height: 1.4; }
.ag-msg time { position: absolute; right: .8em; bottom: .35em; font-size: .7em; color: var(--tinta-3); font-variant-numeric: tabular-nums; }
.ag-msg--cli { align-self: flex-end; border-radius: 1.1em 1.1em .3em 1.1em; background: #fff; box-shadow: 0 .25em .7em -.5em rgb(60 30 0 / .35); }
.ag-msg--cli time::after { content: " ✓✓"; color: #4F8BFF; letter-spacing: -.15em; }
.ag-msg--ag { align-self: flex-start; border-radius: 1.1em 1.1em 1.1em .3em; background: var(--tinta); color: #fff; }
.ag-msg--ag time { color: #8D92A1; }
.ag-dig { align-self: flex-start; display: inline-flex; gap: .3em; padding: .75em .9em; border-radius: 1.1em 1.1em 1.1em .3em; background: var(--tinta); }
.ag-dig i { width: .45em; height: .45em; border-radius: 50%; background: #A7ACBA; animation: ag-pula 1s ease-in-out infinite; }
.ag-dig i:nth-child(2) { animation-delay: .15s; } .ag-dig i:nth-child(3) { animation-delay: .3s; }
@keyframes ag-pula { 30% { transform: translateY(-.3em); background: var(--acento); } 60% { transform: none; } }
.ag-zap__sis { align-self: center; display: inline-flex; align-items: center; gap: .45em; padding: .45em .9em; border-radius: 999px; background: var(--acento); color: var(--acento-sobre); font-size: .78em; font-weight: 600; }
.ag-zap__sis svg { width: 1.15em; height: 1.15em; flex: none; }
/* Só aparece o que já "chegou"; o indicador de digitação some quando a resposta entra */
.js .ag-zap__corpo > :not(.on) { display: none; }
.js .ag-zap__corpo > .on { animation: ag-chega .55s var(--mola) both; }
.ag-dig:has(+ .on) { display: none !important; }
@keyframes ag-chega { from { opacity: 0; transform: translateY(.8em) scale(.94); } }

/* Tempo até a primeira resposta */
.ag-t-hora .lp-tela__rotulo { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .7em; }
.ag-t-hora__n { display: flex; align-items: baseline; gap: .15em; margin-top: .3em; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.ag-t-hora__n b { font-size: 3.8em; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--acento); }
.ag-t-hora__n span { font-size: 1.8em; color: #fff; }
.ag-t-hora__l { margin-top: .4em; font-size: .78em; color: #A7ACBA; }

/* Bastidor: ferramentas acionadas */
.ag-t-bast .lp-tela__rotulo { margin-bottom: .7em; }
.ag-ferr { display: grid; gap: .4em; }
.ag-ferr li { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .5em .7em; border-radius: .7em; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06); font-size: .84em; transition: background-color .5s var(--sai), box-shadow .5s var(--sai), opacity .5s; }
.ag-ferr code { font-size: .92em; color: #fff; white-space: nowrap; }
.ag-ferr li > span { color: #8D92A1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-ferr li::before { content: ""; flex: none; order: -1; width: .6em; height: .6em; border-radius: 50%; background: #3A3E4A; transition: background-color .4s, box-shadow .4s; }
.ag-ferr li code { margin-right: auto; }
.js .ag-t-bast .ag-ferr li:not(.on) { opacity: .4; }
.ag-ferr li.on { background: rgb(255 106 43 / .12); box-shadow: inset 0 0 0 1px rgb(255 106 43 / .35); }
.ag-ferr li.on::before { background: var(--acento); box-shadow: 0 0 0 .3em rgb(255 106 43 / .2); }
.ag-ferr li.on > span { color: #FFD3BE; }
.ag-ferr--claro li::before { background: var(--acento); }

/* CRM */
.ag-crm__topo { display: flex; align-items: center; justify-content: space-between; gap: .6em; margin-bottom: .7em; }
.ag-crm__topo b { font-family: var(--f-display); font-size: 1.05em; font-weight: 600; }
.ag-crm__etapa { display: grid; font-size: .74em; font-weight: 600; }
.ag-crm__etapa > span { grid-area: 1 / 1; padding: .3em .8em; border-radius: 999px; text-align: center; transition: opacity .4s var(--sai), transform .5s var(--mola); }
.ag-crm__etapa > span:first-child { background: var(--cinza); color: var(--tinta-2); }
.ag-crm__etapa > span:last-child { background: var(--acento); color: var(--acento-sobre); opacity: 0; transform: scale(.8); }
.ag-crm__etapa.on > span:first-child { opacity: 0; }
.ag-crm__etapa.on > span:last-child { opacity: 1; transform: none; }
html:not(.js) .ag-crm__etapa > span:first-child { opacity: 0; }
html:not(.js) .ag-crm__etapa > span:last-child { opacity: 1; transform: none; }
.ag-crm { display: grid; gap: .35em; }
.ag-crm > div { display: flex; justify-content: space-between; gap: .8em; padding: .45em .65em; border-radius: .6em; background: var(--cinza); font-size: .82em; transition: background-color .5s var(--sai), opacity .5s; }
.ag-crm dt { color: var(--tinta-3); }
.ag-crm dd { font-weight: 600; white-space: nowrap; }
.js .ag-crm > div[data-ag-em]:not(.on) { opacity: .35; }
.js .ag-crm > div[data-ag-em]:not(.on) dd { filter: blur(3px); }
.ag-crm > div.on { background: var(--lp-acento-suave); }

/* Resumo para a equipe */
.js .ag-t-resumo:not(.on) .lp-lead__txt { opacity: .55; }
.ag-t-resumo .lp-lead__txt { transition: opacity .5s var(--sai); }
.ag-t-resumo.on .lp-lead__ico { animation: ag-sacode .7s var(--mola); }
@keyframes ag-sacode { 30% { transform: scale(1.15) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }

.ag-nota-hero { margin: 0 0 4px; text-align: right; }

@media (max-width: 980px) {
  .ag-palco { max-width: 640px; justify-self: center; margin-top: 8px; }
  .ag-nota-hero { text-align: center; }
}
@media (max-width: 640px) {
  .ag-palco { --palco-ar: 1 / 1.8; --palco-div: 32; width: calc(100% + 20px); max-width: none; margin-inline: -10px; }
  .ag-t-chat   { --x: 0%;  --y: 3%;  --w: 67%; --rot: -1deg; }
  .ag-t-hora   { --x: 64%; --y: 1%;  --w: 36%; --rot: 3deg; }
  .ag-t-bast   { --x: 18%; --y: 53%; --w: 82%; --rot: 1.5deg; }
  .ag-t-crm    { --x: 0%;  --y: 72%; --w: 62%; --rot: -2deg; }
  .ag-t-resumo { --x: 22%; --y: 89%; --w: 78%; --rot: 1deg; }
  .ag-zap__corpo { height: 17.5em; }
  .ag-zap__selo { display: none; }
  .ag-t-hora__n b { font-size: 3em; }
}

/* =====================================================================
   2. O DIA DO ATENDIMENTO
   ===================================================================== */
.ag-dia { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.ag-dia__texto { display: grid; gap: 18px; }
.ag-dores { display: grid; gap: 10px; margin-top: 8px; }
.ag-dores li { display: grid; gap: 4px; padding: 16px 18px 16px 52px; position: relative; border-radius: 18px; background: var(--cinza); }
.ag-dores li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-alerta-suave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='5.5' fill='none' stroke='%23C2272D' stroke-width='1.7'/%3E%3Cpath d='M10 7v3.2l2 1.3' fill='none' stroke='%23C2272D' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") center / contain; }
.ag-dores b { font-family: var(--f-display); font-size: 1.05rem; letter-spacing: -0.015em; }
.ag-dores span { font-size: 0.93rem; color: var(--tinta-2); line-height: 1.45; }

.ag-dia__painel { display: grid; gap: 14px; padding: clamp(14px, 2vw, 22px); border-radius: var(--raio-g); background: var(--lp-noite); color: #fff; position: relative; isolation: isolate; overflow: hidden; }
.ag-dia__painel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 80% 0%, rgb(255 106 43 / .16), transparent 70%); opacity: 0; transition: opacity 1s var(--sai); }
.ag-dia[data-estado="agente"] .ag-dia__painel::before { opacity: 1; }
.ag-dia__painel .lp-nota { margin: 0 6px 4px; }

.ag-alterna { display: inline-flex; justify-self: start; gap: 4px; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / .07); }
.ag-alterna__bt { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--lp-texto-noite); font-family: var(--f-display); font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background-color .3s var(--sai), color .3s; }
.ag-alterna__bt:hover { color: #fff; }
.ag-alterna__bt[aria-pressed="true"] { background: #fff; color: var(--tinta); }
.ag-alterna__bt[data-ag-estado="agente"][aria-pressed="true"] { background: var(--acento); color: var(--acento-sobre); }
.ag-alterna__bt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.ag-relogio { padding: clamp(16px, 2vw, 24px); border-radius: 22px; background: var(--lp-noite-2); box-shadow: inset 0 0 0 1px var(--lp-linha); }
.ag-relogio .lp-tela__rotulo { color: #8D92A1; font-size: .72rem; }
.ag-relogio__pista { position: relative; height: 132px; margin-top: 16px; border-radius: 14px; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .06) 0 1px, transparent 1px calc(100% / 24)); box-shadow: inset 0 0 0 1px var(--lp-linha); }
.ag-relogio__equipe, .ag-relogio__agente { position: absolute; top: 0; bottom: 0; display: flex; align-items: flex-start; padding: 7px 9px; font-size: .7rem; font-weight: 600; white-space: nowrap; transition: opacity .7s var(--sai), clip-path 1.1s var(--sai); }
.ag-relogio__equipe { left: calc(8 / 24 * 100%); width: calc(10 / 24 * 100%); background: rgb(255 255 255 / .07); box-shadow: inset 1px 0 rgb(255 255 255 / .2), inset -1px 0 rgb(255 255 255 / .2); color: #D5D8E0; }
.ag-relogio__agente { left: 0; right: 0; border-radius: 14px; background: rgb(255 106 43 / .1); box-shadow: inset 0 0 0 1px rgb(255 106 43 / .4); color: #FFB894; justify-content: flex-end; clip-path: inset(0 100% 0 0); }
.ag-dia[data-estado="agente"] .ag-relogio__agente { clip-path: inset(0); }
.ag-dia[data-estado="agente"] .ag-relogio__equipe { opacity: 0; }
.ag-relogio__pista > i {
  --cor: #E3E5EA;
  position: absolute; left: calc(var(--h) / 24 * 100%); top: 42%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: var(--cor); box-shadow: 0 0 0 3px var(--lp-noite-2);
  transition: background-color .5s var(--sai), transform .6s var(--mola), box-shadow .5s; transition-delay: calc(var(--h) * 28ms);
}
.ag-relogio__pista > i:nth-of-type(3n+2) { top: 60%; }
.ag-relogio__pista > i:nth-of-type(3n) { top: 78%; }
.ag-dia[data-estado="equipe"] .ag-relogio__pista > i[data-t="atraso"] { background: transparent; box-shadow: inset 0 0 0 2.5px #FF9C8A, 0 0 0 3px var(--lp-noite-2); }
.ag-dia[data-estado="equipe"] .ag-relogio__pista > i[data-t="sem"] { background: var(--lp-alerta); animation: ag-alerta 2s ease-out infinite; }
.ag-dia[data-estado="agente"] .ag-relogio__pista > i { background: var(--acento); transform: scale(1.15); }
@keyframes ag-alerta { 0% { box-shadow: 0 0 0 3px var(--lp-noite-2), 0 0 0 3px rgb(229 72 77 / .5); } 70%, 100% { box-shadow: 0 0 0 3px var(--lp-noite-2), 0 0 0 10px rgb(229 72 77 / 0); } }
.ag-relogio__horas { display: flex; justify-content: space-between; margin-top: 8px; font-size: .72rem; color: #8D92A1; font-variant-numeric: tabular-nums; }
.ag-relogio__placar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.ag-placar { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--lp-linha); transition: background-color .5s var(--sai), opacity .5s; }
.ag-placar b { font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ag-placar span { font-size: .8rem; color: var(--lp-texto-noite); line-height: 1.3; }
.ag-placar--ok b { color: #fff; }
.ag-placar--atraso b { color: #FF9C8A; }
.ag-placar--sem b { color: #FF6B70; }
.ag-dia[data-estado="agente"] .ag-placar--ok { background: rgb(255 106 43 / .14); box-shadow: inset 0 0 0 1px rgb(255 106 43 / .4); }
.ag-dia[data-estado="agente"] .ag-placar--ok b { color: var(--acento); }
.ag-dia[data-estado="agente"] .ag-placar--atraso, .ag-dia[data-estado="agente"] .ag-placar--sem { opacity: .5; }
.ag-dia[data-estado="agente"] .ag-placar--atraso b, .ag-dia[data-estado="agente"] .ag-placar--sem b { color: #fff; }
.ag-placar b.ag-pulo { animation: ag-pulo .5s var(--mola); }
@keyframes ag-pulo { 40% { transform: scale(1.18); } }
.ag-relogio__pessoa { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .84rem; color: #D5D8E0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--sai), opacity .5s, margin .6s; }
.ag-relogio__pessoa svg { flex: none; color: var(--acento); }
.ag-dia[data-estado="agente"] .ag-relogio__pessoa { max-height: 4em; opacity: 1; }
.ag-dia[data-estado="equipe"] .ag-relogio__pessoa { margin-top: 0; }
@media (max-width: 980px) { .ag-dia { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .ag-relogio__placar { grid-template-columns: 1fr; }
  .ag-placar { grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .ag-relogio__pista > i { width: 11px; height: 11px; margin-left: -5.5px; }
  .ag-alterna { justify-self: stretch; } .ag-alterna__bt { flex: 1; padding: 0 10px; }
}

/* =====================================================================
   4. O QUE ELE FAZ (abas)
   ===================================================================== */
.ag-usos { margin-top: clamp(28px, 4vw, 48px); }
.ag-usos .lp-abas__paineis { margin-top: 16px; }
.ag-uso { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(14px, 2vw, 20px); padding-left: clamp(22px, 3.4vw, 52px); border-radius: var(--raio-g); background: var(--cinza); }
.ag-uso__texto { display: grid; gap: 14px; align-content: center; padding-block: 16px; }
.ag-uso__texto h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.08; max-width: 16ch; }
.ag-uso__texto > p { color: var(--tinta-2); font-size: 1.02rem; line-height: 1.55; max-width: 34em; }
.ag-uso__texto .lp-chip { background: #fff; }
.ag-mock {
  position: relative; isolation: isolate; overflow: hidden; display: grid; gap: .8em; align-content: center; min-height: 23em;
  padding: clamp(18px, 2.6vw, 34px); border-radius: calc(var(--raio-g) - 8px); background: var(--lp-noite); color: #fff;
  font-size: clamp(13px, 1.05vw, 15px);
}
.ag-mock::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 2.4em 2.4em; }
.ag-mock .lp-tela__rotulo { color: #8D92A1; font-size: .72em; }
.ag-mock .ag-bolha--ag { background: var(--lp-noite-3); box-shadow: inset 0 0 0 1px var(--lp-linha); }
.ag-cita { display: inline-flex; align-items: center; gap: .5em; justify-self: start; padding: .45em .9em .45em .6em; border-radius: 999px; background: var(--acento); color: var(--acento-sobre); font-size: .8em; font-weight: 600; }
.ag-cita svg { width: 1.2em; height: 1.2em; flex: none; }

/* Ficha de qualificação */
.ag-ficha { display: grid; gap: .45em; }
.ag-ficha li { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: .7em .9em; border-radius: .8em; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--lp-linha); font-size: .92em; transition: opacity .5s var(--sai), transform .6s var(--mola), background-color .5s; }
.ag-ficha li > span { color: #8D92A1; }
.ag-ficha li > b { font-weight: 600; text-align: right; }
.ag-ficha__fim { background: rgb(255 106 43 / .12) !important; box-shadow: inset 0 0 0 1px rgb(255 106 43 / .4) !important; }
.ag-ficha .lp-chip { font-size: .82em; }
.js .ag-ficha li:not(.on) { opacity: .25; transform: translateX(.6em); }
.js .ag-ficha li:not(.on) > b { filter: blur(4px); }

/* Agenda */
.ag-semana { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .45em; }
.ag-semana > div { display: grid; gap: .35em; }
.ag-semana small { text-align: center; font-size: .74em; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: #8D92A1; }
.ag-semana i { display: grid; place-items: center; height: 2.6em; border-radius: .6em; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); font-style: normal; }
.ag-semana i.x { background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .05) 0 4px, transparent 4px 8px); box-shadow: none; }
.ag-semana__esc { background: var(--acento) !important; color: var(--acento-sobre); box-shadow: 0 0 0 .3em rgb(255 106 43 / .25) !important; animation: ag-escolhe 3.6s var(--sai) infinite; }
.ag-semana__esc b { font-size: .85em; }
@keyframes ag-escolhe { 0%, 20% { transform: scale(.85); opacity: .3; } 32%, 100% { transform: none; opacity: 1; } }
.ag-confirma { display: flex; align-items: center; gap: .8em; padding: .8em 1em; border-radius: 1em; background: #fff; color: var(--tinta); margin-top: .4em; }
.ag-confirma span:last-child { display: grid; line-height: 1.3; }
.ag-confirma b { font-weight: 600; }
.ag-confirma small { font-size: .82em; color: var(--tinta-3); }

/* Pós-venda */
.ag-pos { display: grid; gap: .45em; position: relative; }
.ag-pos li { display: grid; grid-template-columns: 4.2em 1fr auto; align-items: center; gap: .8em; padding: .7em .9em; border-radius: .8em; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--lp-linha); font-size: .9em; transition: opacity .5s var(--sai), transform .6s var(--mola); }
.ag-pos time { font-size: .78em; font-weight: 600; color: var(--acento); text-transform: uppercase; letter-spacing: .06em; }
.ag-pos li > b { display: grid; place-items: center; min-width: 1.8em; height: 1.8em; border-radius: 50%; background: #fff; color: var(--tinta); font-family: var(--f-display); font-size: .9em; }
.ag-ok { background: var(--acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%231F0A00' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat !important; }
.js .ag-pos li:not(.on) { opacity: .2; transform: translateY(.6em); }

/* Suporte interno */
.ag-int { display: flex; gap: .8em; align-items: flex-start; }
.ag-int__av { flex: none; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: .7em; background: #2E66D6; color: #fff; font-weight: 700; }
.ag-int--ag .ag-int__av { background: var(--acento); color: var(--acento-sobre); }
.ag-int__av svg { width: 1.2em; height: 1.2em; }
.ag-int p { display: grid; gap: .25em; font-size: .92em; line-height: 1.45; }
.ag-int b { font-weight: 600; }
.ag-int span { color: #D5D8E0; }
.ag-int small { justify-self: start; margin-top: .3em; padding: .3em .7em; border-radius: 999px; background: rgb(255 255 255 / .08); font-size: .8em; color: #FFD3BE; }

@media (max-width: 900px) {
  .ag-uso { grid-template-columns: 1fr; align-content: start; padding-left: clamp(14px, 2vw, 20px); }
  .ag-uso__texto { padding: 12px 8px 0; }
  .ag-mock { min-height: 0; }
}
@media (max-width: 640px) {
  .ag-usos .lp-abas__lista { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; border-radius: 22px; }
  .ag-usos .lp-abas__lista::-webkit-scrollbar { display: none; }
  .ag-usos .lp-aba { flex: none; white-space: nowrap; }
}

/* =====================================================================
   5. COMO ELE SABE (camadas)
   ===================================================================== */
.ag-camadas { display: grid; grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1fr) 40px minmax(0, 1.05fr); align-items: stretch; margin-top: clamp(32px, 4vw, 56px); }
.ag-camada { display: flex; flex-direction: column; gap: 12px; padding: clamp(16px, 1.8vw, 24px); border-radius: 24px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--lp-linha); transition: background-color .6s var(--sai), box-shadow .6s var(--sai), transform .7s var(--mola); min-width: 0; }
.ag-camada header { display: flex; align-items: center; gap: 10px; }
.ag-camada h3 { font-size: 1.15rem; color: #fff; }
.ag-camada > p { font-size: .9rem; color: var(--lp-texto-noite); line-height: 1.45; }
.ag-camada__n { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--lp-noite-3); color: #8D92A1; font-family: var(--f-display); font-weight: 600; font-size: .9rem; transition: background-color .5s, color .5s; }
.ag-camada.on { background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 106 43 / .45), 0 24px 50px -30px rgb(255 106 43 / .5); transform: translateY(-4px); }
.ag-camada.on .ag-camada__n { background: var(--acento); color: var(--acento-sobre); }
html:not(.js) .ag-camada__n { background: var(--acento); color: var(--acento-sobre); }
.ag-camada--saida { background: rgb(255 106 43 / .08); }
.ag-camada--saida .ag-bolha { max-width: 100%; font-size: .9rem; background: #fff; color: var(--tinta); border-radius: 1.1em 1.1em 1.1em .3em; }
.ag-docs { display: grid; gap: 6px; margin-top: auto; }
.ag-docs li { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px; background: rgb(255 255 255 / .05); font-size: .82rem; color: #D5D8E0; }
.ag-docs i { flex: none; width: 14px; height: 17px; border-radius: 3px; background: #fff; position: relative; }
.ag-docs i::after { content: ""; position: absolute; left: 3px; right: 3px; top: 5px; height: 6px; background: repeating-linear-gradient(var(--tinta-3) 0 1.5px, transparent 1.5px 3px); }
.ag-docs li::after { content: ""; margin-left: auto; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%231F0A00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; }
.ag-tom { display: grid; gap: 8px; }
.ag-tom__eixo { display: grid; grid-template-columns: 4.4em 1fr 4.4em; align-items: center; gap: 8px; font-size: .74rem; color: #8D92A1; }
.ag-tom__eixo small:last-child { text-align: right; }
.ag-tom__eixo i { position: relative; height: 4px; border-radius: 4px; background: rgb(255 255 255 / .12); }
.ag-tom__eixo i::after { content: ""; position: absolute; top: 50%; left: calc(var(--v) * 100%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 0 4px rgb(255 106 43 / .2); }
.ag-regras { display: grid; gap: 6px; margin-top: auto; }
.ag-regras li { display: flex; gap: 8px; align-items: flex-start; font-size: .84rem; line-height: 1.35; color: #E3E5EA; }
.ag-regras li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: center / contain no-repeat; }
.ag-regras .sim::before { background-color: var(--acento); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%231F0A00' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.ag-regras .nao::before { background-color: var(--lp-alerta); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ag-regras .pessoa::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='7.5' r='2.6' fill='none' stroke='%230F1014' stroke-width='1.7'/%3E%3Cpath d='M5.5 15c.6-2.2 2.3-3.4 4.5-3.4s3.9 1.2 4.5 3.4' fill='none' stroke='%230F1014' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.ag-camada .ag-ferr { margin-top: auto; }
.ag-camada .ag-ferr li { flex-wrap: wrap; row-gap: .1em; font-size: .8rem; }
.ag-camada .ag-ferr li > span { margin-left: auto; }
.ag-camada--saida .ag-bolha--cli { justify-self: end; margin-left: auto; max-width: 92%; font-size: .86rem; border-radius: 1.1em 1.1em .3em 1.1em; background: rgb(255 255 255 / .1); color: #fff; box-shadow: none; }
.ag-camada > p.ag-conferido, .ag-conferido { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; padding: 6px 12px 6px 9px; border-radius: 999px; background: var(--acento); color: var(--acento-sobre); font-size: .78rem; font-weight: 600; }
.ag-conferido svg { flex: none; }
.ag-camada--saida .ag-usou { margin-top: 0; }
.ag-camada--saida .ag-bolha--ag { margin-top: 0; }
.ag-usou { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ag-usou li { padding: 5px 10px; border-radius: 999px; background: rgb(255 255 255 / .08); font-size: .76rem; color: #FFD3BE; }
.ag-usou code { font-size: .95em; }
/* Cano entre as camadas: uma luz corre de uma para a outra */
.ag-cano { position: relative; align-self: center; height: 2px; margin: 0 4px; background: rgb(255 255 255 / .14); border-radius: 2px; }
.ag-cano i { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--acento); box-shadow: 0 0 12px 2px rgb(255 106 43 / .6); opacity: 0; }
.ag-cano.on i { animation: ag-corre 1s var(--sai) forwards; }
.ag-cano.on { background: linear-gradient(90deg, var(--acento), rgb(255 106 43 / .4)); }
@keyframes ag-corre { 0% { left: 0; opacity: 1; } 100% { left: calc(100% - 10px); opacity: 1; } }
@media (max-width: 1100px) {
  .ag-camadas { grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); row-gap: 28px; }
  .ag-camadas > .ag-cano:nth-child(4) { display: none; }
}
@media (max-width: 680px) {
  .ag-camadas { grid-template-columns: 1fr; row-gap: 0; }
  .ag-camadas > .ag-cano:nth-child(4) { display: block; }
  .ag-cano { justify-self: center; width: 2px; height: 28px; margin: 0; }
  .ag-cano.on { background: linear-gradient(var(--acento), rgb(255 106 43 / .4)); }
  .ag-cano i { left: 50% !important; margin-left: -5px; top: 0; margin-top: 0; }
  .ag-cano.on i { animation-name: ag-desce; }
  @keyframes ag-desce { 0% { top: 0; opacity: 1; } 100% { top: calc(100% - 10px); opacity: 1; } }
}

/* =====================================================================
   6. SIMULADOR
   ===================================================================== */
.ag-sim { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 14px; margin-top: clamp(28px, 4vw, 48px); align-items: stretch; }
.ag-sim .ag-sim__perguntas { display: grid; align-content: start; gap: 8px; padding: 0; border-radius: 0; background: none; }
.ag-sim .ag-sim__p {
  min-height: 56px; justify-content: flex-start; text-align: left; padding: 12px 18px 12px 46px; border-radius: 20px 20px 6px 20px;
  background: var(--cinza); color: var(--tinta); font-family: var(--f-corpo); font-weight: 500; font-size: 0.98rem; line-height: 1.3;
  transition: background-color .3s var(--sai), color .3s, transform .4s var(--mola);
}
.ag-sim .ag-sim__p::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--cinza-2); background: #fff; transition: background-color .3s, box-shadow .3s; }
.ag-sim .ag-sim__p:hover { background: var(--cinza-2); transform: translateX(4px); }
.ag-sim .ag-sim__p[aria-selected="true"] { background: var(--tinta); color: #fff; }
.ag-sim .ag-sim__p[aria-selected="true"]::before { background: var(--acento); box-shadow: 0 0 0 4px rgb(255 106 43 / .25); }
.ag-sim .ag-sim__p:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
.ag-sim__audio { display: inline-flex; align-items: center; gap: 8px; }
.ag-sim__paineis { border-radius: var(--raio-g); background: var(--lp-noite); color: #fff; padding: clamp(18px, 2.6vw, 32px); position: relative; isolation: isolate; overflow: hidden; }
.ag-sim__paineis::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .035) 1px, transparent 1px); background-size: 34px 34px; }
.ag-sim__painel { display: grid; grid-template-rows: auto auto; gap: 18px; align-content: start; }
.ag-sim__conversa { display: grid; gap: 10px; padding: clamp(14px, 2vw, 22px); border-radius: 22px; background: #F4EFEA; color: var(--tinta); min-height: 11.5em; align-content: end; }
.ag-sim__conversa .ag-bolha--ag { justify-self: start; }
.ag-bolha--audio { display: flex; align-items: center; gap: 10px; }
.ag-bolha--audio small { font-size: .8em; color: var(--tinta-3); font-variant-numeric: tabular-nums; }
.ag-onda { display: flex; align-items: center; gap: 3px; height: 22px; }
.ag-onda i { width: 3px; border-radius: 3px; background: var(--tinta-3); height: 30%; animation: ag-onda 1.1s ease-in-out infinite; }
.ag-onda i:nth-child(3n) { height: 80%; animation-delay: .2s; } .ag-onda i:nth-child(3n+1) { height: 55%; animation-delay: .4s; } .ag-onda i:nth-child(4n) { height: 100%; animation-delay: .1s; }
@keyframes ag-onda { 50% { transform: scaleY(.45); } }
.ag-transc { justify-self: end; max-width: 88%; font-size: .82rem; font-style: italic; color: var(--tinta-3); text-align: right; }
.ag-sim__tras { display: grid; gap: 8px; counter-reset: tras; }
.ag-sim__tras li { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; align-items: baseline; padding: 12px 16px; border-radius: 14px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px var(--lp-linha); font-size: .92rem; color: #E3E5EA; }
.ag-sim__tras li > b { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8D92A1; }
.ag-sim__tras code { color: var(--acento); font-size: .92em; }
.ag-sim__tras li.ag-sim__ok { background: rgb(255 106 43 / .12); box-shadow: inset 0 0 0 1px rgb(255 106 43 / .4); }
.ag-sim__tras li.ag-sim__ok > b { color: var(--acento); }
.js .ag-sim__painel.on .ag-sim__tras li { animation: ag-tras .6s var(--sai) both; }
.js .ag-sim__painel.on .ag-sim__tras li:nth-child(1) { animation-delay: .9s; }
.js .ag-sim__painel.on .ag-sim__tras li:nth-child(2) { animation-delay: 1.25s; }
.js .ag-sim__painel.on .ag-sim__tras li:nth-child(3) { animation-delay: 1.6s; }
@keyframes ag-tras { from { opacity: 0; transform: translateY(10px); } }
#teste > .lp-nota { margin-top: 16px; }
@media (max-width: 900px) {
  .ag-sim { grid-template-columns: 1fr; }
  .ag-sim .ag-sim__perguntas { display: flex; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .ag-sim .ag-sim__perguntas::-webkit-scrollbar { display: none; }
  .ag-sim .ag-sim__p { flex: none; max-width: 78vw; white-space: nowrap; }
  .ag-sim .ag-sim__p:hover { transform: none; }
}
@media (max-width: 520px) { .ag-sim__tras li { grid-template-columns: 1fr; gap: 2px; } }

/* =====================================================================
   7. BENTO DE CONTROLE
   ===================================================================== */
.ag-barra { display: grid; gap: .6em; }
.ag-barra li { display: grid; gap: .3em; padding: .9em 1em; border-radius: 1em; font-size: .98em; line-height: 1.4; transition: opacity .5s var(--sai), transform .6s var(--mola), filter .5s; }
.ag-barra small { font-size: .72em; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ag-barra__rasc { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); color: #D5D8E0; }
.ag-barra__rasc small { color: #8D92A1; }
.ag-barra__rasc s { text-decoration-color: var(--lp-alerta); text-decoration-thickness: 2px; color: #FF9C8A; }
.ag-barra__flag { display: flex !important; align-items: center; gap: .6em; justify-self: start; padding: .5em .9em !important; border-radius: 999px !important; background: var(--lp-alerta); color: #fff; font-weight: 600; font-size: .86em !important; }
.ag-barra__flag svg { width: 1.3em; height: 1.3em; flex: none; }
.ag-barra__ok { background: #fff; color: var(--tinta); }
.ag-barra__ok small { color: var(--lp-acento-texto); }
.ag-barra__ok code { justify-self: start; margin-top: .2em; padding: .2em .6em; border-radius: 999px; background: var(--lp-acento-suave); color: var(--lp-acento-texto); font-size: .78em; }
.js .ag-barra li:not(.on) { opacity: .15; transform: translateY(.5em); }
.ag-barra__rasc.on ~ .ag-barra__flag.on ~ .ag-barra__ok.on { box-shadow: 0 1.2em 2.4em -1.4em rgb(255 106 43 / .7); }
.js .ag-barra:has(.ag-barra__flag.on) .ag-barra__rasc { filter: saturate(.4); opacity: .55; }

.ag-passa { display: grid; gap: .7em; padding: 1.1em 1.2em; border-radius: 1.2em; background: #fff; color: var(--tinta); box-shadow: 0 1.6em 3em -1.8em rgb(60 20 0 / .7); }
.ag-passa__topo { display: flex; align-items: center; justify-content: space-between; gap: .6em; }
.ag-passa__topo b { font-family: var(--f-display); font-weight: 600; font-size: 1.02em; }
.ag-passa__topo span { padding: .25em .7em; border-radius: 999px; background: var(--tinta); color: var(--acento); font-size: .74em; font-weight: 600; white-space: nowrap; }
.ag-passa dl { display: grid; gap: .3em; }
.ag-passa dl > div { display: grid; grid-template-columns: 5.2em 1fr; gap: .6em; padding: .45em .6em; border-radius: .6em; background: var(--cinza); font-size: .86em; }
.ag-passa dt { color: var(--tinta-3); }
.ag-passa dd { font-weight: 500; }
.ag-passa__bt { justify-self: start; padding: .55em 1em; border-radius: 999px; background: var(--acento); color: var(--acento-sobre); font-weight: 600; font-size: .86em; }

.ag-log { font-size: .82em; }
.ag-log__nota { margin-top: 10px; font-size: .86rem; color: var(--lp-texto-noite); line-height: 1.45; }

.ag-nunca { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px 40px; align-items: center; }
.ag-nunca__txt { display: grid; gap: 10px; }
.ag-nunca__lista { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ag-nunca__lista li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--cinza); font-size: .92rem; font-weight: 500; line-height: 1.3; }
.ag-nunca__lista li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lp-alerta-suave) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l6 6M13 7l-6 6' fill='none' stroke='%23C2272D' stroke-width='1.9' stroke-linecap='round'/%3E%3C/svg%3E") center / contain; }
@media (max-width: 900px) { .ag-nunca { grid-template-columns: 1fr; } .ag-nunca__lista { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ag-nunca__lista { grid-template-columns: 1fr; } }

/* =====================================================================
   8. CANAIS E SISTEMAS (hub)
   ===================================================================== */
.ag-hub { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr); align-items: center; padding: clamp(20px, 3vw, 36px); border-radius: var(--raio-g); background: var(--lp-noite); color: #fff; overflow: hidden; isolation: isolate; }
.ag-hub::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 50% at 50% 50%, rgb(255 106 43 / .18), transparent 70%); }
.ag-hub__col { display: grid; gap: 10px; position: relative; z-index: 1; }
.ag-hub__rot { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8D92A1; }
.ag-no { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--lp-noite-3); box-shadow: inset 0 0 0 1px var(--lp-linha); min-width: 0; }
.ag-no svg { grid-row: span 2; width: 22px; height: 22px; color: #8D92A1; }
.ag-no b { font-size: .92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-no small { font-size: .74rem; color: #8D92A1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-hub__col--sist .ag-no { grid-template-columns: 1fr; }
.ag-no--forte { background: #fff; color: var(--tinta); box-shadow: 0 16px 30px -18px rgb(0 0 0 / .8); }
.ag-no--forte svg { color: var(--acento); }
.ag-no--forte small { color: var(--lp-acento-texto); font-weight: 600; }
.ag-hub__centro { position: relative; align-self: stretch; display: grid; place-items: center; min-height: 300px; }
.ag-hub__fios { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ag-hub__fios path { fill: none; stroke: rgb(255 255 255 / .16); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.visto .ag-hub__fios path { stroke: rgb(255 106 43 / .7); stroke-dasharray: 4 6; animation: ag-fio 1.4s linear infinite; }
.visto .ag-hub__fios path:nth-child(3), .visto .ag-hub__fios path:nth-child(4) { stroke: rgb(255 106 43 / .35); }
@keyframes ag-fio { to { stroke-dashoffset: -20; } }
.ag-hub__agente { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; padding: 18px 16px; border-radius: 26px; background: var(--acento); color: var(--acento-sobre); box-shadow: 0 0 0 10px rgb(255 106 43 / .14), 0 24px 40px -20px rgb(255 106 43 / .8); animation: ag-respira 3.2s ease-in-out infinite; }
.ag-hub__agente svg { width: 28px; height: 28px; }
.ag-hub__agente b { font-family: var(--f-display); font-size: 1rem; }
@keyframes ag-respira { 50% { box-shadow: 0 0 0 18px rgb(255 106 43 / .06), 0 24px 40px -20px rgb(255 106 43 / .8); } }
#canais > .lp-nota { margin-top: 18px; }
@media (max-width: 640px) {
  .ag-hub { grid-template-columns: 1fr; gap: 14px; }
  .ag-hub__col { grid-template-columns: 1fr 1fr; }
  .ag-hub__rot { grid-column: 1 / -1; }
  .ag-hub__centro { min-height: 96px; }
  .ag-hub__fios { display: none; }
  .ag-hub__centro::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: repeating-linear-gradient(var(--acento) 0 5px, transparent 5px 10px); opacity: .7; }
  .ag-no small { white-space: normal; }
}

/* =====================================================================
   9. PROCESSO (7 etapas)
   ===================================================================== */
.ag-etapas { gap: 0 clamp(10px, 1.4vw, 20px); }
.ag-etapas .lp-etapa h3 { font-size: clamp(1.05rem, .95rem + .35vw, 1.25rem); }
.ag-etapas .lp-etapa p { font-size: .88rem; }

/* =====================================================================
   10. QUALIDADE
   ===================================================================== */
.ag-qual__grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 14px; margin-top: clamp(32px, 4vw, 56px); align-items: stretch; }
.ag-prova { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.2vw, 28px); border-radius: 26px; background: #fff; color: var(--tinta); }
.ag-prova .lp-tela__rotulo { font-size: .72rem; }
.ag-prova__lista { display: grid; gap: 6px; }
.ag-prova__lista li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--cinza); font-size: .9rem; transition: opacity .4s var(--sai), transform .5s var(--mola); }
.ag-prova__lista li::before { content: ""; grid-row: span 2; width: 20px; height: 20px; border-radius: 50%; background: var(--acento) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%231F0A00' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain; }
.ag-prova__lista li[data-r="ajuste"] { background: var(--lp-alerta-suave); }
.ag-prova__lista li[data-r="ajuste"]::before { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5.5v5.5M10 14v.4' fill='none' stroke='%23C2272D' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain; box-shadow: inset 0 0 0 1.5px #C2272D; }
.ag-prova__lista em { font-style: normal; font-size: .78rem; font-weight: 600; color: #B42318; }
.js .ag-prova__lista li:not(.on) { opacity: 0; transform: translateX(-10px); }
.ag-prova__placar { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--cinza-2); }
.ag-prova__placar b { font-family: var(--f-display); font-size: 2.4rem; font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ag-prova__placar span { font-size: .88rem; color: var(--tinta-2); }

.ag-painel { display: grid; gap: 16px; padding: clamp(18px, 2.2vw, 28px); border-radius: 26px; background: var(--lp-noite-2); box-shadow: inset 0 0 0 1px var(--lp-linha); }
.ag-painel .lp-tela__rotulo { font-size: .72rem; color: #8D92A1; }
.ag-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.ag-kpis > div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgb(255 255 255 / .04); box-shadow: inset 0 0 0 1px var(--lp-linha); }
.ag-kpis small { font-size: .74rem; color: #8D92A1; line-height: 1.25; }
.ag-kpis b { font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ag-kpis > div:first-child b { color: var(--acento); }
.ag-horas__rot, .ag-revisar__rot { font-size: .8rem; font-weight: 600; color: #D5D8E0; margin-bottom: 10px; }
.ag-horas__barras { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; align-items: end; height: 110px; }
.ag-horas__barras i { height: calc(var(--v) * 100%); min-height: 3px; border-radius: 3px 3px 1px 1px; background: #3A3E4A; transform-origin: bottom; transform: scaleY(0); transition: transform 1s var(--mola); }
.ag-horas__barras i.fora { background: var(--acento); }
.ag-horas__barras i:nth-child(n) { transition-delay: calc(var(--k-b, 0) * 1ms); }
.visto .ag-horas__barras i, html:not(.js) .ag-horas__barras i { transform: none; }
.ag-horas__eixo { display: flex; justify-content: space-between; margin-top: 6px; font-size: .7rem; color: #8D92A1; font-variant-numeric: tabular-nums; }
.ag-horas__leg { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .78rem; color: var(--lp-texto-noite); }
.ag-horas__leg i { width: 10px; height: 10px; border-radius: 3px; background: var(--acento); }
.ag-revisar ul { display: grid; gap: 6px; }
.ag-revisar li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / .04); font-size: .86rem; color: #D5D8E0; }
.ag-revisar .lp-chip { font-size: .72rem; padding: 4px 10px; }
@media (max-width: 980px) { .ag-qual__grade { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .ag-kpis { grid-template-columns: 1fr 1fr; } .ag-horas__barras { gap: 2px; height: 90px; } }

/* =====================================================================
   11. PARA QUEM
   ===================================================================== */
.ag-segs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 4vw, 48px); }
.ag-seg { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--raio); background: var(--cinza); min-width: 0; transition: background-color .35s var(--sai), color .35s, transform .5s var(--sai); }
.ag-seg h3 { font-size: 1.08rem; }
.ag-seg__q { align-self: flex-end; max-width: 92%; padding: 9px 12px; border-radius: 16px 16px 4px 16px; background: #fff; font-size: .86rem; line-height: 1.35; color: var(--tinta); box-shadow: 0 6px 14px -10px rgb(15 16 20 / .4); }
.ag-seg__a { position: relative; margin-top: auto; padding: 10px 12px 10px 36px; border-radius: 16px 16px 16px 4px; background: var(--tinta); color: #E3E5EA; font-size: .84rem; line-height: 1.4; transition: background-color .35s, color .35s; }
.ag-seg__a::before { content: ""; position: absolute; left: 11px; top: 11px; width: 16px; height: 16px; background: var(--acento); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l1.9 5.1 5.1 1.9-5.1 1.9L12 17.5l-1.9-5.1L5 10.5l5.1-1.9z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5l1.9 5.1 5.1 1.9-5.1 1.9L12 17.5l-1.9-5.1L5 10.5l5.1-1.9z'/%3E%3C/svg%3E") center / contain no-repeat; }
.ag-seg:hover { background: var(--tinta); color: #fff; transform: translateY(-4px); }
.ag-seg:hover .ag-seg__a { background: var(--acento); color: var(--acento-sobre); }
.ag-seg:hover .ag-seg__a::before { background: var(--acento-sobre); }
.ag-sinais { margin-top: clamp(40px, 5vw, 64px); }
.ag-sinais h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); }
@media (max-width: 1080px) { .ag-segs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ag-segs { grid-template-columns: 1fr; } }

/* ===== CTA final ===== */
.ag-selo-escuro { background: rgb(31 10 0 / .1); border-color: rgb(31 10 0 / .22); color: var(--acento-sobre); }
.lp-bloco-acento .contato__lista { margin-top: 4px; }
.lp-bloco-acento .contato__lista li::before { background-color: var(--tinta); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-7' fill='none' stroke='%23FF6A2B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ===== Movimento reduzido: tudo no estado final ===== */
@media (prefers-reduced-motion: reduce) {
  .js .ag-zap__corpo > .on, .ag-t-resumo.on .lp-lead__ico { animation: none; }
  .ag-dig, .ag-dig i, .ag-onda i, .ag-semana__esc, .ag-hub__agente, .visto .ag-hub__fios path, .ag-relogio__pista > i { animation: none !important; }
  .js .ag-ficha li:not(.on), .js .ag-pos li:not(.on), .js .ag-barra li:not(.on), .js .ag-prova__lista li:not(.on) { opacity: 1 !important; transform: none !important; }
  .js .ag-ficha li:not(.on) > b { filter: none; }
  .js .ag-sim__painel.on .ag-sim__tras li { animation: none; }
  .ag-horas__barras i { transform: none !important; }
  .ag-cano.on i { animation: none; }
  .ag-relogio__pista > i { transition: none; }
}

/* Resposta "chegando" nos painéis de abas: sem digitação via JS (o texto continua no DOM para o i18n) */
.ag-escreve { display: inline-block; }
.js .lp-abas__painel.on .ag-escreve { animation: ag-texto .8s var(--sai) .45s both; }
@keyframes ag-texto { from { opacity: 0; filter: blur(6px); transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .js .lp-abas__painel.on .ag-escreve { animation: none; } }
#conteudo :is(h2, h3) { text-wrap: balance; }
.ag-alterna__bt, .ag-sim__p { touch-action: manipulation; }
