/* === ESTILO GLOBAL === */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1c1c1c;
  color: #ddd;
}

p {
  font-size: 1.2rem;
  color: #dcdcdc;
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
}

/* === HEADER === */
header {
  background-color: #000;
  color: #f0c040;
  text-align: center;
  padding: 20px;
}

header img {
  max-height: 200px;
  margin-bottom: 10px;
}

h1 {
  position: relative;
  font-size: 2.8rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ffcc00, #fff7b0, #ffcc00, #ff9900, #ffcc00);
  background-size: 300% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: brilhoInterno 5s linear infinite;
  z-index: 1;
}

h1::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: inherit;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(8px);
  z-index: -1;
  animation: brilhoInterno 5s linear infinite;
}

@keyframes brilhoInterno {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* === NAVBAR === */
.navbar {
  background: #101018;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .logo {
  font-size: 1.5rem;
  color: #ffcc00;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #ffcc00;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffffff;
}

.hamburguer {
  display: none;
  font-size: 24px;
  color: #ffcc00;
  cursor: pointer;
}

/* === SEÇÕES === */
.servicos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.servico {
  background-color: #2a2a2a;
  border-left: 5px solid #ffcc00;
  border-radius: 8px;
  padding: 20px;
  flex: 1 1 300px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 10px #000;
  transition: transform 0.2s;
}

.servico:hover {
  transform: scale(1.03);
}

iframe.mapa {
  margin: 40px 0;
  border: none;
  width: 100%;
  height: 400px;
  border-radius: 10px;
}

.botao-orcamento {
  display: inline-block;
  margin-top: 30px;
  background: #ffcc00;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
}

/* === FOOTER === */
footer {
  background-color: #101018;
  text-align: center;
  padding: 20px;
  color: #bbb;
  margin-top: 40px;
}

/* === POPUP === */
.popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: #2a2a2a;
  padding: 25px;
  border-radius: 10px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  color: #fff;
}

.popup-content h3 {
  color: #ffcc00;
}

.popup-content ul ul {
  margin-top: 5px;
  margin-bottom: 10px;
  padding-left: 20px;
  color: #ccc;
}

.close-btn {
  float: right;
  font-size: 24px;
  color: #aaa;
  cursor: pointer;
}

/* === RESPONSIVO === */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #101018;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburguer {
    display: block;
  }

  .servico {
    flex: 1 1 100%;
  }
}

#sobre, #lista-servicos, #contato {
  scroll-margin-top: 100px;
}

#mapa {
  width: 100%;
  padding: 0;
  margin: 0;
}

#mapa h2 {
  text-align: center;
  margin-bottom: 20px;
}

iframe.mapa {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
  border-radius: 0;
}
