/* ─────────────────────────────────────────
   TASA V2 — CONTATO
   Split layout · Form clean
   ───────────────────────────────────────── */

.contato {
  background: var(--cream-dark);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.contato__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* ── COLUNA ESQUERDA: Info ── */
.contato__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: 100px;
}

.contato__info-header {
  margin-bottom: 40px;
}

.contato__info-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.contato__info-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contato__info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-top: 2px;
}

.contato__info-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-ghost);
  margin-bottom: 4px;
}

.contato__info-value {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.contato__info-value strong {
  color: var(--ink);
  font-weight: 500;
}

.contato__phone-link {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.contato__phone-link:hover { color: var(--gold-dark); }

.contato__map-btn {
  margin-top: 24px;
}

/* ── COLUNA DIREITA: Formulário ── */
.contato__form-wrap {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
}

.contato__form-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contato__form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}

.contato__form-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-ghost);
  line-height: 1.5;
}

/* ── CAMPOS ── */
.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,164,76,0.12);
  background: white;
}

.form-field input.is-error,
.form-field select.is-error,
.form-field textarea.is-error {
  border-color: #E5484D;
  box-shadow: 0 0 0 3px rgba(229,72,77,0.10);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--ink-ghost);
  font-weight: 300;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239B998F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
  background-color: var(--cream);
}

.form-field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.65;
}

.lead-form__error {
  font-size: 11px;
  color: #E5484D;
  font-family: var(--font-body);
}

/* Submit */
.form-submit {
  margin-top: 8px;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}

.form-submit .spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(15,14,11,0.2);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.form-submit.is-loading .spinner { display: block; }
.form-submit.is-loading .btn-text { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-ghost);
  font-family: var(--font-body);
  text-align: center;
  letter-spacing: 0.02em;
}

/* Alerta geral */
.lead-form__alert {
  padding: 12px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-family: var(--font-body);
  margin-bottom: 16px;
}
.lead-form__alert--error {
  background: rgba(229,72,77,0.06);
  border: 1px solid rgba(229,72,77,0.20);
  color: #C33;
}

/* Estado de sucesso */
.lead-form__success {
  text-align: center;
  padding: 48px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lead-form__success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  color: #16a34a;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lead-form__success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
}

.lead-form__success p {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.6;
  font-family: var(--font-body);
  max-width: 32ch;
}

@media (max-width: 900px) {
  .contato__inner { grid-template-columns: 1fr; }
  .contato__info { position: static; }
}

@media (max-width: 560px) {
  .form-fields { grid-template-columns: 1fr; }
  .contato__form-wrap { padding: 24px 20px; }
}
