/* =========================================================
   Nexu Interactive · Landing page
   ========================================================= */

:root {
  --bg: #07060c;
  --bg-2: #0d0b16;
  --surface: #12101d;
  --surface-2: #181527;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f4f2fb;
  --muted: #a7a2bd;
  --dim: #6f6a86;

  --brand: #7c5cff;
  --brand-2: #b8a6ff;
  --gg: #f75837;
  --desk: #10b981;
  --mp: #f7c35a;

  --accent: var(--brand);
  --accent-2: var(--brand-2);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Sora", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 3px; border-radius: 8px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 16px; }

/* ---------- Botões ---------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { font-size: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn--block { width: 100%; }

.btn--primary {
  background: linear-gradient(135deg, #9b82ff, var(--brand) 55%, #5b3df0);
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8), inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--primary:hover { box-shadow: 0 16px 40px -10px rgba(124, 92, 255, .95), inset 0 1px 0 rgba(255,255,255,.3); }

.btn--ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.02); }
.btn--ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }

.btn--soft { background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.btn--soft:hover { background: rgba(255,255,255,.1); }

.btn--accent {
  background: var(--accent); color: #111;
  box-shadow: 0 10px 30px -12px var(--accent), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--accent:hover { box-shadow: 0 16px 38px -10px var(--accent), inset 0 1px 0 rgba(255,255,255,.35); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 6, 12, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.header__inner { display: flex; align-items: center; gap: 32px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { border-radius: 10px; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand__name span { color: var(--muted); font-weight: 500; margin-left: 6px; }

.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a {
  padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: 15px; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: rgba(255,255,255,.06); }

.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2); position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn span:first-child { top: 17px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Comuns ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(184,166,255,.15); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(184,166,255,0); } }

.grad {
  background: linear-gradient(100deg, var(--gg), var(--mp) 35%, var(--desk) 65%, var(--brand-2));
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 8s ease-in-out infinite alternate;
}
@keyframes gradShift { to { background-position: 100% 0; } }

.section { padding: 120px 0; position: relative; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(34px, 4.6vw, 54px); margin: 16px 0 16px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

.tag {
  font-size: 12.5px; font-weight: 600; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
}

/* Revelação no scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 150px 0 0; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 90%; pointer-events: none;
  background:
    radial-gradient(40% 50% at 75% 40%, rgba(124, 92, 255, .28), transparent 70%),
    radial-gradient(30% 40% at 20% 20%, rgba(247, 88, 55, .12), transparent 70%),
    radial-gradient(30% 40% at 60% 90%, rgba(16, 185, 129, .1), transparent 70%);
}
.hero__grid {
  position: relative; flex: 1;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center;
}
.hero__title { font-size: clamp(44px, 7vw, 92px); font-weight: 800; margin: 22px 0 24px; letter-spacing: -0.035em; }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__stats { display: flex; gap: 40px; margin-top: 56px; flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong { font-family: var(--font-head); font-size: 30px; font-weight: 700; }
.hero__stats span { color: var(--dim); font-size: 14px; max-width: 150px; line-height: 1.4; }

.reveal:nth-child(2) { --d: .08s; }
.reveal:nth-child(3) { --d: .16s; }
.reveal:nth-child(4) { --d: .24s; }
.reveal:nth-child(5) { --d: .32s; }

/* Órbita */
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 520px); margin-inline: auto; container-type: inline-size; }
.orbit__ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid var(--line); }
.orbit__ring--1 { width: 82%; height: 82%; border-style: dashed; border-color: rgba(255,255,255,.12); animation: spin 60s linear infinite; }
.orbit__ring--2 { width: 56%; height: 56%; background: radial-gradient(circle, rgba(124,92,255,.1), transparent 70%); }
.orbit__ring--3 { width: 100%; height: 100%; border-color: rgba(255,255,255,.04); }

.orbit__core {
  position: absolute; inset: 0; margin: auto; width: 22%; height: 22%;
  display: grid; place-items: center; border-radius: 28px;
  box-shadow: 0 0 80px 10px rgba(124, 92, 255, .45);
  animation: float 6s ease-in-out infinite;
}
.orbit__core img { width: 100%; height: 100%; border-radius: 28%; }
@keyframes float { 50% { transform: translateY(-8px); } }

.orbit__track { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.orbit:hover .orbit__track,
.orbit:hover .orbit__node,
.orbit:focus-within .orbit__track,
.orbit:focus-within .orbit__node { animation-play-state: paused; }

.orbit__node {
  position: absolute; left: 50%; top: 50%;
  --a: calc(var(--i) * 120deg - 90deg);
  transform: rotate(var(--a)) translate(41cqw) rotate(calc(var(--a) * -1));
  translate: -50% -50%;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
/* Mantém o ícone em pé enquanto a trilha gira */
.orbit__node > * { animation: spin 40s linear infinite reverse; }
.orbit:hover .orbit__node > *, .orbit:focus-within .orbit__node > * { animation-play-state: paused; }

.orbit__icon {
  width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line-2);
  box-shadow: 0 10px 40px -10px var(--c);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.orbit__icon img { width: 76%; height: 76%; }
.orbit__icon--light { background: #f1f3f5; }
.orbit__icon--light img, .orbit__icon--navy img { width: 58%; height: 58%; }
.orbit__icon--navy { background: #0d1b2e; }
.orbit__label {
  font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: rgba(7,6,12,.7); border: 1px solid var(--line); white-space: nowrap;
  opacity: .8; transition: opacity .3s;
}
.orbit__node:hover .orbit__icon, .orbit__node:focus-visible .orbit__icon {
  transform: scale(1.12); border-color: var(--c); box-shadow: 0 14px 50px -6px var(--c);
}
.orbit__node:hover .orbit__label { opacity: 1; }
.orbit__node:focus-visible { outline: none; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */
.marquee {
  position: relative; margin-top: 80px; border-block: 1px solid var(--line);
  overflow: hidden; padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--brand-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hall de projetos ---------- */
.hall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pcard {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease), opacity .9s var(--ease);
  transform-style: preserve-3d;
}
.pcard::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: .8;
}
.pcard:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--accent) 55%, transparent); }

.pcard__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%);
  transition: opacity .4s;
}
.pcard:hover .pcard__spot { opacity: 1; }

.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.pcard__logo { width: 56px; height: 56px; border-radius: 16px; }
.pcard__logo--box, .pcard__logo--navy { display: grid; place-items: center; background: #f1f3f5; }
.pcard__logo--navy { background: #0d1b2e; border: 1px solid rgba(247,195,90,.25); }
.pcard__name { font-size: 28px; font-weight: 700; }
.pcard__pitch { font-family: var(--font-head); font-weight: 600; color: var(--accent); margin: 10px 0 14px; font-size: 17px; line-height: 1.35; }
.pcard__desc { color: var(--muted); font-size: 15.5px; }

.chips { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 32px; }
.chips li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.chips li::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: color-mix(in srgb, var(--accent) 20%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 10 3 3 5-6'/%3E%3C/svg%3E") center/12px no-repeat;
  border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
}
.pcard__actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }

/* ---------- Explorar ---------- */
.explore { overflow: hidden; }
.explore__bg {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 40% at 70% 55%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%);
  transition: background 0.8s var(--ease);
}
.explore[data-product="nexugg"] { --accent: var(--gg); --accent-2: #ffc46b; }
.explore[data-product="nexudesk"] { --accent: var(--desk); --accent-2: #6ee7b7; }
.explore[data-product="mensagem"] { --accent: var(--mp); --accent-2: #ef4559; }

.tabs {
  position: relative; display: inline-flex; gap: 4px; padding: 6px; margin-bottom: 48px;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--muted);
  white-space: nowrap; transition: color .3s;
}
.tab img { width: 22px; height: 22px; border-radius: 6px; }
.tab[aria-selected="true"] { color: #111; }
.tab:hover:not([aria-selected="true"]) { color: var(--text); }
.tabs__ink {
  position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px;
  background: var(--accent); box-shadow: 0 8px 24px -8px var(--accent);
  transition: transform .5s var(--ease), width .5s var(--ease), background .5s;
}

.panel { position: relative; animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(16px); } }
.panel__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.panel__info h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.panel__info > p { color: var(--muted); }

.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0; }
.feats li {
  display: flex; gap: 14px; padding: 16px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.025); border: 1px solid var(--line);
  font-size: 14px; color: var(--muted); line-height: 1.5;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.feats li:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 6%, transparent); transform: translateY(-2px); }
.feats strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.feats__ic {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center; font-size: 18px; border-radius: 10px;
  background: color-mix(in srgb, var(--accent) 14%, transparent);
}
.panel__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.demo-note { margin-top: 14px; font-size: 13px; color: var(--dim); text-align: center; }

/* Janela genérica */
.win {
  border-radius: 18px; overflow: hidden; background: #0f0b09;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02);
}
.win__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: rgba(255,255,255,.04); border-bottom: 1px solid var(--line); }
.win__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win__bar i:nth-child(2) { background: #febc2e; }
.win__bar i:nth-child(3) { background: #28c840; }
.win__bar span { margin-left: 12px; font-size: 12.5px; color: var(--dim); background: rgba(255,255,255,.05); padding: 3px 12px; border-radius: 6px; }

/* --- Demo NexuGG --- */
.gg { display: grid; grid-template-columns: 62px 170px 1fr; height: 420px; font-size: 14px; }
.gg__servers { background: #0a0706; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 10px; border-right: 1px solid rgba(255,255,255,.04); }
.gg__srv { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #1d1512; color: #c9b1a1; transition: border-radius .3s, background .3s; }
.gg__srv.is-on { background: var(--gg); color: #1f0b05; border-radius: 12px; }
.gg__srv--add { color: var(--gg); background: transparent; border: 1px dashed rgba(255,255,255,.15); }
.gg__channels { background: #120d0b; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.gg__server-name { font-weight: 700; font-size: 13.5px; padding: 0 8px 10px; border-bottom: 1px solid rgba(255,255,255,.05); margin-bottom: 6px; }
.gg__cat { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #6f5c52; padding: 8px 8px 2px; font-weight: 700; }
.gg__ch { padding: 5px 8px; border-radius: 6px; color: #9c877b; font-size: 13px; }
.gg__ch.is-on { background: rgba(255,255,255,.06); color: #f8ede4; }
.gg__voice { display: flex; flex-direction: column; gap: 4px; padding-left: 18px; }
.gg__vu { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #c9b1a1; }
.gg__vu i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; color: #1f0b05; background: color-mix(in srgb, var(--gg) 70%, #2a1f1a); transition: box-shadow .2s; }
.gg__vu.is-talk i { box-shadow: 0 0 0 2px #3ba55d, 0 0 10px #3ba55d; }

.gg__chat { display: flex; flex-direction: column; background: #0f0b09; min-width: 0; }
.gg__head { padding: 12px 16px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.05); display: flex; justify-content: space-between; align-items: center; }
.gg__head span { font-size: 12px; color: #3ba55d; font-weight: 500; }
.gg__msgs { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 12px 16px; }
.gg__msg { display: flex; gap: 10px; animation: msgIn .5s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
.gg__av { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #1f0b05; }
.gg__msg b { font-size: 13.5px; }
.gg__msg time { font-size: 11px; color: #6f5c52; margin-left: 6px; }
.gg__msg p { color: #e5d6cb; font-size: 13.5px; line-height: 1.45; }
.gg__reply { font-size: 11.5px; color: #8a766b; margin-bottom: 2px; }
.gg__reacts { display: flex; gap: 6px; margin-top: 4px; }
.gg__reacts span { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: color-mix(in srgb, var(--gg) 15%, transparent); border: 1px solid color-mix(in srgb, var(--gg) 45%, transparent); }
.gg__poll { margin-top: 6px; padding: 10px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); width: min(100%, 260px); }
.gg__poll strong { font-size: 13px; display: block; margin-bottom: 6px; }
.gg__bar { position: relative; font-size: 12px; padding: 4px 8px; border-radius: 6px; margin-top: 4px; overflow: hidden; }
.gg__bar::before { content: ""; position: absolute; inset: 0; width: var(--w); background: color-mix(in srgb, var(--gg) 30%, transparent); border-radius: 6px; z-index: -1; transition: width 1s var(--ease); }
.gg__bar { isolation: isolate; display: flex; justify-content: space-between; }

.gg__typing { display: flex; align-items: center; gap: 3px; padding: 0 16px 6px; height: 22px; font-size: 12px; color: #8a766b; opacity: 0; transition: opacity .3s; }
.gg__typing.is-on { opacity: 1; }
.gg__typing i { width: 5px; height: 5px; border-radius: 50%; background: #8a766b; animation: bounce 1s infinite; }
.gg__typing i:nth-child(2) { animation-delay: .15s; }
.gg__typing i:nth-child(3) { animation-delay: .3s; }
.gg__typing span { margin-left: 6px; }
@keyframes bounce { 50% { transform: translateY(-4px); } }
.gg__input { margin: 0 14px 14px; padding: 11px 14px; border-radius: 10px; background: rgba(255,255,255,.05); color: #6f5c52; font-size: 13px; }

.themes { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.themes__label { font-size: 13px; color: var(--dim); margin-right: 4px; }
.theme {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; border: 1px solid var(--line-2); color: var(--muted);
  transition: border-color .25s, color .25s, background .25s;
}
.theme::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--t); }
.theme:hover { color: var(--text); }
.theme.is-on { border-color: var(--t); color: var(--text); background: color-mix(in srgb, var(--t) 12%, transparent); }

/* --- Demo NexuDesk --- */
.win--light { background: #f1f3f5; color: #0e1115; }
.win--light .win__bar { background: #fff; border-color: #e3e6ea; }
.win--light .win__bar span { background: #f1f3f5; color: #6b7280; }
.nd { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.nd__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.nd__kpis div { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 10px 14px; }
.nd__kpis strong { display: block; font-family: var(--font-head); font-size: 24px; line-height: 1.2; transition: color .3s; }
.nd__kpis strong.bump { color: var(--desk); }
.nd__kpis span { font-size: 12px; color: #6b7280; }
.nd__body { display: grid; grid-template-columns: 200px 1fr; gap: 12px; }
.nd__steps { display: flex; flex-direction: column; gap: 4px; counter-reset: s; }
.nd__steps button {
  width: 100%; text-align: left; display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px; font-size: 13px; color: #6b7280; font-weight: 500;
  transition: background .25s, color .25s;
}
.nd__steps button::before {
  counter-increment: s; content: counter(s);
  width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-size: 11px; font-weight: 700; background: #e3e6ea; color: #6b7280; transition: background .25s, color .25s;
}
.nd__steps button:hover { background: #e9ecef; color: #0e1115; }
.nd__steps button.is-done::before { background: #c9f2e2; color: #047857; }
.nd__steps button.is-on { background: #fff; color: #0e1115; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.nd__steps button.is-on::before { background: var(--desk); color: #06281d; }

.nd__chat { background: #e8ebe4; border-radius: 12px; display: flex; flex-direction: column; overflow: hidden; height: 330px; border: 1px solid #dde1e5;
  background-image: radial-gradient(rgba(0,0,0,.04) 1px, transparent 1px); background-size: 14px 14px; }
.nd__contact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-bottom: 1px solid #e3e6ea; }
.nd__contact strong { font-size: 13.5px; display: block; line-height: 1.2; }
.nd__contact small { font-size: 11.5px; color: #059669; font-weight: 600; }
.nd__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #d1fae5; color: #047857; }
.nd__msgs { flex: 1; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; overflow: hidden; }
.nd__b { max-width: 85%; padding: 8px 11px; border-radius: 10px; font-size: 13px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); animation: msgIn .45s var(--ease); }
.nd__b small { display: block; font-size: 10.5px; font-weight: 700; margin-bottom: 2px; }
.nd__b--in { background: #fff; align-self: flex-start; border-top-left-radius: 2px; }
.nd__b--out { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 2px; }
.nd__b--bot small { color: #7c3aed; }
.nd__b--agent small { color: #059669; }
.nd__b--note { align-self: stretch; max-width: none; background: #fef3c7; border: 1px dashed #f59e0b; font-size: 12px; color: #92400e; }
.nd__b--sys { align-self: center; background: rgba(255,255,255,.75); font-size: 11.5px; color: #4b5563; font-weight: 600; border-radius: 999px; padding: 4px 12px; }
.nd__opts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.nd__opts span { font-size: 11.5px; padding: 3px 9px; border-radius: 999px; border: 1px solid #a7f3d0; color: #047857; background: #ecfdf5; }
.nd__stars { color: #f59e0b; letter-spacing: 2px; }

/* --- Demo Mensagem Personalizada --- */
.mp {
  display: grid; grid-template-columns: 240px 1fr; gap: 20px; padding: 20px; border-radius: 22px;
  background: linear-gradient(160deg, #0d1b2e, #0a1322); border: 1px solid rgba(247,195,90,.18);
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.8);
}
.mp__phone { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 9 / 16; background: #000; border: 4px solid #1b2a40; align-self: start; }
.mp__phone img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.mp.is-playing .mp__phone img { transform: scale(1.06); }
.mp__phone::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 25%, transparent 55%, rgba(0,0,0,.75)); pointer-events: none; }
.mp__badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(247,195,90,.95); color: #3a2400; }
.mp__sub {
  position: absolute; left: 10px; right: 10px; bottom: 14px; z-index: 2;
  font-size: 13px; line-height: 1.4; font-weight: 600; text-align: center; color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,.8); min-height: 3.6em; display: flex; align-items: flex-end; justify-content: center;
}
.mp__wave { position: absolute; top: 14px; right: 12px; z-index: 2; display: flex; gap: 3px; align-items: flex-end; height: 16px; opacity: 0; transition: opacity .3s; }
.mp.is-playing .mp__wave { opacity: 1; }
.mp__wave i { width: 3px; height: 100%; border-radius: 2px; background: var(--mp); animation: wave .9s ease-in-out infinite; transform-origin: bottom; }
.mp__wave i:nth-child(2) { animation-delay: .1s; } .mp__wave i:nth-child(3) { animation-delay: .25s; }
.mp__wave i:nth-child(4) { animation-delay: .4s; } .mp__wave i:nth-child(5) { animation-delay: .15s; }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

.mp__form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mp__form label { font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.mp__form textarea {
  width: 100%; resize: vertical; min-height: 120px; padding: 14px; border-radius: 12px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: var(--text);
  font: 400 14.5px/1.55 var(--font); transition: border-color .25s, box-shadow .25s;
}
.mp__form textarea:focus { outline: none; border-color: var(--mp); box-shadow: 0 0 0 4px rgba(247,195,90,.15); }
.mp__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--dim); margin-top: -4px; }
#mpCount.is-over { color: #ff8a8a; font-weight: 700; }

.seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.05); }
.seg button { padding: 8px 4px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s; }
.seg button:hover { color: var(--text); }
.seg button[aria-checked="true"] { background: var(--mp); color: #3a2400; }

.mp__plan { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 13px; }
.mp__plan li { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.mp__plan li.is-no { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.2); }
.mp__plan li::before { content: "✓"; color: var(--mp); font-weight: 800; width: 12px; }
.mp__plan li.is-no::before { content: "–"; color: var(--dim); }

/* ---------- Princípios ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle {
  padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, opacity .9s var(--ease);
}
.principle:hover { transform: translateY(-4px); border-color: rgba(184,166,255,.3); }
.principle__n { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--brand-2); display: inline-block; padding: 4px 10px; border-radius: 8px; background: rgba(124,92,255,.12); }
.principle h3 { font-size: 21px; margin: 20px 0 10px; }
.principle p { color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
  padding: 64px; border-radius: 32px; background: linear-gradient(140deg, #171230, #0d0b16 60%);
  border: 1px solid rgba(184,166,255,.18);
}
.cta__glow { position: absolute; z-index: -1; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.4), transparent 65%); }
.cta h2 { font-size: clamp(34px, 4.5vw, 52px); margin: 16px 0; }
.cta__copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.cta__links { display: flex; flex-direction: column; gap: 12px; }
.cta__links a {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.cta__links a > img { border-radius: 10px; }
.cta__links a:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); transform: translateX(4px); }
.cta__links span:not(.mini) { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.cta__links strong { font-size: 15.5px; }
.cta__links small { color: var(--dim); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cta__links svg { font-size: 20px; color: var(--accent); }
.mini { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mini--light { background: #f1f3f5; }
.mini--navy { background: #0d1b2e; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { color: var(--dim); font-size: 13.5px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .hall { grid-template-columns: 1fr; max-width: 640px; }
  .panel__grid { grid-template-columns: 1fr; gap: 40px; }
  .panel__demo { order: -1; }
  .principles { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr; padding: 48px; }
}

@media (max-width: 900px) {
  .hero { padding-top: 120px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .orbit { width: min(100%, 400px); margin-top: 20px; }
  .orbit__icon { width: 62px; height: 62px; border-radius: 18px; }

  .nav {
    position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 4px; padding: 16px 20px 24px;
    background: rgba(7,6,12,.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 17px; }
  .menu-btn { display: block; margin-left: auto; }
  .header__cta { display: none; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 84px 0; }
  .hero__stats { gap: 24px; }
  .pcard { padding: 24px; }
  .feats { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .cta { padding: 32px 22px; border-radius: 24px; }
  .gg { grid-template-columns: 52px 1fr; height: 400px; }
  .gg__channels { display: none; }
  .gg__srv { width: 36px; height: 36px; }
  .nd__body { grid-template-columns: 1fr; }
  .nd__steps { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .nd__steps li { flex: none; }
  .nd__steps button { white-space: nowrap; }
  .mp { grid-template-columns: 1fr; }
  .mp__phone { width: 200px; margin-inline: auto; }
  .seg { grid-template-columns: 1fr 1fr; }
  .orbit__label { font-size: 11.5px; }
  .hide-sm { display: none; }
  .tabs { display: flex; }
  .tab { flex: 1; justify-content: center; gap: 6px; padding: 0 8px; font-size: 13.5px; }
  .tab img { width: 18px; height: 18px; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__canvas { display: none; }
}
