/* ═══════════════════════════════════════════
   ZENPURE — contato.css
   ═══════════════════════════════════════════ */

/* ══ ACTIVE NAV STATE ══ */
.nav-cta--active {
  background: var(--green-dark) !important;
}

/* ══════════════════════════════
   HERO STRIP
══════════════════════════════ */
.contact-hero {
  background: var(--navy);
  padding: 140px 8% 80px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.contact-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.contact-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin: 12px 0 20px;
}
.contact-hero__title em {
  font-style: italic;
  color: var(--green-light);
}
.contact-hero__sub {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, .6);
  max-width: 440px;
}

/* Large decorative word */
.contact-hero__deco {
  position: absolute;
  right: -1%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(100px, 14vw, 200px);
  font-weight: 300;
  color: rgba(255, 255, 255, .035);
  pointer-events: none;
  line-height: 1;
  user-select: none;
  z-index: 1;
  white-space: nowrap;
}

/* ══════════════════════════════
   MAIN LAYOUT
══════════════════════════════ */
.contact-main {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  min-height: 700px;
  background: var(--white);
}

/* ══════════════════════════════
   INFO SIDEBAR
══════════════════════════════ */
.contact-info {
  background: #f0efe9;
  padding: 56px 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-right: 1px solid rgba(74,124,89,.1);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.info-card__icon {
  font-size: 22px;
  margin-bottom: 4px;
}
.info-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}
.info-card__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.info-card__note {
  font-size: 13px;
  color: #7a8a80;
}

/* Divider between cards */
.info-card + .info-card {
  padding-top: 28px;
  border-top: 1px solid rgba(74,124,89,.15);
}

.info-social {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(74,124,89,.15);
}
.info-social__label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a8a80;
  margin-bottom: 12px;
}
.info-social__links {
  display: flex;
  gap: 10px;
}

/* ══════════════════════════════
   FORM WRAP
══════════════════════════════ */
.contact-form-wrap {
  padding: 56px 6% 64px;
  max-width: 760px;
}

.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-subtitle {
  font-size: 14px;
  color: #7a8a80;
  margin-bottom: 36px;
}

/* ══════════════════════════════
   FORM FIELDS
══════════════════════════════ */
.form-row {
  margin-bottom: 22px;
}
.form-row--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  gap: 7px;
  position: relative;
}
.field-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .3px;
}
.required { color: var(--green-mid); }

.field-input {
  width: 100%;
  padding: 13px 16px;
  background: #f7f6f2;
  border: 1.5px solid rgba(14, 35, 64, .18);
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-body);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  appearance: none;
  -webkit-appearance: none;
}
.field-input::placeholder { color: #aab0aa; }

.field-input:focus {
  background: #fff;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(74,124,89,.12);
}

.field-input.is-error {
  border-color: #c94040;
  background: #fff8f8;
}
.field-input.is-valid {
  border-color: var(--green-mid);
}

/* Textarea */
.field-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

/* Select */
.select-wrap {
  position: relative;
}
.field-select {
  cursor: pointer;
  padding-right: 40px;
}
.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--navy);
  font-size: 14px;
}

/* Char count */
.char-count {
  align-self: flex-end;
  font-size: 11px;
  color: #9aa09a;
  margin-top: 2px;
}

/* Field error message */
.field-error {
  font-size: 12px;
  color: #c94040;
  min-height: 16px;
  display: block;
}

/* ══ CHECKBOX ROW ══ */
.form-row--check {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}
.check-wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.check-box {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border: 1.5px solid #c0c8c0;
  border-radius: 5px;
  background: #f7f6f2;
  margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.check-wrap input:checked + .check-box {
  background: var(--green-mid);
  border-color: var(--green-mid);
}
.check-wrap input:checked + .check-box::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}
.check-wrap input:focus-visible + .check-box {
  box-shadow: 0 0 0 3px rgba(74,124,89,.2);
}
.check-label {
  font-size: 13px;
  color: #5a6a60;
  line-height: 1.55;
}
.check-link {
  color: var(--green-mid);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ══ FORM FOOTER ══ */
.form-footer {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-submit {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  padding: 15px 36px;
  border-radius: 50px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s, transform .2s;
  white-space: nowrap;
}
.btn-submit:hover:not(:disabled) {
  background: var(--green-dark);
  transform: translateY(-1px);
}
.btn-submit:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

.btn-submit__icon { font-size: 16px; transition: transform .2s; }
.btn-submit:hover:not(:disabled) .btn-submit__icon { transform: translateX(4px); }

/* Spinner */
.btn-submit__loader svg {
  animation: spin .8s linear infinite;
  display: block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-note {
  font-size: 13px;
  color: #7a8a80;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ══════════════════════════════
   SUCCESS STATE
══════════════════════════════ */
.form-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  animation: fadeUp .6s ease both;
}
.form-success__icon { font-size: 52px; }
.form-success__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 400;
  color: var(--navy);
}
.form-success__text {
  font-size: 16px;
  line-height: 1.75;
  color: #5a6a60;
}

/* ══════════════════════════════
   RESPONSIVE — TABLET
══════════════════════════════ */
@media (max-width: 1024px) {
  .contact-main {
    grid-template-columns: 1fr;
  }
  .contact-info {
    border-right: none;
    border-bottom: 1px solid rgba(74,124,89,.1);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    padding: 40px 5%;
  }
  .info-card + .info-card {
    border-top: none;
    padding-top: 0;
    padding-left: 24px;
    border-left: 1px solid rgba(74,124,89,.15);
  }
  .info-social {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
    width: 100%;
    border-top: 1px solid rgba(74,124,89,.12);
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .info-social__label { margin-bottom: 0; }
}

/* ══════════════════════════════
   RESPONSIVE — MOBILE
══════════════════════════════ */
@media (max-width: 640px) {
  .contact-hero {
    padding: 120px 5% 56px;
  }
  .contact-hero__deco { display: none; }

  .contact-info {
    flex-direction: column;
    gap: 20px;
  }
  .info-card + .info-card {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(74,124,89,.12);
    padding-top: 20px;
  }
  .info-social {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form-wrap {
    padding: 40px 5% 52px;
  }
  .form-row--2 {
    grid-template-columns: 1fr;
  }
  .form-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .btn-submit { width: 100%; justify-content: center; }
}
