/* Página de demonstração do robô (robo.html), parte de cima: abertura, ramos, celulares.
   As seções de baixo (planilha, corrida, calculadora, painel, monte) estão em robo-secoes.css. */
:root { --ramo: #ff5b2e; }
.robo-pagina { position: relative; overflow-x: hidden; padding-bottom: 0; transition: background-color 0.8s var(--suave); }
.robo-pagina [hidden] { display: none !important; }

/* Luz de cinema */
.robo-luz {
  position: absolute; inset: 0 0 auto; height: 1900px; pointer-events: none; z-index: -1;
  background:
    radial-gradient(640px 460px at 28% 46%, rgba(34, 195, 94, 0.14), transparent 70%),
    radial-gradient(600px 460px at 74% 48%, color-mix(in srgb, var(--ramo) 18%, transparent), transparent 70%),
    radial-gradient(900px 500px at 50% 0%, rgba(243, 240, 234, 0.06), transparent 70%);
  transition: opacity 0.8s;
}

.robo-topo {
  position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  max-width: var(--largura); margin: 0 auto; padding: 20px 16px;
}
.robo-voltar { font-size: 15px; font-weight: 600; text-decoration: none; color: var(--nevoa); white-space: nowrap; }
.robo-voltar:hover { color: var(--creme); }
.robo-selo {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--nevoa-2); color: var(--nevoa);
}
.robo-selo i { width: 7px; height: 7px; border-radius: 50%; background: var(--zap); animation: pulsar 2s infinite; }

/* 1. Abertura com bolhas */
.robo-abertura {
  position: relative; max-width: 860px; margin: 0 auto; padding: 72px 16px 40px; text-align: center;
  min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.robo-abertura > :not(.bolhas) { position: relative; z-index: 1; }
.robo-abertura h1 { margin: 0; font-size: clamp(44px, 7.4vw, 88px); }
/* 09/11: o sobretítulo entrou no h1; 32 px = os 18 dele + os 14 que o h1 tinha em cima */
.robo-abertura h1 > .sobretitulo { margin-bottom: 32px; }
.robo-abertura h1 em { color: var(--creme); }
.robo-intro { margin: 24px auto 0; max-width: 580px; color: var(--nevoa); font-size: 18px; line-height: 1.5; }
.robo-descer {
  margin-top: 30px; display: inline-flex; gap: 10px; align-items: center; padding: 14px 24px; border-radius: 999px;
  background: var(--creme); color: var(--tinta); font-weight: 700; text-decoration: none;
  box-shadow: 0 16px 40px -14px rgba(243, 240, 234, 0.45); transition: transform 0.2s var(--suave);
}
.robo-descer:hover { transform: translateY(-2px); }
.robo-descer span { display: inline-block; animation: descer 1.6s infinite; }

.bolhas {
  --p: 0; position: absolute; top: 0; bottom: 0; left: 50%; width: min(1240px, 100vw); transform: translateX(-50%);
  pointer-events: none; z-index: 0;
}
.bolhas span {
  position: absolute; left: var(--x); top: var(--y); padding: 9px 13px; border-radius: 14px 14px 14px 4px;
  background: #202c33; color: #e9edef; font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  opacity: calc(0.92 - var(--p) * 0.92);
  transform: translate(calc(var(--dx) * var(--p)), calc(var(--dy) * var(--p))) scale(calc(1 - var(--p) * 0.55));
  animation: flutuar 6s ease-in-out infinite; animation-delay: var(--atraso);
}
.bolhas span:nth-child(even) { background: #005c4b; border-radius: 14px 14px 4px 14px; }
.bolhas span:nth-child(1) { --x: 3%; --y: 14%; --dx: 38vw; --dy: 70vh; --atraso: 0s; }
.bolhas span:nth-child(2) { --x: 82%; --y: 10%; --dx: -34vw; --dy: 72vh; --atraso: -1s; }
.bolhas span:nth-child(3) { --x: 6%; --y: 44%; --dx: 36vw; --dy: 50vh; --atraso: -2s; }
.bolhas span:nth-child(4) { --x: 86%; --y: 40%; --dx: -38vw; --dy: 52vh; --atraso: -3s; }
.bolhas span:nth-child(5) { --x: 1%; --y: 74%; --dx: 40vw; --dy: 26vh; --atraso: -4s; }
.bolhas span:nth-child(6) { --x: 80%; --y: 70%; --dx: -32vw; --dy: 28vh; --atraso: -5s; }
.bolhas span:nth-child(7) { --x: 14%; --y: 92%; --dx: 30vw; --dy: 10vh; --atraso: -1.5s; }
.bolhas span:nth-child(8) { --x: 74%; --y: 92%; --dx: -26vw; --dy: 10vh; --atraso: -2.5s; }
.bolhas span:nth-child(9) { --x: 18%; --y: 2%; --dx: 28vw; --dy: 86vh; --atraso: -3.5s; }
.bolhas span:nth-child(10) { --x: 66%; --y: 1%; --dx: -18vw; --dy: 88vh; --atraso: -4.5s; }

/* 2. Controles */
.robo-controles {
  scroll-margin-top: 16px; max-width: 980px; margin: 0 auto; padding: 8px 16px 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px;
}
.ramos { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--nevoa-2); }
.ramos button {
  font: 600 14px var(--sans); color: var(--nevoa); background: transparent; border: 0; border-radius: 999px;
  padding: 9px 15px; cursor: pointer; transition: background 0.25s, color 0.25s;
}
.ramos button:hover { color: var(--creme); }
.ramos button[aria-checked='true'] { background: var(--cor-chip); color: #111; box-shadow: 0 6px 20px -6px var(--cor-chip); }
/* Abas dos 3 robôs */
.robos-abas { flex-basis: 100%; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }
.robos-abas button {
  font: 600 16px var(--sans); color: var(--nevoa); background: transparent; cursor: pointer;
  border: 1px solid var(--nevoa-2); border-radius: 14px; padding: 12px 22px; transition: all 0.25s var(--suave);
}
.robos-abas button:hover { color: var(--creme); border-color: rgba(243, 240, 234, 0.35); }
.robos-abas button[aria-selected='true'] { background: var(--creme); color: var(--tinta); border-color: var(--creme); box-shadow: 0 10px 30px -12px rgba(243, 240, 234, 0.5); }
.aparelho figcaption b { font-weight: 600; }
/* O Ponto não tem concorrente nem "3 da manhã" */
.robo-ponto .noite-botao, .robo-ponto .concorrente, .robo-posvenda .concorrente, .robo-recrutamento .concorrente { display: none; }

.noite-botao {
  display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--sans); color: var(--creme);
  background: #1b2233; border: 1px solid #2d3a57; border-radius: 999px; padding: 11px 16px; cursor: pointer;
}
.noite-botao b { font-weight: 600; }
.noite-lua { display: none; }
.noite .noite-sol { display: none; }
.noite .noite-lua { display: inline; color: #ffe08a; }

.noite-faixa {
  max-width: 640px; margin: 0 auto; padding: 0 16px; text-align: center; color: #b9c6ff; font-size: 15px;
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s var(--suave), opacity 0.6s, margin 0.6s;
}
.noite .noite-faixa { max-height: 80px; opacity: 1; margin-top: 18px; }

/* Modo 3 da manhã */
.robo-pagina.noite { background-color: #070a14; }
.noite .robo-luz {
  background:
    radial-gradient(520px 380px at 70% 8%, rgba(160, 180, 255, 0.16), transparent 70%),
    radial-gradient(700px 480px at 30% 48%, rgba(60, 90, 200, 0.16), transparent 70%),
    radial-gradient(600px 460px at 74% 50%, color-mix(in srgb, var(--ramo) 12%, transparent), transparent 70%);
}
.noite .celular-bloqueio { background: radial-gradient(120% 70% at 30% 0%, #1c2550 0%, transparent 60%), linear-gradient(180deg, #0b0f1f, #05070e); }

/* 3. Palco */
.robo-palco {
  max-width: 980px; margin: 0 auto; padding: 36px 16px 24px;
  display: grid; grid-template-columns: 1fr 90px 1fr; align-items: start; justify-items: center;
}
.aparelho { margin: 0; width: 100%; max-width: 360px; display: grid; gap: 16px; justify-items: center; }
.aparelho figcaption, .passo { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--nevoa); }
.aparelho figcaption span, .passo span {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font: 400 17px var(--serifa); background: var(--creme); color: var(--tinta);
}

.inclina, .inclina-leve {
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.35s ease-out; will-change: transform;
}

.celular {
  position: relative; width: 100%; height: 660px; max-height: 80vh;
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 46px; padding: 10px; background: #0b141a;
  box-shadow:
    0 0 0 2px #2c2c31, 0 0 0 10px #111114, 0 0 0 11px #3a3a40,
    0 40px 90px -20px rgba(0, 0, 0, 0.8), 0 20px 40px rgba(0, 0, 0, 0.4);
}
.celular-ilha {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 5;
  width: 96px; height: 28px; border-radius: 20px; background: #000;
}

/* WhatsApp do cliente */
.zap-topo {
  display: flex; align-items: center; gap: 10px; padding: 46px 12px 10px;
  margin: -10px -10px 0; background: #1f2c34; border-bottom: 1px solid #222e35;
}
.zap-voltar { font-size: 28px; line-height: 1; color: #53bdeb; margin-right: -2px; }
.zap-avatar {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--ramo); color: #0b141a; transition: background 0.4s;
}
.zap-avatar svg { width: 21px; height: 21px; }
.zap-nome strong { display: flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 600; }
.zap-verificado {
  display: grid; place-items: center; width: 15px; height: 15px; border-radius: 50%;
  background: var(--zap); color: #0b141a; font-size: 10px; font-weight: 800;
}
.zap-status { font-size: 12.5px; color: #8696a0; }
.zap-status.digitando { color: var(--zap); }

.zap-conversa {
  flex: 1; overflow-y: auto; list-style: none; margin: 0 -10px; padding: 14px 14px 8px;
  display: flex; flex-direction: column; gap: 4px; scrollbar-width: none;
  background-color: #0b141a;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.035' stroke-width='1.4'%3E%3Ccircle cx='14' cy='16' r='5'/%3E%3Cpath d='M50 10l6 6-6 6-6-6z'/%3E%3Cpath d='M18 52c4-6 10-6 14 0'/%3E%3Crect x='52' y='48' width='12' height='12' rx='3'/%3E%3C/g%3E%3C/svg%3E");
}
.zap-conversa::-webkit-scrollbar { display: none; }
.zap-dia { align-self: center; margin: 4px 0 10px; padding: 5px 12px; border-radius: 8px; background: #182229; color: #8696a0; font-size: 12px; font-weight: 500; }
.balao {
  position: relative; max-width: 84%; padding: 7px 9px 6px 10px; border-radius: 9px;
  font-size: 14.5px; line-height: 1.38; color: #e9edef; animation: entrar 0.28s var(--suave);
  box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.3);
}
.balao p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.balao time { display: block; text-align: right; font-size: 10.5px; color: rgba(233, 237, 239, 0.55); margin-top: 1px; }
.balao-robo { align-self: flex-start; background: #202c33; border-top-left-radius: 0; margin-top: 6px; }
.balao-eu { align-self: flex-end; background: #005c4b; border-top-right-radius: 0; margin-top: 6px; }
.balao-eu time { color: rgba(233, 237, 239, 0.7); }
.balao-eu time b { color: #53bdeb; font-weight: 400; }
.balao-robo::before, .balao-eu::before { content: ''; position: absolute; top: 0; width: 8px; height: 10px; }
.balao-robo::before { left: -7px; background: #202c33; clip-path: polygon(100% 0, 0 0, 100% 100%); }
.balao-eu::before { right: -7px; background: #005c4b; clip-path: polygon(0 0, 100% 0, 0 100%); }
.balao-robo + .balao-robo, .balao-eu + .balao-eu { border-radius: 9px; margin-top: 0; }
.balao-robo + .balao-robo::before, .balao-eu + .balao-eu::before { display: none; }

.balao-digitando { display: flex; gap: 4px; padding: 12px 14px; }
.balao-digitando span { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: pular 1.1s infinite; }
.balao-digitando span:nth-child(2) { animation-delay: 0.15s; }
.balao-digitando span:nth-child(3) { animation-delay: 0.3s; }

/* Áudio e foto */
.balao-audio { min-width: 230px; }
.audio-linha { display: flex; align-items: center; gap: 9px; padding: 3px 0 2px; }
.audio-play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); font-size: 11px; flex: none; }
.audio-onda { flex: 1; height: 26px; display: flex; align-items: center; gap: 2px; }
.audio-onda i { flex: 1; border-radius: 2px; background: rgba(233, 237, 239, 0.55); animation: onda 1.4s ease-in-out infinite; }
.audio-onda i:nth-child(3n) { animation-delay: -0.4s; }
.audio-onda i:nth-child(3n + 1) { animation-delay: -0.8s; }
.audio-linha small { font-size: 11px; color: rgba(233, 237, 239, 0.75); }
.audio-texto { margin-top: 4px !important; padding-top: 5px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; font-style: italic; color: rgba(233, 237, 239, 0.8); }
.balao-foto { padding: 4px 4px 5px; }
.foto-imagem {
  width: 210px; height: 150px; border-radius: 7px; display: grid; place-items: center; font-size: 66px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 55%), linear-gradient(140deg, #4b3a2c, #1d2a24);
}
.balao-foto p { padding: 4px 6px 0; font-size: 13.5px; }
.balao-foto time { padding-right: 6px; }

.fotos-folha {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 18px 16px 26px;
  background: #1f2c34; border-radius: 24px 24px 0 0; box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.5);
  animation: subir 0.35s var(--suave);
}
.fotos-folha p { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #e9edef; }
.fotos-lista { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.foto-opcao {
  display: grid; gap: 6px; justify-items: center; padding: 12px 6px 10px; border-radius: 14px; cursor: pointer;
  border: 1px solid #2a3942; background: linear-gradient(160deg, #2a3942, #17222a); color: #e9edef; font: inherit;
  transition: transform 0.15s, border-color 0.15s;
}
.foto-opcao:hover { transform: translateY(-2px); border-color: var(--ramo); }
.foto-opcao span { font-size: 36px; line-height: 1; }
.foto-opcao small { font-size: 11.5px; color: #aebac1; text-align: center; }
.fotos-fechar { margin-top: 12px; width: 100%; padding: 10px; border-radius: 12px; border: 0; background: transparent; color: #53bdeb; font: 600 14px var(--sans); cursor: pointer; }

.zap-opcoes {
  display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth;
  padding: 6px 12px 10px; background: #0b141a;
}
.pode-dir .zap-opcoes { -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.pode-esq .zap-opcoes { -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); mask-image: linear-gradient(90deg, transparent, #000 22%); }
.pode-esq.pode-dir .zap-opcoes { -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(90deg, transparent, #000 22%, #000 78%, transparent); }
.zap-opcoes::-webkit-scrollbar { display: none; }
.zap-opcoes:empty { display: none; }
.zap-opcoes button {
  flex: none; font: 600 13.5px var(--sans); color: #53bdeb; background: #1f2c34; border: 1px solid #2a3942;
  border-radius: 999px; padding: 8px 13px; cursor: pointer; animation: entrar 0.3s var(--suave);
  transition: background 0.15s, transform 0.15s;
}
.zap-opcoes button:hover { background: #2a3942; transform: translateY(-1px); }

.zap-escrever { display: flex; gap: 8px; align-items: center; margin: 0 -10px -10px; padding: 8px 10px 22px; background: #0b141a; }
.zap-campo { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; background: #1f2c34; border-radius: 999px; padding-left: 4px; min-height: 44px; }
.zap-anexo { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: 50%; background: transparent; color: #8696a0; cursor: pointer; }
.zap-anexo:hover { color: #e9edef; }
.zap-anexo svg { width: 21px; height: 21px; transform: rotate(-35deg); }
.zap-campo input { flex: 1; min-width: 0; font: 400 15px var(--sans); color: #e9edef; background: transparent; border: 0; padding: 11px 14px 11px 4px; outline: none; }
.gravando { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 14px 0 4px; font-size: 13px; color: #e9edef; white-space: nowrap; }
.gravando i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; flex: none; animation: piscar 1s infinite; }
.gravando span { overflow: hidden; text-overflow: ellipsis; }
.zap-redondo {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--zap); color: #0b141a; cursor: pointer; transition: transform 0.15s, background 0.2s;
}
.zap-redondo:hover { transform: scale(1.05); }
.zap-redondo svg { width: 21px; height: 21px; }
.zap-redondo.gravando-agora { background: #ff4d4d; color: #fff; animation: pulsar-vermelho 1.2s infinite; }

/* Quadro do concorrente: uma conversa de WhatsApp parada, com cronômetro */
.concorrente { width: 100%; display: grid; gap: 10px; animation: entrar 0.5s var(--suave); }
.concorrente-titulo { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--nevoa); }
.concorrente-titulo i { width: 8px; height: 8px; border-radius: 50%; background: #ff5f5f; box-shadow: 0 0 0 4px rgba(255, 95, 95, 0.15); }
.concorrente-titulo b { color: var(--creme); }
.concorrente-janela {
  border-radius: 20px; overflow: hidden; background: #0b141a; border: 1px solid #222e35;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); filter: saturate(0.75);
}
.concorrente-topo { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: #1f2c34; }
.concorrente-foto { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #3b4a54; color: #8696a0; flex: none; }
.concorrente-foto svg { width: 20px; height: 20px; }
.concorrente-topo strong { display: block; font-size: 14px; font-weight: 600; }
.concorrente-topo small { display: block; font-size: 11.5px; color: #8696a0; }
.concorrente-conversa {
  display: grid; gap: 10px; padding: 12px;
  background: #0b141a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.035' stroke-width='1.4'%3E%3Ccircle cx='14' cy='16' r='5'/%3E%3Cpath d='M50 10l6 6-6 6-6-6z'/%3E%3C/g%3E%3C/svg%3E");
}
.concorrente-msg {
  justify-self: end; margin: 0; max-width: 85%; padding: 6px 9px 5px 10px; border-radius: 9px 0 9px 9px;
  background: #005c4b; color: #e9edef; font-size: 14px; line-height: 1.35;
}
.concorrente-msg time { display: block; text-align: right; font-size: 10.5px; color: rgba(233, 237, 239, 0.6); }
.concorrente-msg b { font-weight: 400; }
.concorrente-cronometro {
  justify-self: center; margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 95, 95, 0.12); color: #ff9a9a; font-size: 12.5px; font-weight: 600;
}
.concorrente-cronometro b { font-variant-numeric: tabular-nums; color: #ffb3b3; }
.concorrente-status { margin: 0; font-size: 13px; color: var(--nevoa); text-align: center; }

/* Setas dos botões de opção */
.zap-opcoes-caixa { position: relative; margin: 0 -10px; background: #0b141a; }
.zap-opcoes-caixa:has(.zap-opcoes:empty) { display: none; }
.opcoes-seta {
  position: absolute; top: 50%; z-index: 2; width: 30px; height: 30px; margin-top: -17px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid #2a3942; background: #1f2c34; color: #e9edef;
  font: 600 20px / 1 var(--sans); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 0.2s, background 0.15s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}
.opcoes-seta:hover { background: #2a3942; }
.opcoes-esq { left: 6px; }
.opcoes-dir { right: 6px; }
.pode-esq .opcoes-esq, .pode-dir .opcoes-dir { opacity: 1; pointer-events: auto; }

.robo-recomecar { font: 600 14px var(--sans); color: var(--nevoa); background: none; border: 0; cursor: pointer; padding: 6px 10px; }
.robo-recomecar:hover { color: var(--creme); }

.ponte { align-self: center; display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.ponte span { width: 8px; height: 8px; border-radius: 50%; background: var(--nevoa-2); animation: correr 1.6s infinite; }
.ponte span:nth-child(2) { animation-delay: 0.2s; }
.ponte span:nth-child(3) { animation-delay: 0.4s; }

/* Celular da equipe */
.celular-bloqueio {
  background:
    radial-gradient(120% 70% at 20% 10%, color-mix(in srgb, var(--ramo) 26%, #17171b) 0%, transparent 60%),
    radial-gradient(120% 80% at 90% 100%, #13261c 0%, transparent 60%),
    linear-gradient(180deg, #17171b, #0e0e11);
  padding: 10px 12px;
}
.bloqueio-hora { text-align: center; padding: 58px 0 26px; }
.bloqueio-hora span { display: block; font-size: 15px; font-weight: 500; color: rgba(243, 240, 234, 0.8); }
.bloqueio-hora strong { display: block; font: 600 78px / 1 var(--sans); letter-spacing: -0.04em; color: rgba(243, 240, 234, 0.92); }
.avisos { flex: 1; list-style: none; margin: 0; padding: 0 2px; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 8px; }
.avisos::-webkit-scrollbar { display: none; }
.aviso-vazio {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 20px;
  background: rgba(255, 255, 255, 0.06); border: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--nevoa); font-size: 13.5px; line-height: 1.45;
}
.pulso { flex: none; margin-top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--ramo); animation: pulsar-ramo 1.8s infinite; }
.aviso {
  flex: none; padding: 12px 14px 13px; border-radius: 20px; color: var(--creme);
  background: rgba(40, 40, 46, 0.72); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.07); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  animation: cair 0.5s var(--suave);
}
.aviso-pessoa { border-color: color-mix(in srgb, var(--ramo) 45%, transparent); }
.aviso-cabeca { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 12px; color: rgba(243, 240, 234, 0.6); }
.aviso-cabeca i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: var(--zap); color: #fff; font-style: normal; font-size: 11px; }
.aviso-cabeca span { flex: 1; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aviso strong { display: block; margin-bottom: 4px; font-size: 14.5px; }
.aviso ul { margin: 0; padding: 0; list-style: none; font-size: 13.5px; line-height: 1.45; color: rgba(243, 240, 234, 0.85); }
.aviso small { display: block; margin-top: 6px; color: var(--zap); font-size: 11.5px; font-weight: 600; }
.bloqueio-barra { flex: none; align-self: center; width: 120px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.5); margin: 12px 0 6px; }

@keyframes entrar { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes cair { from { opacity: 0; transform: translateY(-14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes subir { from { transform: translateY(100%); } to { transform: none; } }
@keyframes pular { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes onda { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.55); } }
@keyframes flutuar { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes descer { 0%, 100% { transform: none; } 50% { transform: translateY(4px); } }
@keyframes piscar { 50% { opacity: 0.2; } }
@keyframes correr { 0%, 100% { background: var(--nevoa-2); } 40% { background: var(--zap); } }
@keyframes pulsar { 0% { box-shadow: 0 0 0 0 rgba(34, 195, 94, 0.6); } 100% { box-shadow: 0 0 0 8px rgba(34, 195, 94, 0); } }
@keyframes pulsar-ramo { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ramo) 60%, transparent); } 100% { box-shadow: 0 0 0 9px transparent; } }
@keyframes pulsar-vermelho { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.6); } 100% { box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 860px) {
  .robo-selo-extra { display: none; }
  .robos-abas { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .robos-abas button { flex: 1; padding: 11px 6px; font-size: 14.5px; border-radius: 12px; }
  .robo-selo { font-size: 11px; letter-spacing: 0; padding: 6px 10px; gap: 6px; }
  .robo-voltar { font-size: 14px; }
  .robo-abertura { padding-top: 150px; min-height: 0; }
  .bolhas span { font-size: 12px; padding: 7px 10px; }
  .bolhas span:nth-child(n + 7) { display: none; }
  .bolhas span:nth-child(1) { --x: 4%; --y: 3%; --dy: 60vh; --dx: 30vw; }
  .bolhas span:nth-child(2) { --x: 56%; --y: 1.5%; --dy: 62vh; --dx: -20vw; }
  .bolhas span:nth-child(3) { --x: 30%; --y: 9%; --dy: 58vh; --dx: 6vw; }
  .bolhas span:nth-child(4) { --x: 72%; --y: 10%; --dy: 58vh; --dx: -30vw; }
  .bolhas span:nth-child(5) { --x: 2%; --y: 15.5%; --dy: 54vh; --dx: 30vw; }
  .bolhas span:nth-child(6) { --x: 58%; --y: 17%; --dy: 54vh; --dx: -20vw; }
  .ramos { border-radius: 22px; }
  .ramos button { padding: 8px 12px; font-size: 13.5px; }
  .robo-palco { grid-template-columns: 1fr; gap: 8px; padding-top: 24px; }
  .ponte { flex-direction: column; margin: 4px 0 12px; }
  .celular { height: 600px; max-height: 82vh; }
  .celular-bloqueio { height: auto; min-height: 420px; }
  .bloqueio-hora { padding: 50px 0 18px; }
  .bloqueio-hora strong { font-size: 62px; }
}

/* ===== Melhorias de 07/11 (estudo de 46 itens) ===== */
/* 20: menu fixo do site também aqui; o selo de demonstração desceu para a abertura */
.robo-abertura { padding-top: 120px; }
.robo-abertura .robo-selo { margin-bottom: 16px; }
/* 33: ícone em cada aba de robô */
.robos-abas button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.robos-abas .icone-robo { width: 18px; height: 18px; }
/* 23: no notebook, o celular cabe na tela junto com os botões de robô e de ramo */
@media (min-width: 861px) { .celular { max-height: max(440px, calc(100svh - 310px)); } }
/* 22: aviso da equipe descendo por cima da conversa (no celular, quando o aparelho da equipe está fora da tela) */
.aviso-toast {
  position: absolute; top: 46px; left: 12px; right: 12px; z-index: 6;
  display: grid; gap: 2px; text-align: left; padding: 11px 14px; border-radius: 16px; border: 0; cursor: pointer;
  background: rgba(38, 42, 46, 0.96); color: #fff; font: 400 13px/1.3 var(--sans);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.85);
  opacity: 0; transform: translateY(-130%); pointer-events: none; transition: transform 0.45s var(--suave), opacity 0.3s;
}
.aviso-toast.aparece { opacity: 1; transform: none; pointer-events: auto; }
.aviso-toast-app { font-size: 11.5px; color: rgba(255, 255, 255, 0.7); }
.aviso-toast strong { font-size: 14.5px; }
.aviso-toast small { font-size: 12px; color: var(--zap); }
/* 24: abertura mais curta no celular e espaço para a barra fixa */
@media (max-width: 999px) { .robo-pagina { padding-bottom: 84px; } }
@media (max-width: 860px) {
  .robo-abertura { padding-top: 104px; padding-bottom: 20px; }
  .bolhas span:nth-child(n + 5) { display: none; }
  .robos-abas .icone-robo { width: 16px; height: 16px; }
}
