/* FORGE, site novo (protótipo local, 07/10/2026).
   Linguagem visual inspirada no Open PRO da Cruip (pedido do Thiago): fundo quase
   preto, títulos centralizados com degradê que corre devagar, etiqueta com fios de
   luz, manchas de luz desfocadas, divisórias que somem nas pontas e cartões com
   borda em degradê e brilho que segue o mouse. Nenhum código do modelo foi copiado
   (ele é GPL): tudo reescrito aqui, com as cores e a fonte da FORGE. */

:root {
  --bg: #04060b;
  --bg-2: #0a0f19;
  --card: #070b13;
  --edge: #1b2433;
  --ink: #eef3fb;
  --soft: #b9c7dd;       /* texto de leitura, 10:1 sobre o fundo */
  --muted: #8a9ab3;      /* legenda, 6,6:1 */
  --blue: #3f83f8;       /* azul da marca */
  --blue-deep: #2a64d6;
  --blue-bright: #79aaff;
  --cyan: #69dcff;

  --wrap: 1140px;
  --gutter: clamp(18px, 4vw, 28px);
  --space: clamp(72px, 10vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; position: relative; overflow-x: clip;
  background: var(--bg); color: var(--soft);
  font: 400 17px/1.65 "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-bright); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 20; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 6px; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; position: relative; }

/* manchas de luz desfocadas, atrás de tudo */
.glow { position: absolute; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px); max-width: 100vw; }
.glow--top  { width: 760px; height: 520px; top: -260px; left: 50%; transform: translateX(-35%); background: radial-gradient(closest-side, rgba(63,131,248,.55), rgba(105,220,255,.12) 60%, transparent); }
.glow--mid  { width: 640px; height: 520px; top: 10%; left: 50%; transform: translateX(-110%); background: radial-gradient(closest-side, rgba(63,131,248,.28), transparent); }
.glow--side { width: 620px; height: 520px; top: 20%; right: -10%; background: radial-gradient(closest-side, rgba(105,220,255,.16), transparent); }
.glow--cta  { width: 700px; height: 420px; bottom: -160px; left: 50%; transform: translateX(-40%); background: radial-gradient(closest-side, rgba(63,131,248,.35), transparent); }

/* títulos com degradê que corre devagar */
.title-shine {
  background: linear-gradient(to right, #dbe5f5, #a9c7ff, #f6f9ff, #79aaff, #dbe5f5);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: brilho 7s linear infinite;
}
@keyframes brilho { to { background-position: 200% center; } }

/* etiqueta com fios de luz dos dois lados */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; margin-bottom: 14px;
  background: linear-gradient(to right, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 32px; height: 1px; }
.eyebrow::before { background: linear-gradient(to right, transparent, rgba(121,170,255,.6)); }
.eyebrow::after  { background: linear-gradient(to left, transparent, rgba(121,170,255,.6)); }

/* botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; white-space: nowrap;
  min-height: 48px; padding: 0 22px; border-radius: 10px;
  background: linear-gradient(to top, var(--blue-deep), var(--blue));
  background-size: 100% 100%; background-position: bottom;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
  color: #fff; font-weight: 700; font-size: 16px; text-decoration: none;
  transition: background-size .3s ease;
}
.btn:hover { background-size: 100% 160%; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--ghost {
  position: relative; background: linear-gradient(to bottom, #111827, rgba(17,24,39,.6));
  color: var(--soft); box-shadow: none;
}
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(to right, #1f2937, #3a4a63, #1f2937);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
/* cartão do Agente F, sobe ao passar o mouse nos botões do WhatsApp */
.btn--agente { position: relative; }
.agente {
  position: absolute; left: 50%; bottom: calc(100% + 14px); z-index: 5;
  display: flex; align-items: center; gap: 11px; padding: 8px 16px 8px 8px; border-radius: 12px;
  background: rgba(10,15,25,.94); border: 1px solid rgba(121,170,255,.3);
  box-shadow: 0 12px 32px rgba(0,0,0,.5), 0 0 28px rgba(63,131,248,.2);
  width: max-content; text-align: left; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, 8px) scale(.96);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.8,.2,1.2);
}
.agente::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: #0a0f19; border: solid rgba(121,170,255,.3); border-width: 0 1px 1px 0; transform: rotate(45deg);
}
.agente img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(105,220,255,.35), 0 0 14px rgba(105,220,255,.25); }
.agente__txt { display: flex; flex-direction: column; gap: 2px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.3; }
.agente__txt b { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 800; }
.agente__txt b::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulso 1.6s ease-in-out infinite; }
@keyframes pulso { 50% { opacity: .35; } }
.btn--agente:hover .agente, .btn--agente:focus-visible .agente { opacity: 1; transform: translate(-50%, 0) scale(1); }
/* no topo o cartão desce, alinhado à direita do botão */
.agente--baixo { left: auto; right: 0; bottom: auto; top: calc(100% + 14px); transform: translateY(-8px) scale(.96); }
.agente--baixo::after { left: auto; right: 28px; top: 0; border-width: 1px 0 0 1px; }
.btn--agente:hover .agente--baixo, .btn--agente:focus-visible .agente--baixo { transform: translateY(0) scale(1); }
@media (hover: none) { .agente { display: none; } }

.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
/* o que a pessoa recebe ao clicar, embaixo dos botões do diagnóstico */
.actions__nota { flex-basis: 100%; max-width: 72ch; text-wrap: balance; margin: 2px auto 0; text-align: center; font-size: 15px; line-height: 1.5; color: var(--muted); }
.nota__txt b { color: var(--cyan); font-weight: 700; }
/* no toque não existe passar o mouse: o Agente F aparece fixo, colado no botão */
.nota__agente { display: none; }
@media (hover: none) {
  .nota__agente {
    display: inline-flex; align-items: center; gap: 11px; margin-bottom: 10px; padding: 8px 18px 8px 8px; border-radius: 12px; text-align: left;
    background: rgba(10,15,25,.9); border: 1px solid rgba(121,170,255,.3); color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.3;
  }
  .nota__agente img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(105,220,255,.35), 0 0 14px rgba(105,220,255,.25); }
  .nota__agente > span { display: flex; flex-direction: column; gap: 2px; }
  .nota__agente b { color: var(--ink); font-weight: 800; }
  .nota__agente b::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulso 1.6s ease-in-out infinite; }
  .nota__txt { display: block; }
}

/* demonstração do produto para imobiliárias */
.demo {
  margin: 56px auto 0; max-width: 880px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--edge); background: var(--card);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(63,131,248,.12);
}
.demo__video { display: block; width: 100%; height: auto; }

/* topo */
.top { position: relative; z-index: 2; }
.top__bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -0.04em; font-size: 19px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s; }
.nav a:hover { color: var(--ink); }

/* hero: uma busca de verdade sendo digitada; a IA lista três, e a terceira vaga
   é a pergunta para o dono */
.hero { padding: clamp(48px, 8vw, 104px) 0 var(--space); text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; }
.search { width: min(560px, 100%); margin-top: 36px; text-align: left; }
.search__bar {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px;
  border: 1px solid #263248; background: rgba(10,15,25,.8); color: var(--muted);
  box-shadow: 0 0 0 4px rgba(63,131,248,.06);
}
.search__bar svg { width: 20px; height: 20px; flex: none; color: var(--blue-bright); }
.search__typed {
  white-space: nowrap; color: var(--ink); font-weight: 600;
  clip-path: inset(0 100% 0 0);
  animation: digita 1.6s steps(31) .4s forwards;
}
@keyframes digita { to { clip-path: inset(0 0 0 0); } }
.search__results { list-style: none; counter-reset: r; display: grid; gap: 8px; margin-top: 10px; }
.search__results li {
  counter-increment: r; display: flex; align-items: center; gap: 12px;
  padding: 11px 16px; border-radius: 12px; border: 1px solid var(--edge); background: rgba(10,15,25,.55);
  color: var(--muted); font-weight: 600; font-size: 15px;
  opacity: 0; animation: chega .4s ease forwards;
}
.search__results li::before { content: counter(r); color: var(--blue-bright); font-weight: 800; width: 14px; }
.search__results li:nth-child(1) { animation-delay: 2.2s; }
.search__results li:nth-child(2) { animation-delay: 2.45s; }
.search__results li:nth-child(3) { animation-delay: 2.7s; }
.search__you { border-style: dashed !important; border-color: rgba(105,220,255,.5) !important; color: var(--cyan) !important; }
@keyframes chega { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hero__title { max-width: 22ch; font-size: clamp(38px, 5.4vw, 64px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; padding-bottom: 6px; }
.hero__lead { max-width: 40ch; margin-top: 22px; font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--soft); }

/* seções e divisórias que somem nas pontas */
.section { position: relative; padding: var(--space) 0; }
.section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(var(--wrap), 100% - 2 * var(--gutter)); height: 1px;
  background: linear-gradient(to right, transparent, rgba(148,163,184,.25), transparent);
}
.head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.head h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; padding-bottom: 4px; }
.head__lead { margin-top: 16px; font-size: 18px; color: var(--soft); }

/* números do mercado */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { text-align: center; padding: 8px 16px; }
.stat__num { font-size: clamp(40px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 14px;
  background: linear-gradient(to right, var(--blue-bright), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat a { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--muted); }

/* cartões: borda de 1 px em degradê e brilho que segue o mouse */
.cards { display: grid; gap: 20px; list-style: none; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--4 .card h3 { font-size: 20px; }
.cards--4 .card__body { padding: 26px; }
.cards--1 { max-width: 900px; margin-inline: auto; }
.card__body--row { flex-direction: row; gap: 40px; align-items: center; }
.card__body--row > div:first-child { flex: 1.2; display: grid; gap: 14px; }
.proof--side { flex: 1; margin: 0; padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--edge); }

.eyebrow--left { margin-left: 0; }
.case__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.case h2 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.12; font-weight: 800; letter-spacing: -0.03em; padding-bottom: 4px; }
.case__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; padding: 32px; border-radius: 18px; border: 1px solid var(--edge); background: rgba(10,15,25,.6); }
.case__from { font-size: 22px; font-weight: 700; color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(138,154,179,.6); }
.case__to { font-size: clamp(44px, 5vw, 60px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05;
  background: linear-gradient(to right, var(--blue-bright), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.case__label { color: var(--soft); font-weight: 600; margin-top: 4px; }
.case__src { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* casos reais em carrossel (09/10/2026) */
.casos { margin-top: 48px; }
.casos__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 28px;
  padding: 4px; border-radius: 12px; background: linear-gradient(to bottom, #111827, rgba(17,24,39,.6)); }
.casos__tab { font: inherit; font-weight: 600; font-size: 14px; color: var(--muted); background: transparent; border: 0;
  min-height: 38px; padding: 0 16px; border-radius: 9px; cursor: pointer; transition: color .2s, background-size .3s ease; }
.casos__tab:hover { color: var(--ink); }
.casos__tab.is-on { color: #fff; background: linear-gradient(to top, var(--blue-deep), var(--blue)); background-size: 100% 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 18px rgba(42,100,214,.28); }
.casos__tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.caso { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.caso[hidden] { display: none; }
.caso.is-on { animation: casoEntra .5s ease both; }
@keyframes casoEntra { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.caso__shot { display: block; text-decoration: none; border-radius: 16px; overflow: hidden; border: 1px solid var(--edge); background: var(--card);
  box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(63,131,248,.12); transition: transform .3s, box-shadow .3s; }
.caso__shot:hover { transform: translateY(-4px); box-shadow: 0 36px 90px rgba(0,0,0,.55), 0 0 70px rgba(63,131,248,.22); }
.caso__shot img, .caso__video { display: block; width: 100%; height: auto; }
.caso__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0d1422; border-bottom: 1px solid var(--edge); }
.caso__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2a3650; }
.caso__bar span { margin-left: 10px; font-size: 13px; color: var(--muted); }
.caso__info { display: grid; gap: 14px; }
.caso__tipo { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-bright); font-weight: 600; }
.caso__info h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -0.02em; }
.caso__info > p:not(.caso__tipo) { color: var(--soft); }
.caso__info .case__nums { padding: 24px; gap: 22px 20px; }
.caso__info .case__to { font-size: clamp(36px, 4vw, 48px); }
.caso__link { color: var(--blue-bright); font-weight: 700; text-decoration: none; }
.caso__link:hover { color: var(--cyan); }
.casos__tempo { height: 3px; margin: 32px auto 0; max-width: 240px; background: var(--edge); border-radius: 3px; overflow: hidden; }
.casos__tempo span { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 980px) { .caso { grid-template-columns: 1fr; } }
.card {
  --mx: -400px; --my: -400px;
  position: relative; overflow: hidden; border-radius: 18px; padding: 1px;
  background: linear-gradient(to bottom, #1d2738, #0f1522);
}
.card::before {
  content: ""; position: absolute; z-index: 0; width: 320px; height: 320px; border-radius: 50%;
  left: calc(var(--mx) - 160px); top: calc(var(--my) - 160px);
  background: rgba(63,131,248,.75); filter: blur(60px); opacity: 0; transition: opacity .4s;
}
[data-spotlight]:hover .card::before { opacity: 1; }
.card__body {
  position: relative; z-index: 1; height: 100%; border-radius: 17px; padding: 30px;
  background: linear-gradient(135deg, rgba(10,15,25,.97), var(--card) 50%, rgba(10,15,25,.97));
  display: flex; flex-direction: column; gap: 14px;
}
.card h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.card ul { padding-left: 18px; display: grid; gap: 8px; }
.card li::marker { color: var(--blue-bright); }
.tag {
  align-self: flex-start; font-size: 13px; font-weight: 700; padding: 3px 11px; border-radius: 999px;
  border: 1px solid var(--edge); background: rgba(17,24,39,.5); color: var(--blue-bright);
}
.proof { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--edge); }
.proof__num { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 4px; }
.proof p:not(.proof__num) { font-size: 15px; color: var(--muted); }

.steps .card__body { gap: 10px; }
.step {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(121,170,255,.45); color: var(--blue-bright); font-weight: 800; margin-bottom: 6px;
}
.steps h3 { font-size: 21px; }

/* recursos do produto imobiliário */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
.feature svg { width: 26px; height: 26px; color: var(--blue-bright); margin-bottom: 14px; }
.feature h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: 15.5px; color: var(--muted); }

/* perguntas */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--edge); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 40px 20px 0; color: var(--ink); font-weight: 700; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 15px; font-size: 24px; color: var(--blue-bright); font-weight: 500; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; color: var(--soft); }

/* chamada final */
.cta { position: relative; padding: 24px 0 var(--space); overflow: hidden; }
.cta__band {
  text-align: center; padding: clamp(48px, 7vw, 80px) 24px; border-radius: 22px;
  background: linear-gradient(to right, transparent, rgba(31,41,59,.55), transparent);
}
.cta__band h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; letter-spacing: -0.03em; }
.cta__band .head__lead { max-width: 560px; margin-inline: auto; }

.foot { border-top: 1px solid var(--edge); padding: 32px 0 40px; }
.foot__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; }
.foot p { color: var(--muted); font-size: 14px; }
.foot__social { display: inline-flex; align-items: center; gap: 8px; color: var(--soft); font-size: 14px; text-decoration: none; transition: color .2s; }
.foot__social:hover, .foot__social:focus-visible { color: var(--blue-bright); }
.foot__social:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 4px; }
.foot__dados { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--edge); }
.foot__dados p { font-size: 13px; }

@media (max-width: 980px) {
  .features, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .case__grid { grid-template-columns: 1fr; }
  .card__body--row { flex-direction: column; align-items: stretch; gap: 24px; }
  .proof--side { padding: 18px 0 0; border-left: 0; border-top: 1px solid var(--edge); }
  .cards--3 { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .top__bar .btn--sm { margin-left: auto; }
  .cards--2, .stats { grid-template-columns: 1fr; }
  .stats { gap: 36px; }
  .search__typed { font-size: 14px; }
}
@media (max-width: 480px) {
  .features, .cards--4 { grid-template-columns: 1fr; }
  .case__nums { padding: 24px; }
  .actions .btn { width: 100%; }
  /* empilhado, a explicação fica colada no botão do diagnóstico, antes do secundário */
  .actions__nota { order: 1; }
  .actions .btn--ghost { order: 2; margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .title-shine { animation: none; }
  .search__typed { animation: none; clip-path: none; }
  .search__results li { animation: none; opacity: 1; }
  .card::before { display: none; }
  .agente { transition: opacity .2s; }
  .agente__txt b::after, .nota__agente b::before { animation: none; }
}

/* botão flutuante do Agente F no WhatsApp (11/10/2026; o mesmo da página de imobiliárias) */
@keyframes giro { to { transform: rotate(360deg); } }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(105,220,255,.5); } 100% { box-shadow: 0 0 0 20px rgba(105,220,255,0); } }
/* botão flutuante do Agente F no WhatsApp */
.flutua { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: flex-end; gap: 12px; text-decoration: none; }
.flutua__foto { position: relative; flex: none; width: 72px; height: 72px; }
.flutua__foto > .flutua__fundo { position: absolute; inset: 0; z-index: 1; border-radius: 50%; background: radial-gradient(circle at 50% 35%, #12233d, #04060b 70%); border: 3px solid #04060b; }
/* janela: embaixo é o círculo; em cima fica aberta, então ele sobe e sai pelo topo */
.flutua__janela { position: absolute; z-index: 1; left: -2px; right: -2px; bottom: 0; height: 100px; overflow: hidden; border-radius: 0 0 38px 38px; }
.flutua__janela video { position: absolute; left: 0; bottom: 0; width: 76px; height: 76px; transform: translateY(105%); opacity: 0; animation: surge 1s cubic-bezier(.2,1.25,.4,1) 1.2s forwards; }
.flutua__foto::before { content: ""; position: absolute; inset: -3px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--cyan), var(--blue-bright), transparent 55%, var(--cyan)); animation: giro 3.5s linear infinite; }
.flutua__foto::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; animation: pulso 2.4s ease-out infinite; }
.flutua__wa { position: absolute; z-index: 2; right: -2px; bottom: -2px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #25d366; border: 2px solid #04060b; }
.flutua__balao { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; padding: 10px 14px; border-radius: 14px 14px 4px 14px;
  background: #0d1626; border: 1px solid rgba(105,220,255,.35); box-shadow: 0 10px 30px rgba(0,0,0,.45); color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.3;
  transform-origin: 100% 100%; opacity: 0; transform: scale(.6) translateY(8px); animation: balao .5s cubic-bezier(.2,1.4,.4,1) 2.5s forwards; }
.flutua__balao b { color: var(--ink); font-size: 14px; }
.flutua:hover .flutua__balao { border-color: var(--cyan); }
@keyframes balao { to { opacity: 1; transform: none; } }
/* o círculo começa vazio; ele surge de dentro, acendendo, e sobe pelo topo */
@keyframes surge { 0% { transform: translateY(105%); opacity: 0; filter: brightness(2.6) blur(3px); }
  35% { opacity: 1; } 100% { transform: translateY(-14%); opacity: 1; filter: none; } }
.flutua__fundo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(105,220,255,.55), transparent 65%); opacity: 0; animation: brilho 1.4s ease-out 1s; }
@keyframes brilho { 0% { opacity: 0; transform: scale(.4); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.1); } }
@media (max-width: 600px) {
  .flutua { right: 14px; bottom: 14px; }
  .flutua__balao { animation: balao .5s cubic-bezier(.2,1.4,.4,1) 2.5s forwards, some .4s ease 12s forwards; }
  @keyframes some { to { opacity: 0; transform: scale(.6) translateY(8px); visibility: hidden; } }
}
@media (prefers-reduced-motion: reduce) { .flutua__foto::before, .flutua__foto::after { animation: none; } .flutua__balao { animation: none; opacity: 1; transform: none; } .flutua__janela video { animation: none; opacity: 1; transform: translateY(-14%); } .flutua__fundo::after { animation: none; } }
/* voltar ao topo (topo.js): pílula com texto e brilho pulsando leve; canto esquerdo, o direito é do Agente F */
.topo { position: fixed; left: 20px; bottom: 20px; z-index: 49; display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 13px; border-radius: 999px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; background: rgba(7,11,19,.9); border: 1px solid rgba(63,131,248,.55); box-shadow: 0 8px 24px -10px rgba(0,0,0,.8); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s, border-color .2s, color .2s; backdrop-filter: blur(6px); }
.topo svg { flex: none; color: var(--blue-bright); }
.topo--on { opacity: 1; visibility: visible; transform: none; animation: topo-pulso 2.6s ease-in-out infinite; }
@keyframes topo-pulso { 0%, 100% { box-shadow: 0 8px 24px -10px rgba(0,0,0,.8), 0 0 0 0 rgba(63,131,248,0); } 50% { box-shadow: 0 8px 24px -10px rgba(0,0,0,.8), 0 0 18px 2px rgba(63,131,248,.38); } }
.topo:hover, .topo:focus-visible { color: var(--blue-bright); border-color: var(--blue-bright); }
.topo:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
@media (max-width: 640px) { .topo { left: 14px; bottom: 92px; padding: 9px 13px 9px 11px; font-size: 13px; } } /* no celular sobe acima do balão do Agente F */
@media (prefers-reduced-motion: reduce) { .topo--on { animation: none; } }
/* X do Agente F (topo.js): discreto, em cima da foto, à direita */
.flutua-x { position: fixed; right: 18px; bottom: 98px; z-index: 51; width: 22px; height: 22px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--muted); background: rgba(7,11,19,.85); border: 1px solid var(--edge); opacity: .75; transition: opacity .2s, color .2s; }
.flutua-x:hover, .flutua-x:focus-visible { opacity: 1; color: var(--ink); }
.flutua-x:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 640px) { .flutua-x { right: 12px; bottom: 92px; } }
