/* Formulário de orçamento nativo — substitui o embed do HubSpot.
   Mantém o mesmo layout/aparência do form original, com a fonte do próprio site.
   O Elementor não define fonte no <body>, então precisa ser explícita aqui:
   sem isso o navegador cai no serif padrão. */

.mc-form,
.mc-success {
  font-family: "Work Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mc-form {
  max-width: 463px;
  margin: 0 auto;
  text-align: left;
}

.mc-field {
  margin-bottom: 18px;
}

.mc-label {
  display: block;
  font-size: 14px;
  line-height: 1.4;
  color: #33475b;
  margin-bottom: 6px;
}

.mc-req {
  color: #f2545b;
  margin-left: 1px;
}

.mc-input,
.mc-select,
.mc-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.4;
  color: #33475b;
  background: #f5f8fa;
  border: 1px solid #cbd6e2;
  border-radius: 3px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mc-textarea {
  min-height: 92px;
  resize: vertical;
}

.mc-input::placeholder,
.mc-textarea::placeholder {
  color: #7c98b6;
}

.mc-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%2333475b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  padding-right: 38px;
  cursor: pointer;
}

.mc-select:invalid,
.mc-select option[value=""] {
  color: #7c98b6;
}

.mc-input:focus,
.mc-select:focus,
.mc-textarea:focus {
  outline: none;
  border-color: #0b5fa5;
  box-shadow: 0 0 0 2px rgba(11, 95, 165, 0.15);
}

.mc-field.is-invalid .mc-input,
.mc-field.is-invalid .mc-select,
.mc-field.is-invalid .mc-textarea,
.mc-field.is-invalid .mc-phone {
  border-color: #f2545b;
}

.mc-error {
  display: none;
  color: #f2545b;
  font-size: 13px;
  line-height: 1.4;
  margin-top: 5px;
}

.mc-field.is-invalid .mc-error {
  display: block;
}

/* telefone com prefixo BR +55, como no formulário original */
.mc-phone {
  display: flex;
  align-items: stretch;
  background: #f5f8fa;
  border: 1px solid #cbd6e2;
  border-radius: 3px;
  overflow: hidden;
}

.mc-phone:focus-within {
  border-color: #0b5fa5;
  box-shadow: 0 0 0 2px rgba(11, 95, 165, 0.15);
}

.mc-phone-prefix {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 12px;
  font-size: 14px;
  color: #33475b;
  border-right: 1px solid #cbd6e2;
  white-space: nowrap;
}

.mc-phone .mc-input {
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mc-phone .mc-input:focus {
  box-shadow: none;
}

.mc-actions {
  margin-top: 24px;
  text-align: right;
}

.mc-submit {
  display: inline-block;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: #ff7a59;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mc-submit:hover {
  background: #ff5c33;
}

.mc-submit[disabled] {
  opacity: 0.65;
  cursor: default;
}

.mc-form-error {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  font-size: 14px;
  color: #f2545b;
  background: #fff0f0;
  border: 1px solid #f2545b;
  border-radius: 3px;
}

.mc-form-error.is-visible {
  display: block;
}

/* estado de sucesso + CTA de WhatsApp */
.mc-success {
  max-width: 463px;
  margin: 0 auto;
  padding: 8px 0 4px;
  text-align: center;
}

.mc-success-check {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e6f4ea;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-success h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.3;
  color: #003d7a;
}

.mc-success p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.5;
  color: #33475b;
}

.mc-wpp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-size: 16px;
  font-weight: 700;
  color: #fff !important;
  background: #25d366;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: background 0.15s ease, transform 0.15s ease;
}

.mc-wpp:hover {
  background: #1ebe5b;
  transform: translateY(-1px);
}

.mc-wpp svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  flex: none;
}

@media (max-width: 520px) {
  .mc-actions {
    text-align: stretch;
  }

  .mc-submit {
    width: 100%;
  }
}
