@font-face {
  font-family: "IntelbrasSans";
  src: url("../fonts/IntelbrasSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IntelbrasSans";
  src: url("../fonts/IntelbrasSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "IntelbrasSans";
  src: url("../fonts/IntelbrasSans-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #00c73c;
  --green-soft: #2adf5a;
  --ink: #1b2e38;
  --field: #16343c;
  --white: #ffffff;
  --danger: #7a1020;
  --radius: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--green);
  color: var(--ink);
  font-family: "IntelbrasSans", sans-serif;
  font-weight: 700;
}

body {
  min-height: 100svh;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.32), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(255, 255, 255, 0.18), transparent 26%),
    url("../img/bg-circulos.png") center top / cover no-repeat,
    var(--green);
}

.stage::before,
.stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.stage::before {
  width: min(92vw, 520px);
  height: min(92vw, 520px);
  top: -140px;
  right: -120px;
  box-shadow:
    0 0 0 18px rgba(255, 255, 255, 0.05),
    0 0 0 36px rgba(255, 255, 255, 0.04),
    0 0 80px rgba(255, 255, 255, 0.18);
}

.stage::after {
  width: 220px;
  height: 220px;
  left: -80px;
  bottom: 8%;
  box-shadow:
    0 0 0 14px rgba(255, 255, 255, 0.05),
    0 0 60px rgba(255, 255, 255, 0.16);
}

.wrap {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  max-width: 430px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px 18px 32px;
  display: flex;
  flex-direction: column;
}

.brand {
  display: block;
  margin: 2px auto 18px;
  color: var(--white);
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: -0.04em;
  text-align: center;
  line-height: 1;
}

.hero {
  text-align: center;
  margin: 0 0 16px;
}

.hero h1 {
  margin: 0;
  padding: 0 2px;
  color: var(--ink);
  font-weight: 900;
  font-size: 1.7rem;
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero p {
  margin: 10px auto 0;
  max-width: 16.5em;
  color: var(--white);
  font-weight: 700;
  font-size: 0.98rem;
  line-height: 1.25;
}

form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.group label {
  padding-left: 18px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 18px;
  background: var(--field);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(0, 199, 60, 0.15);
}

.field:focus-within {
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}

.field svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--white);
}

.field input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 700;
}

.group.is-error .field {
  border-color: #ffd7dc;
  box-shadow: 0 0 0 3px rgba(122, 16, 32, 0.18);
}

.hint {
  min-height: 1em;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 700;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
}

.lgpd {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 2px 4px;
  color: var(--white);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
}

.lgpd input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
  flex: 0 0 18px;
}

.alert {
  margin: 0 0 4px;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(27, 46, 56, 0.18);
  color: var(--ink);
  font-size: 0.88rem;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  margin-top: 10px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.btn:active {
  transform: translateY(1px);
}

.btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}

.success {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 24px;
}

.badge {
  width: 92px;
  height: 92px;
  margin: 8px 0 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.badge svg {
  width: 44px;
  height: 44px;
}

.success h1 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  font-size: clamp(2rem, 9vw, 2.55rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.success p {
  margin: 16px 0 28px;
  max-width: 16em;
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.3;
}

@media (min-width: 360px) {
  .brand {
    font-size: 2.15rem;
  }

  .hero h1 {
    font-size: 1.95rem;
  }

  .success h1 {
    font-size: 2.05rem;
  }
}

@media (min-width: 400px) {
  .hero h1 {
    font-size: 2.15rem;
  }

  .success h1 {
    font-size: 2.2rem;
  }
}

@media (min-width: 768px) {
  .wrap {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: 2.3rem;
  }

  .success h1 {
    font-size: 2.4rem;
  }
}
