/* =========================================
   CONTATO — formulário de solicitação
   ========================================= */

.ct {
  padding-top: var(--nav-height, 72px);
  background: var(--color-bg);
}

/* ── Hero ── */
.ct-hero {
  background: var(--color-ink);
  padding: 2.75rem 2rem 3rem;
}

.ct-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ct-hero-kicker {
  font-size: 0.8rem;
  color: var(--color-accent-soft);
  margin: 0 0 1rem;
}

.ct-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: #fff;
  margin: 0 0 1.5rem;
}
.ct-hero h1 span { color: var(--color-accent-soft); }

.ct-lead {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  max-width: 70ch;
}

/* ── Corpo: formulário + info ── */
.ct-body {
  padding: 3.5rem 2rem 5rem;
}

.ct-body-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── Formulário ── */
.ct-form {
  position: relative; /* contêiner do overlay de sucesso */
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.ct-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ct-field-label {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
}

.ct-radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ct-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-body);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.ct-radio:has(input:checked) {
  border-color: var(--color-accent);
  background: var(--color-surface-soft);
  color: var(--color-ink);
}
.ct-radio input { accent-color: var(--color-accent); }

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}

.ct-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ct-field label {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-ink);
}

.ct-field input,
.ct-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-ink);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 0.75rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(248, 80, 0, 0.12);
}

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

.ct-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, opacity 0.2s;
}
.ct-submit-btn:hover { background: var(--color-accent-dark); transform: translateY(-2px); }
.ct-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.ct-feedback {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  min-height: 1.2em;
}
.ct-feedback.ok { color: #1a8a4a; }
.ct-feedback.error { color: var(--color-accent-dark); }

/* ── Alerta de erro destacado (caixa) ── */
.ct-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  background: #fdecec;
  border: 1px solid #f3b4b4;
  border-left: 4px solid var(--color-accent-dark);
  color: #97231f;
  border-radius: var(--radius-btn);
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  animation: ctFade 0.25s ease;
}
.ct-alert svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 1px; }

/* ── Overlay de sucesso: cobre o formulário ── */
.ct-success {
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.9rem;
  padding: 2rem;
  animation: ctFade 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ct-success-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(26, 138, 74, 0.12);
  color: #1a8a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ctPop 0.5s cubic-bezier(0.22, 1.4, 0.4, 1) 0.1s both;
}
.ct-success-icon svg { width: 40px; height: 40px; }
.ct-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ink);
  margin: 0;
}
.ct-success p {
  font-family: var(--font-body);
  color: var(--color-body);
  margin: 0;
  max-width: 340px;
  line-height: 1.5;
}
.ct-success-again {
  margin-top: 0.4rem;
  background: transparent;
  border: 1.5px solid var(--color-ink);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.ct-success-again:hover { background: var(--color-ink); color: #fff; }

@keyframes ctFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ctPop { from { transform: scale(0); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .ct-success, .ct-success-icon, .ct-alert { animation: none; }
}

/* ── Informações laterais ── */
.ct-info-card {
  background: var(--color-ink);
  border-radius: var(--radius-card);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: sticky;
  top: calc(var(--nav-height, 72px) + 1.5rem);
  overflow: hidden;
}

.ct-info-bar {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-thermal);
}

.ct-info-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.ct-info-title span { color: var(--color-accent-soft); }

.ct-info-text {
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.ct-info-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.ct-info-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  color: #fff;
}

.ct-info-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(248, 80, 0, 0.16);
  color: var(--color-accent-soft);
}
.ct-info-check svg { width: 15px; height: 15px; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 860px) {
  .ct-body-inner { grid-template-columns: 1fr; }
  .ct-info-card { position: static; }
}

@media (max-width: 640px) {
  .ct-hero { padding: 2rem 1.25rem 2.5rem; }
  .ct-body { padding: 2.5rem 1.25rem 3rem; }
  .ct-form { padding: 1.5rem; }
  .ct-row { grid-template-columns: 1fr; gap: 1.1rem; }
  .ct-submit-btn { width: 100%; }
}
