/* Contato, política de privacidade e 404 — usam .page-hero (institutional.css) para o topo */

.support-section {
  padding-block: var(--section-y);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.contact-intro h2,
.policy-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.contact-intro > p {
  margin-top: 20px;
  color: var(--text-muted);
}

.contact-channels {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.contact-channel {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-channel svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-channel strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.contact-channel a,
.contact-channel span {
  color: var(--text-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.contact-channel a:hover {
  color: var(--text);
}

.contact-note {
  margin-top: 28px;
  padding-left: 16px;
  border-left: 2px solid var(--red);
  color: var(--text-faint);
  font-size: 0.82rem;
}

.contact-form {
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.contact-form > p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

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

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

.form-field label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--bg);
  font-size: 0.94rem;
  line-height: 1.4;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--red);
  outline: 2px solid transparent;
}

.form-disclaimer {
  margin-top: 22px;
  color: var(--text-faint);
  font-size: 0.76rem;
  line-height: 1.55;
}

.form-disclaimer a {
  color: var(--text-muted);
  text-underline-offset: 3px;
}

.contact-form .button {
  margin-top: 26px;
  cursor: pointer;
  border: none;
}

/* ---------- política de privacidade ---------- */
.policy-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 120px);
}

.policy-aside p {
  color: var(--text-faint);
  font-size: 0.84rem;
}

.policy-aside a {
  display: inline-block;
  margin-top: 16px;
  color: var(--red-bright);
  font-size: 0.82rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.policy-content {
  max-width: 820px;
}

.policy-content h2 {
  margin-bottom: 20px;
}

.policy-content h3 {
  margin-top: 38px;
  font-size: 1.3rem;
}

.policy-content p,
.policy-content li {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.policy-content p + p {
  margin-top: 14px;
}

.policy-content ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0 22px;
}

.policy-content a {
  color: var(--red-bright);
  text-underline-offset: 3px;
}

/* ---------- 404 ---------- */
.not-found {
  display: grid;
  min-height: calc(100vh - var(--header-height));
  place-items: center;
  padding: 72px 0;
}

.not-found__card {
  position: relative;
  width: min(100%, 720px);
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.not-found__eyebrow {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.not-found h1 {
  margin-top: 14px;
  font-size: clamp(4.2rem, 10vw, 7rem);
  color: var(--red-bright);
}

.not-found h2 {
  margin-top: 22px;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.not-found p {
  max-width: 480px;
  margin-top: 18px;
  color: var(--text-muted);
}

.not-found .button {
  margin-top: 30px;
}

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

  .policy-aside {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
  }

  .policy-aside a {
    margin-top: 0;
  }
}

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

  .form-field--full {
    grid-column: auto;
  }

  .policy-aside {
    display: block;
  }

  .policy-aside a {
    margin-top: 14px;
  }
}
