/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Poppins', sans-serif;
  background-color: #0f0f10;
  color: #f1f1f1;
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 50px;
  background: rgba(10, 10, 20, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(8px);
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00aaff;
}
.logo span {
  color: #9b51e0;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}
.nav-links a {
  color: #f1f1f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a:hover {
  color: #00aaff;
}

/* ===== HERO ===== */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(15, 15, 16, 0.8);
  position: relative;
  overflow: hidden;
backdrop-filter: blur(3px);
}

.hero-content {
  z-index: 10;
  max-width: 700px;
  padding: 20px;
}

.hero-bg {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(0, 170, 255, 0.2), transparent 70%);
  animation: pulse 8s infinite alternate;
}
@keyframes pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.3); }
}
.hero-content {
  z-index: 10;
  max-width: 700px;
  padding: 20px;
}
.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.hero h1 span {
  color: #00aaff;
}
.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #d1d1d1;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}
.btn-primary, .btn-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, background 0.3s;
}
.btn-primary {
  background: #00aaff;
  color: #fff;
}
.btn-primary:hover {
  background: #0090dd;
  transform: translateY(-3px);
}
.btn-secondary {
  border: 2px solid #00aaff;
  color: #00aaff;
}
.btn-secondary:hover {
  background: #00aaff;
  color: #fff;
  transform: translateY(-3px);
}

/* ===== SEÇÕES ===== */
section {
  padding: 100px 50px;
}
h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #00aaff;
}

/* ===== SERVIÇOS ===== */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.card {
  background: #18181b;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s, background 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  background: #202024;
}
.card h3 {
  color: #9b51e0;
  margin-bottom: 10px;
}

/* ===== PORTFÓLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.projeto {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.projeto img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.projeto:hover img {
  transform: scale(1.1);
}
.overlay {
  position: absolute;
  bottom: 0;
  background: rgba(0, 170, 255, 0.8);
  color: white;
  width: 100%;
  padding: 10px;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.4s;
}
.projeto:hover .overlay {
  opacity: 1;
}

/* ===== ORÇAMENTO ===== */
.orcamento {
  text-align: center;
}
.orcamento form {
  max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.orcamento input, .orcamento textarea {
  background-color: #111;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    color: #fff;
    outline: none;
    transition: all 0.2s ease;
}
.orcamento input::placeholder,
.orcamento textarea::placeholder {
  color: #888;
}

.orcamento textarea {
  resize: vertical;
  min-height: 100px;
}
.orcamento button {
   background-color: #00aaff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
}

/* ===== REDES ===== */
.redes .social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}
.redes a {
  color: #f1f1f1;
  text-decoration: none;
  transition: color 0.3s;
}
.redes a:hover {
  color: #00aaff;
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  background: #111;
  padding: 30px;
  color: #777;
  font-size: 0.9rem;
}
/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .navbar {
    padding: 15px 30px;
  }
  section {
    padding: 80px 30px;
  }
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 10px;
    padding: 10px 20px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  section {
    padding: 60px 25px;
  }
  .projeto img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: auto;
    padding: 120px 20px 80px;
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .cta-buttons {
    flex-direction: column;
  }
  section {
    padding: 60px 20px;
  }
  .navbar {
    padding: 10px 15px;
  }
  .logo {
    font-size: 1.3rem;
  }
  .card {
    padding: 20px;
  }
  .portfolio-grid {
    gap: 15px;
  }
}


