/* ===== Página de Contato ===== */

.contato__intro {
  max-width: 720px;
}

.contato__badge {
  font-size: 1rem;
}

.contato__title {
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.5rem);
  line-height: 1.2;
  color: #4a4848;
}

/* ===== Cartões de contato ===== */
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  min-height: 192px;
  padding: 2rem 1rem;
  text-align: center;
  background-color: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 1rem;
  box-shadow: 0 1px 2px rgba(27, 27, 27, 0.08);
}

.contact-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
}

.contact-card__icon svg {
  display: block;
  width: 40px;
  height: 40px;
}

.contact-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.contact-card__label {
  font-size: 1.125rem;
  font-weight: 600;
  color: #4a4848;
}

.contact-card__value {
  font-size: 1rem;
  line-height: 1.5;
  color: #6c6c6c;
}

.contact-card__value a {
  color: inherit;
  overflow-wrap: anywhere;
}

.contact-card__value a:hover { color: var(--primary-color); }
.contact-card__value a:active,
.contact-card__value a:focus { color: var(--primary-color-dark); }

.contato-form__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
}

.contato-form__figure {
  flex: 0 0 auto;
  width: min(45%, 590px);
}

.contato-form__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem; 
}

.contato-form__card {
  position: relative;
  z-index: 1;
  flex: 1 1 360px;
  min-width: min(100%, 360px);
  margin-left: -95px; 
  padding: 2.5rem;
  background-color: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 2px 3px rgba(27, 27, 27, 0.1), 0 4px 5px rgba(27, 27, 27, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center; 
}

.form--contato .form-label {
  margin-bottom: 0.5rem;
  font-family: var(--primary-font);
  font-size: 1rem;
  font-weight: 500;
  color: #4a4848;
}

.form--contato :where(.form-control, .form-select) {
  min-height: 3.25rem;
  padding: 1rem 0.75rem;
  font-family: var(--primary-font);
  font-size: 0.875rem;
  color: #4a4848;
  background-color: #fafafa;
  border: 1px solid #eee;
  border-radius: 1.5rem;
}

.form--contato :where(.form-control, .form-select)::placeholder {
  color: #6c6c6c;
}

.form--contato :where(.form-control, .form-select):focus {
  border-color: var(--primary-color-light);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.15);
}

.form--contato textarea.form-control {
  min-height: 6rem;
  padding-bottom: 2.5rem;
  resize: vertical;
}

.form--contato .btn-primary {
  padding: 1rem;
  border-radius: 1.5rem;
  font-size: 1.125rem;
}

/* ===== Mapa ===== */
.contato-map {
  width: 100%;
  min-height: 400px;
  border: 0;
}

@media (max-width: 991.98px) {
  .contato-form__figure {
    display: none;
  }

  .contato-form__card {
    margin-left: 0;
  }
}
