:root {
  --bg: #070b14;
  --bg-raise: #0d1422;
  --panel: #10192a;
  --panel-2: #162033;
  --line: rgba(140, 176, 255, 0.18);
  --line-strong: rgba(140, 176, 255, 0.38);
  --text: #e7eefb;
  --muted: #93a1b8;
  --accent: #5b8cff;
  --accent-2: #7dffe1;
  --accent-deep: #2f62e4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --nav-h: 72px;
  --bs-body-font-family: "IBM Plex Sans", system-ui, sans-serif;
  --bs-body-color: #e7eefb;
  --bs-body-bg: #070b14;
  --bs-border-color: rgba(140, 176, 255, 0.18);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse 70% 40% at 80% -10%, rgba(91, 140, 255, 0.18), transparent 55%),
    var(--bg);
  font-size: 1.05rem;
  line-height: 1.6;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Space Grotesk", "IBM Plex Sans", sans-serif;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

p {
  margin-bottom: 0;
}

::selection {
  background: rgba(91, 140, 255, 0.35);
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 1080;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  background: #fff;
  color: #07101c;
}

.skip-link:focus {
  top: 1rem;
}

section[id] {
  scroll-margin-top: 5rem;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
}

.site-nav {
  min-height: var(--nav-h);
  background: rgba(7, 11, 20, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-nav.is-scrolled {
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0c1728;
  color: var(--accent-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
}

.brand-name {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.brand-tag {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav .nav-link {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
  color: var(--text);
}

.navbar-toggler {
  border: 1px solid var(--line);
  border-radius: 8px;
}

.navbar-toggler-icon {
  filter: invert(1) grayscale(1);
}

.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: 10px;
  --bs-btn-padding-y: 0.75rem;
  --bs-btn-padding-x: 1.05rem;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.02em;
  white-space: normal;
}

.btn-accent {
  --bs-btn-color: #f4f8ff;
  --bs-btn-bg: var(--accent-deep);
  --bs-btn-border-color: var(--accent-deep);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #2454cc;
  --bs-btn-hover-border-color: #2454cc;
  --bs-btn-active-bg: #1d46ad;
  --bs-btn-active-border-color: #1d46ad;
}

.btn-ghost {
  --bs-btn-color: var(--text);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--line-strong);
  --bs-btn-hover-color: var(--text);
  --bs-btn-hover-bg: rgba(91, 140, 255, 0.1);
  --bs-btn-hover-border-color: var(--accent);
}

.hero {
  padding: 3.2rem 0 2.5rem;
}

.kicker {
  margin-bottom: 0.85rem;
  color: var(--accent-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.display {
  max-width: 13em;
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  font-weight: 700;
  text-wrap: balance;
}

.lead-copy {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.console {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(91, 140, 255, 0.08), transparent 90px),
    var(--panel);
  box-shadow: var(--shadow);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 99px;
  background: #243049;
}

.dot.live {
  background: var(--accent-2);
  box-shadow: 0 0 10px rgba(125, 255, 225, 0.7);
}

.console-list {
  margin: 0;
  padding: 0.4rem 0;
  list-style: none;
}

.console-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 0.95rem 1.05rem;
  border-top: 1px solid var(--line);
}

.console-list li:first-child {
  border-top: 0;
}

.sig {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
}

.console-list strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.console-list span {
  color: var(--muted);
  font-size: 0.96rem;
}

.signal-bar {
  display: grid;
  gap: 0.8rem;
  margin-top: 2.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.signal-bar div {
  color: var(--muted);
  font-size: 0.95rem;
}

.signal-bar strong {
  display: block;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section {
  padding: 4.2rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 1.6rem;
}

.section-head h2,
.offer h2,
.band-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  text-wrap: balance;
}

.routine-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.2rem 1.15rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(16, 25, 42, 0.75);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.routine-card:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.idx {
  color: var(--accent);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 600;
}

.routine-card h3 {
  margin: 0.7rem 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 600;
}

.routine-card p {
  color: var(--muted);
}

.routine-card .go {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--accent-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
}

.offer {
  padding: 0.7rem 0 1rem;
}

.spec {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-raise);
}

.spec-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.15rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}

.pulse {
  color: var(--accent-2);
}

.spec-body {
  padding: 1.3rem 1.2rem 1.35rem;
}

.situation {
  height: 100%;
  padding: 1.15rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(125, 255, 225, 0.06), transparent 70%),
    var(--panel);
}

.situation q {
  display: block;
  quotes: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.situation p {
  margin-top: 0.75rem;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.84rem;
}

.checks {
  display: grid;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.checks i {
  color: var(--accent-2);
  margin-top: 0.18rem;
}

.value {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.note {
  margin-top: 0.8rem;
  padding: 0.75rem 0.85rem;
  border-left: 2px solid var(--accent-2);
  background: rgba(125, 255, 225, 0.06);
  color: var(--text);
  font-size: 0.95rem;
}

.modules {
  display: grid;
  gap: 0.75rem;
}

.module {
  padding: 1.05rem 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(16, 25, 42, 0.55);
}

.module h3 {
  margin-bottom: 0.3rem;
  font-size: 1.08rem;
}

.module p,
.step p,
.proof-card p {
  color: var(--muted);
}

.proof {
  padding: 4.2rem 0;
  background:
    linear-gradient(180deg, rgba(91, 140, 255, 0.07), transparent 120px),
    #0a101b;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-card {
  height: 100%;
  padding: 1.15rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.proof-card span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.35rem;
}

.steps {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 1rem 0.2rem 0.2rem;
  border-top: 1px solid var(--line-strong);
}

.step strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.cta {
  padding: 4.2rem 0;
  background:
    radial-gradient(circle at 100% 0%, rgba(91, 140, 255, 0.22), transparent 42%),
    #070b14;
}

.cta h2 {
  max-width: 12em;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  text-wrap: balance;
}

.contact-form .form-label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
}

.contact-form .form-control {
  min-height: 148px;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #0c1422;
  color: var(--text);
  resize: vertical;
}

.contact-form .form-control::placeholder {
  color: #6d7c93;
}

.contact-form .form-control:focus {
  border-color: var(--accent);
  background: #0c1422;
  color: var(--text);
  box-shadow: 0 0 0 4px rgba(91, 140, 255, 0.2);
}

.form-hint {
  color: var(--muted);
  font-size: 0.92rem;
}

.agente {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.agente-abrir {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #10192a;
  color: var(--accent-2);
  font-size: 1.55rem;
  line-height: 1;
  box-shadow: var(--shadow);
}

.agente-abrir:hover {
  border-color: var(--accent);
  color: var(--text);
}

.agente-painel {
  display: flex;
  flex-direction: column;
  width: min(380px, calc(100vw - 2rem));
  height: min(540px, calc(100vh - 7rem));
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #0c1422;
  box-shadow: var(--shadow);
}

.agente-painel[hidden] {
  display: none;
}

.agente-topo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.agente-fechar {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--muted);
  line-height: 1;
}

.agente-mensagens {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
  overflow: auto;
  padding: 0.9rem;
}

.agente-msg p {
  margin: 0;
}

.agente-msg-bot {
  align-self: flex-start;
  max-width: 92%;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font-size: 0.95rem;
}

.agente-msg-user {
  align-self: flex-end;
  max-width: 88%;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: var(--accent-deep);
  color: #f4f8ff;
  font-size: 0.95rem;
}

.agente-link {
  margin-top: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
}

.agente-sugestoes {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0 0.85rem 0.7rem;
}

.agente-chip {
  flex: none;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-size: 0.78rem;
}

.agente-chip:hover {
  border-color: var(--accent);
}

.agente-form {
  display: flex;
  gap: 0.45rem;
  padding: 0.75rem;
  border-top: 1px solid var(--line);
}

.agente-form input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #070b14;
  color: var(--text);
}

.agente-form .btn {
  flex: none;
}

.site-footer {
  padding: 1.15rem 0 1.4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

@media (min-width: 768px) {
  .signal-bar,
  .modules {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  .signal-bar,
  .modules,
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .signal-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 2rem;
  }

  .section,
  .proof,
  .cta {
    padding: 3rem 0;
  }

  .hero h1,
  .display,
  .cta h2 {
    max-width: none;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1.15rem !important;
    padding-right: 1.15rem !important;
  }

  .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100%;
    row-gap: 0.9rem;
  }

  .row > * {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

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

  .site-nav .navbar-collapse {
    padding-bottom: 0.8rem;
  }
}

@media (hover: hover) {
  .module,
  .proof-card,
  .spec {
    transition: border-color 0.2s ease;
  }

  .spec:hover,
  .module:hover,
  .proof-card:hover {
    border-color: var(--line-strong);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
