/* ============================================================
   JusData — folha de estilo principal
   ============================================================ */

:root{
  --ink:#0d0427;
  --ink-2:#10052c;
  --ink-3:#16033d;
  --cta:#1e0748;
  --bar:#17053a;

  --light:#faf9fe;
  --white:#fff;

  --brand:#8b5cf6;
  --brand-2:#a855f7;
  --brand-strong:#7c3aed;
  --brand-soft:#c4abff;

  --text:#1b1233;
  --text-mute:#5b5470;
  --text-on-dark:#f4f1fb;
  --text-on-dark-mute:#b7aed0;

  --line:#e7e3f3;
  --line-dark:rgba(168,85,247,.18);

  --radius:14px;
  --radius-lg:20px;
  --container:1180px;
  --shadow-card:0 1px 2px rgba(27,18,51,.04), 0 8px 24px rgba(27,18,51,.05);

  --font:"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html{scroll-behavior:smooth;scroll-padding-top:88px}

body{
  margin:0;
  font-family:var(--font);
  font-size:16px;
  line-height:1.6;
  color:var(--text);
  background:var(--light);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3{margin:0;line-height:1.15;letter-spacing:-.02em;font-weight:700}
p{margin:0}

.sprite{display:none}

.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--brand-strong);color:#fff;padding:.6rem 1rem;border-radius:0 0 8px 0;
}
.skip:focus{left:0}

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

/* ---------- ícones ---------- */
.ico{
  width:20px;height:20px;flex:none;
  fill:none;stroke:currentColor;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round;
}
.ico-lg{width:26px;height:26px;stroke-width:1.45}
.ico-xl{width:34px;height:34px;stroke-width:1.35}

/* ---------- botões ---------- */
.btn{
  display:inline-flex;align-items:center;gap:.55rem;
  font-size:.94rem;font-weight:600;line-height:1;
  padding:.85rem 1.35rem;border-radius:10px;
  border:1px solid transparent;
  transition:transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
  white-space:nowrap;cursor:pointer;
}
.btn .ico{width:17px;height:17px;stroke-width:1.9;transition:transform .18s ease}
.btn:hover .ico{transform:translateX(3px)}

.btn-primary{
  background:linear-gradient(135deg,var(--brand) 0%,var(--brand-strong) 100%);
  color:#fff;
  box-shadow:0 8px 26px rgba(139,92,246,.35);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(139,92,246,.45)}

.btn-outline{
  border-color:rgba(168,85,247,.45);
  color:var(--text-on-dark);
  background:rgba(168,85,247,.06);
}
.btn-outline:hover{border-color:var(--brand-2);background:rgba(168,85,247,.16)}

.btn-link{color:var(--text-on-dark);padding-inline:.25rem;background:none}
.btn-link:hover{color:var(--brand-soft)}

.link-arrow{
  display:inline-flex;align-items:center;gap:.5rem;
  color:var(--brand-strong);font-weight:600;font-size:.94rem;
}
.link-arrow .ico{width:17px;height:17px;stroke-width:1.9;transition:transform .18s ease}
.link-arrow:hover .ico{transform:translateX(3px)}

/* ============================================================
   header
   ============================================================ */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:60;
  transition:background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  border-bottom:1px solid transparent;
}
.site-header.is-stuck{
  background:rgba(13,4,39,.86);
  backdrop-filter:blur(14px);
  border-bottom-color:var(--line-dark);
}
.header-inner{
  display:flex;align-items:center;gap:2rem;
  height:78px;
}
.brand{display:flex;align-items:center;gap:.7rem;flex:none}
.brand-mark{width:36px;height:auto}
.brand-word{width:118px;height:auto}

.nav{
  display:flex;align-items:center;gap:2rem;
  margin-left:auto;
}
.nav > a{
  font-size:.93rem;font-weight:500;color:var(--text-on-dark);
  opacity:.86;transition:opacity .18s ease,color .18s ease;
}
.nav > a:hover{opacity:1;color:var(--brand-soft)}
.nav-cta{display:none}

.header-cta{flex:none}

.nav-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:42px;height:42px;padding:0 10px;margin-left:auto;
  background:none;border:1px solid var(--line-dark);border-radius:10px;
}
.nav-toggle span{display:block;height:1.8px;background:var(--text-on-dark);border-radius:2px;transition:transform .2s ease,opacity .2s ease}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(6.8px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.8px) rotate(-45deg)}

/* ============================================================
   hero
   ============================================================ */
.hero{
  position:relative;isolation:isolate;
  padding:150px 0 78px;
  background:
    radial-gradient(900px 520px at 78% 22%, rgba(124,58,237,.30), transparent 62%),
    radial-gradient(700px 480px at 12% 8%, rgba(88,28,180,.26), transparent 60%),
    linear-gradient(160deg,#0d0427 0%,#10052c 45%,#0b0322 100%);
  color:var(--text-on-dark);
  overflow:hidden;
}
.hero-glow{
  position:absolute;z-index:-1;inset:auto -10% -40% 40%;
  height:70%;
  background:radial-gradient(closest-side,rgba(168,85,247,.22),transparent);
  filter:blur(20px);
}
.hero-grid-lines{
  position:absolute;z-index:-1;inset:0;
  background-image:
    linear-gradient(rgba(168,85,247,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(168,85,247,.055) 1px,transparent 1px);
  background-size:58px 58px;
  mask-image:radial-gradient(ellipse 80% 60% at 50% 40%,#000,transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse 80% 60% at 50% 40%,#000,transparent 75%);
}

.hero-inner{
  display:grid;grid-template-columns:minmax(0,470px) minmax(0,1fr);
  gap:48px;align-items:start;
}
.hero-copy h1{font-size:clamp(2.2rem,4.1vw,3.05rem);letter-spacing:-.035em}
.accent{
  background:linear-gradient(100deg,var(--brand-2),var(--brand));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero-lead{
  margin-top:1.6rem;
  font-size:1.02rem;line-height:1.72;color:var(--text-on-dark-mute);
}
.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:1.4rem;margin-top:2.4rem}

.hero-features{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem;
  margin-top:3.6rem;padding-top:2.2rem;
  border-top:1px solid var(--line-dark);
}
.hero-features li{display:flex;flex-direction:column;gap:.85rem;color:var(--brand-soft)}
.hero-features span{font-size:.83rem;line-height:1.45;font-weight:500;color:var(--text-on-dark)}

/* ---------- mockup dashboard ---------- */
.hero-visual{perspective:1600px}
.mock{
  display:flex;
  border-radius:16px;overflow:hidden;
  background:linear-gradient(155deg,#1c0a3f 0%,#150733 55%,#12062c 100%);
  border:1px solid rgba(168,85,247,.22);
  box-shadow:0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.03) inset;
  transform:rotateY(-9deg) rotateX(3deg) scale(1.02);
  transform-origin:left center;
  font-size:11px;
}
.mock-rail{
  flex:none;width:44px;
  display:flex;flex-direction:column;align-items:center;gap:16px;
  padding:14px 0;
  background:rgba(255,255,255,.03);
  border-right:1px solid rgba(168,85,247,.16);
}
.mock-logo img{width:20px}
.mock-dot{
  width:20px;height:20px;border-radius:6px;
  background:rgba(168,85,247,.12);
  border:1px solid rgba(168,85,247,.22);
}
.mock-dot.is-active{background:rgba(168,85,247,.3)}

.mock-body{flex:1;min-width:0;max-width:100%;padding:14px 16px 18px;display:flex;flex-direction:column;gap:11px}
.mock-title{font-size:14px;font-weight:600;color:#fff;letter-spacing:-.01em}

.mock-card{
  background:rgba(255,255,255,.045);
  border:1px solid rgba(168,85,247,.16);
  border-radius:10px;padding:10px 12px;
  display:flex;flex-direction:column;gap:3px;min-width:0;
}
.mock-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.mock-label{font-size:9.5px;color:var(--text-on-dark-mute);letter-spacing:.01em}
.mock-value{font-size:17px;font-weight:700;color:#fff;letter-spacing:-.02em}
.mock-delta{font-size:8.5px;color:#9df3c4}
.mock-delta--mute{color:var(--text-on-dark-mute)}

.mock-charts{display:grid;grid-template-columns:.9fr 1.1fr;gap:10px}
.mock-card--chart{gap:8px}

.donut-wrap{display:flex;align-items:center;gap:10px}
.donut{width:62px;height:62px;flex:none;transform:rotate(-90deg)}
.donut circle{fill:none;stroke-width:5.2}
.donut-ring{stroke:rgba(255,255,255,.06)}
.donut-seg.s1{stroke:#8b5cf6}
.donut-seg.s2{stroke:#a855f7}
.donut-seg.s3{stroke:#c084fc}
.donut-seg.s4{stroke:#6d28d9}
.donut-seg.s5{stroke:#4c1d95}

.legend{display:flex;flex-direction:column;gap:2.5px;font-size:8.5px;flex:1;min-width:0}
.legend li{display:flex;align-items:center;gap:5px;color:var(--text-on-dark-mute)}
.legend i{width:6px;height:6px;border-radius:2px;flex:none}
.legend i.s1{background:#8b5cf6}.legend i.s2{background:#a855f7}
.legend i.s3{background:#c084fc}.legend i.s4{background:#6d28d9}
.legend i.s5{background:#4c1d95}
.legend b{margin-left:auto;color:#fff;font-weight:600}

.line-wrap{display:grid;grid-template-columns:auto 1fr;gap:0 6px;align-items:stretch}
.y-axis{display:flex;flex-direction:column;justify-content:space-between;font-size:7.5px;color:var(--text-on-dark-mute)}
.line-chart{width:100%;height:62px;grid-column:2}
.line-chart .grid line{stroke:rgba(255,255,255,.06);stroke-width:1}
.line-chart .spark{fill:none;stroke:#c084fc;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke}
.x-axis{grid-column:2;display:flex;justify-content:space-between;font-size:7.5px;color:var(--text-on-dark-mute);padding-top:3px}

.mock-search{
  display:flex;align-items:center;gap:7px;
  font-size:9.5px;color:var(--text-on-dark-mute);
  background:rgba(255,255,255,.04);
  border:1px solid rgba(168,85,247,.16);
  border-radius:8px;padding:8px 10px;
}
.mock-magnifier{
  width:9px;height:9px;flex:none;border-radius:50%;
  border:1.2px solid var(--text-on-dark-mute);
  position:relative;
}
.mock-magnifier::after{
  content:"";position:absolute;right:-3px;bottom:-2.5px;
  width:4px;height:1.2px;background:var(--text-on-dark-mute);
  transform:rotate(45deg);border-radius:2px;
}

.mock-table{
  min-width:0;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(168,85,247,.14);
  border-radius:10px;overflow:hidden;
}
.mock-row{
  display:grid;grid-template-columns:1.55fr .7fr 1.15fr 1fr 1.05fr;
  gap:8px;padding:8px 12px;font-size:8.5px;
  color:var(--text-on-dark-mute);
  border-top:1px solid rgba(168,85,247,.1);
}
.mock-row:first-child{border-top:0}
.mock-row--head{color:#fff;font-weight:600;background:rgba(255,255,255,.035)}
.mock-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ============================================================
   seções
   ============================================================ */
.section{padding:92px 0}
.section-light{background:var(--light)}
.section-dark{
  position:relative;isolation:isolate;color:var(--text-on-dark);
  background:
    radial-gradient(760px 420px at 82% 30%, rgba(124,58,237,.22), transparent 62%),
    linear-gradient(150deg,#0f032b 0%,#12042f 60%,#0c0323 100%);
}
.section-glow{
  position:absolute;z-index:-1;inset:0;
  background-image:radial-gradient(rgba(168,85,247,.07) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:radial-gradient(ellipse 70% 70% at 70% 50%,#000,transparent 72%);
  -webkit-mask-image:radial-gradient(ellipse 70% 70% at 70% 50%,#000,transparent 72%);
}

.eyebrow{
  text-align:center;font-size:.76rem;font-weight:700;
  letter-spacing:.19em;text-transform:uppercase;color:var(--brand-2);
}
.eyebrow--dark{text-align:left;color:var(--brand-2)}

.section-title{
  max-width:1000px;margin:1.05rem auto 0;text-align:center;
  font-size:clamp(1.55rem,2.7vw,1.98rem);letter-spacing:-.03em;
}
.section-title--dark{color:#fff}
.section-title--left{margin-inline:0;text-align:left;max-width:none}

/* ---------- cards de soluções ---------- */
.cards{
  display:grid;grid-template-columns:repeat(4,1fr);gap:22px;
  margin-top:3.2rem;
}
.card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:30px 26px 32px;
  box-shadow:var(--shadow-card);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{transform:translateY(-4px);border-color:rgba(168,85,247,.4);box-shadow:0 18px 40px rgba(76,29,149,.12)}
.card .ico{color:var(--brand)}
.card h3{margin-top:1.65rem;font-size:1.02rem;letter-spacing:-.015em}
.card p{margin-top:.7rem;font-size:.88rem;line-height:1.62;color:var(--text-mute)}

/* ---------- etapas ---------- */
.steps-inner{
  display:grid;grid-template-columns:minmax(0,360px) minmax(0,1fr);
  gap:56px;align-items:start;
}
.steps-lead{margin-top:1.3rem;font-size:.93rem;line-height:1.7;color:var(--text-on-dark-mute)}
.steps-copy .btn{margin-top:1.9rem}

.steps{
  display:grid;grid-template-columns:repeat(4,1fr);gap:18px;
  position:relative;
}
.step{text-align:center;position:relative}
.step::after{
  content:"";position:absolute;top:41px;left:calc(50% + 52px);right:calc(-50% + 52px);
  border-top:1.5px dashed rgba(168,85,247,.35);
}
.step:last-child::after{display:none}
.step-badge{
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:82px;height:82px;border-radius:50%;
  color:var(--brand-2);
  background:radial-gradient(circle at 50% 35%, rgba(168,85,247,.16), rgba(168,85,247,.04));
  border:1.5px solid rgba(168,85,247,.42);
}
.step-badge b{
  position:absolute;bottom:-11px;left:50%;transform:translateX(-50%);
  width:22px;height:22px;border-radius:50%;
  display:grid;place-items:center;
  font-size:10px;font-weight:700;color:#fff;
  background:#1a0740;border:1.5px solid rgba(168,85,247,.5);
}
.step h3{margin-top:1.9rem;font-size:.98rem;color:#fff}
.step p{margin-top:.65rem;font-size:.82rem;line-height:1.62;color:var(--text-on-dark-mute)}

/* ---------- segurança ---------- */
.security-inner{
  display:grid;grid-template-columns:minmax(0,320px) minmax(0,1fr);
  gap:64px;align-items:start;
}
.security-lead{margin-top:1.3rem;font-size:.92rem;line-height:1.72;color:var(--text-mute)}
.security-copy .link-arrow{margin-top:1.7rem}

.security-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px}
.pillar .ico{color:var(--brand)}
.pillar h3{margin-top:1.35rem;font-size:.97rem;letter-spacing:-.015em}
.pillar p{margin-top:.65rem;font-size:.85rem;line-height:1.62;color:var(--text-mute)}

.sources{
  display:flex;align-items:center;flex-wrap:wrap;gap:1.2rem 1.8rem;
  margin-top:72px;padding-top:34px;
  border-top:1px solid var(--line);
}
.sources-label{font-size:.83rem;font-weight:500;color:var(--text-mute);flex:none}
.sources ul{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.1rem 1.4rem;flex:1}
.sources li{display:flex;align-items:center;gap:.6rem;color:#8b849f}
.sources li .ico{width:22px;height:22px;stroke-width:1.4;opacity:.75}
.sources li span{display:flex;flex-direction:column;font-size:.62rem;line-height:1.35;letter-spacing:.05em;text-transform:uppercase}
.sources li b{font-size:.68rem;font-weight:700;color:#6f6885;letter-spacing:.03em}

/* ============================================================
   CTA + rodapé
   ============================================================ */
.cta{
  background:
    radial-gradient(700px 340px at 20% 10%, rgba(139,92,246,.20), transparent 65%),
    linear-gradient(120deg,#1e0748 0%,#1a0640 55%,#150532 100%);
  color:var(--text-on-dark);
  padding:66px 0;
}
.cta-inner{
  display:grid;grid-template-columns:minmax(0,1fr) auto auto;
  gap:48px;align-items:center;
}
.cta-copy h2{font-size:clamp(1.4rem,2.4vw,1.75rem);color:#fff;letter-spacing:-.03em}
.cta-copy p{margin-top:1rem;font-size:.9rem;line-height:1.7;color:var(--text-on-dark-mute);max-width:44ch}
.cta-actions{display:flex;flex-direction:column;align-items:flex-start;gap:1.4rem}
.cta-logo img{width:190px;opacity:.95}

.site-footer{background:var(--bar);color:var(--text-on-dark-mute)}

.footer-top{
  display:flex;flex-wrap:wrap;align-items:center;gap:1.2rem 1.8rem;
  padding-block:26px;
  border-top:1px solid rgba(168,85,247,.14);
}
.footer-contact{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;font-size:.8rem;flex:none}
.footer-contact li{display:flex;align-items:center;gap:.5rem}
.footer-contact .ico{width:16px;height:16px;color:var(--brand-2)}
.footer-contact a:hover{color:#fff}

.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem 1.5rem;margin-inline:auto;font-size:.8rem}
.footer-nav a{transition:color .18s ease}
.footer-nav a:hover{color:#fff}

.footer-social{display:flex;gap:.7rem;flex:none;margin-left:auto}
.footer-social a{
  display:grid;place-items:center;width:32px;height:32px;border-radius:9px;
  border:1px solid rgba(168,85,247,.2);
  transition:border-color .18s ease,color .18s ease,background .18s ease;
}
.footer-social a:hover{color:#fff;border-color:var(--brand-2);background:rgba(168,85,247,.14)}

.footer-legal{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:.5rem 2rem;
  padding-block:20px 26px;
  border-top:1px solid rgba(168,85,247,.12);
  font-size:.79rem;
}
.footer-legal strong{color:var(--text-on-dark);font-weight:600}
.footer-legal-contact{display:flex;flex-wrap:wrap;gap:.5rem}
.footer-legal-contact a:hover{color:#fff}

/* ============================================================
   animação de entrada
   ============================================================ */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.reveal.is-in{opacity:1;transform:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  .mock{transform:none}
}

/* ============================================================
   responsivo
   ============================================================ */
@media (max-width:1080px){
  .hero-inner{grid-template-columns:minmax(0,1fr);gap:52px}
  .hero-copy h1 br,.hero-lead br{display:none}
  .mock{transform:none;font-size:10.5px}
  .steps-inner,.security-inner{grid-template-columns:minmax(0,1fr);gap:44px}
  .security-grid{grid-template-columns:repeat(2,1fr);gap:30px}
  .cards{grid-template-columns:repeat(2,1fr)}
  .cta-inner{grid-template-columns:1fr auto;gap:36px}
  .cta-logo{grid-column:1/-1;justify-self:center}
}

@media (max-width:860px){
  .header-inner{height:70px;gap:1rem}
  .header-cta{display:none}
  .nav-toggle{display:flex}
  .nav{
    position:absolute;top:100%;left:0;right:0;
    flex-direction:column;align-items:stretch;gap:0;
    padding:8px 24px 22px;
    background:rgba(13,4,39,.97);
    backdrop-filter:blur(14px);
    border-bottom:1px solid var(--line-dark);
    display:none;
  }
  .nav.is-open{display:flex}
  .nav > a{padding:.85rem 0;border-bottom:1px solid rgba(168,85,247,.12)}
  .nav-cta{display:inline-flex;justify-content:center;margin-top:1rem;border-bottom:0}
  .section{padding:70px 0}
  .steps{grid-template-columns:repeat(2,1fr);gap:34px 18px}
  .step:nth-child(2)::after{display:none}
  .cta-inner{grid-template-columns:1fr;gap:30px}
  .cta-actions{align-items:flex-start}
  .footer-nav{margin-inline:0}
}

@media (max-width:640px){
  .hero{padding:120px 0 62px}
  .hero-features{grid-template-columns:1fr;gap:1.4rem}
  .hero-features li{flex-direction:row;align-items:center;gap:.9rem}
  .hero-features span br{display:none}
  .cards,.security-grid{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr;gap:34px}
  .step::after{display:none}
  .mock-charts{grid-template-columns:1fr}
  .mock-kpis{grid-template-columns:1fr}
  .mock-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .mock-row{min-width:400px}
  .line-wrap{min-width:0}
  .mock-body > *{min-width:0}
  .footer-legal{flex-direction:column}
}
