* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


body {
  background: #0a0a0a;
  color: white;
  font-family: 'Poppins', sans-serif;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center; /* ESSENCIAL */
  padding: 15px 40px;
  background: #000;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-area img {
  height: 100px;
}

.logo-area h2 {
  font-size: 18px;
  margin: 0;
}

.navbar a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

.navbar a:hover {
  color: #ff2d2d;
}

.navbar nav {
  display: flex;
  align-items: center;
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, #1a1a1a, #000);
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
}

.btn {
  margin-top: 20px;
  padding: 12px 30px;
  background: #ff2d2d;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  box-shadow: 0 0 20px #ff2d2d;
}

/* SERVICES */
.services {
  padding: 80px 20px;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: #111;
  padding: 30px;
  width: 200px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 15px #ff2d2d;
}

/* ABOUT */
.about {
  padding: 60px;
  text-align: center;
}

.about p {
  max-width: 700px;
  margin: 15px auto;
  color: #ccc;
  line-height: 1.6;
}

/* CTA */
.cta {
  padding: 80px;
  text-align: center;
  background: #111;
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #0a0a0a;
}

.card, .about, .cta {
  opacity: 0;
  transform: translateY(50px);
  transition: 0.6s;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  padding: 15px;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  text-decoration: none;
  box-shadow: 0 0 10px #25d366;
}

@media (max-width: 768px) {

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .navbar {
    flex-direction: column;
    text-align: center;
  }

}

#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #111;
  border-top: 5px solid #ff2d2d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #ff2d2d;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  z-index: 999;
}

.cursor.active {
  transform: translate(-50%, -50%) scale(1.8);
}

.glitch {
  position: relative;
  color: white;
  font-size: 3rem;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
}

.glitch::before {
  color: red;
  z-index: -1;
  animation: glitch 1s infinite;
}

.glitch::after {
  color: blue;
  z-index: -2;
  animation: glitch 1s infinite reverse;
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

.navbar a {
  position: relative;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff2d2d;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}

.navbar a:hover::after {
  width: 100%;
}

.portfolio {
  padding: 80px;
  text-align: center;
}

.filters button {
  margin: 10px;
  padding: 10px 25px;
  background: transparent;
  color: white;
  border: 1px solid #ff2d2d;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 5px;
}

/* HOVER */
.filters button:hover {
  background: #ff2d2d;
  color: black;
  box-shadow: 0 0 10px #ff2d2d;
  transform: translateY(-2px);
}

.filters button.active {
  background: #ff2d2d;
  color: black;
  box-shadow: 0 0 10px #ff2d2d;
}

.filters button {
  backdrop-filter: blur(5px);
}

.gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.item {
  width: 150px;
  height: 150px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galeria {
  padding: 80px;
  text-align: center;
}

.fotos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.fotos img {
  width: 100%;
  height: 250px; /* força altura padrão */
  object-fit: cover; /* CORTA a imagem sem distorcer */
  border-radius: 10px;
  transition: 0.3s;
}

.fotos img:hover {
  transform: scale(1.05);
}

.localizacao {
  padding: 80px;
  text-align: center;
}

.localizacao p {
  margin: 15px auto;
  max-width: 600px;
  color: #ccc;
}