* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background-color: #f4f6f9;
}

/* BANNER */
.banner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.banner-container {
  width: 75%;
  background: linear-gradient(to right, #1e3361, #143c77);
  padding: 40px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-container h1 {
  color: white;
  font-size: 38px;
}

.icone-banner {
  font-size: 40px;
  color: white;
}

/* SUBTÍTULO */
.subtitulo {
  width: 75%;
  margin: 40px auto;
  text-align: center;
}

.subtitulo h3 {
  font-weight: 400;
  color: #444;
}

/* BLOCOS */
.bloco {
  width: 75%;
  margin: 70px auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.bloco.reverso {
  flex-direction: row-reverse;
}

.texto {
  flex: 1;
}

.texto h2 {
  color: #1e3361;
  margin-bottom: 20px;
  font-size: 26px;
}

.texto p {
  line-height: 1.7;
  color: #555;
  font-size: 16px;
}

.imagem {
  display: flex;
  justify-content: center;
}

.imagem img {
  width: 500px;
  height: 375px;
  object-fit: cover;
  border-radius: 8px;
}

/* RESPONSIVIDADE */

@media (max-width: 1024px) {
  .banner-container,
  .subtitulo,
  .bloco {
    width: 90%;
  }

  .texto h2 {
    font-size: 22px;
  }

  .icone-banner {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .banner-container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .bloco {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .bloco.reverso {
    flex-direction: column;
  }

  .texto h2 {
    font-size: 20px;
  }

  .texto p {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .banner-container {
    padding: 25px;
  }

  .banner-container h1 {
    font-size: 24px;
  }

  .subtitulo h3 {
    font-size: 14px;
  }

  .texto h2 {
    font-size: 18px;
  }

  .imagem img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
