/* ===========================
   NAPSE SOLUTIONS — STYLES
   =========================== */

:root {
  --bg:         #070e1a;
  --bg-section: #0a1628;
  --bg-card:    #0d1e35;
  --bg-card-h:  #111f37;
  --border:     rgba(56, 182, 255, 0.12);
  --border-h:   rgba(56, 182, 255, 0.35);
  --blue:       #1a6eff;
  --blue-light: #38b6ff;
  --blue-dim:   rgba(26, 110, 255, 0.15);
  --gradient:   linear-gradient(135deg, #1a6eff, #38b6ff);
  --text:       #e0eeff;
  --text-muted: #6a8faf;
  --text-sub:   #9ab8d4;
  --radius:     14px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.accent { color: var(--blue-light); }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 580px;
  margin-bottom: 56px;
}

.center { text-align: center; }
.center.section-sub { margin-left: auto; margin-right: auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(26, 110, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 110, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--blue-light);
  border: 1.5px solid var(--border-h);
}
.btn-ghost:hover {
  background: var(--blue-dim);
  border-color: var(--blue-light);
}

.btn-full { width: 100%; justify-content: center; }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  transition: padding var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-img { height: 64px; width: 64px; object-fit: contain; }
.nav-logo-text {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-sub);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text); }

.btn-nav {
  background: var(--gradient) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(26,110,255,0.12) 0%, transparent 70%),
              var(--bg);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-content {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Dashboard Mockup ---- */
.dashboard-mockup {
  width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-card-h);
  border-bottom: 1px solid var(--border);
}

.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dash-title {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: 8px;
  letter-spacing: 0.04em;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.dash-kpi {
  background: var(--bg-card);
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-kpi-label {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.dash-kpi-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.dash-kpi-value span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-sub);
}

.dash-kpi-delta {
  font-size: 0.68rem;
  font-weight: 600;
}

.dash-kpi-delta.up   { color: #34d399; }
.dash-kpi-delta.down { color: #34d399; }

.dash-chart-block {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

.dash-chart-block:last-child { border-bottom: none; }

.dash-chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.72rem;
  color: var(--text-sub);
}

.dash-badge {
  font-size: 0.62rem;
  font-weight: 600;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border-radius: 20px;
  padding: 2px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-badge::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.dash-line-chart,
.dash-bar-chart {
  width: 100%;
  height: auto;
  display: block;
}

.dash-chart-legend {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.dash-chart-legend i {
  display: inline-block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 4px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-sub);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid var(--border-h);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  display: block;
  width: 4px;
  height: 8px;
  background: var(--blue-light);
  border-radius: 4px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80% { transform: translateX(-50%) translateY(12px); opacity: 0; }
}

/* ---- SOBRE ---- */
.sobre {
  padding: 100px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.sobre-desc {
  color: var(--text-sub);
  font-size: 1rem;
  margin-bottom: 16px;
  line-height: 1.75;
}

.sobre-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Circuit visual */
.sobre-visual {
  display: flex;
  justify-content: center;
}

.circuit-box {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sobre-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 24px rgba(56, 182, 255, 0.4));
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-h);
}
.orbit-1 {
  width: 180px; height: 180px;
  animation: spin 12s linear infinite;
}
.orbit-2 {
  width: 260px; height: 260px;
  animation: spin 20s linear infinite reverse;
  border-style: dashed;
  border-color: var(--border);
}

@keyframes spin { to { transform: rotate(360deg); } }

.dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 10px var(--blue-light);
}
.dot-1 { top: 30px; left: 50%; transform: translateX(-50%); animation: pulse 2s ease-in-out infinite; }
.dot-2 { bottom: 30px; right: 30px; animation: pulse 2s ease-in-out infinite 0.6s; }
.dot-3 { top: 50%; left: 10px; transform: translateY(-50%); animation: pulse 2s ease-in-out infinite 1.2s; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ---- SOLUÇÕES ---- */
.solucoes {
  padding: 100px 0;
  background: var(--bg);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,110,255,0.06), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.card:hover::before { opacity: 1; }

.card-featured {
  border-color: rgba(56, 182, 255, 0.3);
  background: linear-gradient(160deg, #0d1e35, #0a1628);
  box-shadow: 0 0 0 1px rgba(56, 182, 255, 0.2), 0 8px 32px rgba(26, 110, 255, 0.15);
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.card-icon {
  width: 52px;
  height: 52px;
  color: var(--blue-light);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.card-desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gradient);
  flex-shrink: 0;
}

/* ---- SETORES ---- */
.setores {
  padding: 100px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.setor-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: all var(--transition);
}
.setor-card:hover {
  border-color: var(--border-h);
  transform: translateY(-3px);
  background: var(--bg-card-h);
}

.setor-icon {
  width: 44px;
  height: 44px;
  color: var(--blue-light);
  margin-bottom: 16px;
}

.setor-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.setor-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- DIFERENCIAIS ---- */
.diferenciais {
  padding: 100px 0;
  background: var(--bg);
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.diferencial {
  padding: 28px 24px;
  border-left: 2px solid var(--blue-dim);
  transition: border-color var(--transition);
}
.diferencial:hover { border-color: var(--blue); }

.diferencial-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  opacity: 0.5;
}

.diferencial h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.diferencial p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---- CONTATO ---- */
.contato {
  padding: 100px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contato-desc {
  font-size: 1rem;
  color: var(--text-sub);
  margin: 20px 0 36px;
  line-height: 1.75;
}

.contato-items { display: flex; flex-direction: column; gap: 16px; }
.contato-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--text-sub);
}
.contato-item svg { width: 20px; height: 20px; color: var(--blue-light); flex-shrink: 0; }

/* Form */
.contato-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

input, select, textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
input:focus, select:focus, textarea:focus { border-color: var(--blue); }

select { appearance: none; cursor: pointer; }
select option { background: #0d1e35; }

textarea { resize: vertical; min-height: 110px; }

.form-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { height: 40px; width: 40px; object-fit: contain; }
.footer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}
.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 260px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .setores-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-visual { display: none; }
  .contato-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-visual { display: none; }
}

@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(7, 14, 26, 0.97);
    backdrop-filter: blur(16px);
    padding: 20px 24px 28px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .hamburger { display: flex; }
  .setores-grid { grid-template-columns: 1fr; }
  .diferenciais-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contato-form { padding: 24px 20px; }
  .hero-cta { flex-direction: column; }
  .sobre-stats { flex-direction: column; gap: 24px; }
  .footer-links { grid-template-columns: 1fr; }
}
