/* Front styles for LCH Contato (side-by-side layout with position swap) */
.lchc-wrap {
  display: grid;
  grid-template-columns: minmax(280px, 520px) minmax(360px, 600px);
  grid-template-areas: "img form";
  gap: 32px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 8px 12px;
}
.lchc-wrap.image-right { grid-template-areas: "form img"; }
.lchc-col-image { grid-area: img; text-align: center; }
.lchc-col-form  { grid-area: form; width: 100%; }

.lchc-image {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  display:inline-block;
  object-fit: contain;
}
.lchc-form { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.lchc-field input,
.lchc-field textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(0,0,0,.15);
  outline: none;
  box-sizing: border-box;
}
.lchc-field textarea { min-height: 160px; }
.lchc-field input::placeholder, .lchc-field textarea::placeholder { color: rgba(0,0,0,.55); }
.lchc-submit {
  padding: 16px 18px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  width: 100%;
}
.lchc-submit:disabled { opacity: .7; cursor: not-allowed; }
.lchc-msg { margin-top: 6px; font-weight: 600; }

/* Stack on small screens */
@media (max-width: 900px) {
  .lchc-wrap {
    grid-template-columns: 1fr;
    grid-template-areas:
      "img"
      "form";
    gap: 20px;
  }
  .lchc-image { max-width: 360px; }
}

/* Admin helpers */
.lchc-color-field { width: 130px; }

.lchc-wrap.no-image{grid-template-columns:minmax(0,1fr);grid-template-areas:"form";width:100%;max-width:720px}.lchc-wrap.no-image .lchc-col-image{display:none}.lchc-wrap,.lchc-col{min-width:0}

.elementor-widget-lch-contato-widget{width:100%;max-width:100%}
