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

body {
  color: #333;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  background: #0d1b2a;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: bold;
  transition: 0.3s;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  transition: 0.3s;
}

.hero {
  height: 90vh;
  background: linear-gradient(rgba(13,27,42,0.85), rgba(13,27,42,0.85)), url('https://images.unsplash.com/photo-1637073849667-91120a924221');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 20px;
  animation: fadeDown 1s ease forwards;
}

.hero p {
  font-size: 18px;
  margin-bottom: 25px;
  animation: fadeUp 1.2s ease forwards;
}

.btn {
  background: #00b4d8;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #0096c7;
  transform: translateY(-2px);
}

.container {
  padding: 70px 10%;
}

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

.card {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

.about {
  background: #edf2f4;
  padding: 40px;
  border-radius: 12px;
}

footer {
  background: #0d1b2a;
  color: white;
  text-align: center;
  padding: 25px;
}

/* animações */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeDown {
  from {opacity:0; transform: translateY(-20px);} 
  to {opacity:1; transform: translateY(0);} 
}

@keyframes fadeUp {
  from {opacity:0; transform: translateY(20px);} 
  to {opacity:1; transform: translateY(0);} 
}

/* mobile */
@media(max-width:768px){
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #0d1b2a;
    width: 200px;
    display: flex;
    flex-direction: column;
    text-align: center;
    transform: translateX(100%);
    transition: 0.3s;
  }

  nav a {
    margin: 15px 0;
  }

  nav.active {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .hero h1 {
    font-size: 30px;
  }
}

