:root {
  --bg-main: #04050a;
  --bg-elevated: #0b0d16;
  --bg-soft: #101323;
  --accent: #00afff;
  --accent-soft: #4cd2ff;
  --accent-strong: #00ffe0;
  --text-main: #f5f7ff;
  --text-soft: #c2c8e5;
  --text-muted: #8a90b3;
  --border-soft: #1b2237;
  --danger: #ff4b81;
  --warn: #ffd75a;
  --ok: #4dff9a;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 40px rgba(0, 175, 255, 0.55);

  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #10142c 0, #050712 40%, #000000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

/* LAYOUT */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at 0 0, rgba(0, 175, 255, 0.08), rgba(2, 3, 8, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  overflow: hidden;
  background: radial-gradient(circle at 0 0, rgba(0, 175, 255, 0.8), rgba(0, 0, 0, 1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-top {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.brand-name {
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width 0.2s ease-out;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after {
  width: 100%;
}

/* BUTTONS */

.btn {
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg {
  padding: 13px 24px;
  font-size: 13px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft), #c8ecff);
  color: #020308;
  box-shadow: 0 18px 40px rgba(0, 175, 255, 0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(0, 175, 255, 0.9);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-soft);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.04);
}

.btn-glow {
  border: 1px solid rgba(0, 175, 255, 0.4);
  background: radial-gradient(circle at 0 0, rgba(0, 175, 255, 0.3), rgba(0, 0, 0, 0.96));
  color: #eaf4ff;
  box-shadow: var(--shadow-glow);
}

.btn-glow:hover {
  box-shadow: 0 0 48px rgba(0, 175, 255, 0.8);
}

.btn-icon {
  font-size: 16px;
}

/* HEADER CTA */

.header-cta {
  font-size: 11px;
  padding-inline: 18px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 18px rgba(0, 255, 224, 0.9);
}

/* HERO */

.hero {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
}

.hero-bg-orbit {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 10% 0, rgba(0, 175, 255, 0.5), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(0, 223, 255, 0.35), transparent 60%),
    radial-gradient(circle at 5% 80%, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 1));
  opacity: 0.9;
  z-index: -2;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 10%, rgba(0, 175, 255, 0.1), transparent 60%);
  mix-blend-mode: screen;
  z-index: -1;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chip-outline {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(4, 8, 20, 0.7);
  color: var(--text-soft);
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 14px rgba(0, 255, 224, 0.9);
}

.hero-title {
  font-size: clamp(34px, 5vw, 44px);
  line-height: 1.08;
  margin: 16px 0 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.accent {
  background: linear-gradient(120deg, var(--accent), var(--accent-soft), #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.hero-note {
  max-width: 260px;
}

.hero-note-title {
  font-size: 13px;
  font-weight: 600;
}

.hero-note-text {
  font-size: 13px;
  color: var(--text-soft);
}

.hero-metrics {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-metric-pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(3, 7, 16, 0.9);
}

.pill-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-orbit-layer {
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(0, 175, 255, 0.25);
  mix-blend-mode: screen;
}

.orbit-back {
  width: 340px;
  height: 340px;
  opacity: 0.25;
}

.orbit-mid {
  width: 260px;
  height: 260px;
  opacity: 0.4;
}

.orbit-front {
  width: 180px;
  height: 180px;
  opacity: 0.6;
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, rgba(0, 175, 255, 0.4), rgba(5, 9, 26, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
  padding: 16px 18px 14px;
}

.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 10px;
}

.panel-kicker {
  opacity: 0.9;
}

.panel-tag {
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(4, 7, 16, 0.9);
  border: 1px solid rgba(214, 232, 255, 0.3);
}

.panel-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.panel-metric-large {
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(3, 7, 16, 0.9);
  border: 1px solid rgba(214, 234, 255, 0.12);
}

.metric-label {
  font-size: 11px;
  color: var(--text-muted);
}

.metric-value {
  font-size: 22px;
  margin-top: 4px;
  font-weight: 600;
}

.metric-sub {
  font-size: 11px;
  color: var(--text-soft);
  margin-top: 6px;
}

.panel-metric-grid {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.metric-pill {
  border-radius: var(--radius-pill);
  padding: 7px 9px;
  background: rgba(3, 6, 16, 0.92);
  border: 1px solid rgba(24, 45, 73, 0.9);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.metric-pill-label {
  color: var(--text-soft);
}

.metric-pill-value {
  font-weight: 600;
  color: var(--accent-soft);
}

.panel-footer {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  color: var(--text-soft);
}

.panel-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 12px rgba(77, 255, 154, 0.9);
}

/* GENERIC SECTIONS */

.section {
  padding: 70px 0;
}

.section-header {
  max-width: 620px;
  margin-bottom: 30px;
}

.section-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.section-title {
  font-size: 26px;
  margin: 0 0 8px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-soft);
}

/* CARDS & GRIDS */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
}

.system-card .card-badge {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-title {
  margin: 0 0 8px;
  font-size: 18px;
}

.card-text {
  font-size: 14px;
  color: var(--text-soft);
  margin: 0 0 10px;
}

.card-list {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: var(--text-soft);
}

.card-list li + li {
  margin-top: 5px;
}

/* ENGINE SECTION */

.engine {
  position: relative;
  overflow: hidden;
}

.engine-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0, rgba(0, 175, 255, 0.28), transparent 55%),
              radial-gradient(circle at 100% 50%, rgba(0, 5, 40, 0.9), #000);
  opacity: 0.9;
  z-index: -1;
}

.engine-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.timeline {
  margin-top: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -19px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0, 175, 255, 0.9);
}

.timeline-body h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.timeline-body p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

.engine-panel {
  border-radius: var(--radius-lg);
  background: rgba(3, 6, 16, 0.95);
  border: 1px solid rgba(223, 238, 255, 0.16);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
}

.engine-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.engine-chip {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background: rgba(9, 14, 28, 0.9);
  border: 1px solid rgba(214, 234, 255, 0.4);
}

.engine-status {
  display: flex;
  align-items: center;
  gap: 7px;
}

.engine-events {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  font-size: 13px;
}

.event-badge {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
}

.event-ok {
  background: rgba(77, 255, 154, 0.14);
  color: var(--ok);
}

.event-watch {
  background: rgba(255, 215, 90, 0.14);
  color: var(--warn);
}

.event-auto {
  background: rgba(0, 175, 255, 0.16);
  color: var(--accent-soft);
}

.event-text strong {
  display: block;
  margin-bottom: 2px;
}

.event-text span {
  color: var(--text-soft);
}

.engine-footer {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-soft);
}

/* STACK */

.stack-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stack-card {
  padding: 18px 16px 14px;
  background: radial-gradient(circle at 0 0, rgba(0, 175, 255, 0.16), var(--bg-elevated));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
}

.stack-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.stack-card p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-soft);
}

.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-pill {
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  background: rgba(7, 11, 24, 0.9);
  border: 1px solid rgba(100, 149, 255, 0.4);
  font-size: 11px;
  color: var(--text-soft);
}

/* PROCESS */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.process-step {
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 14px 14px 12px;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
}

.step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(0, 175, 255, 0.16);
  border: 1px solid rgba(0, 175, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
}

.step-body h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.step-body p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
}

/* CASES */

.cases-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.cases-slider {
  overflow: hidden;
  flex: 1;
}

.cases-slider-inner {
  display: flex;
}

.case-card {
  min-width: 100%;
}

.case-card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-soft);
}

.case-tag {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 8px;
}

.case-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.case-text {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-soft);
}

.case-metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.case-metrics li span {
  display: block;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.case-metrics li strong {
  font-size: 15px;
}

.slider-arrow {
  border-radius: 999px;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(3, 7, 16, 0.9);
  color: var(--text-soft);
  cursor: pointer;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* CONTACT */

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: flex-start;
}

.contact-details p {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--text-soft);
}

.contact-details span {
  font-weight: 600;
  color: var(--text-main);
}

.contact-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-panel {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  color: var(--text-soft);
}

.contact-panel h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.contact-panel p {
  margin: 4px 0 8px;
}

.contact-panel ul {
  margin: 0 0 10px;
  padding-left: 18px;
}

.contact-panel-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* FOOTER */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.94);
  padding: 16px 0 20px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-soft);
}

/* LEGAL PAGES */

.page-legal {
  padding: 64px 0 80px;
}

.page-legal-card {
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border-soft);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-soft);
  font-size: 14px;
  line-height: 1.7;
}

.page-legal-card h1 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 26px;
}

.page-legal-card h2 {
  margin-top: 18px;
  margin-bottom: 6px;
  font-size: 18px;
}

.page-legal-card h3 {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 15px;
}

.page-legal-card p {
  margin: 4px 0 8px;
  color: var(--text-soft);
}

.page-legal-card ul {
  margin: 4px 0 10px;
  padding-left: 18px;
  color: var(--text-soft);
}

/* ANIMAÇÕES / REVEAL */

.reveal,
.reveal-up {
  opacity: 0;
  transform: translateY(16px);
}

/* RESPONSIVO */

@media (max-width: 1024px) {
  .hero-inner,
  .engine-inner,
  .contact-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    margin-bottom: 18px;
  }

  .hero {
    padding-top: 56px;
  }

  .grid-3,
  .stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .section {
    padding: 52px 0;
  }

  .grid-3,
  .stack-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cases-slider-wrapper {
    gap: 8px;
  }

  .hero-title {
    font-size: 30px;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel {
    max-width: 100%;
  }
}
