/* Livira Portal - contact form page /contato (15/11/2026, mockup Mockups/2026-11-15-contact-form.html).
   Own prefix (ct-) because .fld / .chips already mean different things in account.css and listing.css.
   Shared primitives used from elsewhere: .chip (components.css), .btn / .btn-gold / .btn-block / .btn-lg, .acc-alert. */
.ct-wrap { max-width: 1040px; margin: 0 auto; padding: 28px 16px 60px; display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.ct-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.ct-card h1 { margin: 0 0 4px; font-size: 26px; }
.ct-sub { color: var(--ink-soft); margin: 0 0 20px; font-size: 14.5px; }

.ct-fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-lbl { display: block; font-size: 13px; font-weight: 700; margin: 0 0 8px; padding: 0; }
.ct-opt { font-weight: 400; color: var(--ink-soft); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ct-chips-center { justify-content: center; margin-top: 10px; }
.ct-chip { position: relative; }
.ct-chip:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.ct-chip .visually-hidden { left: 0; top: 0; }
.ct-wrap .chip:hover { border-color: var(--gold); }
.ct-wrap .chip.on:hover { border-color: var(--green); }

.ct-extra { display: none; background: var(--gold-wash); border-radius: 12px; padding: 14px; margin-bottom: 14px; font-size: 14px; }
.ct-extra.show { display: block; }
.ct-extra .ct-chips { margin-bottom: 10px; }
.ct-listing { margin-top: -6px; }
.ct-listing a { color: var(--green); text-decoration: underline; }

.ct-fld { margin-bottom: 14px; display: flex; flex-direction: column; }
.ct-fld input, .ct-fld textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 15px;
  color: var(--ink); background: var(--white);
}
.ct-fld textarea { resize: vertical; min-height: 120px; }
.ct-fld input:focus, .ct-fld textarea:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,166,107,.25); }
.ct-fld.err input, .ct-fld.err textarea { border-color: var(--red); }
.ct-msg { display: none; font-size: 12.5px; font-weight: 500; color: var(--red); margin-top: 4px; }
.ct-fld.err .ct-msg { display: block; }
.ct-extra .ct-fld { margin-bottom: 0; }
.ct-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-extra .ct-two { gap: 12px; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ct-fine { font-size: 12.5px; color: var(--ink-soft); margin: 10px 0 0; }
.ct-fine a { color: var(--green); text-decoration: underline; }

.ct-ok { text-align: center; padding: 10px 0; }
.ct-tick { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 28px; margin: 0 auto 12px; }
.ct-origin { border-top: 1px solid var(--line); margin: 18px 0; padding-top: 16px; }
.ct-origin .ct-fine { min-height: 20px; }
.ct-thanks { color: var(--green); font-weight: 600; }
.ct-back { max-width: 260px; margin: 0 auto; text-decoration: none; display: flex; }

.ct-side h3 { margin: 0 0 6px; font-size: 16px; }
.ct-side p { margin: 0 0 14px; color: var(--ink-soft); font-size: 14px; }
.ct-side a { color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); }
.ct-reveal[hidden] { display: none; }
.ct-linkbtn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--green); text-decoration: underline; text-decoration-color: var(--gold); cursor: pointer; }
.ct-addr { font-weight: 700; word-break: break-all; }

@media (max-width: 820px) {
  .ct-wrap { grid-template-columns: 1fr; padding: 16px 12px 40px; gap: 16px; }
  .ct-two { grid-template-columns: 1fr; }
  .ct-card { padding: 16px; }
  .ct-card h1 { font-size: 22px; }
}
