* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #0f172a;
  color: #e5e7eb;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: #020617;
}

.logo {
  height: 45px;
}

.header nav a {
  color: #e5e7eb;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

.banner {
  position: relative;
  height: 70vh; /* controla o tamanho do banner */
  max-height: 650px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* corta sem distorcer */
  filter: brightness(0.55); /* escurece o fundo */
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 720px;
  padding: 20px;
  text-align: center;
}

.banner-text h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.banner-text p {
  font-size: 18px;
  line-height: 1.5;
}

.banner-text h1 {
  font-size: 36px;
  margin-bottom: 12px;
}

.apps {
  padding: 60px 40px;
  text-align: center;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.app-card {
  background: #020617;
  padding: 24px;
  border-radius: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.app-card img {
  width: 100%;
  max-height: 260px; /* controla o tamanho */
  object-fit: contain; /* NÃO corta a imagem */
  margin-bottom: 16px;
}

.sobre, .contato {
  padding: 60px 40px;
  text-align: center;
}

.footer {
  background: #020617;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.sobre p {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

@media (max-width: 768px) {
  .banner {
    height: 55vh;
  }

  .banner-text h1 {
    font-size: 28px;
  }

  .banner-text p {
    font-size: 16px;
  }

  .app-card img {
    max-height: 200px;
  }
}

