/* Contact page (/contacto, /pt/contato, /en/contacts), October 2026. Same tokens as catalogos.css: Teko headings,
   Wix Madefor Text body, burgundy accent, square corners. Scoped to .ct-page (the layout styles bare span/a/p/input). */

.ct-page {
  --ct-text: #101010; --ct-muted: #808080; --ct-brand: #9D1B37; --ct-line: #e5e5e5; --ct-ctl: #c5c5c5;
  --ct-tint: #f5f5f5; --ct-wa: #4DC65A;
  color: var(--ct-text); font-family: 'Wix Madefor Text', sans-serif; line-height: normal;
  -webkit-font-smoothing: antialiased;
}
.ct-page *, .ct-page *::before, .ct-page *::after { box-sizing: border-box; }
.ct-page [hidden] { display: none !important; }
.ct-page span, .ct-page a, .ct-page button, .ct-page input, .ct-page textarea { font-family: 'Wix Madefor Text', sans-serif; }
.ct-page a { color: var(--ct-text); text-decoration: none; }
.ct-page :focus-visible { outline: 2px solid var(--ct-brand); outline-offset: 2px; }

.ct-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; padding: 48px 0 56px; }
.ct-info { padding-top: 29px; } /* the form card's border + padding: both titles on one line */
.ct-page .ct-h2 { font-family: 'Teko', sans-serif; font-weight: 500; font-size: 32px; line-height: 1; margin: 0 0 8px; color: var(--ct-text); }
.ct-page .ct-lead { font-size: 15px; line-height: 1.5; color: var(--ct-muted); margin: 0 0 22px; max-width: 420px; }

/* Actions: one tap to WhatsApp, phone or email */
.ct-actions { display: flex; flex-direction: column; border-top: 2px solid #000; }
.ct-page .ct-action { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 4px; border-bottom: 1px solid var(--ct-line); }
.ct-page .ct-action__icon { flex: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--ct-tint); color: var(--ct-text); font-size: 18px; transition: background .15s, color .15s; }
.ct-page .ct-action--wa .ct-action__icon { background: var(--ct-wa); color: #fff; font-size: 22px; }
.ct-page .ct-action__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ct-page .ct-action__label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ct-muted); }
.ct-page .ct-action__value { font-size: 16px; font-weight: 500; color: var(--ct-text); overflow-wrap: anywhere; }
.ct-page .ct-action__go { flex: none; font-size: 14px; color: var(--ct-ctl); transition: color .15s, transform .15s; }

.ct-address { display: flex; gap: 14px; padding: 18px 4px 0; }
.ct-address > i { flex: none; width: 44px; text-align: center; font-size: 18px; color: var(--ct-brand); padding-top: 2px; }
.ct-address > div { display: flex; flex-direction: column; gap: 3px; }
.ct-page .ct-address__label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ct-muted); }
.ct-page .ct-address__text { font-size: 15px; line-height: 1.45; color: var(--ct-text); }
.ct-page .ct-address__link { font-size: 13px; color: var(--ct-brand); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; margin-top: 2px; }

.ct-social { display: flex; align-items: center; gap: 8px; padding: 22px 4px 0 62px; }
.ct-page .ct-social__label { font-size: 12px; color: var(--ct-muted); margin-right: 4px; }
.ct-page .ct-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: #000; color: #fff; font-size: 15px; transition: background .15s; }

/* Form */
.ct-formwrap { border: 1px solid var(--ct-line); padding: 28px 28px 24px; background: #fff; }
.ct-formwrap .ct-h2 { margin-bottom: 18px; }
.ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ct-field--full, .ct-topics, .ct-submit, .ct-status { grid-column: 1 / -1; }
.ct-page .ct-label { font-size: 12px; font-weight: 600; color: var(--ct-text); padding: 0; margin: 0; float: none; width: auto; line-height: 1.2; }
.ct-page .ct-input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--ct-ctl); border-radius: 0; background: #fff; font-size: 15px; color: var(--ct-text); transition: border-color .15s, box-shadow .15s; }
.ct-page .ct-textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.ct-page .ct-input::placeholder { color: #9a9a9a; }
.ct-page .ct-input:focus { outline: none; border-color: var(--ct-brand); box-shadow: 0 0 0 1px var(--ct-brand); }
.ct-page .ct-input:user-invalid { border-color: #c0392b; }

.ct-topics { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.ct-topics legend { margin-bottom: 8px; }
.ct-page .ct-topic { position: relative; cursor: pointer; margin: 0; }
.ct-topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ct-page .ct-topic span { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--ct-ctl); background: #fff; color: var(--ct-text); font-size: 13px; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.ct-page .ct-topic input:checked + span { background: #000; border-color: #000; color: #fff; }
.ct-page .ct-topic input:focus-visible + span { outline: 2px solid var(--ct-brand); outline-offset: 2px; }

.ct-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.ct-page .ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border: 0; border-radius: 0; background: var(--ct-brand); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .15s; }
.ct-page .ct-btn span { font-size: 15px; color: inherit; }
.ct-page .ct-btn:disabled { opacity: .6; cursor: progress; }
.ct-page .ct-note { font-size: 12px; color: var(--ct-muted); margin: 0; }
.ct-page .ct-status { margin: 0; padding: 12px 14px; font-size: 14px; border-left: 3px solid; }
.ct-page .ct-status.is-ok { background: #eef8ef; border-color: var(--ct-wa); color: #1d5e26; }
.ct-page .ct-status.is-error { background: #fbeff1; border-color: var(--ct-brand); color: var(--ct-brand); }

/* Map strip: the Google iframe is created only when it scrolls into view (contacto.js). */
.ct-map { height: 300px; background: #e9e9e9; display: flex; align-items: center; justify-content: center; position: relative; }
.ct-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
.ct-page .ct-map__fallback { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ct-text); }

@media (hover: hover) {
  .ct-page .ct-action:hover .ct-action__icon { background: var(--ct-brand); color: #fff; }
  .ct-page .ct-action--wa:hover .ct-action__icon { background: #3fae4b; }
  .ct-page .ct-action:hover .ct-action__go { color: var(--ct-brand); transform: translateX(3px); }
  .ct-page .ct-address__link:hover, .ct-page .ct-map__fallback:hover { color: var(--ct-brand); }
  .ct-page .ct-social a:hover { background: var(--ct-brand); color: #fff; }
  .ct-page .ct-topic:hover span { border-color: var(--ct-text); }
  .ct-page .ct-btn:hover { background: #000; }
}

@media (max-width: 991.98px) {
  .ct-main { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 28px 0 40px; }
  .ct-info { padding-top: 0; }
}
@media (max-width: 575.98px) {
  .ct-page .ct-h2 { font-size: 28px; }
  .ct-formwrap { padding: 20px 16px 18px; margin: 0 -12px; border-left: 0; border-right: 0; }
  .ct-form { grid-template-columns: minmax(0, 1fr); }
  .ct-social { padding-left: 4px; }
  .ct-btn { width: 100%; }
  .ct-map { height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-page *, .ct-page *::before, .ct-page *::after { transition: none !important; }
}
