/* ============================================================
   Brandão Torres Construtora — Modal de WhatsApp
   Ordem de carregamento: 6 de 7 (não altere a ordem dos <link>
   no index.html — a cascata do CSS depende dela).
   ============================================================ */

/* ---------- whatsapp modal ---------- */
.wa-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(19, 19, 19, .72);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.wa-overlay.open {
  opacity: 1;
  pointer-events: auto
}

body.wa-modal-open {
  overflow: hidden
}

.wa-modal {
  width: 100%;
  max-width: 400px;
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 34px 30px 30px;
  position: relative;
  transform: translateY(14px) scale(.98);
  opacity: 0;
  transition: transform .35s cubic-bezier(.2, .9, .25, 1), opacity .35s ease;
}

.wa-overlay.open .wa-modal {
  transform: translateY(0) scale(1);
  opacity: 1
}

.wa-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: 0;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mut);
  transition: .3s;
}

.wa-modal-close:hover {
  color: var(--paper)
}

.wa-modal p.eyebrow {
  margin-bottom: 14px
}

.wa-modal h3 {
  font-size: clamp(20px, 2.6vw, 24px);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.wa-modal .wa-sub {
  font-size: 13.5px;
  color: var(--mut);
  line-height: 1.5;
  margin-bottom: 24px
}

.wa-options {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.wa-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  color: var(--paper);
  transition: .3s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.wa-option::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sage);
  z-index: -1;
  transform: translateY(101%);
  transition: transform .38s cubic-bezier(.65, 0, .35, 1);
}

.wa-option:hover {
  color: var(--ink);
  border-color: var(--sage)
}

.wa-option:hover::before {
  transform: none
}

.wa-option:hover .wa-option-name,
.wa-option:hover .wa-option-num {
  color: var(--ink)
}

.wa-option-icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sage);
  color: var(--ink);
  border-radius: 50%;
}

.wa-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.wa-option-name {
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .06em;
  font-weight: 500
}

.wa-option-num {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: .04em;
  color: var(--mut);
  transition: .3s
}

