* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  background-color: #e6e6e6;
  background-size: cover;
  color: #1a1a1a;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #c5d6ff;
  padding: 0.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.logo-container {
  flex-shrink: 0;
}

.logo-img-navbar {
  height: 40px;
  width: auto;
}

.menu {
  display: flex;
  flex: 1;
  justify-content: space-evenly;
  margin-left: 2rem;
}

.menu a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 1rem;
}

.menu a:hover {
  font-weight: bold;
}

/* MAIN CONTENT */
main {
  flex: 1;
  margin-top: 60px; /* espaço para compensar navbar fixa */
}

/* HERO */
.hero {
  padding: 2rem 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e6e6e6;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  gap: 4rem;
}

.image-text-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap; /* garante responsividade */
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 2rem;
}

.highlight-box {
  flex: 1;
  background-color: #ffffff;
  border-left: 5px solid #6b88ff;
  padding: 1.2rem 1.5rem;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.6;
}


.text-block {
  flex: 1;
  text-align: justify;
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.image-container {
  flex: 0 0 40%;
  max-width: 400px;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Fade-in */
.fade-section {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease-out;
}

.fade-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
.footer {
  background-color: #f3f3f3;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: #1a1a1a;
  width: 100%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-img {
  height: 30px;
  width: auto;
}

.footer-left {
  flex: 1;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .text-block {
    text-align: center;
  }

  .logo-container-hero {
    justify-content: center;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0;
  }

  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
