/* =====================================================
   TEMA AZUL + EFEITOS (v2) — carregar depois de modern.css
   ===================================================== */
:root {
  --bg: #0a2a8f;
  --bg-2: #04124a;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-2: rgba(255, 255, 255, 0.12);
  --line: rgba(160, 190, 230, 0.12);
  --text: #ffffff;
  --muted: #9fb2cc;
  --primary: #22c8ff;
  --secondary: #3dd9b5;
  --accent: #7f9bff;
  --grad: linear-gradient(110deg, #22c8ff 0%, #3dd9b5 50%, #22c8ff 100%);
}
body { background: radial-gradient(1200px 700px at 75% -10%, rgba(34,140,220,.22), transparent 60%), linear-gradient(180deg, #0c1a33 0%, #0a1528 45%, #070f1e 100%); background-color: #0a1528; }
.grad-text { background-size: 200% auto; animation: shine 5s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }

/* Fundo: canvas grade digital + spotlight + barra de progresso */
.bg-glow::before { background: #22c8ff; opacity: .08; }
.bg-glow::after { background: #3a5bff; opacity: .1; }
.grid-lines { display: none; }
#fx-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.spotlight { position: fixed; top: 0; left: 0; width: 560px; height: 560px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(34,200,255,.16), transparent 60%); transform: translate(-50%, -50%); }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); z-index: 200;
  background: var(--grad); box-shadow: 0 0 12px var(--primary); }
main, .footer { position: relative; z-index: 1; }

/* NAV branca */
.nav { background: #fff; border: 0; border-radius: 14px; box-shadow: 0 18px 50px -20px rgba(0, 10, 60, .6); color: #0b1f5c; padding: 10px 10px 10px 22px; }
.header.scrolled .nav { background: rgba(255,255,255,.97); }
.nav .brand { color: #0b1f5c; }
.nav-links a { color: #24345e; }
.nav-links a:hover, .nav-links a.active { color: #0a5bd8; background: #eef5ff; }
.nav .btn-primary { background: linear-gradient(110deg, #1f8bff, #22c8ff); color: #fff; }
.menu-btn { color: #0b1f5c; }

/* Botões com brilho passando */
.btn-primary { background: linear-gradient(110deg, #22c8ff, #3dd9b5); color: #031b4e; position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.65), transparent); transform: skewX(-20deg); animation: sweep 3.5s infinite; }
@keyframes sweep { 60%, 100% { left: 130%; } }
.btn-ghost { border: 1.5px solid rgba(34,200,255,.7); color: #bfefff; background: rgba(34,200,255,.06); }
.btn-ghost:hover { background: rgba(34,200,255,.15); box-shadow: 0 0 25px rgba(34,200,255,.35); }

/* HERO */
.hero { padding: 150px 0 40px; }
.hero-grid { grid-template-columns: 1.1fr .9fr; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -.04em; }
.hero h1 .thin { display: block; font-weight: 300; color: #8fe3ff; }
.hero h1 .bold { display: block; font-weight: 800; color: var(--primary); min-height: 1.12em; }
.typed { border-right: 3px solid var(--primary); padding-right: 4px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero p.lead { color: #e6efff; font-weight: 500; }

/* ÓRBITA */
.orbit-wrap { position: relative; width: min(480px, 100%); aspect-ratio: 1; margin-inline: auto; transition: transform .25s ease-out; }
.orbit { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1.5px solid rgba(34,200,255,.3);
  box-shadow: 0 0 30px rgba(34,200,255,.25), inset 0 0 30px rgba(34,200,255,.15); animation: spin var(--t) linear infinite; }
.orbit.o1 { width: 100%; height: 100%; margin: -50% 0 0 -50%; --t: 46s; }
.orbit.o2 { width: 64%; height: 64%; margin: -32% 0 0 -32%; --t: 30s; animation-direction: reverse; border-style: dashed; }
.planet { position: absolute; top: 50%; left: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(-1 * var(--a))); }
.o1 .planet { --r: calc(min(480px, 100vw - 32px) / 2); }
.o2 .planet { --r: calc(min(480px, 100vw - 32px) * .32); }
.planet > i { position: absolute; width: 60px; height: 60px; margin: -30px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-weight: 800; font-size: .72rem; font-family: "Sora", sans-serif; text-align: center; line-height: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 0 4px rgba(255,255,255,.1); animation: spin var(--t) linear infinite reverse; }
.o2 .planet > i { width: 48px; height: 48px; margin: -24px; animation-direction: normal; }
.planet > i svg { width: 28px; height: 28px; }
@keyframes spin { to { transform: rotate(360deg); } }
.core { position: absolute; top: 50%; left: 50%; width: 36%; aspect-ratio: 1; margin: -18% 0 0 -18%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1d3a6e, #0b1730 70%); display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(34,200,255,.08), 0 0 80px rgba(34,200,255,.5); animation: pulse 3s ease-in-out infinite; }
.core span { font-family: "Sora", sans-serif; font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.6rem); letter-spacing: -.05em;
  background: linear-gradient(120deg, #22c8ff, #b8f6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.core::before, .core::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(34,200,255,.6); animation: ripple 3s ease-out infinite; }
.core::after { animation-delay: 1.5s; }
@keyframes ripple { to { inset: -90px; opacity: 0; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 16px rgba(34,200,255,.06), 0 0 120px rgba(34,200,255,.75); } }

/* POSSIBILIDADES — cards ciano sobrepostos */
.possib { padding: 20px 0 90px; background: linear-gradient(180deg, transparent 0 58%, rgba(6, 12, 26, .55) 58%); }
.possib h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: #8fe3ff; margin-bottom: 30px; letter-spacing: -.03em; }
.possib h2 b { font-weight: 800; color: var(--primary); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { display: block; background: linear-gradient(160deg, rgba(34,200,255,.16), rgba(61,217,181,.08)); border: 1px solid rgba(34,200,255,.3); backdrop-filter: blur(10px); color: #e6f4ff; border-radius: 8px; padding: 26px 24px 30px;
  box-shadow: 0 25px 50px -20px rgba(0, 20, 80, .9); transition: transform .2s ease-out, box-shadow .3s; position: relative; overflow: hidden; }
.pcard h3 { font-size: 1.12rem; color: #fff; margin-bottom: 12px; }
.pcard p { font-size: .9rem; color: var(--muted); }
.pcard .go { display: inline-block; margin-top: 16px; font-weight: 700; font-size: .85rem; color: var(--primary); transition: transform .25s; }
.pcard:hover .go { transform: translateX(6px); }
.pcard::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(34,200,255,.18), transparent 45%); opacity: 0; transition: opacity .3s; }
.pcard:hover::after { opacity: 1; }
.pcard:hover { box-shadow: 0 35px 70px -20px rgba(34, 200, 255, .7); }

/* Fotos dos produtos */
.product .shot { border: 0; border-radius: 12px; filter: saturate(.8) brightness(.85) contrast(1.05); transition: filter .4s, transform .5s cubic-bezier(.2,.8,.2,1); box-shadow: 0 15px 35px -15px rgba(0,0,0,.7); }
.product:hover .shot { filter: none; transform: scale(1.03); }

/* Faixa de logos */
.marquee { background: rgba(6, 12, 26, .55); border-color: rgba(140,190,255,.12); padding: 34px 0; }
.marquee-track span { color: #6fd8ff; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

/* Cards gerais */
.card { background: rgba(20, 36, 64, .55); backdrop-filter: blur(10px); transition: border-color .3s, box-shadow .3s, transform .2s ease-out; }
.card:hover { border-color: rgba(34,200,255,.6); box-shadow: 0 30px 60px -25px rgba(34,200,255,.45); }
.card::before { background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(34,200,255,.22), transparent 50%); }
.icon { background: linear-gradient(135deg, rgba(34,200,255,.25), rgba(61,217,181,.2)); }
.product.featured { border-color: rgba(34,200,255,.6); background: linear-gradient(180deg, rgba(34,200,255,.16), rgba(8,30,110,.45)); }
.stats { background: rgba(20, 36, 64, .55); }
.stats strong { background: linear-gradient(120deg, #fff, #8fe3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cta { background: radial-gradient(circle at 15% 0%, rgba(34,200,255,.45), transparent 50%), radial-gradient(circle at 90% 100%, rgba(61,217,181,.35), transparent 50%), #10203d; }
.footer { background: rgba(6, 11, 22, .85); }

/* Títulos revelados palavra por palavra */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 45ms); }
.split.in .w > span { transform: none; }

/* Formulário no tema azul */
.field input, .field textarea { background: rgba(6, 12, 26, .5); }
.field input::placeholder, .field textarea::placeholder { color: #7f95c4; }
.modal-card { background: #10203d; }

@media (max-width: 1024px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) {
  .pgrid { grid-template-columns: 1fr; }
  .planet > i { width: 44px; height: 44px; margin: -22px; font-size: .6rem; }
  .o2 .planet > i { width: 38px; height: 38px; margin: -19px; }
  .planet > i svg { width: 22px; height: 22px; }
  .spotlight { display: none; }
}
@media (prefers-reduced-motion: reduce) { .split .w > span { transform: none; } }
