/* ── CONTATO PAGE ── */
.contato-wrap {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 140px 56px 120px;
}

.contato-head {
  max-width: 640px;
}
.contato-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.7s 0.15s forwards;
}
.contato-eyebrow-line {
  width: 40px;
  height: 1px;
  background: var(--p);
}
.contato-eyebrow .label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--p);
}
.contato-title {
  font-family: "Bebas Neue", cursive;
  font-size: clamp(56px, 8vw, 110px);
  line-height: 0.92;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}
.contato-title em {
  color: var(--p);
  font-style: normal;
}
.contato-sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--td);
  opacity: 0;
  animation: fadeUp 0.7s 0.45s forwards;
}

.contato-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  margin-top: 64px;
  align-items: start;
}

/* ── left: direct contact ── */
.contato-side .side-title {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--td2);
  margin-bottom: 20px;
}
.ct-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ct-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid var(--br2);
  border-radius: 10px;
  background: var(--bg2);
  text-decoration: none;
  transition:
    border-color 0.25s,
    transform 0.25s,
    background 0.25s;
}
.ct-link:hover {
  border-color: var(--br);
  background: var(--bg3);
  transform: translateX(4px);
}
.ct-ic {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--p);
}
.ct-tx .ct-label {
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--td2);
  margin-bottom: 3px;
}
.ct-tx .ct-value {
  font-size: 14px;
  color: var(--t);
  font-weight: 500;
}
.cv-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px dashed var(--br);
  border-radius: 10px;
  color: var(--p);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s;
}
.cv-link:hover {
  border-color: var(--p);
  border-style: solid;
  background: var(--pg2);
  transform: translateX(4px);
}
.cv-link svg {
  flex-shrink: 0;
}

.ct-note {
  margin-top: 22px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--td2);
}

/* ── right: form ── */
.form-card {
  background: var(--bg2);
  border: 1px solid var(--br2);
  border-radius: 14px;
  padding: 36px;
}
.form-card-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 26px;
}
.fcb-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.fcb-dot.r {
  background: #ff5f57;
}
.fcb-dot.y {
  background: #febc2e;
}
.fcb-dot.g {
  background: #28c840;
}
.fcb-name {
  margin-left: 6px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  color: var(--td2);
  letter-spacing: 0.06em;
}

.field {
  margin-bottom: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--td);
  margin-bottom: 8px;
}
.field label .req {
  color: var(--p);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--br2);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--t);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--td2);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--p);
  background: var(--bg3);
}
.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--p) 50%),
    linear-gradient(135deg, var(--p) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 55%,
    calc(100% - 15px) 55%;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

/* ── CUSTOM SELECT (dropdown de "Assunto") ── */
.custom-select {
  position: relative;
}
.cs-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--br2);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--t);
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.cs-trigger:hover {
  border-color: var(--br);
}
.custom-select.open .cs-trigger,
.cs-trigger:focus-visible {
  outline: none;
  border-color: var(--p);
  background: var(--bg3);
}
.cs-arrow {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: -3px;
  border: solid var(--p);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.custom-select.open .cs-arrow {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.cs-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--bg2);
  border: 1px solid var(--br);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}
.custom-select.open .cs-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cs-option {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--td);
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.cs-option:hover,
.cs-option.active {
  background: var(--pg2);
  color: var(--t);
}
.cs-option.selected {
  color: var(--p2);
  font-weight: 600;
}

.form-submit {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.btn-submit {
  font-family: "DM Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--p);
  border: none;
  border-radius: 8px;
  padding: 15px 30px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s,
    opacity 0.2s;
}
.btn-submit:hover:not(:disabled) {
  background: var(--p2);
}
.btn-submit:active:not(:disabled) {
  transform: translateY(1px);
}
.btn-submit:disabled {
  opacity: 0.55;
  cursor: default;
}
.form-hint {
  font-size: 12px;
  color: var(--td2);
}

.form-status {
  display: none;
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.55;
  padding: 14px 16px;
  border-radius: 8px;
}
.form-status.show {
  display: block;
}
.form-status.success {
  color: #8ad97a;
  background: rgba(40, 200, 64, 0.08);
  border: 1px solid rgba(40, 200, 64, 0.25);
}
.form-status.error {
  color: #ff8a8a;
  background: rgba(255, 80, 80, 0.08);
  border: 1px solid rgba(255, 80, 80, 0.25);
}

/* entrada (sem depender de JS/observer) */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contato-side {
  opacity: 0;
  animation: fadeUp 0.7s 0.5s forwards;
}
.form-card {
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}
@media (prefers-reduced-motion: reduce) {
  .contato-eyebrow,
  .contato-title,
  .contato-sub,
  .contato-side,
  .form-card {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
}

/* ── responsive ── */
@media (max-width: 900px) {
  .contato-wrap {
    padding: 120px 32px 90px;
  }
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-card {
    padding: 26px 22px;
  }
}
