.newsletter {
    padding: 40px 240px;
    background-color: var(--cor-destaque-secundario);
    width: 100%;
}

.newsletter__titulo {
    color: #19325C;
    font-size: 31px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    font-family: var(--fonte-titulo);
}

.newsletter__texto {
    color: #19325C;
    font-size: 20px;
    text-align: center;
    font-weight: 400;
    font-family: var(--fonte-texto);
    margin-bottom: 12px;
}

.newsletter__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.newsletter__container_input {
    width: 678px;
    height: 56px;
    padding: 24px;
    box-sizing: border-box;
    border-radius: 32px;
    border: 2px solid var(--cor-links);
    font-size: 20px;
    line-height: 120%;
    font-family: var(--fonte-texto);
    color: var(--cor-links);
}

.newsletter__container_botao {
    width: 145px;
    height: 56px;
    background-color: var(--cor-fundo-botao);
    border-radius: 32px;
    border: none;
    font-size: 20px;
    line-height: 120%;
    font-family: var(--fonte-texto);
    color: var(--cor-texto);
    gap: 10px;
}

@media screen and (max-width: 768px) {
  .newsletter {
    padding: 40px 20px; /* Reduz o padding lateral para caber em tablets */
  }

  .newsletter__titulo {
    font-size: 25px;
  }

  .newsletter__texto {
    font-size: 20px;
  }

  .newsletter__container {
    grid-template-columns: 1fr; /* Coloca input e botão um embaixo do outro */
    gap: 12px;
  }

  .newsletter__container_input {
    width: 90%;
    margin: 0 auto; 
  }

  .newsletter__container_botao {
    width: 40%; /* O botão também ocupa toda a largura disponível */
    margin: 0 auto; 
  }
}
