.page-contact .contact-hero-shell {
  min-height: 640px;
}

.page-contact .contact-hero-shell .diag-hero-copy h2 {
  max-width: 11.5ch;
}

.page-contact .contact-hero-shell .diag-hero-copy p {
  max-width: 58ch;
}

.page-contact .contact-hero-visual {
  min-height: 500px;
}

.page-contact .contact-hero-image-wrap {
  max-width: 760px;
}

.page-contact .contact-hero-image {
  object-position: center 12%;
}

.page-contact .contact-shell,
.page-contact .contact-steps-shell {
  margin-bottom: 26px;
}

.page-contact .contact-layout-standard {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.page-contact .contact-card-head {
  margin-bottom: 18px;
}

.page-contact .contact-card-head h2 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  color: var(--primary);
}

.page-contact .contact-card-head p {
  color: var(--muted);
  line-height: 1.7;
}

.page-contact .contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.page-contact .field {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-contact .field.full-span {
  grid-column: 1 / -1;
}

.page-contact .field-label {
  position: absolute;
  left: 15px;
  top: 15px;
  z-index: 2;
  padding: 0 6px;
  border-radius: 999px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.98));
  color: #738195;
  font-size: 0.94rem;
  line-height: 1;
  transform-origin: left center;
  transition: transform 180ms ease, color 180ms ease, top 180ms ease;
}

.page-contact .field.is-active .field-label,
.page-contact .field.is-filled-label .field-label {
  top: -8px;
  transform: scale(0.88);
  color: #8a6717;
  font-weight: 700;
}

.page-contact .field input,
.page-contact .field select,
.page-contact .field textarea {
  width: 100%;
  min-height: 58px;
  padding: 22px 16px 12px;
  border-radius: 16px;
  border: 1px solid rgba(18, 60, 102, 0.14);
  background: rgba(255,255,255,0.96);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, transform .18s ease;
}

.page-contact .field textarea {
  min-height: 148px;
  resize: vertical;
  padding-top: 24px;
}

.page-contact .field input:hover,
.page-contact .field select:hover,
.page-contact .field textarea:hover {
  border-color: rgba(18, 60, 102, 0.24);
  background: #fff;
}

.page-contact .field input:focus,
.page-contact .field select:focus,
.page-contact .field textarea:focus {
  border-color: rgba(213, 171, 82, 0.82);
  box-shadow: 0 0 0 4px rgba(213, 171, 82, 0.10);
  background: #fff;
  transform: translateY(-1px);
}

.page-contact input:read-only {
  background: #f7fafc;
  color: #64748b;
  cursor: not-allowed;
}

.page-contact .field.is-filled input,
.page-contact .field.is-filled textarea,
.page-contact .field.is-filled select {
  animation: contactFilledPulse 0.75s ease;
}

.page-contact .loading-spinner {
  display: none;
  margin-top: 6px;
  padding-left: 4px;
  color: var(--primary-2);
  font-size: 0.84rem;
  font-weight: 700;
}

.page-contact .cnpj-progress {
  display: none;
  width: 100%;
  height: 2px;
  margin-top: 6px;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
  background: rgba(18, 60, 102, 0.08);
}

.page-contact .cnpj-progress::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 35%;
  background: linear-gradient(90deg, rgba(213,171,82,0), rgba(213,171,82,0.92), rgba(213,171,82,0));
  animation: progressRun 1s linear infinite;
}

.page-contact .diag-form-card.is-loading {
  box-shadow: 0 24px 56px rgba(7, 26, 61, 0.10), 0 0 0 1px rgba(213, 171, 82, 0.12);
}

.page-contact .btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
  opacity: 0.9;
}

.page-contact .btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.28);
  border-top-color: #fff;
  animation: spin .8s ease-in-out infinite;
}

.page-contact .contact-submit {
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 230px;
  margin-top: 8px;
}

.page-contact .contact-side-card {
  display: grid;
  gap: 0;
}

.page-contact .contact-side-card .section:last-child {
  margin-bottom: 0;
}

.page-contact .section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #8a6717;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.page-contact .highlight-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-contact .highlight-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.72;
}

.page-contact .highlight-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(180deg, #d7aa4c 0%, #c99a3a 100%);
  box-shadow: 0 0 0 6px rgba(201,154,58,0.10);
}

.page-contact .founder-media {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 10px;
}

.page-contact .ceo-photo-wrap {
  width: 132px;
  flex: 0 0 132px;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);
}

.page-contact .ceo-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.page-contact .signature-block {
  width: 170px;
  margin-top: 12px;
  opacity: 0.92;
}

.page-contact .signature-block img {
  width: 100%;
  height: auto;
}

.page-contact .contact-steps-head {
  max-width: 62ch;
  margin-bottom: 24px;
}

.page-contact .contact-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.page-contact .contact-step-card {
  margin-bottom: 0 !important;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.page-contact .contact-step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(7, 26, 61, 0.08);
  border-color: rgba(213,171,82,0.24);
}

.page-contact .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(213,171,82,0.42);
  color: #8a6717;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(7, 26, 61, 0.06);
}

.page-contact .contact-hero-note {
  margin-top: 10px;
  color: rgba(95,111,130,0.94);
  font-size: 0.95rem;
  line-height: 1.78;
}

@keyframes contactFilledPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(213, 171, 82, 0.22);
    border-color: rgba(213, 171, 82, 0.18);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(213, 171, 82, 0.10);
    border-color: rgba(213, 171, 82, 0.55);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(213, 171, 82, 0);
    border-color: rgba(18, 60, 102, 0.14);
  }
}

@media (max-width: 1120px) {
  .page-contact .contact-layout-standard,
  .page-contact .contact-steps-grid {
    grid-template-columns: 1fr;
  }

  .page-contact .contact-side-card {
    position: static;
  }
}

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

  .page-contact .field.full-span {
    grid-column: auto;
  }

  .page-contact .contact-submit {
    width: 100%;
    justify-self: stretch;
  }

  .page-contact .founder-media {
    flex-direction: column;
  }

  .page-contact .ceo-photo-wrap {
    width: 100%;
    max-width: 220px;
  }
}


.page-contact .founder-media-team {
  flex-direction: column;
  align-items: stretch;
}

.page-contact .team-photo-wrap {
  width: 100%;
  max-width: none;
  flex: 0 0 auto;
  border-radius: 18px;
}

.page-contact .team-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-contact .team-copy {
  max-width: 62ch;
}
