:root {
  --bg: #0f0f14;
  --bg-alt: #16161d;
  --primary: #6c63ff;
  --text: #ffffff;
  --muted: #b5b5b5;
}

/* RESET E SEGURANÇA CONTRA OVERFLOW */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15,15,20,0.85);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.header h1 {
  font-size: 1.6rem;
}

.header h1 span {
  color: var(--primary);
}

.header nav {
  display: flex;
  gap: 20px;
}

.header nav a {
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
}

.header nav a:hover {
  color: var(--primary);
}

/* HERO */
.hero {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 120px 10% 60px;
  background: linear-gradient(120deg, #0f0f14, #1a1a2e);
}

.hero-content {
  max-width: 600px;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-content p {
  color: var(--muted);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* BOTÕES */
.btn {
  background: var(--primary);
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  display: inline-block;
  border: none;
}

/* SECTIONS */
.section {
  width: 100%;
  padding: 80px 10%;
  text-align: center;
}

.section.alt {
  background: var(--bg-alt);
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  width: 100%;
}

.card {
  background: var(--bg-alt);
  padding: 25px;
  border-radius: 12px;
  width: 100%;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.card button {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
}

.card button:hover {
  background: var(--primary);
  color: #fff;
}

/* SERVIÇOS */
.services {
  list-style: none;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
}

.services li {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* CONTATO */
.whatsapp {
  margin-top: 20px;
}

/* FOOTER */
.footer {
  background: #0b0b10;
  text-align: center;
  padding: 20px 10%;
  color: var(--muted);
  width: 100%;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 900px) {
  .hero-content h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 5%;
    flex-direction: column;
    gap: 10px;
  }

  .header nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 140px 5% 60px;
  }

  .section {
    padding: 60px 5%;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }

  .card {
    padding: 20px;
  }
}
