/* ==============================================================
   CONTATO — canais + formulário que abre o WhatsApp (#contato)
   ============================================================== */

.contact {
  color: var(--paper);
  background: var(--olive);
}

.contact .eyebrow {
  color: var(--paper);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(36px, 6vw, 90px);
}

.contact .section-lead {
  color: rgba(253, 241, 225, 0.86);
}

/* ---------- Canais ---------- */

.contact-channels {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-channels a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  color: var(--paper);
  background: rgba(17, 20, 17, 0.12);
  text-decoration: none;
  transition: background-color 240ms ease;
}

.contact-channels a:hover {
  background: rgba(17, 20, 17, 0.22);
}

.channel-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--olive);
  background: var(--paper);
}

.channel-icon svg {
  width: 20px;
  height: 20px;
}

.contact-channels small {
  display: block;
  margin-bottom: 2px;
  color: rgba(253, 241, 225, 0.72);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-caption);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}

.contact-channels strong {
  display: block;
  font-weight: var(--fw-semibold);
  overflow-wrap: anywhere;
}

/* ---------- Formulário ---------- */

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--radius-lg);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 30px 60px rgba(17, 20, 17, 0.22);
}

.contact-form h3 {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-h3);
  letter-spacing: var(--ls-h3);
}

.form-field {
  display: grid;
  gap: 8px;
}

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

.form-field label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  line-height: var(--lh-small);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid rgba(17, 20, 17, 0.16);
  border-radius: 12px;
  color: var(--ink);
  background: #fffaf2;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(115, 123, 62, 0.22);
}

.contact-form .btn {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 6px;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  text-align: center;
}

/* ==============================================================
   RESPONSIVO
   ============================================================== */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-channels a,
  .form-field input,
  .form-field select,
  .form-field textarea {
    transition: none;
  }
}
