/* Orçamento pelo WhatsApp */
.proposal-dialog {
  width: min(500px, calc(100% - 28px));
  max-width: 500px;
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #11151b;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .4);
  overflow-y: auto;
}

.proposal-dialog::backdrop {
  background: rgba(0, 0, 0, .74);
  backdrop-filter: blur(4px);
}

.proposal-dialog-content {
  position: relative;
  padding: 32px 36px 24px;
}

.proposal-close {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7d8898;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.proposal-close:hover,
.proposal-close:focus-visible { color: #ff0066; }
.proposal-close:focus-visible,
.proposal-option:focus-within,
.proposal-submit:focus-visible {
  outline: 2px solid #ff0066;
  outline-offset: 2px;
}

.proposal-eyebrow {
  color: #ff0066;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .025em;
}

.proposal-dialog h2 {
  margin: 8px 0 10px;
  color: #0b0d11;
  font-size: clamp(1.65rem, 5vw, 2rem);
  font-weight: 800;
  line-height: 1.12;
}

.proposal-intro {
  margin: 0 0 16px;
  color: #657184;
  font-size: .8rem;
  line-height: 1.4;
}

.proposal-fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
}

.proposal-fieldset legend,
.proposal-field label {
  margin-bottom: 7px;
  color: #344052;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.4;
}

.proposal-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.proposal-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 43px;
  padding: 9px 12px;
  border: 1px solid #dce2e9;
  border-radius: 5px;
  color: #171b22;
  background: #fff;
  font-size: .84rem;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease;
}

.proposal-option:hover { border-color: #ff6aa5; }
.proposal-option:has(input:checked) {
  border-color: #ff5c9d;
  background: #fff1f7;
}

.proposal-option input {
  appearance: none;
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  margin: 0;
  border: 1.5px solid #a6afbd;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.proposal-option input:checked {
  border-color: #ff0066;
  background: radial-gradient(circle, #ff0066 0 5px, #fff 5.5px);
}

.proposal-field { margin-bottom: 16px; }
.proposal-field label { display: block; }
.proposal-field input,
.proposal-field textarea {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid #dce2e9;
  border-radius: 5px;
  outline: none;
  color: #171b22;
  background: #fff;
  font: inherit;
  font-size: .88rem;
}

.proposal-field textarea { min-height: 54px; resize: vertical; }
.proposal-field textarea::placeholder { color: #8f99a8; }
.proposal-field input:focus,
.proposal-field textarea:focus { border-color: #ff0066; box-shadow: 0 0 0 2px rgba(255, 0, 102, .14); }

.proposal-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px;
  margin-top: 18px;
  padding: 12px 16px;
  border: 0;
  border-radius: 7px;
  background: #f00068;
  color: #fff;
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.proposal-submit:hover { background: #d9005f; transform: translateY(-1px); }
.proposal-submit svg { width: 21px; height: 21px; fill: currentColor; }
.proposal-hint,
.proposal-fallback {
  margin: 9px 0 0;
  color: #7d8898;
  font-size: .73rem;
  text-align: center;
  line-height: 1.5;
}
.proposal-fallback a { color: #c00055; text-decoration: underline; }
.proposal-fallback[hidden] { display: none; }

@media (max-width: 560px) {
  .proposal-dialog-content { padding: 26px 20px 20px; }
  .proposal-dialog h2 { padding-right: 12px; }
  .proposal-option { padding: 8px; gap: 7px; font-size: .78rem; }
}

@media (max-width: 340px) {
  .proposal-options { grid-template-columns: 1fr; }
}
