* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f4f7fb;
  color: #222;
}

/* Banner tecnológico */
.banner {
  height: 380px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 20, 50, 0.75)),
    url("https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.banner h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.banner p {
  font-size: 1.2rem;
}

/* Menu moderno */
.menu {
  background: linear-gradient(90deg, #03111c, #06283d, #03111c);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 18px 20px;
  border-bottom: 3px solid #00aaff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.menu a {
  color: #ffffff;
  text-decoration: none;
  padding: 16px 28px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 4px; /* quase retangular */
  position: relative;
  transition: 0.3s ease;
}

.menu a:hover {
  background-color: #00aaff;
  color: #03111c;
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 170, 255, 0.35);
}

/* Linha moderna abaixo do link */
.menu a::after {
  content: "";
  width: 0;
  height: 3px;
  background-color: #ffffff;
  position: absolute;
  left: 0;
  bottom: 6px;
  transition: 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

/* Responsivo */
@media (max-width: 600px) {
  .menu {
    flex-direction: column;
    padding: 15px;
  }

  .menu a {
    width: 100%;
    text-align: center;
  }
}
/* Conteúdo central */
main {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.sobre {
  text-align: center;
  margin-bottom: 50px;
}

.sobre h2 {
  font-size: 2rem;
  color: #063b63;
  margin-bottom: 15px;
}

.sobre p {
  max-width: 850px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Cards de serviços */
.servicos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.card {
  background-color: white;
  text-decoration: none;
  color: #222;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
}

/* Aproximação visual do formato 80x140 */
.card img {
  width: 100%;
  aspect-ratio: 80 / 140;
  object-fit: cover;
  display: block;
}

.card h3 {
  padding: 18px;
  text-align: center;
  font-size: 1rem;
  background-color: #ffffff;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 170, 255, 0.35);
}

.card:active {
  transform: scale(0.97);
}

/* Rodapé */
footer {
  background-color: #061826;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Tablet */
@media (max-width: 900px) {
  .servicos {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner h1 {
    font-size: 2.4rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .banner {
    height: 300px;
  }

  .banner h1 {
    font-size: 2rem;
  }

  .banner p {
    font-size: 1rem;
  }

  .menu {
    flex-direction: column;
    align-items: center;
  }

  .menu a {
    width: 90%;
    text-align: center;
  }

  .servicos {
    grid-template-columns: 1fr;
  }
}