/* =========================================================
   Sistemize Apps — estilos
   Cores da marca ficam nas variáveis abaixo.
   ========================================================= */
:root {
  --bg: #070618;
  --bg-2: #0F0D24;
  --panel: rgba(124, 58, 237, 0.12);
  --line: rgba(167, 139, 250, 0.25);

  --violet: #7C3AED;
  --violet-2: #A78BFA;
  --lilac: #C4B5FD;
  --lilac-2: #E9D5FF;
  --cyan: #22D3EE;
  --sky: #38BDF8;
  --green: #34D399;
  --whatsapp: #25D366;

  --text: #FFFFFF;
  --muted: #CBD5E1;
  --muted-2: #94A3B8;

  --font-head: "Jost", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--lilac); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- tipografia ---------- */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--cyan); }
.h2 {
  margin: 0; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(32px, 4vw, 46px); line-height: 1.08;
}
.h2--xl { font-size: clamp(32px, 4.5vw, 54px); }
.lead { margin: 0; font-size: 17px; line-height: 1.7; color: var(--muted); }
.grad {
  background: linear-gradient(90deg, var(--violet-2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bar { display: block; width: 64px; height: 3px; border-radius: 3px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.bar--sm { width: 44px; height: 2px; box-shadow: none; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-size: 14px; font-weight: 600; letter-spacing: .08em;
  color: #fff; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; background: transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { color: #fff; transform: translateY(-2px); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn--xs { min-height: 44px; padding: 0 20px; font-size: 12px; letter-spacing: .1em; }
.btn--outline-cyan { border-color: var(--cyan); box-shadow: 0 0 18px rgba(34, 211, 238, .25); }
.btn--outline { border-color: var(--violet-2); letter-spacing: 0; font-size: 15px; }
.btn--ghost { border-color: rgba(255, 255, 255, .25); }
.btn--split {
  padding: 0; overflow: hidden; align-items: stretch; gap: 0;
  border-color: var(--violet-2); box-shadow: 0 0 24px rgba(124, 58, 237, .45);
}
.btn--split > span:first-child { display: flex; align-items: center; padding: 0 22px; }
.btn__icon { display: flex; align-items: center; justify-content: center; width: 56px; background: var(--violet); }
.btn--whatsapp {
  background: var(--whatsapp); color: #052E16; font-weight: 700; letter-spacing: 0; font-size: 15px;
  box-shadow: 0 0 30px rgba(37, 211, 102, .45);
}
.btn--whatsapp:hover { color: #052E16; }

/* ---------- cabeçalho ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(7, 6, 24, .8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(167, 139, 250, .15); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.header__logo img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.nav__link { color: var(--muted); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav__link:hover, .nav__link.is-active { color: #fff; border-bottom-color: var(--cyan); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 12px 24px 24px; background: rgba(7, 6, 24, .97);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 12px 0; }
  .nav .btn { margin-top: 8px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 56px 0 120px; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 75% 35%, rgba(124, 58, 237, .45), transparent 70%),
    radial-gradient(ellipse 40% 40% at 85% 70%, rgba(34, 211, 238, .18), transparent 70%);
}
.hero__floor { position: absolute; left: -10%; right: -10%; bottom: -40px; height: 320px; perspective: 600px; pointer-events: none; }
.hero__floor > div {
  width: 100%; height: 100%; transform: rotateX(68deg); transform-origin: bottom;
  background-image: linear-gradient(rgba(167, 139, 250, .28) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, .28) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 90%); mask-image: linear-gradient(to top, #000 10%, transparent 90%);
}
.hero__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(44px, 6vw, 76px); line-height: 1.02; letter-spacing: -.01em; }
.hero__lead { margin: 0; font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* cena 3D (notebook + celular) */
.scene { flex: 1 1 460px; min-width: 0; height: 520px; position: relative; display: flex; align-items: center; justify-content: center; perspective: 1100px; }
.scene__glow { position: absolute; top: 60px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(167, 139, 250, .55), rgba(124, 58, 237, .15) 45%, transparent 70%); animation: pulse 3s ease-in-out infinite; }
.device { position: relative; width: 460px; height: 300px; margin-top: -90px; transform-style: preserve-3d; }
.device__sway { position: absolute; inset: 0; transform-style: preserve-3d; animation: sway 9s ease-in-out infinite alternate; }
.laptop__screen {
  position: absolute; left: 20px; top: 0; width: 420px; height: 270px;
  transform-origin: 50% 100%; transform: rotateX(8deg);
  background: var(--bg-2); border: 2px solid var(--violet-2); border-radius: 16px 16px 6px 6px; padding: 12px 12px 18px;
  box-shadow: 0 0 50px rgba(124, 58, 237, .7), inset 0 0 20px rgba(167, 139, 250, .3);
}
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: left top; border-radius: 6px; }
.laptop__cam { position: absolute; top: 4px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #334155; }
.laptop__shine { position: absolute; inset: 12px 12px 18px; border-radius: 6px; background: linear-gradient(125deg, rgba(255, 255, 255, .18), transparent 40%); }
.laptop__base {
  position: absolute; left: 0; top: 270px; width: 460px; height: 290px;
  transform-origin: 50% 0; transform: rotateX(90deg);
  border-radius: 6px 6px 18px 18px; border: 2px solid #8B5CF6; background-color: #1E1B4B;
  background-image: linear-gradient(rgba(167, 139, 250, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(167, 139, 250, .35) 1px, transparent 1px);
  background-size: 28px 22px; background-position: 20px 16px;
  box-shadow: 0 0 40px rgba(124, 58, 237, .6), inset 0 0 30px rgba(34, 211, 238, .25);
}
.laptop__pad { position: absolute; left: 50%; bottom: 22px; width: 140px; height: 80px; margin-left: -70px; border-radius: 8px; background: #2E2A63; border: 1px solid rgba(196, 181, 253, .5); }
.phone {
  position: absolute; right: -70px; top: 60px; width: 132px; height: 270px;
  transform: translateZ(170px) rotateY(-12deg);
  background: var(--bg-2); border: 2px solid var(--cyan); border-radius: 24px; padding: 8px;
  box-shadow: 0 0 40px rgba(34, 211, 238, .6), 0 20px 40px rgba(0, 0, 0, .6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; background: #fff; }
.phone__notch { position: absolute; top: 12px; left: 50%; width: 36px; height: 6px; margin-left: -18px; border-radius: 4px; background: var(--bg-2); }
.platform { position: absolute; bottom: 70px; width: 380px; height: 96px; border-radius: 50%; border: 2px solid var(--violet-2); box-shadow: 0 0 40px rgba(124, 58, 237, .8), inset 0 0 40px rgba(167, 139, 250, .6); background: radial-gradient(ellipse, rgba(124, 58, 237, .35), transparent 70%); }
.platform--inner { bottom: 92px; width: 260px; height: 54px; border: 1px solid var(--cyan); background: none; box-shadow: 0 0 24px rgba(34, 211, 238, .7); animation: pulse 3s ease-in-out infinite; }

/* selos flutuantes */
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px;
  background: rgba(20, 16, 48, .75); border: 1px solid rgba(167, 139, 250, .4); border-radius: 999px;
  padding: 10px 16px; font-size: 13px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); white-space: nowrap;
}
.chip--a { left: 0; top: 70px; }
.chip--b { right: 0; top: 180px; }
.chip--c { left: 30px; bottom: 170px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot--cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.dot--violet { background: var(--violet-2); box-shadow: 0 0 10px var(--violet-2); }
.dot--green { background: var(--green); box-shadow: 0 0 10px var(--green); }
.dot--lilac { background: var(--lilac-2); box-shadow: 0 0 10px var(--lilac-2); }

/* ---------- seções ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 40px 0 112px; }
.section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 56px; }
.section__head--center { align-items: center; text-align: center; }

/* ---------- carrossel de produtos ---------- */
.carousel { display: flex; align-items: center; gap: 20px; }
.carousel__track { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: center; }
.carousel__arrow {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--violet-2); background: rgba(124, 58, 237, .15); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 18px rgba(124, 58, 237, .4);
  transition: background .2s;
}
.carousel__arrow:hover { background: rgba(124, 58, 237, .35); }
.pcard {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 32px 26px; border-radius: 22px; cursor: pointer;
  background: linear-gradient(180deg, rgba(76, 29, 149, .28), rgba(15, 12, 40, .8));
  border: 1px solid var(--line); opacity: .85;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease, opacity .4s ease, background .4s ease;
}
.pcard p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.pcard__logo { height: 110px; width: 100%; display: flex; align-items: center; justify-content: center; border-radius: 16px; background: #fff; }
.pcard__logo--green { background: #ECFDF5; }
.pcard__logo img { max-width: 72%; max-height: 72px; }
.pcard__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 24px; }
.pcard.is-active {
  opacity: 1; transform: translateY(-14px) scale(1.04);
  background: linear-gradient(180deg, rgba(124, 58, 237, .38), rgba(30, 27, 75, .75));
  border-color: rgba(196, 181, 253, .7); box-shadow: 0 0 60px rgba(124, 58, 237, .5);
}
.pcard.is-active .pcard__logo { box-shadow: 0 0 30px rgba(167, 139, 250, .35); }
.pcard.is-active p { color: #E2E8F0; }

@media (max-width: 900px) {
  .carousel__arrow { display: none; }
  .carousel__track { grid-template-columns: 1fr; }
  .pcard.is-active { transform: none; }
}

/* ---------- seções de produto ---------- */
.product--violet { background: radial-gradient(ellipse 50% 60% at 80% 50%, rgba(124, 58, 237, .3), transparent 70%); }
.product--sky { background: radial-gradient(ellipse 50% 60% at 20% 50%, rgba(14, 165, 233, .22), transparent 70%); }
.product--sky .eyebrow { color: var(--sky); }
.product--sky .bar { background: var(--sky); box-shadow: 0 0 12px var(--sky); }
.product--sky .grad { background-image: linear-gradient(90deg, var(--sky), var(--violet-2)); }
.product__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 64px; }
.product__inner--reverse { flex-wrap: wrap-reverse; }
.product__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.product__media { flex: 1 1 520px; min-width: 0; position: relative; padding: 20px 0; }
.product__media--stack { padding-bottom: 60px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.feature { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.feature strong { font-size: 15px; font-weight: 600; }
.feature span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.product--sky .feature { background: rgba(14, 165, 233, .10); border-color: rgba(56, 189, 248, .28); }
.tags { margin: 0; font-size: 14px; color: #A5B4FC; }
.product--sky .tags { color: #7DD3FC; }

.tilt { border-radius: 14px; transition: transform .5s ease; }
.tilt--left { width: 92%; border: 1px solid rgba(167, 139, 250, .5); box-shadow: 0 0 50px rgba(124, 58, 237, .55); transform: perspective(1400px) rotateY(-16deg) rotateX(6deg); }
.tilt--right { width: 100%; border: 1px solid rgba(56, 189, 248, .5); box-shadow: 0 0 50px rgba(14, 165, 233, .45); transform: perspective(1400px) rotateY(16deg) rotateX(6deg); }
.tilt:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.product__overlay { position: absolute; right: 0; bottom: 0; width: 55%; border-radius: 12px; border: 1px solid var(--cyan); box-shadow: 0 0 40px rgba(34, 211, 238, .4), 0 20px 40px rgba(0, 0, 0, .6); }

/* ---------- por que a Sistemize ---------- */
.why { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; margin-bottom: 64px; }
.why__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; }
.why__item strong { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.why__item p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.sq { width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* pilha 3D */
.stack-scene { flex: 1 1 400px; min-width: 0; height: 440px; position: relative; display: flex; align-items: center; justify-content: center; perspective: 900px; }
.stack-scene__glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .45), transparent 65%); animation: pulse 3s ease-in-out infinite; }
.stack { position: relative; width: 200px; height: 200px; margin-top: 120px; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-45deg); }
.stack__base { position: absolute; inset: -30px; border-radius: 40px; border: 1px dashed rgba(34, 211, 238, .5); box-shadow: 0 0 40px rgba(34, 211, 238, .35); animation: pulse 3s ease-in-out infinite; }
.stack__layer { position: absolute; inset: 0; transform-style: preserve-3d; transform: translateZ(var(--z)); }
.plate { width: 200px; height: 200px; border-radius: 26px; border: 2px solid; display: flex; align-items: center; justify-content: center; }
.plate--cyan { border-color: var(--cyan); color: #67E8F9; background: rgba(8, 51, 68, .65); box-shadow: 0 0 40px rgba(34, 211, 238, .55), inset 0 0 30px rgba(34, 211, 238, .35); }
.plate--violet { border-color: var(--violet-2); color: #DDD6FE; background: rgba(76, 29, 149, .55); box-shadow: 0 0 40px rgba(124, 58, 237, .6), inset 0 0 30px rgba(167, 139, 250, .4); }
.plate--lilac { border-color: var(--lilac-2); color: #fff; background: rgba(139, 92, 246, .45); box-shadow: 0 0 50px rgba(167, 139, 250, .7), inset 0 0 30px rgba(233, 213, 255, .45); }
.chip--s1 { right: 0; top: 40px; }
.chip--s2 { left: 0; top: 190px; }
.chip--s3 { right: 10px; bottom: 50px; }

/* números */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-radius: var(--radius); overflow: hidden; background: rgba(124, 58, 237, .10); border: 1px solid var(--line); }
.stats__item { padding: 28px; border-right: 1px solid rgba(167, 139, 250, .2); }
.stats__item:last-child { border-right: 0; }
.stats__item span { font-size: 15px; color: var(--muted); }
.stats__item i { display: block; width: 32px; height: 2px; margin: 8px 0; background: var(--cyan); }
.stats__item strong { font-family: var(--font-head); font-size: 40px; font-weight: 600; }

/* ---------- CTA ---------- */
.section--cta { padding: 64px 0 104px; }
.cta {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
  padding: 64px 40px; border-radius: 28px; border: 1px solid rgba(167, 139, 250, .4);
  background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(124, 58, 237, .45), rgba(7, 6, 24, .9) 75%);
  box-shadow: 0 0 80px rgba(124, 58, 237, .3);
}
.cta .lead { max-width: 600px; font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; padding-top: 8px; }

/* ---------- rodapé ---------- */
.footer { border-top: 1px solid rgba(167, 139, 250, .2); padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 340px; }
.footer__brand img { height: 40px; width: auto; align-self: flex-start; }
.footer__brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted-2); }
.footer__nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__nav span { font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--cyan); }
.footer__nav a { color: var(--muted); text-decoration: none; }
.footer__nav a:hover { color: #fff; }
.social { display: flex; gap: 12px; }
.social a { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--violet-2); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s, box-shadow .2s; }
.social a:hover { background: rgba(124, 58, 237, .3); box-shadow: 0 0 18px rgba(124, 58, 237, .5); }
.footer__copy { margin-top: 32px; font-size: 13px; color: var(--muted-2); }

/* ---------- animações ---------- */
@keyframes pulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes sway { 0% { transform: rotateX(-16deg) rotateY(-30deg); } 100% { transform: rotateX(-12deg) rotateY(14deg); } }
@keyframes bob { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(16px); } }
.float { animation: floatY 6s ease-in-out infinite; }
.float-2 { animation: floatY 7s ease-in-out -3s infinite; }
.bob { animation: bob 5s ease-in-out infinite; }
.bob-2 { animation: bob 5s ease-in-out -2.5s infinite; }

/* entrada suave ao rolar */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- celular ---------- */
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .hero { padding: 32px 0 80px; }
  .scene { height: 380px; flex-basis: 100%; }
  .device { transform: scale(.6); }
  .platform { width: 260px; height: 66px; bottom: 50px; }
  .platform--inner { width: 180px; height: 38px; bottom: 64px; }
  .scene__glow { width: 260px; height: 260px; top: 40px; }
  .chip { font-size: 12px; padding: 8px 12px; }
  .chip--a { top: 10px; }
  .chip--b { top: auto; bottom: 20px; }
  .chip--c { display: none; }
  .stack-scene { height: 360px; }
  .stack-scene__glow { width: 300px; height: 300px; }
  .stack { transform: rotateX(58deg) rotateZ(-45deg) scale(.75); }
  .stats__item { border-right: 0; border-bottom: 1px solid rgba(167, 139, 250, .2); }
  .stats__item:last-child { border-bottom: 0; }
  .cta { padding: 48px 24px; }
}
