html {
    scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  scrollbar-color: #0bd11c #000000;
}

::-webkit-scrollbar {
  width: 30px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #0bd11c;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}
body {
  font-family: 'Inter', Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f1f5f9;
}

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: white;
  padding: 20px;
}

nav img {
  width: 150px;
  height: auto;
  object-fit: contain;
}

nav ul {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding: 0;
  margin: 0;
}
/*By Arthur Godoi */
nav ul li {
  list-style: none;
  cursor: pointer;
  font-size: 15px;
  position: relative;
  transition: 0.2s ease;
}
nav ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: white;
  transition: 0.2s ease;
}

nav ul li:hover::after {
  width: 100%;
}

nav ul li:hover {
  opacity: 0.8;
}
nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
}

#home {
    display: flex;
    padding: 20px;
    margin-top: 20px;
    flex-direction: row;
    justify-content: space-evenly;
    width: 100%;
    gap: 50px;
    align-items: center;
}
#box-text-home {
    flex: 1;
}
#box-text-home h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(24px, 4vw, 40px);
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1.1;
    max-width: 500px;
}
#box-text-home p {
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.7;
    max-width: 600px;
    color: #444;
}
#box-image-home {
    flex: 1;
    display: flex;
    justify-content: center;
}

#box-image-home img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
#btn-home {
  display: inline-block; 
  text-decoration: none;
  color: #000; 
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: 14px;
  
  padding: 12px 25px;
  background-color: #00ff00;
  border-radius: 4px;
  
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 255, 0, 0.2);
  margin-top: 15px;
}

#btn-home:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: #00cc00;
  box-shadow: 0 6px 20px rgba(0, 255, 0, 0.4);
  color: #000;
}
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;

  background-color: #24994f;
  color: white;

  width: 55px;
  height: 55px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
  text-decoration: none;

  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);

  transition: 0.3s;
  z-index: 999;

}

.whatsapp-btn:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
}
.whatsapp-btn img {
  width: 40px;
}


#servicos {
  padding: 50px 20px;
  text-align: center;
}

#servicos-box-title h1 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 30px;
}

#box-servicos-prestados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px; 
  max-width: 1200px; 
  margin: 0 auto;
  padding: 20px;
}
.btn-catalogo,
.btn-catalogo:visited,
.btn-catalogo:hover,
.btn-catalogo:active {
  text-decoration: none;
}

.btn-catalogo:hover {
  background: #00ff00;
  transform: scale(1.1);
}
.card {
  background: white;
  width: 100%; 
  border-radius: 12px;
  overflow: hidden; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover; 
}

.card h3 {
  font-family: 'Orbitron', sans-serif;
  padding: 20px 15px 10px;
  margin: 0;
}

.card p {
  padding: 0 15px 20px;
  font-size: 15px; 
  color: #555;
  line-height: 1.6;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
#sobre {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
#title-sobre h1{
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  line-height: 1.5;
  flex: 1.2;
}
#box-text-sobre {
  font-size: clamp(14px, 1.2vw, 18px);
  max-width: 900px;
  text-align: left;
  line-height: 1.8;
}
#contato {
  padding: 80px 10%;
  
}

.container-contato {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 5vw, 80px);
}

#contact-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: 0.3s;
  border-left: 5px solid transparent;
}

.contact-card:hover {
  transform: translateX(10px); /* Move para a direita no hover */
  border-left: 5px solid #169b21;
}

.contact-card img {
  width: 40px;
}

#contact-text {
  flex: 1.2;
  text-align: left; 
}

#contact-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #111;
}

#contact-text p {
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}
.card-link {
  text-decoration: none;
  color: #000;
}
#localizacao {
  padding: 60px 20px;
  margin-bottom: 10rem;
}

.container-localizacao {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
}

.local-info {
  flex: 1;
}

.local-info h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 20px;
}

.info-item {
  margin-bottom: 10px;
  font-size: 16px;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-maps {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: #0bd11c;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
  transition: 0.3s;
}

.btn-maps:hover {
  background: #00ff00;
}

.map-container {
  flex: 1.5;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}
#footer {
  background: #0a0a0a;
  color: #ccc;
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 15px;
  color: #fff;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  text-decoration: none;
  color: #ccc;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #0bd11c;
}

.footer-logo {
  width: 150px;
  margin-bottom: 15px;
}

.footer-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 18px;
  background: #0bd11c;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.footer-btn:hover {
  background: #00ff00;
}
#footer .footer-link {
  text-decoration: none !important;
  color: #0bd11c;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid #222;
  padding-top: 15px;
  font-size: 13px;
}
#footer-item {
  gap: 10px;
  display: flex;
  align-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  nav img {
    width: 180px;
    margin-bottom: 10px;
  }

  nav ul {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  nav ul li {
    font-size: 14px;
    margin: 5px;
  }
  #home {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }
  #box-text-home {
    text-align: left;
  }
  #box-text-home,
  #box-image-home {
    flex: none;
    max-width: 500px;
  }
  #box-text-home h1 {
    font-size: 26px;
    line-height: 1.2;
  }
  #box-image-home img {
    max-width: 100%;
  }
  #box-servicos-prestados {
    grid-template-columns: 1fr; 
    padding: 10px;
  }

  .card img {
    height: 180px;
  }
  #box-text-sobre {
    padding: 5px;
    text-align: left;
  }
  .container-contato {
    flex-direction: column-reverse; 
    text-align: center;
  }
  #contact-text h2 {
    text-align: center;
  }
  #contact-text p{
    text-align: left;
  }
  .card-link {
    text-align: left;
  }
  .container-localizacao {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .container-localizacao span{
    text-align: left;
  }

  .local-info {
    width: 100%;
    align-items: center;
  }

  .local-info h2 {
    font-size: 1.8rem;
  }
  .local-info span {
    text-align: left;
  }
  .info-item {
    justify-content: center;
    font-size: 15px;
  }
  .btn-maps {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .map-container {
    width: 100%;
  }

  .map-container iframe {
    height: 250px;
  }
}