/* Formulário Avise-me e botões de loja compartilhados pelo site e por /VitaLink/app. */

.store-badge--apple:hover,
.store.store--apple:hover {
  background: #000;
  color: #fff;
}


/* Botões ---------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}


.btn--blue {
  background: var(--blue-deep);
  color: #fff;
}

.btn--blue:hover {
  background: #00267c;
}


.store {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 52px;
  min-width: 11.5rem;
  padding: 0.4rem 0.95rem 0.4rem 0.75rem;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
}

.store:hover {
  background: #000;
}

.store svg {
  width: 1.45rem;
  height: 1.45rem;
  flex: none;
}

.store span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.store small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.82;
}

.store strong {
  font-size: 1rem;
  font-weight: 700;
}


.contact-form {
  display: grid;
  gap: 0.9rem;
  max-width: 38rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.field-error {
  margin: 0;
  color: #9a3412;
  font-size: 0.82rem;
  font-weight: 500;
}

.field-error:empty {
  display: none;
}

.contact-form label.consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.consent input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  flex: none;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #e8f8ef;
  color: #14532d;
  font-weight: 600;
}

.form-fallback {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.avise-dialog {
  width: min(32rem, calc(100% - 2rem));
  padding: 1.25rem 1.25rem 1.4rem;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 22, 80, 0.28);
}

.avise-dialog::backdrop {
  background: rgba(8, 22, 58, 0.55);
}

.avise-dialog h2 {
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.avise-dialog > p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.avise-dialog .contact-form {
  gap: 0.4rem;
}

.testflight-note {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: #eef4ff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 500;
}

.testflight-note a {
  font-weight: 700;
}

.avise-dialog__close {
  float: right;
  min-height: 36px;
  padding: 0.2rem 0.7rem;
  border: 0;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--blue-deep);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

