:root{color-scheme:dark;--bg:#0b1025;--panel:#121b37;--ink:#f3f7ff;--muted:#a8b6d3;--accent:#8edaff;--edge:#2b395c}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 75% 12%,#182d69 0%,transparent 32%),var(--bg);color:var(--ink);font-family:system-ui,"Segoe UI",sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #8edaff;outline-offset:5px}.shell{width:min(1160px,calc(100% - 48px));margin-inline:auto}.top{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:84px;border-bottom:1px solid var(--edge)}.brand{display:inline-flex;align-items:center;gap:10px;font-size:22px;font-weight:900;line-height:1}.brand small{display:block;color:var(--accent);font-size:11px;letter-spacing:.2em;margin-top:4px}.mark{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#4431ed,#176eff 66%,#27bbef);font-weight:950;font-style:italic;box-shadow:inset 0 2px 0 #ffffff30}.top nav{display:flex;gap:24px;color:var(--muted);font-size:14px}.top nav a:hover,.footer>a:hover{color:var(--accent)}
.button{display:inline-flex;min-height:42px;padding:9px 16px;align-items:center;justify-content:center;gap:12px;border-radius:9px;font-weight:650;font-size:14px}.outline{border:1px solid #475780;background:#14213b99}.outline:hover{background:#233052}.primary{background:#3361ff;color:white;box-shadow:0 9px 28px #244eff44}.primary:hover{background:#2850db}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:48px;padding-block:90px 82px}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:800;color:var(--accent);margin:0 0 14px}.eyebrow span{display:inline-block;width:8px;height:8px;margin-right:9px;border-radius:50%;background:#6ed8ff;box-shadow:0 0 14px #68d7ff}.hero h1{font-size:clamp(39px,5.9vw,77px);line-height:1.03;letter-spacing:-.057em;margin:0}.hero em{font-style:normal;color:#90c9ff}.intro{color:var(--muted);font-size:19px;max-width:450px;margin:23px 0}.actions{display:flex;flex-wrap:wrap;gap:10px}
.preview{margin:0;border:1px solid #485a86;border-radius:19px;overflow:hidden;background:#101932;box-shadow:0 28px 80px #02061a9e}.window{display:flex;align-items:center;gap:6px;background:#202e52;padding:12px 15px}.window span{width:8px;height:8px;background:#7593d1;border-radius:50%}.window b{font-size:11px;color:#d6e3ff;margin-left:8px}.dash{display:flex}.rail{width:50px;display:flex;flex-direction:column;align-items:center;gap:16px;padding-top:14px;color:#91aaf1;border-right:1px solid var(--edge)}.rail b{color:#fff;background:#3154dd;padding:1px 7px;border-radius:7px}.dash-body{padding:18px;flex:1;min-width:0}.dash-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.dash-head small,.dash-head strong{display:block}.dash-head span{background:#25375f;padding:3px 9px;border-radius:5px;font-size:10px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.metrics div,.chart{border:1px solid var(--edge);border-radius:9px;background:#172344;padding:10px}.metrics b{display:block;font-size:clamp(12px,1.55vw,20px);white-space:nowrap}.dash small,figcaption{font-size:11px;color:var(--muted)}.chart{margin-top:10px}.chart strong{font-size:12px}.bars{height:92px;display:flex;align-items:end;gap:6%;padding-inline:7%;border-bottom:1px solid #46557d;margin-top:13px;background:repeating-linear-gradient(to top,transparent 0 22px,#2a3b60 22px 23px)}.bars i{width:9%;height:var(--h);background:linear-gradient(#75c9ff,#3b55ea);border-radius:4px 4px 0 0}figcaption{padding:8px 15px;border-top:1px solid var(--edge)}
.features{padding-block:10px 52px}.features h2,.architecture h2,.portal h2{font-size:clamp(27px,4vw,43px);line-height:1.12;letter-spacing:-.035em;margin:0 0 20px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.grid article{background:var(--panel);border:1px solid var(--edge);border-radius:14px;padding:23px}.grid h3{margin:14px 0 6px}.grid p,.architecture p:not(.eyebrow),.portal p:not(.eyebrow),.footer p{color:var(--muted);margin:0}.icon{display:grid;place-items:center;width:39px;height:39px;border-radius:9px;background:#223568;color:var(--accent);font-size:23px;font-weight:bold}.architecture,.portal{display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid var(--edge);padding-block:32px}.architecture>p{max-width:570px}.architecture h2,.portal h2{margin-bottom:5px}.status{padding:6px 12px;border:1px solid var(--edge);border-radius:8px;color:var(--accent);white-space:nowrap}.footer{border-top:1px solid var(--edge);display:flex;justify-content:space-between;align-items:center;gap:16px;padding-block:23px;font-size:13px}.footer>a:last-child{color:var(--muted)}
@media(max-width:760px){.shell{width:calc(100% - 32px)}.top nav{display:none}.hero{grid-template-columns:1fr;gap:34px;padding-block:48px}.grid{grid-template-columns:1fr}.architecture,.portal,.footer{align-items:flex-start;flex-direction:column}.metrics b{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.hero-photo{margin:0;overflow:hidden;border-radius:22px;border:1px solid #485a86;background:#0d1733;box-shadow:0 28px 80px #02061a9e}.hero-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.showcase{display:grid;grid-template-columns:1fr 1.15fr;gap:36px;align-items:center;border-top:1px solid var(--edge);padding-block:46px}.showcase h2{font-size:clamp(27px,4vw,43px);line-height:1.12;letter-spacing:-.035em;margin:0}.showcase p:not(.eyebrow){color:var(--muted);margin:14px 0}.support{border-top:1px solid var(--edge);padding-top:32px}.support details{background:var(--panel);border:1px solid var(--edge);border-radius:9px;padding:12px 15px;margin-top:8px}.support summary{cursor:pointer;font-weight:650}.support details p{color:var(--muted);margin-bottom:0}
@media(max-width:760px){.top{flex-wrap:wrap;gap:12px;padding-block:14px}.top nav{display:flex;flex-wrap:wrap;gap:10px 16px;order:3;width:100%}.showcase{grid-template-columns:1fr}}
@media (761px <= width <= 1000px){.top{flex-wrap:wrap;justify-content:space-between;padding-block:12px}.top nav{width:100%;order:3;flex-wrap:wrap}}
.hero-photo img,.painel img{width:100%;height:auto;aspect-ratio:auto;display:block}.painel a{display:block}

section[id], article[id] { scroll-margin-top: 24px; }
.button, .top nav a, .footer a, .grid article, summary {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}
button.button { color: var(--ink); font-family: inherit; cursor: pointer; }
button:focus-visible, summary:focus-visible, .painel a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.painel a:focus-visible { outline-offset: -4px; }
.top nav a { text-underline-offset: 6px; }
.top nav a:hover, .top nav a:focus-visible { text-decoration: underline; }
.button:active { transform: translateY(1px); }
.license-help {
  margin-bottom: 18px;
  padding: 15px;
  border: 1px solid var(--edge);
  border-radius: 9px;
  background: var(--panel);
}
.license-help:target { border-color: var(--accent); }
.license-help h3 { margin: 0 0 4px; }
.license-help p, #interesse ul { margin: 0; color: var(--muted); }
#interesse details { margin-top: 12px; }
#interesse ul { padding-top: 8px; }
summary:hover { color: var(--accent); }
.image-dialog {
  width: min(1180px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  padding: 12px;
  border: 1px solid #485a86;
  border-radius: 16px;
  background: var(--panel);
  color: var(--ink);
}
.image-dialog::backdrop { background: #02061ad9; }
.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.dialog-top h2 { margin: 0; font-size: clamp(16px, 3vw, 22px); }
.image-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 105px);
  object-fit: contain;
  border-radius: 8px;
}
body:has(.image-dialog[open]) { overflow: hidden; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .button:hover { transform: translateY(-2px); box-shadow: 0 9px 24px #244eff55; }
  .grid article:hover { transform: translateY(-3px); border-color: #5874b4; }
  .painel img { transition: filter 180ms ease; }
  .painel a:hover img { filter: brightness(1.07); }
}
@keyframes enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero > div { animation: enter 420ms ease-out both; }
  .hero-photo { animation: enter 480ms 70ms ease-out both; }
  .image-dialog[open], details[open] > :not(summary) { animation: enter 210ms ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  .button, .top nav a, .footer a, .grid article, summary { transition: none; }
  .button:active { transform: none; }
}

.hero-composite { position: relative; }
.hero-composite .hero-screen {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: fill;
  transform-origin: top left;
  visibility: hidden;
}
.hero-composite .hero-screen.is-positioned { visibility: visible; }

.brand {
  flex-shrink: 0;
  padding: 4px 7px;
  border-radius: 9px;
  background: #f3f7ff;
}
.brand img {
  display: block;
  width: clamp(110px, 15vw, 144px);
  height: auto;
}

.portal-entry {
  display: grid;
  place-items: center;
  min-height: min(65vh, 620px);
  padding-block: 44px;
}
.portal-card {
  width: min(100%, 610px);
  padding: clamp(22px, 6vw, 52px);
  border: 1px solid #485a86;
  border-radius: 22px;
  background: linear-gradient(135deg, #17264e, var(--panel));
  box-shadow: 0 28px 80px #02061a9e;
}
.portal-card h1 {
  margin: 0;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.portal-card p:not(.eyebrow) { color: var(--muted); margin: 16px 0 25px; }

.demo-controls:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 10px;
}
#demonstracao .painel img {
  aspect-ratio: 1673 / 940;
  object-fit: contain;
}
