/*
  Página de contato modernizada.
  Usa a base visual da home (`home-modern.css`) e adiciona somente estilos específicos do contato.
*/

.contact-modern {
  min-height: 100vh;
}

.contact-modern .site-block--header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.contact-modern main {
  padding-top: 104px;
}

.contact-modern .contact-page {
  position: relative;
  padding: 86px 0 72px;
  overflow: hidden;
}

.contact-modern .contact-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 138, 0, 0.18), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(55, 92, 170, 0.22), transparent 30%),
    radial-gradient(circle at 82% 86%, rgba(255, 138, 0, 0.11), transparent 28%);
  pointer-events: none;
}

.contact-modern .contact-page .container {
  position: relative;
  z-index: 1;
}

.contact-modern .contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: start;
}

.contact-modern .contact-hero {
  position: sticky;
  top: 128px;
}

.contact-modern .contact-hero h1 {
  max-width: 560px;
  margin: 20px 0 18px;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.contact-modern .contact-hero p {
  max-width: 520px;
  color: #c7d2e5;
  font-size: 19px;
  line-height: 1.75;
}

.contact-modern .contact-proof {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-modern .contact-proof__item,
.contact-modern .contact-direct-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
  color: #d8e0ee;
  backdrop-filter: blur(14px);
}

.contact-modern .contact-proof__item i,
.contact-modern .contact-direct-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ff8a00, #ff5a1f);
  color: #fff;
  font-size: 18px;
}

.contact-modern .contact-proof__item strong,
.contact-modern .contact-direct-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.contact-modern .contact-proof__item small,
.contact-modern .contact-direct-card small {
  display: block;
  margin-top: 4px;
  color: #c7d2e5;
  line-height: 1.5;
}

.contact-modern .contact-card {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 138, 0, 0.12), transparent 32%),
    rgba(255, 255, 255, 0.058);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.contact-modern .contact-card__header {
  margin-bottom: 26px;
}

.contact-modern .contact-card__header h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.contact-modern .contact-card__header p {
  margin: 0;
  color: #c7d2e5;
  line-height: 1.65;
}

.contact-modern #contact-form-block label {
  display: block;
  margin-bottom: 8px;
  color: #e8eef8;
  font-weight: 800;
}

.contact-modern #contact-form-block label span {
  color: #ff8a00;
}

.contact-modern #contact-form-block .form-control {
  min-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(7, 11, 18, 0.54);
  color: #eef3ff;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-modern #contact-form-block textarea.form-control {
  min-height: 132px;
  resize: vertical;
}

.contact-modern #contact-form-block .form-control::placeholder {
  color: rgba(199, 210, 229, 0.62);
}

.contact-modern #contact-form-block .form-control:focus {
  border-color: rgba(255, 138, 0, 0.74);
  background: rgba(7, 11, 18, 0.72);
  box-shadow: 0 0 0 0.2rem rgba(255, 138, 0, 0.14);
}

.contact-modern #contact-form-block .nice-select {
  float: none;
  display: block;
  width: 100%;
  height: 52px;
  line-height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(7, 11, 18, 0.54);
  color: #eef3ff;
  padding-left: 14px;
  padding-right: 42px;
}

.contact-modern #contact-form-block .nice-select::after {
  right: 18px;
  border-color: #ff8a00;
}

.contact-modern #contact-form-block .nice-select .list {
  width: 100%;
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: #111927;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.contact-modern #contact-form-block .nice-select .option {
  color: #c7d2e5;
  background: #111927;
}

.contact-modern #contact-form-block .nice-select .option:hover,
.contact-modern #contact-form-block .nice-select .option.focus,
.contact-modern #contact-form-block .nice-select .option.selected.focus {
  background: #ff8a00;
  color: #fff;
}

.contact-modern #contact-form-block .is-invalid,
.contact-modern #contact-form-block select.is-invalid + .nice-select {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.18);
}

.contact-modern #contact-form-block small.text-danger {
  display: block;
  margin-top: 6px;
  color: #ff8d8d !important;
}

.contact-modern .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.contact-modern #contact-form-block .button-contactForm.btn_4.boxed-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-width: 156px;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a00, #ff5a1f);
  color: #fff !important;
  box-shadow: 0 18px 38px rgba(255, 112, 25, 0.24);
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.contact-modern #contact-form-block .button-contactForm.btn_4.boxed-btn:hover,
.contact-modern #contact-form-block .button-contactForm.btn_4.boxed-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px rgba(255, 112, 25, 0.32);
}

.contact-modern #contact-form-block .button-contactForm.btn_4.boxed-btn[type="reset"] {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.contact-modern #contact-form-block .button-contactForm[disabled] {
  opacity: 0.75;
  cursor: not-allowed;
}

.contact-modern #contact-form-block #form-alert {
  border: 0;
  border-radius: 18px;
  color: #fff;
}

.contact-modern #contact-form-block .alert-success {
  background: rgba(22, 215, 122, 0.18);
}

.contact-modern #contact-form-block .alert-danger {
  background: rgba(255, 107, 107, 0.16);
}

.contact-modern .contact-direct {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.contact-modern .contact-direct-card {
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contact-modern .contact-direct-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 0, 0.42);
  background: rgba(255, 138, 0, 0.08);
}

@media (max-width: 991px) {
  .contact-modern .contact-page {
    padding: 64px 0 58px;
  }

  .contact-modern .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .contact-modern .contact-hero {
    position: static;
    text-align: center;
  }

  .contact-modern .contact-hero h1,
  .contact-modern .contact-hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-modern .contact-proof {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575px) {
  .contact-modern main {
    padding-top: 88px;
  }

  .contact-modern .contact-page {
    padding: 48px 0;
  }

  .contact-modern .contact-card {
    padding: 24px;
    border-radius: 26px;
  }

  .contact-modern .contact-actions .button-contactForm {
    width: 100%;
  }
}
