﻿/* ── BOTTOM BLUR OVERLAY ─────────────────────────
   Desfoque fixo no rodapé — objetos que passam
   por baixo ficam embaçados progressivamente
──────────────────────────────────────────────── */
.bottom-blur-overlay {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 140px;
  pointer-events: none;
  z-index: 90;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  mask-image: linear-gradient(to bottom, transparent 0%, black 55%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 55%);
}

/* ── SYSTEMS SLIDE-UP ENTRANCE ───────────────── */
@keyframes systemsSlideUp {
  from { transform: translateY(100vh); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes systemsSlideDown {
  from { transform: translateY(0);    opacity: 1; }
  to   { transform: translateY(100vh); opacity: 0; }
}
#systems-page {
  display: none;
  font-family: var(--f);
  background: #000;
  color: #fff;
  position: fixed;
  inset: 0;
  z-index: 95;
  overflow-y: auto;
  overscroll-behavior: contain;
}
#systems-page.sys-entering {
  animation: systemsSlideUp 0.6s cubic-bezier(0.16,1,0.3,1) forwards;
}
#systems-page.sys-leaving {
  animation: systemsSlideDown 0.45s cubic-bezier(0.4,0,1,1) forwards;
}

/* scroll reveal */
.sr {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
              transform 0.85s cubic-bezier(0.16,1,0.3,1);
}
.sr.sr-visible { opacity: 1; transform: none; }
.sr.sd1 { transition-delay: 0.08s; }
.sr.sd2 { transition-delay: 0.16s; }
.sr.sd3 { transition-delay: 0.24s; }
.sr.sd4 { transition-delay: 0.32s; }
.sr.sd5 { transition-delay: 0.40s; }

/* ── GRID LINES (dark — igual página principal) ── */
.sys-grid-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 1px 100%, 1px 100%;
  background-position: 10vw 0, 90vw 0;
  background-repeat: no-repeat;
}

#systems-page section {
  position: relative; overflow: hidden;
}
#systems-page section > *:not(.sys-grid-bg) {
  position: relative; z-index: 1;
}

/* ── SCAN LINE OVERLAY ── */
#systems-page::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.012) 2px,
    rgba(255,255,255,0.012) 4px
  );
}

/* ── HERO ── */
.sys-hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 160px 56px 120px;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sys-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 99px; padding: 5px 14px 5px 10px;
  margin-bottom: 40px;
  opacity: 0; animation: heroReveal 1s 0.15s cubic-bezier(0.16,1,0.3,1) forwards;
}
.sys-hero-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4ade80;
  animation: statusPulse 2.5s ease-in-out infinite;
}
.sys-hero-badge-label {
  font-size: 10px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}

.sys-hero-h1 {
  font-family: var(--f);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300; letter-spacing: -0.04em; line-height: 1.06;
  color: #fff; max-width: 820px;
  opacity: 0; animation: heroReveal 1.2s 0.45s cubic-bezier(0.16,1,0.3,1) forwards;
}
.sys-hero-h1 strong { font-weight: 500; }
.sys-hero-h1 span {
  display: block;
  color: rgba(255,255,255,0.25);
  font-weight: 300;
}

.sys-hero-sub {
  font-size: 16px; font-weight: 400; line-height: 1.75;
  color: rgba(255,255,255,0.45);
  max-width: 460px; margin: 28px auto 0;
  opacity: 0; animation: heroReveal 1.2s 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}

.sys-hero-actions {
  display: flex; align-items: center; gap: 12px;
  margin-top: 44px; flex-wrap: wrap; justify-content: center;
  opacity: 0; animation: heroReveal 1.2s 1.35s cubic-bezier(0.16,1,0.3,1) forwards;
}
.sys-btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 10px;
  height: 48px; padding: 0 22px;
  transition: opacity 0.2s, transform 0.2s;
}
.sys-btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.sys-btn-primary svg { width: 14px; height: 14px; stroke: #000; fill: none; }
.sys-btn-ghost {
  font-size: 13px; font-weight: 400; color: rgba(255,255,255,0.5);
  text-decoration: none; border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; height: 48px; padding: 0 22px;
  display: inline-flex; align-items: center;
  transition: border-color 0.2s, color 0.2s;
}
.sys-btn-ghost:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.85); }

/* ── SHARED SECTION ── */
.sys-sec {
  padding: 120px 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: #000;
  text-align: center;
}
.sys-sec-label {
  font-size: 10px; font-weight: 400; letter-spacing: 0.28em;
  text-transform: uppercase; color: rgba(255,255,255,0.28);
  margin-bottom: 24px;
}
.sys-sec-h2 {
  font-family: var(--f);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 300; letter-spacing: -0.03em; line-height: 1.12;
  color: #fff; max-width: 640px; margin: 0 auto;
}
.sys-sec-h2 strong { font-weight: 500; color: #fff; }
.sys-sec-body {
  font-size: 15px; font-weight: 400; line-height: 1.75;
  color: rgba(255,255,255,0.4);
  max-width: 440px; margin: 18px auto 0;
}

/* ── WHAT GRID ── */
#sys-what { background: #030303; text-align: left; }
.sys-what-grid {
  max-width: 900px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.sys-what-text .sys-sec-label,
.sys-what-text .sys-sec-h2,
.sys-what-text .sys-sec-body { text-align: left; margin-left: 0; }

.sys-what-cards { display: flex; flex-direction: column; gap: 1px; }
.sys-what-card {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0; padding: 20px 22px;
  display: flex; align-items: flex-start; gap: 14px;
  background: rgba(255,255,255,0.02);
  transition: background 0.25s;
}
.sys-what-card:first-child { border-radius: 12px 12px 0 0; }
.sys-what-card:last-child  { border-radius: 0 0 12px 12px; }
.sys-what-card:hover { background: rgba(255,255,255,0.045); }
.sys-what-card-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.sys-what-card-icon svg { width: 14px; height: 14px; stroke: rgba(255,255,255,0.6); fill: none; }
.sys-what-card-title {
  font-size: 13px; font-weight: 500; color: #fff;
  margin-bottom: 3px; letter-spacing: -0.01em;
}
.sys-what-card-desc {
  font-size: 12px; font-weight: 400; line-height: 1.65;
  color: rgba(255,255,255,0.35);
}

/* ── FEATURES GRID ── */
#sys-features { background: #000; }
.sys-feat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  max-width: 900px; margin: 60px auto 0;
  border: 1px solid rgba(255,255,255,0.07); border-radius: 16px; overflow: hidden;
}
.sys-feat-item {
  padding: 30px 26px;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.015);
  text-align: left;
  transition: background 0.25s;
}
.sys-feat-item:hover { background: rgba(255,255,255,0.04); }
.sys-feat-item:nth-child(3n) { border-right: none; }
.sys-feat-item:nth-child(n+4) { border-bottom: none; }
.sys-feat-n {
  font-size: 10px; font-weight: 400; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.18);
  margin-bottom: 14px;
}
.sys-feat-title {
  font-size: 13px; font-weight: 500; color: #fff;
  margin-bottom: 8px; letter-spacing: -0.01em;
}
.sys-feat-desc {
  font-size: 12px; font-weight: 400; line-height: 1.65;
  color: rgba(255,255,255,0.35);
}

/* ── WHY DIFFERENT ── */
#sys-why { background: #000; }
.sys-why-list {
  max-width: 780px; margin: 52px auto 0;
  border-top: 1px solid rgba(255,255,255,0.07); text-align: left;
}
.sys-why-row {
  display: grid; grid-template-columns: 44px 1fr 1fr;
  padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.sys-why-row:hover { transform: translateX(10px); }
.sys-why-row:last-child { border-bottom: none; }
.sys-why-n { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.2); padding-top: 2px; }
.sys-why-label { font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.85); letter-spacing: -0.01em; }
.sys-why-desc { font-size: 12px; font-weight: 400; line-height: 1.7; color: rgba(255,255,255,0.35); }

/* ── CTA ── */
#sys-cta { background: #000; border-bottom: none; }
.sys-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; color: #000;
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  text-decoration: none; border-radius: 10px;
  height: 48px; padding: 0 26px; margin-top: 36px;
  transition: opacity 0.2s, transform 0.2s;
}
.sys-cta-btn:hover { opacity: 0.88; transform: translateY(-1px); }
.sys-cta-btn svg { width: 13px; height: 13px; stroke: #000; fill: none; }
.sys-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px;
  font-size: 12px; font-weight: 400; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.25); text-decoration: none;
  transition: color 0.2s; cursor: pointer;
}
.sys-back-link:hover { color: rgba(255,255,255,0.55); }
.sys-back-link svg { width: 12px; height: 12px; stroke: currentColor; fill: none; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .sys-hero { padding: 140px 32px 96px; }
  .sys-sec { padding: 80px 32px; }
  .sys-what-grid { grid-template-columns: 1fr; gap: 40px; }
  .sys-feat-grid { grid-template-columns: 1fr 1fr; }
  .sys-feat-item:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.07); }
  .sys-feat-item:nth-child(2n) { border-right: none; }
  .sys-why-row { grid-template-columns: 40px 1fr; }
  .sys-why-desc { display: none; }
}
@media (max-width: 580px) {
  .sys-hero { padding: 120px 20px 72px; }
  .sys-hero-actions { flex-direction: column; width: 100%; }
  .sys-btn-primary, .sys-btn-ghost { width: 100%; justify-content: center; }
  .sys-sec { padding: 60px 20px; }
  .sys-feat-grid { grid-template-columns: 1fr; }
  .sys-feat-item:nth-child(n) { border-right: none; }
  .sys-feat-item:last-child { border-bottom: none; }
}
