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

/* VARIÁVEIS */
:root {
  --bg-dark: #0f1115;
  --bg-dark-2: #151922;
  --primary: #00e5ff;
  --primary-hover: #00bcd4;
  --text-light: #ffffff;
  --text-muted: #b0b3c1;
  --border-color: #252a3a;
}

/* BASE */
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--primary);
  color: #000;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #000;
}

/* HEADER */
.header {
  background: var(--bg-dark-2);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}

.nav a {
  font-size: 14px;
  color: var(--text-muted);
}

/* HERO */
.hero {
  padding: 120px 0;
}

.hero-bg {
  position: relative;
  background-image: url("./assets/imgsobre-trafego.jpg.jpeg");
  background-size: cover;
  background-position: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-bg .overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 5, 10, 0.75);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* SEÇÕES */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--bg-dark-2);
}

.section h2,
.section h3 {
  font-size: 32px;
  margin-bottom: 24px;
}

.section p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* SERVIÇOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #0f1117;
  border-radius: 18px;
  padding: 40px 30px;
  text-align: center;
  transition: transform .4s ease, box-shadow .4s ease;
}

.service-card img {
  width: 60px;
  margin: 0 auto 20px;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

/* PROCESSO */
.process-list {
  margin-top: 30px;
  padding-left: 20px;
}

.process-list li {
  margin-bottom: 14px;
  color: var(--text-muted);
}

/* CTA */
.cta {
  padding: 100px 0;
  text-align: center;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FORM */
.contact-form {
  max-width: 600px;
  margin-top: 40px;
  display: grid;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 14px;
  border-radius: 8px;
  color: var(--text-light);
}

/* FOOTER */
.footer {
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
}

/* ANIMAÇÃO */
@keyframes zoomSlow {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-bg {
  animation: zoomSlow 20s ease-in-out infinite alternate;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .section h2,
  .section h3 {
    font-size: 24px;
  }

  .nav {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
  }
}
