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

body {
  font-family: 'Poppins', sans-serif;
  background: #0b0f1a;
  color: #fff;
  scroll-behavior: smooth;
}

/* LOADER */
#loader {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0b0f1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #222;
  border-top: 5px solid #00ff9d;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* HEADER */
header {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  height: 40px; /* mantém o tamanho base */
  transform: scale(3.2); /* aumenta visualmente */
  transform-origin: left center;
}
nav a {
  margin-left: 20px;
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

nav a:hover {
  color: #00ff9d;
}

/* HERO COM IMAGEM LOCAL */
.hero {
  height: 100vh;
  background: url("./img/hero-bg.png") no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  text-align: center;
  position: relative;
}

/* OVERLAY MAIS PROFISSIONAL */
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  top: 0;
  left: 0;
}

/* TEXTO NA FRENTE */
.hero h1,
.hero p,
.hero .btn {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.8rem;
}

.btn {
  background: linear-gradient(45deg, #00ff9d, #ffe600);
  color: #000;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* SERVIÇOS */
.servicos {
  padding: 80px 20px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.card {
  background: #111827;
  padding: 15px;
  border-radius: 15px;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(0,255,157,0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0,255,157,0.4);
}

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* DIFERENCIAIS MELHORADO */
.diferenciais {
  padding: 80px 20px;
  text-align: center;
}

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.diff-card {
  background: #111827;
  padding: 30px 20px;
  border-radius: 15px;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(0,255,157,0.08);
}

.diff-card span {
  font-size: 30px;
  display: block;
  margin-bottom: 10px;
}

.diff-card h3 {
  margin-bottom: 10px;
}

.diff-card p {
  font-size: 0.9rem;
  opacity: 0.7;
}

.diff-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0,255,157,0.3);
}

/* CONTATO PREMIUM */
.contato {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.contato-box {
  background: linear-gradient(135deg, #00ff9d10, #ffe60010);
  border: 1px solid rgba(0,255,157,0.2);
  padding: 50px 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 600px;
  backdrop-filter: blur(10px);
}

.contato-box h2 {
  margin-bottom: 10px;
}

.contato-box p {
  opacity: 0.7;
  margin-bottom: 25px;
}

.btn-whatsapp {
  background: #25d366;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  color: white;
  font-size: 1rem;
  transition: 0.3s;
  display: inline-block;
}

.btn-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(37,211,102,0.5);
}
/* BOTÃO FLUTUANTE */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  color: white;
  font-size: 20px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: black;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .diff-container {
    flex-direction: column;
    gap: 10px;
  }
}

/* PROCESSO */
.processo {
  padding: 80px 20px;
  text-align: center;
}

.processo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.processo-card {
  background: #111827;
  padding: 30px;
  border-radius: 15px;
  transition: 0.3s;
  box-shadow: 0 0 20px rgba(0,255,157,0.1);
}

.processo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0,255,157,0.3);
}

/* STATS */
.stats {
  display: flex;
  justify-content: space-around;
  padding: 60px 20px;
  background: #0f172a;
  text-align: center;
}

.stat h3 {
  font-size: 2rem;
  color: #00ff9d;
}

.stat p {
  opacity: 0.7;
}

@media (max-width: 768px) {

  header {
    padding: 10px 20px;
  }

  .logo {
    height: 35px;
    transform: scale(1.3);
    transform-origin: left center;
  }

  nav {
    display: flex;
    gap: 15px;
    font-size: 14px;
  }

}

.card.active {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(0,255,157,0.4);
}