/* TVasconcelos — site styles (2026 redesign) */
:root {
  --bg: #070b14;
  --bg-2: #0c1322;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #e8edf7;
  --muted: #93a0b8;
  --blue: #3b82ff;
  --cyan: #3ee6ff;
  --amber: #ffb547;
  --radius: 20px;
  --max: 1180px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), 100% - 48px); margin-inline: auto; }

/* ---------- background grid + glow ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 11, 20, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-color: var(--panel-border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: conic-gradient(from 200deg, var(--blue), var(--cyan), var(--blue));
  display: grid; place-items: center;
  box-shadow: 0 0 24px rgba(59,130,255,.55);
}
.brand-mark::after { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 8px 16px; border-radius: 999px; font-size: .95rem; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--panel); }
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(59,130,255,.16); }
.nav-cta {
  padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  background: var(--text); color: var(--bg);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(62,230,255,.35); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../images/banner2.jpg?v=202611292119") center 30% / cover no-repeat;
  transform: scale(1.08);
  filter: saturate(1.1);
  will-change: transform;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,11,20,.96) 0%, rgba(7,11,20,.82) 45%, rgba(7,11,20,.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
  padding: 7px 14px; border: 1px solid rgba(62,230,255,.3); border-radius: 999px;
  background: rgba(62,230,255,.06);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #2bff88; box-shadow: 0 0 0 0 rgba(43,255,136,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43,255,136,0); } 100% { box-shadow: 0 0 0 0 rgba(43,255,136,0); } }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 700;
  margin: 24px 0 22px;
}
.grad {
  background: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, var(--amber) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
.hero .lead { font-size: 1.2rem; color: #c3cde0; max-width: 34ch; margin-bottom: 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: linear-gradient(135deg, var(--blue), #6a5bff); color: #fff; box-shadow: 0 10px 40px rgba(59,130,255,.45); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(59,130,255,.65); }
.btn-ghost { border: 1px solid var(--panel-border); background: rgba(255,255,255,.05); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }

/* live monitor panel */
.monitor {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(14,22,40,.85), rgba(7,11,20,.85));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
  padding: 18px;
  font-family: var(--font-mono);
}
.monitor-head { display: flex; justify-content: space-between; align-items: center; font-size: .72rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.monitor-head .ok { color: #2bff88; display: flex; align-items: center; gap: 8px; }
.monitor canvas { width: 100%; display: block; border-radius: 12px; background: rgba(0,0,0,.35); }
.monitor-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.readouts { display: grid; gap: 10px; align-content: start; }
.readout { background: rgba(255,255,255,.04); border: 1px solid var(--panel-border); border-radius: 12px; padding: 10px 12px; }
.readout small { display: block; font-size: .66rem; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.readout strong { font-size: 1.25rem; font-weight: 500; color: var(--text); }
.readout strong em { font-style: normal; font-size: .72rem; color: var(--muted); margin-left: 4px; }

.scroll-hint { position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- sections ---------- */
section { padding: 120px 0; position: relative; }
.section-label { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; display: block; }
.section-title { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; margin-bottom: 18px; }
.section-sub { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }

/* stats strip */
.stats { padding: 0; margin-top: -40px; position: relative; z-index: 2; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--panel-border); border-radius: var(--radius);
  background: rgba(12,19,34,.75); backdrop-filter: blur(12px);
  overflow: hidden;
}
.stat { padding: 30px 28px; border-right: 1px solid var(--panel-border); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; }
.stat .num span { color: var(--cyan); }
.stat p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }

/* story */
.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.story-photo { position: relative; }
.story-photo img { border-radius: var(--radius); filter: grayscale(1) contrast(1.1); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.story-photo::before {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border-radius: var(--radius);
  border: 1px solid rgba(62,230,255,.35); z-index: -1;
}
.story-photo figcaption { position: absolute; left: 18px; bottom: 18px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(7,11,20,.8); padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }

.timeline { list-style: none; margin: 34px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--cyan), var(--blue), transparent); }
.timeline li { position: relative; padding: 0 0 26px 40px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--cyan); box-shadow: 0 0 14px rgba(62,230,255,.6); }
.timeline .yr { font-family: var(--font-mono); color: var(--cyan); font-size: .85rem; }
.timeline h4 { font-size: 1.15rem; margin: 2px 0 4px; }
.timeline p { color: var(--muted); margin: 0; font-size: .98rem; }

/* products */
.products-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; flex-wrap: wrap; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card {
  position: relative;
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(140deg, rgba(62,230,255,.45), rgba(255,255,255,.06) 40%, rgba(59,130,255,.45));
  transform-style: preserve-3d;
  transition: transform .25s ease-out, box-shadow .3s;
}
.card:hover { box-shadow: 0 30px 90px rgba(59,130,255,.25); }
.card-inner {
  border-radius: 24px; height: 100%;
  background: radial-gradient(120% 80% at var(--mx, 50%) var(--my, 0%), rgba(59,130,255,.16), transparent 55%), var(--bg-2);
  padding: 34px;
  display: flex; flex-direction: column;
}
.card-img {
  border-radius: 18px; background: radial-gradient(circle at 50% 55%, #ffffff 0%, #dfe6f2 70%);
  aspect-ratio: 16/10; display: grid; place-items: center; overflow: hidden; margin-bottom: 28px;
}
.card-img img { width: 62%; transition: transform .5s cubic-bezier(.2,.8,.2,1); mix-blend-mode: multiply; }
.card:hover .card-img img { transform: scale(1.08) translateY(-4px); }
.tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.card h3 { font-size: 1.9rem; margin: 8px 0 12px; }
.card p { color: var(--muted); flex: 1; }
.card-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  border: 1px solid var(--panel-border); background: rgba(255,255,255,.04);
  transition: background .2s, border-color .2s, transform .2s;
}
.chip:hover { background: rgba(59,130,255,.18); border-color: rgba(59,130,255,.6); transform: translateY(-2px); }
.chip svg { width: 15px; height: 15px; }

/* CTA */
.cta { padding: 60px 0 120px; }
.cta-box {
  position: relative; overflow: hidden;
  border-radius: 32px; padding: 72px 56px;
  background: linear-gradient(135deg, #1a3cff 0%, #3b82ff 45%, #20c8e8 100%);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
}
.cta-box::before {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255,255,255,.08);
}
.cta-box::after {
  content: ""; position: absolute; right: 60px; bottom: -160px; width: 300px; height: 300px; border-radius: 50%;
  border: 40px solid rgba(255,255,255,.06);
}
.cta-box h2 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; }
.cta-box p { color: rgba(255,255,255,.85); margin: 14px 0 0; font-size: 1.1rem; }
.cta-box .btn { background: #fff; color: #0b1a4a; justify-self: end; position: relative; z-index: 1; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.cta-box .btn:hover { transform: translateY(-2px) scale(1.02); }

/* about page */
.page-hero { padding: 170px 0 60px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.portrait { position: sticky; top: 110px; }
.portrait-frame {
  border-radius: 28px; padding: 2px;
  background: linear-gradient(160deg, var(--cyan), transparent 40%, var(--blue));
}
.portrait img { border-radius: 26px; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; }
.portrait-badge {
  position: absolute; right: -18px; bottom: 32px;
  background: rgba(12,19,34,.9); backdrop-filter: blur(10px);
  border: 1px solid var(--panel-border); border-radius: 16px; padding: 14px 18px;
  font-family: var(--font-mono); font-size: .78rem; line-height: 1.5;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.portrait-badge b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--cyan); }
.role-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 34px; }
.role-list span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--panel-border); background: var(--panel); font-size: .9rem; }
.role-list span:first-child { border-color: rgba(62,230,255,.4); color: var(--cyan); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 34px; }
.fact { padding: 24px; border-radius: var(--radius); border: 1px solid var(--panel-border); background: var(--panel); transition: border-color .3s, transform .3s; }
.fact:hover { border-color: rgba(62,230,255,.4); transform: translateY(-4px); }
.fact .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(59,130,255,.15); color: var(--cyan); margin-bottom: 14px; }
.fact .ico svg { width: 22px; height: 22px; }
.fact h4 { font-size: 1.05rem; margin-bottom: 6px; }
.fact p { color: var(--muted); font-size: .95rem; margin: 0; }
.about-text p { color: #c3cde0; font-size: 1.12rem; }
.ita-logo { background: #fff; border-radius: 12px; padding: 8px 12px; display: inline-block; margin-bottom: 14px; box-shadow: 0 6px 24px rgba(255, 200, 40, .18); transition: transform .3s, box-shadow .3s; }
.ita-logo img { height: 44px; width: auto; }
.fact-ita:hover .ita-logo { transform: translateY(-2px) rotate(-2deg); box-shadow: 0 10px 30px rgba(255, 200, 40, .35); }
.about-text .big { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.35; color: var(--text); letter-spacing: -.01em; }

/* footer */
footer { border-top: 1px solid var(--panel-border); padding: 64px 0 40px; background: linear-gradient(transparent, rgba(59,130,255,.04)); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
footer h5 { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
footer a { color: #c3cde0; transition: color .2s; }
footer a:hover { color: var(--cyan); }
footer address { font-style: normal; color: #c3cde0; line-height: 1.7; }
footer .tagline { color: var(--muted); margin-top: 14px; max-width: 30ch; }
.foot-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--panel-border); display: flex; justify-content: space-between; color: var(--muted); font-size: .88rem; flex-wrap: wrap; gap: 12px; }

/* back to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(12,19,34,.85); border: 1px solid var(--panel-border); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .3s, transform .3s, border-color .2s;
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--cyan); }
.to-top svg { width: 20px; height: 20px; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .story-grid, .about-grid, .cta-box { grid-template-columns: 1fr; }
  .monitor { max-width: 520px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--panel-border); }
  .products-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cta-box .btn { justify-self: start; }
  .portrait { position: relative; top: 0; max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 80px 0; }
  .nav-cta { display: none; }
  .nav-links a { padding: 8px 12px; }
  .hero { padding-top: 110px; }
  .cta-box { padding: 48px 28px; }
  .card-inner { padding: 24px; }
  .facts { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 220px; margin-inline: auto; }
  .portrait img { aspect-ratio: 1 / 1; object-position: center 15%; }
  .portrait-badge { right: -28px; bottom: -18px; padding: 10px 14px; font-size: .7rem; }
  .portrait-badge b { font-size: 1.3rem; }
  .about-grid { gap: 40px; }
  .scroll-hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- guia ---------- */
.g-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.g-step { padding: 26px; border-radius: var(--radius); border: 1px solid var(--panel-border); background: var(--panel); }
.g-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #04101f; font-family: var(--font-display); font-weight: 700; margin-bottom: 16px; }
.g-step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.g-step p { color: var(--muted); font-size: .95rem; margin: 0; }

.g-wiz { margin-top: 40px; border-radius: 26px; border: 1px solid var(--panel-border); background: var(--bg-2); padding: 28px; }
.g-prog { display: flex; align-items: center; gap: 14px; font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.g-bar { flex: 1; height: 6px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; }
.g-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--cyan)); transition: width .5s cubic-bezier(.2,.8,.2,1); }
.g-q { padding: 24px 0; border-bottom: 1px dashed var(--panel-border); }
.g-q h4 { font-size: 1.05rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.g-q h4 b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(59,130,255,.16); color: var(--cyan); font-size: .85rem; }
.g-q.done h4 b { background: var(--cyan); color: #04101f; }
.g-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.g-opt { text-align: left; font: inherit; color: var(--text); cursor: pointer; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--panel-border); background: rgba(255,255,255,.03); display: flex; flex-direction: column; gap: 3px; transition: border-color .2s, background .2s, transform .2s; }
.g-opt:hover { border-color: rgba(62,230,255,.45); transform: translateY(-2px); }
.g-opt.on { border-color: var(--cyan); background: rgba(62,230,255,.1); }
.g-opt span { color: var(--muted); font-size: .85rem; }
.g-idle { color: var(--muted); text-align: center; margin: 24px 0 0; }
.g-res { padding-top: 26px; animation: gpop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes gpop { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.g-pill { display: inline-block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); border: 1px solid rgba(62,230,255,.35); padding: 6px 12px; border-radius: 999px; }
.g-rmain { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin: 18px 0; }
.g-rcard { display: flex; gap: 16px; align-items: center; padding: 14px; border-radius: 18px; border: 1px solid var(--cyan); background: rgba(62,230,255,.06); }
.g-rimg { width: 110px; flex: none; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.g-rimg img { width: 100%; height: 100%; object-fit: contain; }
.g-rimg .g-ph b { display: none; }
.g-rcard small { font-family: var(--font-mono); font-size: .7rem; color: var(--amber); text-transform: uppercase; letter-spacing: .08em; }
.g-rcard h4 { font-size: 1.5rem; margin: 4px 0; }
.g-rcard p { color: var(--muted); font-size: .92rem; margin: 0; }
.g-also { color: var(--muted); }
.g-also a { color: var(--cyan); font-weight: 600; }
.g-why { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.g-why li { position: relative; padding-left: 26px; color: #c3cde0; font-size: .96rem; }
.g-why li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.g-warn, .g-note { padding: 14px 18px; border-radius: 14px; border: 1px solid rgba(255,181,71,.4); background: rgba(255,181,71,.08); color: #ffd9a0; margin-bottom: 20px; }
.g-note { margin-top: 24px; }
.g-fine { color: var(--muted); font-size: .82rem; margin: 16px 0 0; }

.g-hub { margin-top: 40px; display: grid; grid-template-columns: 1fr .8fr .8fr; align-items: center; border-radius: 26px; border: 1px solid var(--panel-border); background: var(--bg-2); padding: 28px; }
.g-src { list-style: none; margin: 0; padding: 0; display: grid; grid-template-rows: repeat(4, 64px); gap: 10px; }
.g-src li { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; border-radius: 14px; border: 1px solid var(--panel-border); border-left: 4px solid var(--c); background: rgba(255,255,255,.03); }
.g-src span { color: var(--muted); font-size: .85rem; }
.g-flow { display: grid; grid-template-rows: repeat(4, 64px); gap: 10px; }
.g-flow i { position: relative; align-self: center; height: 2px; background: linear-gradient(90deg, var(--c), transparent); opacity: .6; }
.g-flow i::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); animation: gdot 2.4s linear infinite; }
.g-flow i:nth-child(2)::after { animation-delay: .6s; } .g-flow i:nth-child(3)::after { animation-delay: 1.2s; } .g-flow i:nth-child(4)::after { animation-delay: 1.8s; }
@keyframes gdot { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 10px); opacity: 0; } }
.g-core { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 240px; width: 100%; margin: 0 auto; }
.g-core .ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(62,230,255,.4); animation: gring 3s ease-out infinite; }
.g-core .ring:nth-child(2) { animation-delay: 1.5s; }
@keyframes gring { from { transform: scale(.55); opacity: .9; } to { transform: scale(1.05); opacity: 0; } }
.g-core-in { width: 64%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 30% 25%, var(--cyan), var(--blue) 55%, #102a66); box-shadow: 0 0 60px rgba(59,130,255,.5); }
.g-core-in b { font-family: var(--font-display); font-size: 1.3rem; }
.g-core-in small { font-size: .75rem; color: #dbe8ff; }

.g-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.g-chip { --c: var(--text); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; color: var(--text); padding: 9px 18px; border-radius: 999px; border: 1px solid var(--panel-border); background: rgba(255,255,255,.04); transition: all .2s; }
.g-chip:hover { border-color: var(--c); }
.g-chip.on { background: var(--c); border-color: var(--c); color: #04101f; }
.g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; }
.g-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--panel-border); background: var(--bg-2); display: flex; flex-direction: column; transition: opacity .3s, filter .3s, transform .3s, border-color .3s; }
.g-card:hover { transform: translateY(-5px); border-color: rgba(62,230,255,.4); }
.g-card.dim { opacity: .25; filter: grayscale(.8); }
.g-card.pulse { animation: gpulse 1.2s ease 2; }
@keyframes gpulse { 50% { box-shadow: 0 0 0 6px rgba(62,230,255,.45); } }
.g-img { position: relative; aspect-ratio: 16/10; background: radial-gradient(circle at 50% 55%, #fff, #dfe6f2 70%); display: grid; place-items: center; }
.g-img { overflow: hidden; }
.g-img img { width: auto; max-width: 72%; max-height: 190px; mix-blend-mode: multiply; }
.g-img.ph { background: radial-gradient(circle at 50% 40%, rgba(59,130,255,.18), transparent 70%), #0a1222; }
.g-img > span { position: absolute; left: 12px; bottom: 12px; font-size: .75rem; padding: 4px 11px; border-radius: 999px; background: rgba(7,11,20,.85); }
.g-ph { display: grid; justify-items: center; gap: 10px; color: var(--c); }
.g-ph svg { width: 64px; height: 64px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 14px var(--c)); }
.g-ph b { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); }
.g-rimg .g-ph svg { width: 44px; height: 44px; }
.g-rimg:has(.g-ph) { background: #0a1222; }
.g-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.g-tags { display: flex; gap: 6px; }
.g-tags i { font-style: normal; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c); border: 1px solid var(--c); padding: 2px 9px; border-radius: 999px; }
.g-body h3 { font-size: 1.5rem; }
.g-body p { color: var(--muted); font-size: .93rem; margin: 0; }
.g-body .g-ideal { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--panel-border); }
.g-ideal b { color: var(--text); }

.g-table { margin-top: 32px; overflow-x: auto; border-radius: 18px; border: 1px solid var(--panel-border); }
.g-table table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: .92rem; }
.g-table th { text-align: left; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px; background: rgba(255,255,255,.04); }
.g-table td { padding: 14px; border-top: 1px solid var(--panel-border); color: #c3cde0; vertical-align: top; }
.g-table td:first-child { font-weight: 700; color: var(--text); white-space: nowrap; }
.g-table tr:hover td { background: rgba(59,130,255,.06); }
.g-fn { font-size: .78rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.g-fn.mo { background: rgba(62,230,255,.14); color: var(--cyan); }
.g-fn.pr { background: rgba(255,92,108,.16); color: #ff8a96; }
.g-fn.mx { background: rgba(255,181,71,.16); color: var(--amber); }
.guide-promo { padding: 0 0 60px; }

@media (max-width: 980px) {
  .g-steps { grid-template-columns: 1fr 1fr; }
  .g-hub { grid-template-columns: 1fr; gap: 24px; }
  .g-flow { display: none; }
  .g-src { grid-template-rows: none; }
  .g-src li { min-height: 60px; }
}
@media (max-width: 640px) {
  .g-steps { grid-template-columns: 1fr; }
  .g-wiz, .g-hub { padding: 20px; }
  .g-rcard { flex-direction: column; align-items: flex-start; }
  .g-grid { grid-template-columns: 1fr; }
}
.g-img .g-ph b { display: none; }

/* portfólio (início) */
.pf-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.pf-item { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 18px; border: 1px solid var(--panel-border); background: var(--bg-2); transition: transform .25s, border-color .25s; }
.pf-item:hover { transform: translateY(-5px); border-color: rgba(62,230,255,.45); }
.pf-img { aspect-ratio: 1; border-radius: 12px; background: radial-gradient(circle at 50% 55%, #fff, #dfe6f2 75%); display: grid; place-items: center; margin-bottom: 8px; overflow: hidden; }
.pf-img img { max-width: 82%; max-height: 82%; mix-blend-mode: multiply; }
.pf-item b { font-family: var(--font-display); font-size: 1.05rem; }
.pf-item span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1100px) { .pf-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }

/* caixa de contato */
.ct-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.ct-modal[hidden] { display: none; }
.ct-backdrop { position: absolute; inset: 0; background: rgba(3,6,12,.72); backdrop-filter: blur(6px); animation: ctfade .25s ease; }
.ct-card { position: relative; width: min(480px, 100%); border-radius: 26px; padding: 28px; background: linear-gradient(160deg, #101a30, #0a1020); border: 1px solid var(--panel-border); box-shadow: 0 40px 100px rgba(0,0,0,.6); animation: ctpop .3s cubic-bezier(.2,.8,.2,1); }
@keyframes ctfade { from { opacity: 0; } }
@keyframes ctpop { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.ct-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--panel-border); background: rgba(255,255,255,.05); color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.ct-x:hover { border-color: var(--cyan); }
.ct-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; padding-right: 30px; }
.ct-head img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid var(--cyan); }
.ct-head h3 { font-size: 1.25rem; }
.ct-head p { margin: 4px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.4; }
.ct-topic { font-family: var(--font-mono); font-size: .75rem; color: var(--cyan); background: rgba(62,230,255,.08); border: 1px solid rgba(62,230,255,.25); border-radius: 10px; padding: 8px 12px; margin: 0 0 14px; }
.ct-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--panel-border); background: rgba(255,255,255,.03); margin-top: 10px; transition: border-color .2s, transform .2s; }
a.ct-row:hover { transform: translateY(-2px); border-color: rgba(62,230,255,.45); }
.ct-row > svg { width: 26px; height: 26px; flex: none; color: var(--cyan); }
.ct-row div { flex: 1; min-width: 0; }
.ct-row b { display: block; }
.ct-row span { color: var(--muted); font-size: .88rem; }
.ct-mail { font-size: .84rem; overflow-wrap: anywhere; }
.ct-row i { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--cyan); white-space: nowrap; }
.ct-row button { font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--panel-border); background: rgba(255,255,255,.06); color: var(--text); }
.ct-row button:hover { border-color: var(--cyan); }
.ct-wa { background: #25d366; border-color: #25d366; color: #05210f; }
.ct-wa > svg, .ct-wa i { color: #05210f; }
.ct-wa span { color: #0b3d1e; }
a.ct-wa:hover { border-color: #5ff59a; box-shadow: 0 10px 30px rgba(37,211,102,.35); }
.foot-wa { display: inline-flex; align-items: center; gap: 6px; }
.foot-wa svg { width: 16px; height: 16px; color: #25d366; }
@media (max-width: 480px) { .ct-card { padding: 22px; } .ct-wa i { display: none; } .ct-head h3 { font-size: 1.1rem; } }
.brand-logo { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 22px rgba(59,130,255,.5); transition: transform .3s; }
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.06); }

/* cartão "em breve" */
.g-soon { grid-column: span 2; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 36px; border-radius: 22px; border: 1.5px dashed rgba(62,230,255,.35); background: radial-gradient(120% 90% at 100% 0%, rgba(59,130,255,.18), transparent 60%), rgba(255,255,255,.02); }
.g-soon[hidden] { display: none; }
.g-soon > svg { position: absolute; right: 28px; bottom: 22px; width: 150px; height: 150px; color: rgba(62,230,255,.12); }
.g-soon h3 { font-size: 1.8rem; max-width: 18ch; }
.g-soon p { color: var(--muted); margin: 0 0 6px; max-width: 42ch; position: relative; }
.g-soon .btn { position: relative; }
.g-soon-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(255,181,71,.4); background: rgba(255,181,71,.08); padding: 6px 12px; border-radius: 999px; }
.g-soon-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: soonPing 2s infinite; }
@keyframes soonPing { 0% { box-shadow: 0 0 0 0 rgba(255,181,71,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,181,71,0); } 100% { box-shadow: 0 0 0 0 rgba(255,181,71,0); } }
@media (max-width: 1100px) { .g-soon { grid-column: auto; } }

/* cartão System 1 */
.s1-card { margin-top: 24px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: 26px; overflow: hidden; border: 1px solid rgba(62,230,255,.3); background: var(--bg-2); box-shadow: 0 30px 80px rgba(59,130,255,.15); }
.s1-img { background: #fff; display: grid; place-items: center; padding: 18px; }
.s1-img img { width: 100%; border-radius: 10px; }
.s1-body { padding: 34px; display: flex; flex-direction: column; gap: 10px; }
.s1-body .tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); }
.s1-body h3 { font-size: 2rem; }
.s1-body p { color: var(--muted); margin: 0; }
.s1-list { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 6px; }
.s1-list li { position: relative; padding-left: 24px; color: #c3cde0; font-size: .95rem; }
.s1-list li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
@media (max-width: 900px) { .s1-card { grid-template-columns: 1fr; } .s1-body { padding: 24px; } }
@media (max-width: 480px) {
  .nav .brand { font-size: 0; gap: 0; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 8px 12px; font-size: .92rem; }
}

/* barra "instalar app" */
.app-install { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 18px; background: rgba(12,19,34,.94); border: 1px solid rgba(62,230,255,.3); backdrop-filter: blur(12px); box-shadow: 0 16px 40px rgba(0,0,0,.5); animation: ctpop .35s cubic-bezier(.2,.8,.2,1); }
.app-install[hidden] { display: none; }
.app-install img { width: 42px; height: 42px; border-radius: 11px; flex: none; }
.app-install div { flex: 1; min-width: 0; line-height: 1.25; }
.app-install b { display: block; font-size: .95rem; }
.app-install span { color: var(--muted); font-size: .8rem; }
.app-go { font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; padding: 9px 16px; border-radius: 999px; border: 0; color: #fff; background: linear-gradient(135deg, var(--blue), #6a5bff); }
.app-x { font-size: 1.3rem; line-height: 1; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.app-tip ol { margin: 6px 0 0; padding-left: 20px; display: grid; gap: 10px; color: #c3cde0; }
.app-tip ol svg { width: 18px; height: 18px; vertical-align: -3px; color: var(--cyan); }
.ct-modal[hidden] { display: none; }
body:has(.app-install:not([hidden])) .to-top { bottom: 84px; }
