/* ==========================================================================
   SmartAdvogados · landing do JARVIS 8.0 (v2)
   Tema escuro, acentos azul-elétrico e dourado, coerente com o painel do JARVIS.
   ========================================================================== */
:root {
  --bg: #05080f;
  --bg2: #080d18;
  --bg3: #0c1322;
  --painel: rgba(17, 26, 44, .62);
  --painel-solido: #0f1728;
  --linha: rgba(150, 180, 230, .12);
  --linha-forte: rgba(150, 180, 230, .22);
  --fg: #e9eef6;
  --fg2: #a3b2c8;
  --fg3: #6f809b;
  --azul: #4fb3ff;
  --azul2: #2d7cf6;
  --roxo: #9a7bff;
  --ouro: #d8b16a;
  --ouro2: #f2d79c;
  --verde: #5fd38d;
  --vermelho: #ff7a66;
  --amarelo: #f0c14e;
  --serifa: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
  --r: 22px;
  --r-p: 14px;
  --sombra: 0 30px 70px -30px rgba(0, 0, 0, .75), 0 0 0 1px var(--linha);
  --sombra-azul: 0 20px 60px -20px rgba(45, 124, 246, .45);
  --mola: cubic-bezier(.2, .9, .2, 1);
  --suave: cubic-bezier(.4, 0, .2, 1);
  --largura: min(1180px, 100% - 40px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--fg);
  background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: var(--azul2); color: #fff; }
:focus-visible { outline: 2px solid var(--ouro); outline-offset: 3px; border-radius: 8px; }
svg use { pointer-events: none; }

.largura { width: var(--largura); margin-inline: auto; }
.pular { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ouro); color: #111; padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.pular:focus { left: 12px; }

.preco, .calc-data, .kpi b, .lt-num, .perfil-num { font-variant-numeric: lining-nums; }
h1, h2, h3 { font-family: var(--serifa); font-weight: 600; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; background: linear-gradient(100deg, var(--azul) 0%, #b9a6ff 55%, var(--ouro2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
h3 { font-size: 1.5rem; }
.lead { font-size: 1.1rem; color: var(--fg2); max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--ouro); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--ouro)); }
.eyebrow-pilula { padding: 8px 16px 8px 12px; border: 1px solid rgba(216, 177, 106, .35); border-radius: 999px; background: rgba(216, 177, 106, .06); letter-spacing: .16em; }
.eyebrow-pilula::before { display: none; }
.ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 0 0 rgba(216, 177, 106, .6); animation: pontoPulsa 2.2s infinite; }
@keyframes pontoPulsa { 70% { box-shadow: 0 0 0 10px rgba(216, 177, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(216, 177, 106, 0); } }

/* ---------- botões ---------- */
.botao {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 600; font-size: .98rem; line-height: 1.2;
  transition: transform .35s var(--mola), box-shadow .35s var(--suave), background .3s, border-color .3s, color .3s;
  isolation: isolate; overflow: hidden; white-space: nowrap;
}
.botao svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--mola); }
.botao:hover svg { transform: translateX(4px); }
.botao:hover { transform: translateY(-2px); }
.botao:active { transform: translateY(0) scale(.98); }
.botao-ouro { background: linear-gradient(135deg, #f3dba6, var(--ouro) 45%, #b88d44); color: #1a1408; box-shadow: 0 14px 34px -14px rgba(216, 177, 106, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.botao-ouro:hover { box-shadow: 0 20px 44px -14px rgba(216, 177, 106, .9), inset 0 1px 0 rgba(255, 255, 255, .5); }
.botao-vidro { background: rgba(255, 255, 255, .04); border: 1px solid var(--linha-forte); color: var(--fg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.botao-vidro:hover { border-color: rgba(79, 179, 255, .6); background: rgba(79, 179, 255, .08); box-shadow: var(--sombra-azul); }
.botao-pequeno { padding: 10px 20px; font-size: .88rem; }
.botao-grande { padding: 19px 38px; font-size: 1.06rem; }
.botao-brilho::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-120%); animation: brilho 5s 2s infinite;
}
@keyframes brilho { 0%, 70% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.link { color: var(--fg2); text-align: left; padding: 4px 0; }

/* ---------- barra de progresso ---------- */
.progresso { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progresso span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--azul2), var(--roxo), var(--ouro)); }

/* ---------- cabeçalho de vidro ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 18px 0; transition: padding .4s var(--suave), background .4s, border-color .4s, box-shadow .4s; border-bottom: 1px solid transparent; }
.topo.vidro { padding: 10px 0; background: rgba(6, 10, 19, .62); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-color: var(--linha); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .8); }
.topo-linha { display: flex; align-items: center; gap: 28px; }
.marca { display: inline-flex; align-items: center; gap: 12px; }
.marca-orbe { width: 36px; height: 36px; border-radius: 50%; flex: none; position: relative; background: radial-gradient(circle at 38% 32%, #bfe5ff, var(--azul2) 45%, #0a1430 78%); box-shadow: 0 0 22px rgba(79, 179, 255, .55); animation: marcaPulsa 4s ease-in-out infinite; }
.marca-orbe::after { content: ""; position: absolute; inset: -5px -8px; border: 1.5px solid var(--ouro); border-radius: 50%; transform: rotate(-24deg) scaleY(.36); opacity: .85; }
@keyframes marcaPulsa { 50% { box-shadow: 0 0 34px rgba(79, 179, 255, .85); } }
.marca-texto b { display: block; font-family: var(--serifa); font-size: 1.42rem; font-weight: 700; line-height: 1; letter-spacing: .01em; }
.marca-texto small { display: block; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ouro); margin-top: 4px; }
.menu { display: flex; gap: 6px; margin-left: auto; }
.menu a { position: relative; padding: 8px 12px; font-size: .9rem; font-weight: 500; color: var(--fg2); border-radius: 999px; transition: color .25s, background .25s; }
.menu a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1px; background: var(--ouro); transform: scaleX(0); transition: transform .35s var(--mola); }
.menu a:hover, .menu a.ativo { color: var(--fg); }
.menu a:hover::after, .menu a.ativo::after { transform: scaleX(1); }
.hamburguer { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linha-forte); position: relative; }
.hamburguer span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--fg); transition: transform .4s var(--mola), top .4s var(--mola); }
.hamburguer span:first-child { top: 18px; }
.hamburguer span:last-child { top: 26px; }
.hamburguer[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.hamburguer[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.menu-movel { position: fixed; inset: 0; z-index: 95; background: rgba(5, 8, 15, .9); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 100px 24px 40px; overflow-y: auto; opacity: 0; transition: opacity .35s; }
.menu-movel.aberto { opacity: 1; }
.menu-movel nav { display: flex; flex-direction: column; }
.menu-movel a:not(.botao) { font-family: var(--serifa); font-size: 1.9rem; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--linha); transform: translateY(14px); opacity: 0; transition: transform .5s var(--mola), opacity .5s; }
.menu-movel.aberto a { transform: none; opacity: 1; }
.menu-movel.aberto a:nth-child(2) { transition-delay: .04s; } .menu-movel.aberto a:nth-child(3) { transition-delay: .08s; }
.menu-movel.aberto a:nth-child(4) { transition-delay: .12s; } .menu-movel.aberto a:nth-child(5) { transition-delay: .16s; }
.menu-movel.aberto a:nth-child(6) { transition-delay: .2s; } .menu-movel.aberto a:nth-child(7) { transition-delay: .24s; }
.menu-movel .botao { margin-top: 30px; }
body.travado { overflow: hidden; }

/* ---------- abertura ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 130px 0 90px; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(900px 600px at 78% 40%, rgba(45, 124, 246, .18), transparent 60%), radial-gradient(700px 500px at 10% 90%, rgba(154, 123, 255, .1), transparent 60%), var(--bg); }
.hero-fundo { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grade-luz { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(150, 180, 230, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(150, 180, 230, .035) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 4.9rem); margin-bottom: 26px; }
.hero h1 .digitar { display: inline; }
.hero h1 .digitar.digitando::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.08em; background: var(--ouro); animation: cursor 1s steps(1) infinite; }
@keyframes cursor { 50% { opacity: 0; } }
.hero .lead { margin-bottom: 36px; font-size: 1.16rem; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-fala { margin-top: 42px; display: flex; align-items: center; gap: 12px; min-height: 2.6em; font-size: .95rem; color: var(--fg2); max-width: 560px; }
.hero-fala-rotulo { flex: none; font-size: .66rem; font-weight: 700; letter-spacing: .22em; color: var(--azul); padding: 5px 10px; border: 1px solid rgba(79, 179, 255, .35); border-radius: 999px; background: rgba(79, 179, 255, .08); }
.hero-fala-texto { font-style: italic; font-family: var(--serifa); font-size: 1.22rem; color: var(--fg); }
.cursor { width: 2px; height: 1.1em; background: var(--azul); animation: cursor 1s steps(1) infinite; flex: none; }

/* orbe */
.hero-orbe { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1000px; }
.orbe { position: relative; width: min(440px, 80vw); aspect-ratio: 1; transform-style: preserve-3d; transition: transform .6s var(--suave); }
.orbe-halo { position: absolute; inset: -18%; border-radius: 50%; background: radial-gradient(circle, rgba(79, 179, 255, .35) 0%, rgba(154, 123, 255, .18) 38%, transparent 68%); filter: blur(6px); animation: halo 4.5s ease-in-out infinite; }
@keyframes halo { 50% { transform: scale(1.08); opacity: .75; } }
.orbe-nucleo { position: absolute; inset: 14%; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(143, 208, 255, .35), 0 0 60px rgba(79, 179, 255, .55), 0 0 140px rgba(45, 124, 246, .35), inset 0 0 40px rgba(0, 0, 0, .6); animation: nucleo 4.5s ease-in-out infinite; }
.orbe-nucleo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.orbe-nucleo::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, transparent 50%, rgba(5, 8, 15, .65) 100%), linear-gradient(180deg, transparent 60%, rgba(45, 124, 246, .25)); }
.orbe-brilho { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(143, 208, 255, .35) 80%, transparent 90%); mix-blend-mode: screen; animation: gira 7s linear infinite; z-index: 1; }
@keyframes nucleo { 50% { box-shadow: 0 0 0 1px rgba(143, 208, 255, .5), 0 0 90px rgba(79, 179, 255, .8), 0 0 180px rgba(45, 124, 246, .45), inset 0 0 40px rgba(0, 0, 0, .6); } }
.orbe-anel { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143, 208, 255, .35); transform-style: preserve-3d; }
.orbe-anel i { position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--azul); box-shadow: 0 0 14px var(--azul); }
.anel-1 { animation: anel1 14s linear infinite; }
.anel-2 { inset: 5%; border-color: rgba(216, 177, 106, .45); animation: anel2 18s linear infinite; }
.anel-2 i { background: var(--ouro); box-shadow: 0 0 14px var(--ouro); }
.anel-3 { inset: -7%; border-color: rgba(154, 123, 255, .3); border-style: dashed; animation: anel3 26s linear infinite; }
.anel-3 i { background: var(--roxo); box-shadow: 0 0 14px var(--roxo); }
@keyframes anel1 { from { transform: rotateX(72deg) rotateZ(0); } to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes anel2 { from { transform: rotateY(68deg) rotateZ(0); } to { transform: rotateY(68deg) rotateZ(-360deg); } }
@keyframes anel3 { from { transform: rotateX(60deg) rotateY(-20deg) rotateZ(0); } to { transform: rotateX(60deg) rotateY(-20deg) rotateZ(360deg); } }
@keyframes gira { to { transform: rotate(360deg); } }
.orbe-onda { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); display: flex; gap: 5px; align-items: center; height: 34px; }
.orbe-onda span { width: 4px; height: 100%; border-radius: 4px; background: linear-gradient(var(--azul), var(--roxo)); animation: onda 1.2s ease-in-out infinite; transform-origin: center; }
.orbe-onda span:nth-child(2) { animation-delay: -.9s; } .orbe-onda span:nth-child(3) { animation-delay: -.3s; }
.orbe-onda span:nth-child(4) { animation-delay: -.6s; } .orbe-onda span:nth-child(5) { animation-delay: -.15s; }
.orbe-onda span:nth-child(6) { animation-delay: -.75s; } .orbe-onda span:nth-child(7) { animation-delay: -.45s; }
@keyframes onda { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }

.flutuante {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px;
  background: rgba(14, 22, 38, .66); border: 1px solid var(--linha-forte); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); font-size: .82rem; line-height: 1.3; z-index: 3;
  animation: flutua 7s ease-in-out infinite; will-change: transform;
}
.flutuante b { display: block; font-weight: 600; font-size: .88rem; }
.flutuante small { color: var(--fg2); }
.f1 { top: 6%; left: -4%; }
.f2 { top: 46%; right: -6%; animation-delay: -2.4s; }
.f3 { bottom: 4%; left: 2%; animation-delay: -4.6s; }
@keyframes flutua { 50% { translate: 0 -12px; } }
.f-ico { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.f-ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.f-azul { background: rgba(79, 179, 255, .14); color: var(--azul); }
.f-ouro { background: rgba(216, 177, 106, .14); color: var(--ouro); }
.f-verde { background: rgba(95, 211, 141, .14); color: var(--verde); }

.rolar { position: absolute; left: 50%; bottom: 26px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--linha-forte); border-radius: 14px; }
.rolar span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ouro); animation: rolar 2s infinite; }
@keyframes rolar { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- faixa ---------- */
.faixa { border-block: 1px solid var(--linha); background: linear-gradient(90deg, rgba(45, 124, 246, .05), rgba(216, 177, 106, .05)); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.faixa-trilho { display: flex; width: max-content; animation: faixa 38s linear infinite; }
.faixa:hover .faixa-trilho { animation-play-state: paused; }
.faixa-grupo { display: flex; gap: 46px; padding-right: 46px; }
.faixa span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-size: .92rem; color: var(--fg2); letter-spacing: .02em; }
.faixa svg { width: 16px; height: 16px; fill: none; stroke: var(--vermelho); stroke-width: 2.4; stroke-linecap: round; }
.faixa .faixa-ouro { color: var(--ouro2); font-family: var(--serifa); font-style: italic; font-size: 1.18rem; }
.faixa .faixa-ouro svg { stroke: var(--ouro); }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.secao { position: relative; padding: 120px 0; }
.secao-escura { background: linear-gradient(180deg, var(--bg2), var(--bg3) 50%, var(--bg2)); border-block: 1px solid var(--linha); }
.secao-escura::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(800px 400px at 85% 0%, rgba(45, 124, 246, .08), transparent 70%); }
.cabeca { max-width: 760px; margin-bottom: 58px; position: relative; }
.cabeca h2 { margin-bottom: 18px; }

/* revelação */
.revelar { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--suave), transform .9s var(--mola); }
.revelar.visivel { opacity: 1; transform: none; }
.atraso-1 { transition-delay: .1s; } .atraso-2 { transition-delay: .2s; } .atraso-3 { transition-delay: .3s; }

/* painéis */
.painel { background: linear-gradient(160deg, rgba(22, 33, 56, .75), rgba(10, 16, 30, .85)); border: 1px solid var(--linha-forte); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden; backdrop-filter: blur(10px); }
.painel-topo { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--linha); background: rgba(255, 255, 255, .02); }
.painel-topo b { display: block; font-size: .98rem; line-height: 1.2; }
.painel-topo small { color: var(--fg3); font-size: .78rem; }
.selo-ficticio { margin-left: auto; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ouro); border: 1px dashed rgba(216, 177, 106, .5); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* ---------- demonstração ---------- */
.demo-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.avatar-mini { position: relative; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(79, 179, 255, .5), 0 0 18px rgba(79, 179, 255, .5); flex: none; }
.avatar-mini img { width: 100%; height: 100%; object-fit: cover; }
.conversa-corpo { height: 400px; overflow-y: auto; padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--linha-forte) transparent; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: .93rem; line-height: 1.5; animation: msgEntra .5s var(--mola) both; transform-origin: bottom left; }
@keyframes msgEntra { from { opacity: 0; transform: translateY(12px) scale(.92); } }
.msg-eu { align-self: flex-end; background: linear-gradient(135deg, var(--azul2), #4b5ef0); color: #fff; border-bottom-right-radius: 6px; transform-origin: bottom right; }
.msg-jarvis { align-self: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid var(--linha); border-bottom-left-radius: 6px; }
.msg-jarvis b { color: var(--ouro2); font-weight: 600; }
.msg ul { list-style: none; margin-top: 10px; display: grid; gap: 8px; }
.msg li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; padding: 9px 11px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid var(--linha); }
.msg li i { font-style: normal; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 8px; background: rgba(79, 179, 255, .14); color: var(--azul); }
.msg li i.quente { background: rgba(255, 122, 102, .14); color: var(--vermelho); }
.msg li i.ouro { background: rgba(216, 177, 106, .16); color: var(--ouro); }
.msg li small { display: block; color: var(--fg3); font-size: .8rem; }
.digitando-msg { display: inline-flex; gap: 5px; padding: 14px 16px; }
.digitando-msg span { width: 7px; height: 7px; border-radius: 50%; background: var(--fg2); animation: pula 1.2s infinite; }
.digitando-msg span:nth-child(2) { animation-delay: .15s; } .digitando-msg span:nth-child(3) { animation-delay: .3s; }
@keyframes pula { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.conversa-sugestoes { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 20px 20px; border-top: 1px solid var(--linha); }
.conversa-sugestoes button { font-size: .84rem; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--linha-forte); background: rgba(255, 255, 255, .03); color: var(--fg2); transition: all .3s var(--mola); }
.conversa-sugestoes button:hover:not(:disabled) { color: var(--fg); border-color: var(--azul); background: rgba(79, 179, 255, .1); transform: translateY(-2px); }
.conversa-sugestoes button:disabled { opacity: .45; cursor: default; }
.conversa-sugestoes button.usada { border-style: dashed; }

.calc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 20px 20px 0; }
.calc-form label { display: grid; gap: 6px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg3); font-weight: 600; }
.calc-form input[type="date"], .campo-dias { height: 48px; border-radius: 12px; border: 1px solid var(--linha-forte); background: rgba(0, 0, 0, .25); color: var(--fg); padding: 0 12px; font-size: 1rem; letter-spacing: 0; text-transform: none; transition: border-color .25s, box-shadow .25s; color-scheme: dark; width: 100%; }
.calc-form input[type="date"]:focus, .campo-dias:focus-within { border-color: var(--azul); box-shadow: 0 0 0 4px rgba(79, 179, 255, .15); outline: none; }
.campo-dias { display: flex; align-items: center; padding: 0 4px; }
.campo-dias input { width: 100%; min-width: 0; text-align: center; background: none; border: 0; font-size: 1.1rem; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.campo-dias input:focus { outline: none; }
.campo-dias input::-webkit-inner-spin-button, .campo-dias input::-webkit-outer-spin-button { -webkit-appearance: none; }
.campo-dias button { width: 38px; height: 38px; border-radius: 10px; font-size: 1.2rem; color: var(--fg2); flex: none; transition: background .2s, color .2s; }
.campo-dias button:hover { background: rgba(79, 179, 255, .12); color: var(--fg); }
.calc-modo { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--linha); position: relative; }
.calc-modo button { position: relative; z-index: 1; padding: 9px; border-radius: 9px; font-size: .88rem; font-weight: 600; color: var(--fg3); transition: color .3s; }
.calc-modo button[aria-checked="true"] { color: #1a1408; }
.calc-modo::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9px; background: linear-gradient(135deg, #f3dba6, var(--ouro)); transition: transform .45s var(--mola); }
.calc-modo.corridos::before { transform: translateX(100%); }
.calc-resultado { padding: 22px 20px 6px; display: grid; }
.calc-rotulo { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg3); font-weight: 600; }
.calc-data { font-family: var(--serifa); font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 600; line-height: 1.15; color: var(--ouro2); }
.calc-data.troca { animation: troca .5s var(--mola); }
@keyframes troca { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
.calc-detalhe { font-size: .88rem; color: var(--fg2); }
.calc-mes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; padding: 14px 20px 6px; }
.calc-mes .cab { font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fg3); text-align: center; font-weight: 600; }
.calc-mes .d { position: relative; aspect-ratio: 1.25; border-radius: 9px; display: grid; place-items: center; font-size: .78rem; color: var(--fg3); background: rgba(255, 255, 255, .02); border: 1px solid transparent; opacity: 0; transform: scale(.8); animation: celula .4s var(--mola) forwards; }
@keyframes celula { to { opacity: 1; transform: none; } }
.calc-mes .d.vazio { background: none; }
.calc-mes .d.ini { border-color: var(--azul); color: var(--azul); }
.calc-mes .d.conta { background: rgba(79, 179, 255, .14); color: var(--fg); }
.calc-mes .d.conta::after { content: attr(data-n); position: absolute; top: 1px; right: 4px; font-size: .52rem; color: var(--azul); }
.calc-mes .d.pula { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 4px, rgba(255, 255, 255, .07) 4px 8px); color: var(--fg3); text-decoration: line-through; }
.calc-mes .d.vence { background: linear-gradient(135deg, #f3dba6, var(--ouro)); color: #1a1408; font-weight: 700; box-shadow: 0 0 22px rgba(216, 177, 106, .55); }
.calc-mes .d.vence::after { color: #1a1408; }
.calc-mes .mes-nome { grid-column: 1 / -1; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro); margin-top: 6px; font-weight: 600; }
.calc-legenda { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 8px 20px 0; font-size: .74rem; color: var(--fg3); }
.calc-legenda li { display: inline-flex; align-items: center; gap: 6px; }
.calc-legenda i { width: 12px; height: 12px; border-radius: 4px; }
.lg-ini { border: 1.5px solid var(--azul); } .lg-conta { background: rgba(79, 179, 255, .35); }
.lg-pula { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .1) 0 2px, rgba(255, 255, 255, .25) 2px 4px); } .lg-vence { background: var(--ouro); }
.calc-aviso { margin: 16px 20px 20px; padding: 12px 14px; border-radius: 12px; font-size: .8rem; line-height: 1.5; color: var(--fg2); background: rgba(216, 177, 106, .06); border: 1px solid rgba(216, 177, 106, .2); }

/* ---------- recursos ---------- */
.cartoes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.cartao {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; text-align: left; display: flex; flex-direction: column; gap: 12px; padding: 30px 26px 26px; border-radius: var(--r);
  background: linear-gradient(160deg, rgba(24, 36, 60, .7), rgba(10, 16, 30, .8)); border: 1px solid var(--linha);
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--mola), border-color .4s, box-shadow .4s, opacity .9s var(--suave); overflow: hidden;
}
.cartao.revelar:not(.visivel) { transform: translateY(34px); }
.cartao::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(79, 179, 255, .16), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.cartao:hover { border-color: rgba(79, 179, 255, .45); box-shadow: 0 30px 60px -28px rgba(45, 124, 246, .55); }
.cartao:hover::before { opacity: 1; }
.cartao > * { transform: translateZ(28px); }
.cartao-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(79, 179, 255, .16), rgba(154, 123, 255, .14)); border: 1px solid rgba(143, 208, 255, .25); margin-bottom: 6px; transition: transform .5s var(--mola); }
.cartao:hover .cartao-ico { transform: translateZ(50px) rotate(-6deg) scale(1.06); }
.cartao-ico svg { width: 28px; height: 28px; fill: none; stroke: url(#gIcone); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cartao h3 { font-size: 1.45rem; }
.cartao p { font-size: .93rem; color: var(--fg2); flex: 1; }
.cartao-mais { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--ouro); }
.cartao-mais svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--mola); }
.cartao:hover .cartao-mais svg { transform: translateX(5px); }

/* ---------- agentes ---------- */
.agentes-trilho { display: flex; gap: 18px; overflow-x: auto; padding: 10px max(20px, calc((100vw - 1180px) / 2)) 30px; scroll-snap-type: x mandatory; scroll-padding-inline: max(20px, calc((100vw - 1180px) / 2)); scrollbar-width: thin; scrollbar-color: var(--linha-forte) transparent; }
.agente { flex: 0 0 210px; scroll-snap-align: start; border-radius: var(--r); padding: 0 18px 22px; background: linear-gradient(180deg, rgba(24, 36, 60, .45), rgba(10, 16, 30, .85)); border: 1px solid var(--linha); transition: transform .5s var(--mola), border-color .4s, box-shadow .4s; }
.agente:hover { transform: translateY(-8px); border-color: rgba(216, 177, 106, .45); box-shadow: 0 26px 50px -26px rgba(216, 177, 106, .45); }
.agente-foto { height: 230px; display: grid; place-items: end center; position: relative; margin: 0 -18px 14px; background: radial-gradient(120px 120px at 50% 70%, rgba(79, 179, 255, .22), transparent 70%); overflow: hidden; border-radius: var(--r) var(--r) 0 0; }
.agente-foto img { height: 220px; width: auto; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .6)); transition: transform .6s var(--mola); }
.agente:hover .agente-foto img { transform: scale(1.06) translateY(-4px); }
.agente-pessoa .agente-foto { place-items: center; background: radial-gradient(120px 120px at 50% 55%, rgba(216, 177, 106, .25), transparent 70%); }
.agente-pessoa .agente-foto svg { width: 90px; height: 90px; fill: none; stroke: var(--ouro); stroke-width: 1.2; }
.agente-pessoa { border-color: rgba(216, 177, 106, .35); }
.agente h3 { font-size: 1.35rem; margin-bottom: 6px; }
.agente p { font-size: .85rem; color: var(--fg2); line-height: 1.5; }

/* ---------- linha do tempo ---------- */
.linha-tempo { --progresso: 0; position: relative; list-style: none; max-width: 980px; margin: 0 auto; }
.linha-tempo::before, .linha-tempo::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--linha-forte); }
.linha-tempo::after { background: linear-gradient(var(--azul), var(--roxo), var(--ouro)); transform-origin: top; transform: scaleY(var(--progresso)); box-shadow: 0 0 14px rgba(79, 179, 255, .6); }
.lt-item { position: relative; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-bottom: 26px; }
.lt-num { grid-column: 2; justify-self: center; z-index: 1; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serifa); font-size: 1.3rem; font-weight: 700; color: var(--ouro2); background: var(--bg2); border: 1px solid rgba(216, 177, 106, .45); box-shadow: 0 0 0 6px var(--bg3); transition: box-shadow .5s, background .5s; }
.lt-item.visivel .lt-num { background: radial-gradient(circle at 35% 30%, #23365c, var(--bg2)); box-shadow: 0 0 0 6px var(--bg3), 0 0 28px rgba(216, 177, 106, .35); }
.lt-cartao { padding: 24px 26px; border-radius: var(--r); background: rgba(17, 26, 44, .7); border: 1px solid var(--linha); transition: border-color .4s, transform .5s var(--mola); }
.lt-cartao:hover { border-color: rgba(79, 179, 255, .4); transform: translateY(-3px); }
.lt-cartao h3 { font-size: 1.4rem; margin-bottom: 6px; }
.lt-cartao p { font-size: .93rem; color: var(--fg2); }
.lt-item:nth-child(odd) .lt-cartao { grid-column: 1; grid-row: 1; text-align: right; }
.lt-item:nth-child(even) .lt-cartao { grid-column: 3; grid-row: 1; }
.lt-item:nth-child(odd).revelar:not(.visivel) { transform: translateX(-30px); }
.lt-item:nth-child(even).revelar:not(.visivel) { transform: translateX(30px); }

/* ---------- janela de telas ---------- */
.janela { border-radius: 20px; overflow: hidden; background: var(--painel-solido); border: 1px solid var(--linha-forte); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .02), 0 0 120px -40px rgba(45, 124, 246, .45); }
.janela-barra { display: flex; align-items: center; gap: 18px; padding: 12px 16px; border-bottom: 1px solid var(--linha); background: rgba(255, 255, 255, .025); }
.semaforo { display: flex; gap: 7px; flex: none; }
.semaforo i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.semaforo i:nth-child(2) { background: #febc2e; } .semaforo i:nth-child(3) { background: #28c840; }
.janela-abas { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.janela-abas button { padding: 8px 14px; border-radius: 10px; font-size: .86rem; font-weight: 500; color: var(--fg3); white-space: nowrap; transition: background .3s, color .3s; }
.janela-abas button:hover { color: var(--fg); }
.janela-abas button[aria-selected="true"] { background: rgba(79, 179, 255, .14); color: var(--fg); box-shadow: inset 0 0 0 1px rgba(79, 179, 255, .35); }
.janela-tela { padding: 24px; min-height: 380px; animation: telaEntra .55s var(--mola); }
@keyframes telaEntra { from { opacity: 0; transform: translateY(10px); } }
.tela-resumo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.kpi { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--linha); }
.kpi small { display: block; font-size: .74rem; color: var(--fg3); }
.kpi b { font-family: var(--serifa); font-size: 2.2rem; line-height: 1.1; color: var(--azul); }
.kpi-ouro b { color: var(--ouro); }
.tabela { border-radius: 14px; border: 1px solid var(--linha); overflow: hidden; }
.tr { display: grid; grid-template-columns: 70px 1.3fr 1.3fr 1.1fr; gap: 14px; align-items: center; padding: 13px 16px; border-top: 1px solid var(--linha); font-size: .88rem; transition: background .25s; }
.tr:hover:not(.th) { background: rgba(79, 179, 255, .05); }
.tr.th { border-top: 0; background: rgba(255, 255, 255, .03); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); font-weight: 600; }
.tr small { display: block; color: var(--fg3); font-size: .78rem; }
.tr b { text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; color: var(--fg2); }
.tr-feito { opacity: .6; }
.mono { font-family: var(--mono); font-size: .78rem; color: var(--fg2); }
.etq { display: inline-block; font-style: normal; font-size: .74rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.etq-amarelo { background: rgba(240, 193, 78, .14); color: var(--amarelo); }
.etq-azul { background: rgba(79, 179, 255, .14); color: var(--azul); }
.etq-vermelho { background: rgba(255, 122, 102, .14); color: var(--vermelho); }
.etq-verde { background: rgba(95, 211, 141, .14); color: var(--verde); }
.etq-ouro { background: rgba(216, 177, 106, .14); color: var(--ouro2); }
.etq-cinza { background: rgba(255, 255, 255, .06); color: var(--fg3); }
.semana { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.dia { position: relative; height: 320px; border-radius: 14px; background: repeating-linear-gradient(180deg, transparent 0 39px, var(--linha) 39px 40px), rgba(255, 255, 255, .02); border: 1px solid var(--linha); padding-top: 34px; }
.dia > b { position: absolute; top: 8px; left: 12px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg3); }
.dia.hoje { border-color: rgba(216, 177, 106, .5); }
.dia.hoje > b { color: var(--ouro); }
.ev { position: absolute; left: 6px; right: 6px; top: calc(34px + var(--ini) * 40px + 2px); height: calc(var(--dur) * 40px - 4px); border-radius: 9px; padding: 6px 8px; font-size: .74rem; font-weight: 600; line-height: 1.25; overflow: hidden; border-left: 3px solid; }
.ev-amarelo { background: rgba(240, 193, 78, .14); color: #ffe2a0; border-color: var(--amarelo); }
.ev-verde { background: rgba(95, 211, 141, .14); color: #b5f0cc; border-color: var(--verde); }
.ev-vermelho { background: rgba(255, 122, 102, .14); color: #ffc2b8; border-color: var(--vermelho); }
.ev-roxo { background: rgba(154, 123, 255, .16); color: #d7caff; border-color: var(--roxo); }
.ev-azul { background: rgba(79, 179, 255, .14); color: #bfe3ff; border-color: var(--azul); }
.legenda-agenda { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: .78rem; color: var(--fg3); }
.legenda-agenda li { display: inline-flex; align-items: center; gap: 7px; }
.legenda-agenda i { width: 12px; height: 12px; border-radius: 4px; border-left: 3px solid; }
.radar-lista { list-style: none; display: grid; gap: 10px; }
.radar-lista li { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--linha); transition: transform .4s var(--mola), border-color .3s; }
.radar-lista li:hover { transform: translateX(4px); border-color: rgba(216, 177, 106, .35); }
.radar-lista b { font-weight: 600; font-size: .92rem; }
.radar-lista small { display: block; font-size: .78rem; color: var(--fg3); font-family: var(--mono); }
.radar-ponto { width: 10px; height: 10px; border-radius: 50%; background: var(--fg3); }
.radar-ponto.pulsa { background: var(--ouro); box-shadow: 0 0 0 0 rgba(216, 177, 106, .6); animation: pontoPulsa 2s infinite; }
.radar-nota { margin-top: 14px; font-size: .82rem; color: var(--fg3); }

/* ---------- segurança ---------- */
.fluxo { display: grid; grid-template-columns: 1fr 1.1fr 1fr; align-items: center; gap: 0; margin-bottom: 50px; }
.fluxo-no { padding: 28px; border-radius: var(--r); background: rgba(17, 26, 44, .75); border: 1px solid var(--linha-forte); }
.fluxo-escritorio { border-color: rgba(79, 179, 255, .45); box-shadow: 0 0 60px -20px rgba(79, 179, 255, .45); }
.fluxo-fornecedor { border-color: rgba(216, 177, 106, .4); }
.fluxo-no b { display: block; font-family: var(--serifa); font-size: 1.45rem; margin: 10px 0 10px; }
.fluxo-no ul { list-style: none; display: grid; gap: 6px; font-size: .9rem; color: var(--fg2); }
.fluxo-no li::before { content: "·"; color: var(--ouro); margin-right: 8px; font-weight: 700; }
.fluxo-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(79, 179, 255, .12); color: var(--azul); }
.fluxo-fornecedor .fluxo-ico { background: rgba(216, 177, 106, .12); color: var(--ouro); }
.fluxo-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fluxo-linha { position: relative; height: 2px; margin: 0 -1px; background: repeating-linear-gradient(90deg, var(--linha-forte) 0 8px, transparent 8px 14px); }
.fluxo-linha small { position: absolute; left: 50%; top: 14px; transform: translateX(-50%); text-align: center; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg3); white-space: nowrap; line-height: 1.5; }
.fluxo-pulso { position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 16px var(--ouro); animation: pulsoFluxo 3.2s var(--suave) infinite; }
@keyframes pulsoFluxo { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
.seg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.seg { padding: 26px; border-radius: var(--r); background: rgba(17, 26, 44, .55); border: 1px solid var(--linha); transition: border-color .4s, transform .5s var(--mola); }
.seg:hover { border-color: rgba(216, 177, 106, .4); transform: translateY(-4px); }
.seg-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(216, 177, 106, .1); color: var(--ouro); margin-bottom: 14px; }
.seg-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.seg h3 { font-size: 1.32rem; margin-bottom: 6px; }
.seg p { font-size: .9rem; color: var(--fg2); }

/* ---------- bastidores ---------- */
.bastidores { background: radial-gradient(700px 500px at 20% 50%, rgba(216, 177, 106, .08), transparent 70%), var(--bg); }
.bastidores-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.selo-advogado { position: relative; width: min(360px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, rgba(216, 177, 106, .14), rgba(5, 8, 15, .2) 70%); border: 1px solid rgba(216, 177, 106, .3); }
.selo-anel { position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(216, 177, 106, .35); animation: gira 60s linear infinite; }
.selo-balanca { width: 52%; color: var(--ouro); filter: drop-shadow(0 0 18px rgba(216, 177, 106, .35)); }
.bastidores-texto p { color: var(--fg2); margin-bottom: 16px; max-width: 620px; }
.bastidores-texto h2 { margin-bottom: 22px; }
.citacao { font-family: var(--serifa); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.35; color: var(--fg); margin: 30px 0 22px; padding-left: 24px; border-left: 2px solid var(--ouro); }
.assinatura { font-family: var(--serifa); font-size: 1.4rem; font-weight: 600; color: var(--fg) !important; }
.assinatura small { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 500; color: var(--fg3); letter-spacing: .04em; }

/* ---------- para quem ---------- */
.perfis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.perfil { position: relative; padding: 34px 28px; border-radius: var(--r); background: rgba(17, 26, 44, .55); border: 1px solid var(--linha); overflow: hidden; transition: transform .5s var(--mola), border-color .4s; }
.perfil:hover { transform: translateY(-5px); border-color: rgba(79, 179, 255, .4); }
.perfil-num { position: absolute; right: 18px; top: 4px; font-family: var(--serifa); font-size: 5rem; font-weight: 700; color: rgba(216, 177, 106, .1); line-height: 1; }
.perfil h3 { margin-bottom: 8px; }
.perfil p { color: var(--fg2); font-size: .94rem; }

/* ---------- planos ---------- */
.planos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plano { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 36px 30px 30px; border-radius: 26px; background: linear-gradient(170deg, rgba(24, 36, 60, .65), rgba(10, 16, 30, .85)); border: 1px solid var(--linha); transition: transform .5s var(--mola), box-shadow .4s, border-color .4s; }
.plano:hover { transform: translateY(-6px); border-color: rgba(79, 179, 255, .35); box-shadow: 0 30px 60px -30px rgba(45, 124, 246, .45); }
.plano h3 { font-size: 1.7rem; }
.preco { font-family: var(--serifa); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--fg); }
.plano ul { list-style: none; display: grid; gap: 10px; flex: 1; align-content: start; font-size: .94rem; color: var(--fg2); }
.plano li { display: flex; gap: 10px; align-items: flex-start; }
.plano li svg { width: 18px; height: 18px; flex: none; margin-top: 3px; fill: none; stroke: var(--verde); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plano-destaque { border: 1px solid transparent; background: linear-gradient(170deg, rgba(30, 44, 74, .9), rgba(12, 18, 34, .95)) padding-box, linear-gradient(140deg, var(--ouro), rgba(154, 123, 255, .6), var(--azul)) border-box; box-shadow: 0 30px 80px -30px rgba(216, 177, 106, .4); }
.plano-para { font-size: .9rem; color: var(--fg3); margin-top: -10px; }
.preco-bloco.troca { animation: troca .5s var(--mola); }
.preco { display: flex; align-items: baseline; gap: 6px; }
.preco small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--fg3); }
.preco-sub { font-size: .84rem; color: var(--fg2); margin-top: 6px; min-height: 1.3em; }
.plano-destaque .preco-valor { color: var(--ouro2); }
.ciclo-linha { display: flex; justify-content: center; margin: -18px 0 44px; }
.ciclo { position: relative; display: grid; grid-template-columns: auto auto; padding: 5px; border-radius: 999px; background: rgba(0, 0, 0, .3); border: 1px solid var(--linha-forte); }
.ciclo::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: var(--w1, 96px); border-radius: 999px; background: linear-gradient(135deg, #f3dba6, var(--ouro)); box-shadow: 0 8px 24px -8px rgba(216, 177, 106, .7); transition: transform .5s var(--mola), width .5s var(--mola); }
.ciclo.anual::before { transform: translateX(var(--w1, 96px)); width: var(--w2, 200px); }
.ciclo button { position: relative; z-index: 1; padding: 10px 22px; border-radius: 999px; font-size: .92rem; font-weight: 600; color: var(--fg2); display: inline-flex; align-items: center; gap: 8px; transition: color .35s; white-space: nowrap; }
.ciclo button[aria-checked="true"] { color: #1a1408; }
.ciclo-selo { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: rgba(95, 211, 141, .16); color: var(--verde); transition: background .35s, color .35s; }
.ciclo button[aria-checked="true"] .ciclo-selo { background: rgba(26, 20, 8, .14); color: #1a1408; }
.adicionais { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 34px; padding: 16px 22px; border-radius: 16px; border: 1px dashed var(--linha-forte); font-size: .92rem; color: var(--fg2); }
.adicionais b { color: var(--fg); font-weight: 600; }
.adicionais span:first-child b { color: var(--ouro); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; }
.planos-nota { margin-top: 18px; text-align: center; font-size: .8rem; color: var(--fg3); }
.plano-fita { position: absolute; top: -13px; left: 30px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; background: linear-gradient(135deg, #f3dba6, var(--ouro)); color: #1a1408; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-grid .cabeca { position: sticky; top: 110px; margin-bottom: 0; }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 50px 22px 0; font-weight: 600; font-size: 1.04rem; position: relative; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before { content: ""; position: absolute; right: 12px; top: 50%; width: 14px; height: 1.6px; background: var(--ouro); transition: transform .45s var(--mola); }
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: var(--ouro2); }
.faq-corpo { overflow: hidden; }
.faq-corpo p { padding: 0 40px 22px 0; color: var(--fg2); font-size: .97rem; }

/* ---------- chamada final ---------- */
.chamada { position: relative; padding: 150px 0; text-align: center; overflow: hidden; background: radial-gradient(600px 400px at 50% 50%, rgba(45, 124, 246, .22), transparent 70%), var(--bg); }
.chamada-orbe { position: absolute; left: 50%; top: 50%; width: 720px; height: 720px; transform: translate(-50%, -50%); pointer-events: none; }
.chamada-orbe span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(143, 208, 255, .14); animation: ondaChamada 6s ease-out infinite; }
.chamada-orbe span:nth-child(2) { animation-delay: -2s; } .chamada-orbe span:nth-child(3) { animation-delay: -4s; }
@keyframes ondaChamada { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.1); opacity: 0; } }
.chamada-conteudo { position: relative; }
.chamada h2 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); margin-bottom: 18px; }
.chamada .lead { margin: 0 auto 36px; }
.chamada .eyebrow::after { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--ouro), transparent); }
.chamada-nota { margin-top: 20px; font-size: .88rem; color: var(--fg3); }
.chamada-nota a { color: var(--fg2); border-bottom: 1px solid var(--linha-forte); }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid var(--linha); background: var(--bg2); padding: 70px 0 30px; }
.rodape-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--linha); }
.rodape-marca p { margin-top: 16px; color: var(--fg3); font-size: .9rem; max-width: 380px; }
.rodape-col h4 { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ouro); margin-bottom: 14px; }
.rodape-col a, .rodape-col .link { display: block; color: var(--fg2); font-size: .92rem; padding: 4px 0; transition: color .25s, transform .3s var(--mola); }
.rodape-col a:hover, .rodape-col .link:hover { color: var(--fg); transform: translateX(3px); }
.rodape-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .8rem; color: var(--fg3); }

/* ---------- assistente ---------- */
.assistente { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.assistente-botao { position: relative; width: 64px; height: 64px; border-radius: 50%; padding: 0; overflow: visible; transition: transform .45s var(--mola); animation: entraAssistente .8s var(--mola) 1.2s backwards; }
.assistente-botao img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 2px rgba(143, 208, 255, .7), 0 12px 30px rgba(0, 0, 0, .6); }
.assistente-botao::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgba(79, 179, 255, .55); animation: anelAssistente 2.6s ease-out infinite; }
.assistente-botao:hover { transform: scale(1.08); }
@keyframes anelAssistente { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@keyframes entraAssistente { from { opacity: 0; transform: translateY(30px) scale(.6); } }
.assistente-balao { position: relative; max-width: 300px; padding: 16px 18px; border-radius: 20px 20px 6px 20px; background: rgba(16, 25, 44, .9); border: 1px solid var(--linha-forte); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9); font-size: .9rem; line-height: 1.5; transform-origin: bottom right; animation: balao .5s var(--mola); }
@keyframes balao { from { opacity: 0; transform: scale(.6) translateY(10px); } }
.assistente-balao.saindo { animation: balaoSai .3s var(--suave) forwards; }
@keyframes balaoSai { to { opacity: 0; transform: scale(.8) translateY(8px); } }
.assistente-balao p { padding-right: 16px; }
.assistente-balao p b { color: var(--ouro2); }
.balao-fechar { position: absolute; top: 6px; right: 10px; font-size: 1.2rem; color: var(--fg3); line-height: 1; padding: 4px; }
.balao-acoes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.balao-acoes a, .balao-acoes button { font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--linha-forte); color: var(--fg); transition: all .3s var(--mola); }
.balao-acoes a:hover, .balao-acoes button:hover { border-color: var(--ouro); color: var(--ouro2); }
.balao-acoes .primaria { background: linear-gradient(135deg, #f3dba6, var(--ouro)); color: #1a1408; border-color: transparent; }

/* ---------- modal estilo Apple ---------- */
.modal { margin: auto; padding: 0; border: 0; background: none; color: var(--fg); max-width: min(640px, calc(100vw - 32px)); width: 100%; max-height: calc(100vh - 40px); overflow: visible; }
.modal::backdrop { background: rgba(3, 6, 12, .55); backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px); transition: backdrop-filter .45s, background .45s; }
.modal[open]::backdrop { animation: fundoModal .45s var(--suave) forwards; }
.modal.fechando::backdrop { animation: fundoModalSai .35s var(--suave) forwards; }
@keyframes fundoModal { from { background: rgba(3, 6, 12, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); } to { background: rgba(3, 6, 12, .6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); } }
@keyframes fundoModalSai { from { background: rgba(3, 6, 12, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } to { background: rgba(3, 6, 12, 0); backdrop-filter: blur(0); -webkit-backdrop-filter: blur(0); } }
.modal-caixa { position: relative; max-height: calc(100vh - 40px); overflow-y: auto; padding: 40px 38px 34px; border-radius: 28px; background: linear-gradient(165deg, #15213a, #0a101e); border: 1px solid var(--linha-forte); box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .95), 0 0 0 1px rgba(255, 255, 255, .03), 0 0 100px -40px rgba(79, 179, 255, .5); transform-origin: var(--ox, 50%) var(--oy, 50%); }
.modal[open] .modal-caixa { animation: abreModal .6s var(--mola); }
.modal.fechando .modal-caixa { animation: fechaModal .32s var(--suave) forwards; }
@keyframes abreModal { from { opacity: 0; transform: scale(.35); filter: blur(8px); } 60% { filter: blur(0); } }
@keyframes fechaModal { to { opacity: 0; transform: scale(.4); filter: blur(6px); } }
.modal-fechar { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); transition: background .25s, transform .4s var(--mola); }
.modal-fechar:hover { background: rgba(255, 255, 255, .14); transform: rotate(90deg); }
.modal-fechar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.modal-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(79, 179, 255, .18), rgba(154, 123, 255, .16)); border: 1px solid rgba(143, 208, 255, .3); margin-bottom: 18px; }
.modal-ico svg { width: 30px; height: 30px; fill: none; stroke: url(#gIcone); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.modal-conteudo h3 { font-size: 2.2rem; margin-bottom: 12px; }
.modal-conteudo .eyebrow { margin-bottom: 8px; }
.modal-conteudo p { color: var(--fg2); margin-bottom: 14px; }
.modal-lista { list-style: none; display: grid; gap: 10px; margin: 6px 0 14px; }
.modal-lista li { position: relative; padding: 12px 14px 12px 40px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--linha); font-size: .94rem; color: var(--fg2); }
.modal-lista li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--ouro); box-shadow: 0 0 10px rgba(216, 177, 106, .6); }
.modal-passos { list-style: none; counter-reset: p; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.modal-passos li { counter-increment: p; display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--linha); font-size: .86rem; color: var(--fg2); }
.modal-passos li::before { content: counter(p); flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; font-weight: 700; background: rgba(216, 177, 106, .16); color: var(--ouro); }
.modal-passos b { color: var(--fg); font-weight: 600; }
.modal-conteudo > * { animation: conteudoModal .6s var(--mola) backwards; }
.modal-conteudo > *:nth-child(2) { animation-delay: .06s; } .modal-conteudo > *:nth-child(3) { animation-delay: .1s; }
.modal-conteudo > *:nth-child(4) { animation-delay: .14s; } .modal-conteudo > *:nth-child(5) { animation-delay: .18s; }
.modal-conteudo > *:nth-child(n+6) { animation-delay: .22s; }
@keyframes conteudoModal { from { opacity: 0; transform: translateY(12px); } }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
  .cartoes { grid-template-columns: repeat(2, 1fr); }
  .menu { display: none; }
  .hamburguer { display: block; }
  .topo-cta { margin-left: auto; }
}
@media (max-width: 920px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-orbe { order: -1; min-height: 340px; }
  .orbe { width: min(300px, 72vw); }
  .f1 { top: 2%; left: 0; }
  .f2 { top: auto; bottom: 10%; right: 0; }
  .f3 { display: none; }
  .demo-grid, .bastidores-grid, .faq-grid { grid-template-columns: 1fr; }
  .bastidores-grid { gap: 40px; }
  .selo-advogado { width: 220px; }
  .faq-grid { gap: 20px; }
  .faq-grid .cabeca { position: static; }
  .seg-grid, .perfis, .planos { grid-template-columns: 1fr 1fr; }
  .planos .plano-destaque { grid-column: 1 / -1; order: -1; }
  .fluxo { grid-template-columns: 1fr; gap: 0; }
  .fluxo-linha { width: 2px; height: 90px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--linha-forte) 0 8px, transparent 8px 14px); }
  .fluxo-linha small { left: 18px; top: 50%; transform: translateY(-50%); text-align: left; }
  .fluxo-pulso { left: -4px; animation-name: pulsoFluxoV; }
  @keyframes pulsoFluxoV { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }
  .linha-tempo::before, .linha-tempo::after { left: 28px; }
  .lt-item { grid-template-columns: 56px 1fr; gap: 18px; }
  .lt-num { grid-column: 1; }
  .lt-item:nth-child(odd) .lt-cartao, .lt-item:nth-child(even) .lt-cartao { grid-column: 2; text-align: left; }
  .lt-item:nth-child(odd).revelar:not(.visivel), .lt-item:nth-child(even).revelar:not(.visivel) { transform: translateY(30px); }
  .tela-resumo { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --largura: calc(100% - 32px); }
  .secao { padding: 84px 0; }
  .cabeca { margin-bottom: 40px; }
  .topo-cta { display: none; }
  .topo.vidro { background: rgba(6, 10, 19, .9); }
  .eyebrow-pilula { font-size: .64rem; letter-spacing: .1em; }
  .hamburguer { margin-left: auto; }
  .marca-texto b { font-size: 1.28rem; }
  .hero { padding: 96px 0 80px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
  .hero-orbe { min-height: 290px; }
  .orbe { width: min(240px, 66vw); }
  .flutuante { padding: 9px 12px 9px 9px; font-size: .74rem; }
  .flutuante b { font-size: .78rem; }
  .f-ico { width: 30px; height: 30px; border-radius: 10px; }
  .f-ico svg { width: 16px; height: 16px; }
  .f1 { left: -4px; top: 0; }
  .f2 { right: -4px; bottom: 6%; }
  .acoes .botao { flex: 1 1 100%; }
  .hero-fala { margin-top: 30px; }
  .hero-fala-texto { font-size: 1.08rem; }
  .rolar { display: none; }
  .cartoes, .seg-grid, .perfis, .planos { grid-template-columns: 1fr; }
  .conversa-corpo { height: 380px; padding: 18px 14px; }
  .msg { max-width: 94%; }
  .calc-form { grid-template-columns: 1fr; }
  .painel-topo { padding: 14px 16px; }
  .janela-barra { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .janela-barra .selo-ficticio { margin-left: auto; }
  .janela-abas { order: 3; width: 100%; }
  .janela-tela { padding: 16px; }
  .tr { grid-template-columns: 48px 1fr auto; gap: 10px; padding: 12px; }
  .tr > span:nth-child(3) { display: none; }
  .tr .etq { white-space: normal; text-align: center; }
  .semana { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; padding-bottom: 6px; }
  .radar-lista li { grid-template-columns: auto 1fr; }
  .radar-destino { grid-column: 2; }
  .agente { flex-basis: 74%; }
  .agentes-trilho { padding-inline: 16px; scroll-padding-inline: 16px; }
  .chamada { padding: 110px 0; }
  .chamada .botao { width: 100%; white-space: normal; }
  .rodape-grid { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
  .modal-caixa { padding: 34px 22px 24px; border-radius: 24px; }
  .modal-conteudo h3 { font-size: 1.8rem; }
  .modal-passos { grid-template-columns: 1fr; }
  .assistente { right: 14px; bottom: 14px; }
  .assistente-botao { width: 56px; height: 56px; }
  .assistente-balao { max-width: min(280px, calc(100vw - 28px)); }
}

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .revelar { opacity: 1; transform: none; }
  .faixa-trilho { animation: none; }
  .cursor, .hero h1 .digitar.digitando::after { display: none; }
  .fluxo-pulso { display: none; }
}
