* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #0b1120;
  color: #e2e8f0;
  line-height: 1.55;
}

/* ——— Layout util ——— */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}
.container-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

/* ——— Header comercial ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.05rem;
}
.brand-icon {
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.35));
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a:not(.btn) {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.site-nav a:not(.btn):hover {
  color: #e2e8f0;
}
.btn-nav {
  padding: 8px 16px !important;
  font-size: 0.9rem !important;
}

/* ——— Hero comercial ——— */
.hero-commercial {
  padding: 56px 0 72px;
  background: radial-gradient(ellipse 120% 80% at 50% -30%, rgba(59, 130, 246, 0.22), transparent),
    radial-gradient(ellipse 70% 50% at 90% 40%, rgba(99, 102, 241, 0.12), transparent),
    linear-gradient(180deg, #0f172a 0%, #0b1120 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.hero-inner {
  text-align: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
}
.hero-commercial h1 {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 4.5vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #f8fafc;
}
.hero-accent {
  background: linear-gradient(135deg, #93c5fd, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  margin: 0 auto 28px;
  max-width: 620px;
  font-size: 1.08rem;
  color: #94a3b8;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 18px;
}
.hero-footnote {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
}

/* ——— Stats ——— */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  padding: 28px 22px 40px;
}
.stat-item {
  padding: 16px 18px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  text-align: center;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 6px;
}
.stat-value {
  font-weight: 700;
  color: #e2e8f0;
  font-size: 1rem;
}

/* ——— Features ——— */
.section-block {
  padding: 48px 22px 56px;
}
.section-title {
  margin: 0 0 10px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
  color: #f1f5f9;
}
.section-intro {
  margin: 0 0 28px;
  max-width: 640px;
  color: #94a3b8;
  font-size: 1.02rem;
}
.feature-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.feature-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 22px;
}
.feature-card h3 {
  margin: 8px 0 10px;
  font-size: 1.08rem;
  color: #f8fafc;
}
.feature-card p {
  margin: 0;
  font-size: 0.94rem;
  color: #94a3b8;
}
.feature-icon {
  display: inline-block;
  font-size: 1.25rem;
  color: #3b82f6;
}

.section-alt {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.35), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.cta-panel {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px;
  background: #111827;
  border: 1px solid #334155;
  border-radius: 16px;
}
.cta-panel-title {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: #f8fafc;
}

/* Grupo Monditech (trust strip) — home */
.monditech {
  padding: 48px 0 56px;
  background:
    radial-gradient(ellipse 85% 55% at 50% -5%, rgba(59, 130, 246, 0.14), transparent),
    radial-gradient(ellipse 70% 40% at 100% 80%, rgba(99, 102, 241, 0.08), transparent),
    linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.monditech-inner {
  max-width: 42rem;
  margin: 0 auto;
}
.monditech-card {
  text-align: center;
  padding: 2.25rem 1.5rem 2.5rem;
  border-radius: 16px;
  background: linear-gradient(165deg, #111827 0%, #0b1220 100%);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(59, 130, 246, 0.1);
}
.monditech-logo {
  display: block;
  width: min(13rem, 78vw);
  height: auto;
  margin: 0 auto 1.5rem;
}
.monditech-title {
  font-size: clamp(1.2rem, 3.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #f8fafc;
  margin: 0 0 1.25rem;
}
.monditech-card p {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(248, 250, 252, 0.76);
}
.monditech-card p:last-of-type {
  margin-bottom: 0;
}
.monditech-card strong {
  color: #fff;
  font-weight: 700;
}

/* ——— Footer ——— */
.site-footer {
  padding: 28px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #070b14;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #64748b;
}
.footer-inner a {
  color: #94a3b8;
  text-decoration: none;
}
.footer-inner a:hover {
  color: #e2e8f0;
}

/* ——— Botões ——— */
.btn {
  text-decoration: none;
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}
.btn-xl {
  padding: 14px 26px;
  font-size: 1rem;
  border-radius: 12px;
}
.btn-lg {
  padding: 12px 22px;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover {
  filter: brightness(1.06);
}
.btn-secondary {
  color: #e2e8f0;
  background: #334155;
}
.btn-secondary:hover {
  background: #475569;
}
.btn-ghost {
  color: #cbd5e1;
  background: transparent;
  border: 1px solid #334155;
}
.btn-ghost:hover {
  border-color: #475569;
  background: rgba(255, 255, 255, 0.04);
}
.btn-block {
  display: block;
  text-align: center;
}
.btn-muted {
  opacity: 0.95;
}

/* ——— Página download ——— */
.download-main {
  padding-top: 36px;
  padding-bottom: 56px;
}
.download-title {
  margin: 0 0 10px;
  font-size: 2rem;
  letter-spacing: -0.02em;
}
.download-sub {
  margin: 0 0 28px;
  color: #94a3b8;
  max-width: 560px;
  font-size: 1.05rem;
}
.detect-banner {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #bfdbfe;
  margin-bottom: 26px;
  font-size: 0.95rem;
}
.platform-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 28px;
}
.platform-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 24px;
}
.platform-card-highlight {
  border-color: rgba(59, 130, 246, 0.55);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.15), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.platform-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.platform-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
}
.badge-recommended {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}
.platform-desc {
  margin: 0 0 18px;
  color: #94a3b8;
  font-size: 0.94rem;
}
.platform-status {
  margin: 12px 0 0;
  font-size: 0.85rem;
}
.card-faq {
  margin-bottom: 18px;
}
.card-faq h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: #f1f5f9;
}
.back-link {
  margin-top: 28px;
}
.back-link a {
  color: #60a5fa;
  text-decoration: none;
}
.back-link a:hover {
  text-decoration: underline;
}

/* ——— Cards / texto técnico ——— */
.card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 18px;
}
.card h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: #f1f5f9;
}
.subtitle {
  margin: 0 0 12px;
  color: #94a3b8;
  font-size: 1.05rem;
}
.meta-pill {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  background: #1e293b;
  border-radius: 999px;
  font-size: 0.85rem;
  color: #94a3b8;
}
.meta-pill code {
  background: transparent;
  padding: 0;
  color: #7dd3fc;
}
.version-line {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 1.1rem;
}
.muted {
  color: #94a3b8;
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.notes {
  color: #cbd5e1;
  margin: 0;
  font-size: 0.95rem;
}
.nomargin {
  margin: 0 !important;
}
.nomargin-top {
  margin-top: 0 !important;
}
.hint {
  margin: 12px 0 0;
  font-size: 0.9rem;
}
.hidden {
  display: none !important;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.grid-2 {
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
.steps {
  margin: 12px 0 0;
  padding-left: 1.2rem;
  color: #94a3b8;
  font-size: 0.95rem;
}
.steps-tight li {
  margin-bottom: 6px;
}
.steps li {
  margin-bottom: 8px;
}
.steps li:last-child {
  margin-bottom: 0;
}
.code-block {
  margin: 12px 0 0;
  padding: 14px 16px;
  background: #0b1220;
  border: 1px solid #1f2937;
  border-radius: 10px;
  overflow-x: auto;
}
.code-block code {
  background: transparent;
  padding: 0;
  color: #a5f3fc;
  font-size: 0.9rem;
  white-space: pre;
  display: block;
}
code {
  background: #1f2937;
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.88em;
}
.endpoint-list {
  margin: 0;
  padding-left: 1.2rem;
  color: #94a3b8;
  font-family: ui-monospace, monospace;
  font-size: 0.9rem;
}
.endpoint-list li {
  margin-bottom: 6px;
}

.btn-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.small-tip {
  font-size: 0.82rem;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}
