/* ============================================
   amsis - Soluções em Sistemas | Portfólio
   Cores: cinza, azul, laranja
   ============================================ */

:root {
  --amsis-gray: #2d2d2d;
  --amsis-blue: #0d6efd;
  --amsis-blue-light: #4da3ff;
  --amsis-orange: #e85d04;
  --amsis-orange-light: #f48c06;
  /* Fundo igual ao do logo: azul-cinza escuro */
  --bg-dark: #161B21;
  /* Hero: mesmo tom da imagem (azul-preto) para não ter corte de tonalidade */
  --hero-bg: #0a0e14;
  --bg-card: rgba(22, 27, 33, 0.85);
  --text-white: #f0f4f8;
  --text-muted: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Brilho azul sutil (fora da hero para não criar corte de tom) */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 80vh, rgba(77, 163, 255, 0.05) 0%, transparent 45%);
}

body > * {
  position: relative;
  z-index: 1;
}

/* ---- Header ---- */
.header {
  background: rgba(22, 27, 33, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  transition: box-shadow 0.3s;
  z-index: 999;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.logo-img {
  height: 70px;
  width: auto;
  display: block;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar a:hover,
.navbar a.active {
  color: var(--amsis-blue-light);
}

.btn-get-quote {
  background: var(--amsis-blue);
  color: #fff !important;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-get-quote:hover {
  background: var(--amsis-blue-light);
  color: #fff;
  transform: translateY(-1px);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Hero (particles + conteúdo) ---- */
.sticked-header-offset {
  padding-top: 80px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--hero-bg);
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
}

#repulse-circle-div {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .caption {
  padding: 2rem 0;
}

/* Imagem da home (cabeça/circuitos) – sem borda/sombra para fundir com o fundo */
.hero-img-wrap {
  position: relative;
  max-width: 100%;
  background: transparent;
  box-shadow: none;
}

.hero-img {
  max-width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  display: block;
  vertical-align: bottom;
}

.hero h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero h2 span {
  display: block;
  color: var(--amsis-blue-light);
}

.hero h2 .circle {
  color: var(--amsis-orange);
  display: inline;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 0;
}

.btn-get-started {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-get-started:first-of-type {
  background: var(--amsis-blue);
  color: #fff;
  border: 2px solid var(--amsis-blue);
}

.btn-get-started:first-of-type:hover {
  background: var(--amsis-blue-light);
  border-color: var(--amsis-blue-light);
  color: #fff;
  transform: translateY(-2px);
}

.btn-get-started.btn-outline {
  background: transparent;
  color: var(--amsis-blue-light);
  border: 2px solid var(--amsis-blue-light);
}

.btn-get-started.btn-outline:hover {
  background: rgba(77, 163, 255, 0.15);
  color: var(--amsis-blue-light);
  transform: translateY(-2px);
}

/* ---- Seções gerais ---- */
section {
  padding: 4rem 0;
}

.section-bg {
  background: rgba(22, 27, 33, 0.7);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-white);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---- Cards Soluções (Neumorphism / Neop) ---- */
.solucao-card {
  background: linear-gradient(145deg, #1e242e 0%, #181d26 100%);
  border: none;
  border-radius: 16px;
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  /* Neop: sombras suaves para efeito “caixa elevada” */
  box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.4),
              -4px -4px 14px rgba(255, 255, 255, 0.03);
}

.solucao-card:hover {
  transform: translateY(-4px);
  box-shadow: 12px 12px 28px rgba(0, 0, 0, 0.45),
              -6px -6px 18px rgba(255, 255, 255, 0.04),
              0 0 30px rgba(77, 163, 255, 0.12);
}

.solucao-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(77, 163, 255, 0.25) 0%, rgba(77, 163, 255, 0.1) 100%);
  color: var(--amsis-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.2),
              2px 2px 6px rgba(0, 0, 0, 0.15);
}

.solucao-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--amsis-blue-light);
  margin-bottom: 0.5rem;
}

.solucao-card .solucao-lead {
  color: var(--text-white);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.6rem;
}

.solucao-card .solucao-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0;
}

/* ---- Portfólio ---- */
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid rgba(77, 163, 255, 0.15);
  border-radius: 12px;
  padding: 1.5rem;
  height: 100%;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.portfolio-card:hover {
  border-color: var(--amsis-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 93, 4, 0.12);
}

.portfolio-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(232, 93, 4, 0.2);
  color: var(--amsis-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.portfolio-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

.portfolio-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---- Contato ---- */
.contato-info a {
  color: var(--text-white);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid rgba(77, 163, 255, 0.2);
  transition: border-color 0.2s, background 0.2s;
}

.contato-info a:hover {
  border-color: var(--amsis-blue-light);
  background: rgba(77, 163, 255, 0.08);
  color: var(--text-white);
}

.contato-info i {
  font-size: 1.25rem;
  color: var(--amsis-blue-light);
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid rgba(77, 163, 255, 0.3);
  color: var(--amsis-blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.2s;
}

.social-links a:hover {
  background: var(--amsis-blue);
  border-color: var(--amsis-blue);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- Footer ---- */
.footer {
  padding: 1.5rem 0;
  background: rgba(22, 27, 33, 0.95);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---- Responsivo ---- */
@media (max-width: 991px) {
  .navbar ul {
    display: none;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .btn-get-quote {
    margin-left: auto;
    margin-right: 0.5rem;
  }

  .hero-img {
    max-height: 50vh;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 1.5rem;
  }

  .d-flex.gap-3 {
    flex-direction: column;
  }

  .btn-get-started {
    text-align: center;
  }
}
