body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.h1-encruzilhadas {
  font-size: 48px;
  text-align: center;
  color: rgb(255, 119, 0);
  position: relative;
}
.h1-encruzilhadas::after {
  content: "";
  display: block;
  width: 85rem;
  height: 6px;
  background: #ff7700;
  border-radius: 3px;
  margin: 10px auto 0;
}
.title {
  position: relative;
  margin-top: 80px;
  padding: 1rem 18%;
}
.encruzilhadas-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}
p.texto {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 2px;
}
p.citacao {
  color: #414141;
  text-align: justify;
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
}
article {
  padding: 1rem 18%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
section.imagens {
  display: flex;
  flex-direction: column;
  width: 313px;
  gap: 10px;
  transition: transform 0.3s ease-in-out;
  background-color: white;
}
section.imagens:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
img {
  max-width: 100%;
  height: 313px;
}
/* RESPONSIVO – CELULAR */
@media (max-width: 768px) {
  body {
    gap: 16px;
  }

  .title {
    margin-top: 40px;
    padding: 1rem 1.5rem;
    text-align: center;
  }

  .h1-encruzilhadas {
    font-size: 32px; /* menor no celular */
  }

  .h1-encruzilhadas::after {
    width: 100%;
    max-width: 260px; /* linha menor pra caber bem */
    height: 4px;
  }

  .subtitle {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: left; /* ou center, se preferir */
  }

  .section-textos {
    padding: 1rem 1.5rem;
  }

  .section-textos-imagens {
    margin: 1rem 1.5rem;
    flex-direction: column; /* imagens e textos um embaixo do outro */
    align-items: center;
  }

  .encruzilhadas-section {
    gap: 20px;
  }

  p.texto,
  pre {
    font-size: 14px;
  }

  .img1,
  .img2,
  .img3 {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .img3 {
    height: auto;
  }
}
@media (max-width: 768px) {
  /* HEADER / MENU */
  header,
  .logo,
  nav {
    padding: 0 1.5rem !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  .logo img {
    max-width: 160px;
  }

  .hamburguer {
    transform: scale(0.8);
  }

  /* TÍTULO */
  .title {
    padding: 1rem 1.5rem !important;
    margin-top: 40px;
    text-align: center;
  }

  .h1-encruzilhadas {
    font-size: 32px;
    text-align: center;
  }

  .h1-encruzilhadas::after {
    width: 100%;
    max-width: 240px;
    height: 4px;
  }

  /* TEXTOS */
  .section-textos,
  .section-textos-imagens,
  .subtitle {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  p.texto,
  pre {
    font-size: 14px;
  }

  /* LAYOUT DAS IMAGENS */
  .section-textos-imagens {
    flex-direction: column;
    gap: 20px;
  }

  .img1,
  .img2,
  .img3 {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .img3 {
    max-height: none;
  }

  /* SEÇÃO ENCRUZILHADAS */
  .encruzilhadas-section {
    padding: 0 1.5rem;
    gap: 20px;
  }
}
