:root{
  --bg0:#070717;
  --bg1:#0b0720;

  --text:#eaeaff;
  --muted:rgba(234,234,255,.72);

  --card:rgba(255,255,255,.06);
  --stroke:rgba(255,255,255,.12);

  --p1:#7c3aed;
  --p2:#a855f7;
  --lime:#c7f000;

  --radius:18px;
  --radius2:26px;
  --shadow:0 18px 50px rgba(0,0,0,.55);
  --max:1180px;
  --ease:cubic-bezier(.2,.8,.2,1);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(124,58,237,.35), transparent 55%),
              radial-gradient(900px 600px at 90% 10%, rgba(168,85,247,.25), transparent 60%),
              radial-gradient(900px 700px at 70% 110%, rgba(199,240,0,.12), transparent 60%),
              linear-gradient(180deg, var(--bg1), var(--bg0));
  color:var(--text);
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
p{margin:0 0 12px}
ul{margin:10px 0 0; padding-left: 18px}

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

/* Ambient background */
.ambient{position:fixed; inset:0; pointer-events:none; z-index:-1}
.glow{position:absolute; filter: blur(40px); opacity:.65}
.g1{width:520px;height:520px; background:rgba(124,58,237,.55); top:-120px; left:-140px}
.g2{width:520px;height:520px; background:rgba(199,240,0,.18); top:80px; right:-160px}
.g3{width:560px;height:560px; background:rgba(168,85,247,.35); bottom:-220px; left:30%}
.grid-noise{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity:.18;
  mask-image: radial-gradient(640px 460px at 50% 10%, #000 55%, transparent 85%);
}

/* Buttons */
.btn{
  border:1px solid transparent;
  border-radius: 14px;
  padding: 11px 14px;
  cursor:pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-weight:800;
}
.btn--solid{
  background: linear-gradient(90deg, var(--p1), var(--p2));
  color:#0b0718;
  box-shadow: 0 12px 30px rgba(124,58,237,.35);
}
.btn--solid:hover{transform: translateY(-2px); box-shadow:0 18px 46px rgba(124,58,237,.45)}
.btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  color: var(--text);
}
.btn--ghost:hover{transform: translateY(-2px); border-color: rgba(199,240,0,.55); box-shadow: 0 14px 40px rgba(0,0,0,.35)}

/* Header */
.page-header{
  padding: 34px 0 18px;
}
.brand-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand__mark{
  width:14px;height:14px;border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--lime), var(--p2));
  box-shadow: 0 0 0 6px rgba(199,240,0,.12);
}
.brand__text{
  font-weight:900;
  letter-spacing:.02em;
}

.title-row{
  margin-top: 18px;
  padding: 18px 18px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.h1{
  margin:0;
  font-size: clamp(1.9rem, 3.1vw, 2.6rem);
  letter-spacing:-.02em;
  line-height:1.08;
}
.lead{
  margin-top: 12px;
  color: var(--muted);
  max-width: 78ch;
}

.meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 12px;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: rgba(234,234,255,.90);
  font-weight:700;
}
.pill--muted{
  border-color: rgba(199,240,0,.22);
  background: rgba(199,240,0,.08);
}

/* Layout */
.layout{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap: 16px;
  padding: 18px 0 54px;
}

/* Aside (toc) */
.aside{
  position:sticky;
  top: 18px;
  align-self:start;
}
.aside-card{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  padding: 16px 14px;
}
.aside-title{
  font-weight:900;
  margin-bottom: 10px;
}
.toc{
  display:grid;
  gap: 8px;
}
.toc a{
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  color: rgba(234,234,255,.82);
  font-weight:700;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.toc a:hover{
  border-color: rgba(199,240,0,.45);
  color:#fff;
}
.aside-divider{
  height:1px;
  background: rgba(255,255,255,.10);
  margin: 14px 0;
}
.aside-note{
  color: rgba(234,234,255,.72);
  font-size: .95rem;
}
.aside-note strong{color:#fff}

/* Content cards */
.content{
  display:grid;
  gap: 12px;
}
.card{
  border-radius: var(--radius2);
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  padding: 18px 16px;
}
.card-head{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.kicker{
  font-size:.85rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
  color: rgba(199,240,0,.90);
}
.card h2{
  margin:0;
  font-size: 1.25rem;
  letter-spacing:-.01em;
}
.muted{color: var(--muted)}

.list{
  margin-top: 8px;
  color: rgba(234,234,255,.78);
}
.list li{margin: 8px 0}
.list li::marker{color: rgba(199,240,0,.72)}

/* Callout */
.callout{
  margin-top: 14px;
  border-radius: 18px;
  padding: 12px 12px;
  border: 1px solid rgba(199,240,0,.22);
  background: rgba(199,240,0,.07);
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.callout__icon{font-size: 1.1rem}
.callout__text{color: rgba(234,234,255,.85)}
.callout__text strong{color:#fff}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.contact__item{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
}
.contact__item:hover{border-color: rgba(199,240,0,.45)}
.contact__icon{
  width:42px;height:42px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 30%, var(--lime), var(--p2));
  color:#0b0718;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.1rem;
  box-shadow: 0 0 0 10px rgba(124,58,237,.10);
}
.contact__sub{
  display:block;
  margin-top: 2px;
  color: rgba(234,234,255,.70);
  overflow-wrap:anywhere;
}

/* End bar */
.endbar{
  margin-top: 4px;
  border-radius: var(--radius2);
  background: rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  padding: 14px 14px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:space-between;
}
.endbar__left{
  display:grid;
  gap: 6px;
}
.endbar__left strong{font-weight:900}

/* Responsive */
@media (max-width: 980px){
  .layout{grid-template-columns: 1fr}
  .aside{position:relative; top:auto}
  .contact{grid-template-columns: 1fr}
  .brand-row{flex-direction:column; align-items:flex-start}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
}
.brand img{max-height:60px;}

/* Footer */
.footer{
  padding: 46px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.15);
}
.footer__inner{
  display:flex;
  gap: 18px;
  justify-content:space-between;
  align-items:flex-start;
}
.footer__brand p{color:rgba(234,234,255,.70); margin:10px 0 0; max-width: 420px}
.footer__cols{
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* Legal maior */
  gap: 16px;
  align-items: start;
}
.footer__cols h4{margin:0 0 10px}
.footer__cols a{display:block; color:rgba(234,234,255,.70); margin:6px 0}
.footer__cols a:hover{color:#fff}
.footer__bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color:rgba(234,234,255,.60);
  font-size:.9rem;
}