/* ==========================================================================
   TARJA DE EXEMPLO — vai em todo site demo.
   Deixa claro que é uma demonstração e leva o visitante para a venda.
   Esconde o WhatsApp flutuante do demo para não competir com este CTA.
   ========================================================================== */

.tarja-exemplo {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
  padding: 0.8rem 1.25rem;
  background: #123274;
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 -8px 24px rgba(10, 20, 45, 0.25);
}

.tarja-exemplo p { margin: 0; }
.tarja-exemplo strong { font-weight: 600; }
.tarja-exemplo em { font-style: normal; font-weight: 600; }
.tarja-exemplo .marca-pant { color: #ffc24d; font-weight: 700; }

.tarja-exemplo a.tarja-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  background: #f59c00;
  color: #123274;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 200ms ease, transform 200ms ease;
}
.tarja-exemplo a.tarja-cta:hover { background: #fff; transform: translateY(-1px); }

/* espaço para a tarja não cobrir o rodapé do demo */
body { padding-bottom: 92px; }

/* no demo, o CTA é a tarja: esconde o flutuante para não competir */
.whats-flutuante { display: none !important; }

/* quando o demo aparece embutido na miniatura do portfólio, a tarja some */
.embutido .tarja-exemplo { display: none; }
.embutido body { padding-bottom: 0; }

@media (max-width: 560px) {
  .tarja-exemplo { font-size: 0.875rem; padding: 0.7rem 1rem; }
}

/* ==========================================================================
   MODAL — aparece quando o visitante clica num contato do site de exemplo.
   Em vez de cair num WhatsApp que não existe, ele vira uma oportunidade.
   ========================================================================== */
.pant-modal[hidden] { display: none; }
.pant-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 18, 38, 0.72);
  backdrop-filter: blur(4px);
  font-family: "Inter", system-ui, sans-serif;
  animation: pant-fade 200ms ease-out;
}
@keyframes pant-fade { from { opacity: 0; } to { opacity: 1; } }

.pant-modal__caixa {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: #fff;
  color: #16203a;
  border-radius: 18px;
  padding: clamp(1.75rem, 1.2rem + 2.5vw, 2.5rem);
  box-shadow: 0 30px 80px rgba(6, 12, 30, 0.45);
  text-align: center;
  animation: pant-sobe 260ms cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pant-sobe { from { transform: translateY(14px); } to { transform: none; } }

.pant-modal__selo {
  display: inline-block;
  background: #fdf0d8;
  color: #8a5500;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.pant-modal__caixa h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
  color: #123274;
  margin: 0;
}
.pant-modal__caixa p {
  margin: 0.9rem 0 0;
  color: #5a6580;
  font-size: 1rem;
  line-height: 1.6;
}
.pant-modal__caixa p strong { color: #16203a; }

.pant-modal__preco {
  margin-top: 1.2rem;
  padding: 0.85rem 1rem;
  background: #f4f6fb;
  border-radius: 12px;
  font-size: 0.95rem;
  color: #16203a;
}
.pant-modal__preco b { color: #123274; font-weight: 700; }

.pant-modal__acoes { display: grid; gap: 0.65rem; margin-top: 1.5rem; }
.pant-modal__acoes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 200ms ease, transform 200ms ease;
}
.pant-modal__cta { background: #f59c00; color: #123274; }
.pant-modal__cta:hover { background: #123274; color: #fff; transform: translateY(-1px); }
.pant-modal__alt { background: transparent; color: #123274; border: 1.5px solid #dbe2ef; }
.pant-modal__alt:hover { border-color: #123274; }

.pant-modal__fechar {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 0; background: transparent;
  color: #8a93a8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
}
.pant-modal__fechar:hover { background: #f4f6fb; color: #16203a; }

@media (prefers-reduced-motion: reduce) {
  .pant-modal, .pant-modal__caixa { animation: none; }
}
