/* Contact CTA, modal and footer links. Kept in a separate file so deployments
   cannot reuse an older cached index.css without these styles. */
.contact-cta-section {
  background: #0f0f0f;
  padding: 24px 20px 28px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.05);
}

.contact-open-btn,
.contact-submit-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  max-width: 100%;
  padding: 12px 20px;
  border: 0;
  border-radius: 8px;
  background: var(--verde, #1fa463);
  color: #fff;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}

.contact-open-btn:hover,
.contact-submit-btn:hover {
  filter: brightness(1.09);
}

.contact-open-btn:active,
.contact-submit-btn:active {
  transform: translateY(1px);
}

.contact-modal[hidden] {
  display: none !important;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
}

.contact-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 610px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  background: #1b1b1b;
  color: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.55);
}

.contact-close {
  appearance: none;
  position: absolute;
  top: 10px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: 400 30px/1 Arial, sans-serif;
  cursor: pointer;
}

.contact-close:hover {
  background: rgba(255,255,255,.07);
}

.contact-copy {
  padding-right: 38px;
  margin-bottom: 20px;
}

.contact-kicker {
  display: inline-block;
  color: #78f0ae;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
}

.contact-copy h2 {
  margin: 7px 0 10px;
  color: #fff;
  font-size: clamp(25px, 4vw, 36px);
  line-height: 1.12;
}

.contact-copy p {
  margin: 0;
  color: #c5c5c5;
  line-height: 1.6;
}

.contact-whatsapp {
  margin-top: 8px !important;
}

.contact-whatsapp a,
.contact-privacy a,
.footer-links a {
  color: #78f0ae;
  font-weight: 600;
}

.contact-form {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.contact-form .field {
  margin-bottom: 16px;
}

.contact-form .field label {
  color: #fff;
}

.contact-form .input-box input,
.contact-form .input-box textarea {
  width: 100%;
  border: 1px solid var(--cinza-borda, #2a2a2a);
  border-radius: 7px;
  background: rgba(30,30,30,.9);
  color: #fff;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.contact-form .input-box input {
  height: 46px;
  padding: 0 12px;
}

.contact-form .input-box textarea {
  min-height: 132px;
  padding: 12px;
  resize: vertical;
}

.contact-form .input-box input::placeholder,
.contact-form .input-box textarea::placeholder {
  color: #9e9e9e;
}

.contact-form .input-box input:focus,
.contact-form .input-box textarea:focus {
  outline: none;
  border-color: var(--verde, #1fa463);
  box-shadow: 0 0 0 2px rgba(31,164,99,.30);
}

.contact-msg {
  min-height: 20px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.contact-msg.success { color: #78f0ae; }
.contact-msg.error { color: #ff8f8f; }

.contact-privacy {
  margin: -2px 0 16px;
  color: #a9a9a9;
  font-size: 11px;
  line-height: 1.55;
}

.contact-submit-btn:disabled {
  opacity: .65;
  cursor: wait;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 18px;
  margin-top: 9px;
  font-size: 13px;
}

.footer-contact-link {
  appearance: none;
  width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #78f0ae;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

body.contact-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .contact-cta-section {
    padding: 20px 16px 24px;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-modal-dialog {
    max-height: calc(100vh - 24px);
    padding: 24px 18px 20px;
  }

  .contact-copy {
    padding-right: 34px;
  }

  .footer-links {
    flex-direction: column;
    gap: 5px;
  }
}
