/* ============================================================
   LP v5 — estilos do MODAL de captação + botões de equipamento
   Complementa lp-v4.css (não substitui). Reusa as variáveis :root.
   ============================================================ */

/* ── Botão "Falar sobre o equipamento" dentro do card ── */
.equip-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: transparent;
  border: 1.5px solid var(--teal);
  color: var(--teal-dark);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 13.5px;
  padding: 12px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.equip-cta:hover {
  background: var(--teal);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Links de equipamento no rodapé viram botões-link sem perder o estilo */
.footer-links .js-open-modal { cursor: pointer; }

/* ── Overlay do modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(13, 30, 53, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  overflow-y: auto;
}
.modal-overlay.open { display: flex; }
body.modal-open { overflow: hidden; }

/* ── Caixa do modal ── */
.modal-box {
  position: relative;
  background: var(--bg-white);
  border-radius: 12px;
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: 32px 30px 26px;
  box-shadow: 0 24px 64px rgba(13, 30, 53, 0.35);
  animation: modalIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── Botão fechar ── */
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: none;
  background: var(--bg-light);
  color: var(--text-muted);
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.modal-close:hover { background: #E74C3C; color: #FFFFFF; }

/* ── Cabeçalho do modal ── */
.modal-head { text-align: center; margin-bottom: 22px; }
.modal-badge {
  display: inline-block;
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(25, 182, 166, 0.10);
  border: 1px solid rgba(25, 182, 166, 0.3);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 14px;
}
.modal-head h3 {
  font-family: var(--font-secondary);
  font-weight: 800;
  font-size: 22px;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 6px;
}
.modal-sub { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* ── Barra de progresso ── */
.modal-progress {
  margin: 18px auto 8px;
  width: 100%;
  height: 6px;
  background: var(--border-l);
  border-radius: 99px;
  overflow: hidden;
}
.modal-progress-fill {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--teal), var(--azul));
  border-radius: 99px;
  transition: width 0.35s ease;
}
.modal-step-label {
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ── Etapas ── */
.modal-step { display: none; animation: stepIn 0.25s ease; }
.modal-step.active { display: block; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* O botão "Continuar"/submit dentro da etapa */
.modal-step .btn-submit { margin-top: 6px; }

/* Botão voltar */
.modal-back {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.modal-back:hover { color: var(--teal); }

/* Disclaimer */
.modal-disclaimer {
  margin-top: 16px;
  justify-content: center;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .modal-overlay { padding: 0; align-items: stretch; }
  .modal-box {
    max-width: none;
    min-height: 100%;
    border-radius: 0;
    padding: 26px 20px 22px;
  }
  .modal-head h3 { font-size: 19px; }
}


/* ============================================================
   OFERTA / PROMO CARD (usado na gaiola-habilidades-v5)
   ============================================================ */
.s-oferta { padding: 56px 0; background: linear-gradient(135deg, #F5F9FC 0%, #EAF6F4 100%); }
.oferta-card {
  display: grid; grid-template-columns: 1fr 1fr;
  max-width: 1000px; margin: 0 auto; background: var(--bg-white);
  border-radius: 16px; overflow: hidden; border: 2px solid var(--teal);
  box-shadow: 0 20px 56px rgba(13, 30, 53, 0.16);
}
.oferta-img { position: relative; min-height: 340px; background: #EAF6F4; }
.oferta-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.oferta-body { padding: 38px 40px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.oferta-badge {
  display: inline-flex; align-items: center; gap: 6px; background: #E63946; color: #fff;
  font-family: var(--font-secondary); font-weight: 800; font-size: 12px; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 7px 14px; border-radius: 99px; margin-bottom: 16px;
}
.oferta-title { font-family: var(--font-secondary); font-weight: 800; font-size: 26px; line-height: 1.2; color: var(--text-dark); margin-bottom: 18px; }
.oferta-title strong { color: var(--azul); }
.oferta-hl { color: var(--teal); }
.oferta-preco { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.oferta-preco-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }
.oferta-preco-old {
  font-family: var(--font-secondary); font-weight: 700; font-size: 22px; color: var(--text-muted);
  text-decoration: line-through; text-decoration-color: #E63946; text-decoration-thickness: 3px;
}
.oferta-preco-new { font-family: var(--font-secondary); font-weight: 900; font-size: 30px; color: var(--teal); letter-spacing: 0.5px; }
.oferta-sub { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin-bottom: 18px; }
.oferta-urgencia {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(230, 57, 70, 0.10);
  color: #E63946; font-weight: 700; font-size: 13.5px; padding: 9px 14px; border-radius: 8px; margin-bottom: 22px;
}
.oferta-urgencia svg { width: 16px; height: 16px; flex-shrink: 0; }
.oferta-body .btn-cta-wpp { width: 100%; justify-content: center; }
@media (max-width: 820px) {
  .oferta-card { grid-template-columns: 1fr; }
  .oferta-img { min-height: 230px; }
  .oferta-body { padding: 28px 22px; }
  .oferta-title { font-size: 21px; }
  .oferta-preco-new { font-size: 26px; }
}

/* ── Tela de sucesso do modal (WhatsApp direto) ── */
.modal-success { text-align: center; padding: 6px 4px 2px; animation: stepIn 0.25s ease; }
.modal-success-ic { width: 74px; height: 74px; margin: 0 auto 18px; background: rgba(37,211,102,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.modal-success h3 { font-family: var(--font-secondary); font-weight: 800; font-size: 21px; color: var(--text-dark); line-height: 1.25; margin-bottom: 8px; }
.modal-success p { font-size: 14px; color: var(--text-muted); line-height: 1.5; margin-bottom: 20px; }
.modal-success .btn-cta-wpp { width: 100%; justify-content: center; }
