.modal-termos {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal-termos__conteudo {
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.modal-termos__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
}

.modal-termos__header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #141414;
}

.modal-termos__fechar {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #5a5a5a;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.modal-termos__fechar:hover {
  color: #141414;
}

.modal-termos__corpo {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
}

.modal-termos__corpo p {
  margin-bottom: 0.9rem;
}

.modal-termos__corpo h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #141414;
  margin: 1rem 0 0.4rem;
}

#btnAbrirTermos,
#btnAbrirPrivacidade {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 768px) {
  .modal-termos__conteudo {
    max-height: 85vh;
  }
}
