.newsletter-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -160px;
    z-index: 9;
    top: 55px;
}

.newsletter-content{
    background-color: #2c2c2c;
    color: #fff;
    padding: 15px 95px;
    width: calc(100% - 70px);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    max-width: 1280px;
    flex-wrap: wrap;
}  

#mensagemRetorno{
    text-align: left; /* Mantém alinhado à esquerda */
    width: 100%;
}
#mensagemRetorno p{
    font-size: 18px;
    margin-top: 10px;
    text-align: center;
    margin-bottom: 0;
    padding: 5px 0;
}
#mensagemRetorno .alerta-danger{
    border: 2px solid #721c24;
    color:#721c24
}
#mensagemRetorno .alert-success{
    border: 2px solid #155724;
    color:#155724
}

.newsletter-info{
    width: 40%;
    position: relative;
}

/* Conteúdo da Newsletter */
.newsletter-content h2 {
    font-size: 30px;
    margin-bottom: -4px;
    font-family: var(--fontConteudo);
}
.newsletter-content h2::before {
  content: "\e90f";
  font-family: icomoon_v2;
  font-size: 12px;
  color: var(--cor-secundaria);
  position: relative;
  margin-right: 14px;
}

.newsletter-content p:not(#mensagemRetorno p) {
    font-size: 16px;
    margin-bottom: 0;
    font-family: var(--fontConteudo);
    margin-left: 25px;
}

/* Formulário */
.newsletter-form {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    width: 60%;
}

/* Campo de entrada */
.newsletter-form input {
    padding: 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    width: 60%;
    border: 1px solid var(--cor-primaria);
    background-color: #2c2c2c;
    color: white;
    
}

.newsletter-form input:focus {
  border: 1px solid var(--cor-primaria);
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cor-primaria) 15%, transparent);
}


/* Botão */
.newsletter-form button {
    background-color: var(--cor-primaria);
    color: #222;
    border: none;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
    max-width: 150px;
    min-width: 150px;
}

.newsletter-form button:hover{
  background-color: var(--cor-primaria);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--cor-primaria) 60%, transparent);
  transform: translateY(-1px);
}


.estrela{
    flex-grow: 1;
    position: relative;
    display: flex;
    align-items: center;
    top: -20px;
    width: 20px;
}

.estrela:after{
    content: "\e90f";
    font-family: icomoon_v2;
    color: var(--cor-primaria);
    font-size: 12px;
}

@media (max-width: 991px) {
  .newsletter-container{
    margin-top: -145px;
    top: 50px;    
    max-height: 140px;
  }

  .newsletter-content {
    padding: 15px 30px;
  }

  .newsletter-info {
    width: 100%;
  }

  .newsletter-content h2 {
    font-size: 25px;
  }

  .newsletter-content p {
    font-size: 12px;
  }

  .newsletter-form {
      width: 100%;
      justify-content: flex-start;
    margin-top: 10px;
  }

  .newsletter-form button {
    padding: 10px 40px;
  }

  .newsletter-form input {
    font-size: 14px;
  }

  .estrela{
    right: 15px;
  }
}
@media (max-width: 499px){
    .newsletter-form {
        display: inline-grid;
        text-align: center;
        align-content: center;
        align-items: center;
        justify-content: initial;
        gap: 5px;
        align-self: center;
    }
    .newsletter-form input {
        width: 100%;
    }
    .newsletter-form button {
        margin: 0 auto;
    }
    
}
