/* ==========================================================================
   QEAI — camada visual premium
   Carregada após site.css. Mantém o padrão descrito em docs/UI-STANDARDS.md.
   ========================================================================== */

:root {
  --navy: #0a1022;
  --navy-2: #111b38;
  --violet: #6d3df5;
  --blue: #2f80ff;
  --cyan: #18c7d9;
  --cream: #f8f7fc;
  --line-soft: rgba(255, 255, 255, .12);
}

html { scroll-padding-top: 100px; }
body { background: #fff; }
::selection { background: #6d3df522; }

/* Navegação ---------------------------------------------------------------- */
.nav { transition: box-shadow .25s ease, background .25s ease; }
.nav.is-scrolled { background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px rgba(17, 19, 43, .08); }
.nav-links { gap: 20px; }
.nav-links .btn { padding: 12px 16px; font-size: .82rem; gap: 8px; white-space: nowrap; }
.btn-qeai {
  border-color: #ddd8ee;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(17, 19, 43, .04);
}
.btn-qeai:hover { border-color: #c9bdf3; color: var(--primary); background: #faf8ff; transform: translateY(-1px); }
.btn-qeai span { color: var(--primary); }
.footer-app { color: var(--primary) !important; font-weight: 700; }

/* Hero premium ------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 96px;
  background:
    radial-gradient(65% 60% at 82% 18%, rgba(47, 128, 255, .22) 0%, transparent 62%),
    radial-gradient(55% 55% at 8% 80%, rgba(109, 61, 245, .30) 0%, transparent 62%),
    linear-gradient(145deg, #0b1228 0%, #101a35 55%, #0a1022 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -220px;
  z-index: -1;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(167, 139, 250, .18);
  border-radius: 50%;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 120deg, transparent, rgba(109, 61, 245, .20), transparent 42%, rgba(24, 199, 217, .12), transparent 72%);
  filter: blur(50px);
  animation: aurora 24s linear infinite;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.orb-one { width: 460px; height: 460px; right: -140px; top: -140px; background: radial-gradient(circle, rgba(124, 92, 255, .55), transparent 68%); animation: floatOrb 15s ease-in-out infinite; }
.orb-two { width: 360px; height: 360px; left: -160px; bottom: -160px; background: radial-gradient(circle, rgba(47, 128, 255, .38), transparent 68%); animation: floatOrb 19s ease-in-out infinite reverse; }
.orb-three { width: 180px; height: 180px; left: 38%; top: 12%; background: radial-gradient(circle, rgba(24, 199, 217, .28), transparent 68%); animation: floatOrb 13s ease-in-out infinite; }
.hero-grid { position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero .gradient-text {
  background: linear-gradient(100deg, #c4b5fd 0%, #93c5fd 48%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: #b6c2d9; }
.hero .eyebrow { color: #c4b5fd; }
.hero .eyebrow-dot { background: #7dd3fc; box-shadow: 0 0 0 5px rgba(125, 211, 252, .12); animation: pulseDot 3.2s ease-in-out infinite; }
.hero .trust { color: #9aa8c2; }
.hero .trust span::before { color: #7dd3fc; }
.hero .text-link { color: #e2e8f0; }
.hero .text-link:hover { color: #fff; }
.hero-actions { row-gap: 14px; }
.btn-hero-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .18);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-hero-ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .32); color: #fff; transform: translateY(-1px); }
.hero-art {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 32px 80px rgba(2, 6, 23, .45);
  backdrop-filter: blur(16px);
}
.hero-art img { filter: drop-shadow(0 18px 28px rgba(2, 6, 23, .28)); }
.art-label { color: #c7d2e5; }
.art-caption { background: rgba(8, 13, 30, .82); border-color: rgba(255, 255, 255, .12); color: #fff; box-shadow: 0 18px 40px rgba(2, 6, 23, .28); }
.art-caption div > span { color: #a9b6cc; }
.art-spark { color: #a78bfa; }

/* Faixa de especialidades -------------------------------------------------- */
.expertise-strip { background: linear-gradient(180deg, #fbfaff, #fff); border-bottom-color: #ece8f7; }
.expertise-strip i { color: #a78bfa; }

/* Produto QEAI One --------------------------------------------------------- */
.product-section { padding-top: 94px; padding-bottom: 94px; background: #fff; }
.product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  align-items: center;
  gap: 54px;
  overflow: hidden;
  padding: 56px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(70% 70% at 90% 12%, rgba(47, 128, 255, .24), transparent 60%),
    radial-gradient(60% 60% at 5% 95%, rgba(109, 61, 245, .30), transparent 62%),
    linear-gradient(140deg, #0c1429 0%, #111c3a 58%, #0a1022 100%);
  box-shadow: 0 34px 90px rgba(10, 16, 34, .18);
}
.product-card::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -190px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(167, 139, 250, .17);
  border-radius: 50%;
}
.product-copy { position: relative; z-index: 1; }
.product-copy h2 { color: #fff; margin-top: 18px; }
.product-copy p { max-width: 540px; color: #b7c3d9; font-size: .98rem; }
.product-copy .eyebrow { color: #c4b5fd; }
.product-list { display: grid; gap: 9px; margin: 24px 0 0; padding: 0; list-style: none; }
.product-list li { display: flex; align-items: flex-start; gap: 10px; color: #d8e1f0; font-size: .85rem; }
.product-list li::before { content: "✓"; display: inline-grid; place-items: center; width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; border-radius: 50%; background: rgba(125, 211, 252, .14); color: #7dd3fc; font-size: .66rem; font-weight: 800; }
.product-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.product-actions .text-link { color: #dbe4f3; }
.product-actions .text-link:hover { color: #fff; }
.product-visual { position: relative; z-index: 1; }
.product-window { padding: 16px; border-radius: 18px; background: #fff; color: #1e293b; box-shadow: 0 34px 70px rgba(2, 6, 23, .48); transform: perspective(1200px) rotateY(-5deg) rotateX(1deg); }
.product-window-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid #e6eaf2; }
.product-window-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e2e8f0; }
.product-window-bar i:first-child { background: #fca5a5; }
.product-window-bar i:nth-child(2) { background: #fcd34d; }
.product-window-bar i:nth-child(3) { background: #86efac; }
.product-window-bar span { margin-left: auto; color: #94a3b8; font-size: .61rem; }
.product-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.product-kpis div { padding: 8px; border: 1px solid #e6eaf2; border-radius: 9px; }
.product-kpis small { display: block; color: #94a3b8; font-size: .54rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.product-kpis strong { display: block; color: #0b1220; font-size: .92rem; letter-spacing: -.02em; }
.product-bars { display: flex; align-items: flex-end; gap: 7px; height: 110px; padding: 12px; border-radius: 10px; background: #f8fafc; }
.product-bars i { flex: 1; border-radius: 5px 5px 0 0; background: linear-gradient(180deg, #8b5cf6, #6d3df5); opacity: .9; }
.product-bars i:nth-child(2n) { background: linear-gradient(180deg, #60a5fa, #3b82f6); }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.product-tags span { padding: 3px 8px; border: 1px solid #e6eaf2; border-radius: 999px; color: #64748b; font-size: .59rem; }

/* Movimento e revelação ---------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--reveal-delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.hero-grid > div:first-child > * { animation: heroIn .8s both; }
.hero-grid > div:first-child > *:nth-child(2) { animation-delay: .08s; }
.hero-grid > div:first-child > *:nth-child(3) { animation-delay: .16s; }
.hero-grid > div:first-child > *:nth-child(4) { animation-delay: .24s; }
.hero-grid > div:first-child > *:nth-child(5) { animation-delay: .32s; }
.hero-art { animation: heroIn 1s .18s both; }

@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes floatOrb { 0%, 100% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(24px, -28px, 0) scale(1.06); } }
@keyframes aurora { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulseDot { 0%, 100% { box-shadow: 0 0 0 5px rgba(125, 211, 252, .10); } 50% { box-shadow: 0 0 0 8px rgba(125, 211, 252, .03); } }

@media (max-width: 1050px) {
  .product-card { padding: 42px; gap: 36px; }
  .product-window { transform: none; }
}

@media (max-width: 800px) {
  .hero { padding: 68px 0 62px; }
  .product-card { grid-template-columns: 1fr; padding: 36px 30px; border-radius: 24px; }
  .product-visual { max-width: 520px; }
  .nav-links .btn-qeai { display: inline-flex; }
}

@media (max-width: 520px) {
  .hero { padding-top: 50px; }
  .hero-art { background: rgba(255, 255, 255, .06); }
  .btn-hero-ghost { width: 100%; }
  .product-card { padding: 28px 22px; }
  .product-actions { align-items: flex-start; flex-direction: column; }
  .product-actions .btn { width: 100%; }
  .product-window { padding: 12px; }
  .product-kpis { gap: 5px; }
  .product-kpis div { padding: 6px; }
  .nav-links { flex-wrap: wrap; gap: 12px; }
  .nav-links .btn-qeai, .nav-links .btn-primary { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::after, .hero-orb, .hero .eyebrow-dot, .hero-grid > div:first-child > *, .hero-art { animation: none !important; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
