@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  --primary-color: #8061ff;
  --title-color: #8776d5;
  --background-color: #2c2c2c;
  --form-background: #2c2c2c;
  --text-color: #fff;
  --label-color: #fff;
  --border-color: #9e9e9e;
  --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[type="text"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:focus,
input[type="text"]:-webkit-autofill:hover,
textarea:-webkit-autofill,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:hover {
  -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
  -webkit-text-fill-color: #fff !important;
  background-color: transparent !important;
  color: #fff !important;
  transition: background-color 9999s ease-in-out 0s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.logo-placeholder {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.logo-centralizada {
  position: absolute;
  left: 50%;
  top: 2rem;
  transform: translateX(-50%);
  max-height: 72px;
  max-width: 220px;
  z-index: 2;
  background: #fff;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(128, 97, 255, 0.08);
}
.banner {
  position: relative;
}

.banner {
  background: linear-gradient(135deg, var(--primary-color), #a08aff);
  height: 150px;
  width: 100%;
}

.container {
  max-width: 600px;
  margin: -80px auto 2rem auto;
  padding: 2rem;
  background-color: var(--form-background);
  border-radius: 8px;
  /* box-shadow: var(--box-shadow); */
  position: relative;
  z-index: 1;
}

.container .required {
  color: #8776d5;
}

.h1 {
  margin-top: 1.5rem;
  margin-bottom: 0.1rem;
  position: relative;
}

.header {
  margin-bottom: 1.5rem;
}

.header span {
  color: #c5c5c5;
}

h1 {
  position: relative;
  text-align: center;
  color: #fff;
  font-weight: 700;
  display: inline-block;
  margin: 0 auto;
  z-index: 1;
}

h1::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.65em;
  width: 50%;
  height: 0.6em;
  background: var(--primary-color);
  z-index: -1;
  box-shadow: 0 2px 8px rgba(128, 97, 255, 0.08);
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--label-color);
  font-weight: 500;
}

input[type="text"],
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  transition: border-color 0.3s;
  background: transparent;
  color: #fff;
}

input[type="text"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(128, 97, 255, 0.5);
}

textarea {
  resize: none;
}

button[type="submit"] {
  margin-top: 1rem;
  width: 100%;
  padding: 0.9rem;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s;
  max-width: fit-content;
}

.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

button[type="submit"]:hover {
  background-color: #6a4fdf;
}

@media (max-width: 768px) {
  .container {
    margin-top: -60px;
    padding: 1.5rem;
  }

  .banner {
    height: 120px;
  }

  h1 {
    font-size: 1.8rem;
  }
}
