body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0C1D39;
  color: white;
  overflow-x: hidden;
}

.header {
  position: fixed;
  z-index: 1000;
  width: 100%;
  background-color: #0C1D39;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;

}

.header .logo {
  padding: 10px 0px 10px 0px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 47px;
  height: 30px;
  margin-right: 10px;
}

.logo-text {
  padding-top: 8px;
  color: #3079D9;
  font-weight: bold;
  font-size: 1.5em;
}

.nav {
  display: flex;
}

.nav a {
  margin: 0 15px;
  text-decoration: none;
  color: white;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #8E2DE2;
  transition: width .3s;
  position: absolute;
  bottom: -5px;
  left: 0;
}

.nav a:hover::after {
  width: 100%;
}

.lang-select button {
  position: relative;
  background: none;
  background-color: #1C2C50;
  border: 0;
  border-radius: 20px;
  color: white;
  padding: 5px 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.lang-select button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.main {
  text-align: center;
  padding: 50px 20px;
}

#home-section {
  padding-top: 25px;
  height: 100%;
}

#sobre {
  font-family: 'Inter', sans-serif;
  padding-top: 50px;
  background-color: #12284B;
}

.container-sobre {
  display: flex;
  flex-direction: column;
}

h1 {
  font-size: 2.0em;
  line-height: 1.2;
  margin-bottom: 20px;
}


.subtitle {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #B0C4DE;
}

.features,
.features-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
  font-size: larger;
  background: linear-gradient(90deg, #192847, #163259);
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.3s;
}

.feature-about {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
  font-size: larger;
  background: #F5F7FA;
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.3s;
}

.feature:hover {
  transform: translateY(-5px);
  background: #122E5C;
}

.feature h2 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.feature p,
.feature-about p {
  text-indent: 0;
  text-align: start;
  color: #B0C4DE;
  font-size: 0.95em;
}

p {
  margin: 0;
  padding: 0;
}

.feature-about p {
  color: #0C1D39;
}

.whatsapp-button {
  display: inline-block;
  background: linear-gradient(90deg, #1F2F8F, #5F24CC);
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 10px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}

.whatsapp-button:hover {
  background: linear-gradient(90deg, #5502fc, #9e59da);
  transform: scale(1.05);
}

.free-text {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;

}

.free-text div {
  align-items: start;
  width: 90%;
  /* usa até 90% da largura da tela */
  max-width: 1400px;
  /* limita o exagero */
  margin: 0 auto;
  padding: 0 24px;
  padding-top: 50px;
  text-align: left;
}

.free-text div ul li {
  padding-bottom: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1.8s ease;
}

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

.center {
  text-align: center;
}

#contatos {
  height: 300px;
  align-items: center;
  padding-bottom: 120px;
}

#contatos p {
  padding-top: 10px;
}

#contatos .subtitle {
  padding: 0;
  margin: 0;
}

  #contatos .info-contato {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  #contatos .free-text {
    width: 100%;
    max-width: 400px; /* evita que fique muito largo */
  }



.info-contato .free-text {
  flex: 1 1 300px;  /* cada bloco pega no mínimo 300px e pode crescer */
  box-sizing: border-box;
}

.btn {
  padding-top: 40px;
}


/* Responsive */
@media (min-width: 800px) {
  .main {
    padding-top: 120px;
  }
  
  #sobre {
    padding-top: 100px;
    min-height: 100vh;
  }
  
  #contatos .info-contato {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;   
  align-items: flex-start; 
  gap: 40px; 
}

  .sub-sobre {
    display: flex;
    flex-wrap: wrap;
    padding-top: 40px;
    padding-bottom: 50px;
    justify-content: center;
    gap: 80px;
  }

  .main h1 {
    font-size: 2.8em;
  }

  #home-section {
    padding-top: 0;
    min-height: 90vh;
  }

  .header {
    padding-top: 10px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .header .nav {
    padding-right: 50px;
  }

  .header .logo {
    padding-left: 50px;
  }

  .features {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .feature,
  .feature-about {
    flex: 1;
    min-width: 280px;
    max-width: 300px;
    height: 180px;

  }

  .features-about {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 680px;

  }

  .container-sobre {
    display: flex;
    justify-content: space-evenly;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Animations */
.fade-in {
  animation: fadeIn 1s ease-out forwards;
  opacity: 0;
}

.fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
}

.fade-in-up-delay {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.fade-in-delay1 {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

.fade-in-delay2 {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.fade-in-delay3 {
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}