/* Qualified contact form (/contato) on top of landing.css and signup.css: the questions as pills, and a thank-you
   screen that follows the color the server gave the answers. */

/* Soft brand wash behind the page so the form does not float on a flat background. */
body {
  background:
    radial-gradient(900px 520px at 8% 0%, rgb(139 133 244 / 14%), transparent 70%),
    radial-gradient(760px 520px at 100% 38%, rgb(91 104 232 / 10%), transparent 70%),
    var(--bg);
  background-attachment: fixed;
}

.contact-art {
  margin: 28px 0 0;
}

.contact-art img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
}

@media (max-width: 979px) {
  .contact-art {
    display: none;
  }
}

.contact-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}

.pill span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}

.pill:hover span {
  border-color: var(--indigo);
}

.pill input:checked + span {
  border-color: var(--indigo);
  background: var(--tint);
  color: var(--indigo-deep);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px var(--indigo);
}

.pill input:focus-visible + span {
  outline: 2px solid var(--indigo);
  outline-offset: 2px;
}

.field-choice[aria-invalid="true"] .pill span {
  border-color: #c23b3b;
}

.contact-city {
  grid-template-columns: minmax(0, 1fr) 150px;
}

/* People never see the honeypot; scripts that fill every input do. */
.contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.signup-aside a {
  font-weight: 600;
  color: var(--indigo-deep);
}

/* ---------- Thank you ---------- */

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--tint);
  color: var(--indigo-deep);
  font-size: 0.82rem;
  font-weight: 600;
}

.contact-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.contact-done > div > .btn-sm {
  margin-top: 6px;
}

.contact-done .signup-next .btn,
.contact-done .signup-next .store-badge {
  margin-top: 8px;
  align-self: flex-start;
}
