/* Pesquisa Tudo — design system
   Rosa magenta (energia + familiaridade Serasa) + roxo profundo (autoridade)
   + teal (complementar: calma e confiança) */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --pt-pink: #e3127a;
  --pt-pink-deep: #b80d62;
  --pt-pink-soft: #ffe4f1;
  --pt-purple: #4a1a6b;
  --pt-purple-mid: #6b2d8b;
  --pt-teal: #0d9488;
  --pt-teal-soft: #ccfbf1;
  --pt-ink: #1a0f2e;
  --pt-muted: #5c4d6e;
  --pt-surface: #fff8fb;
  --pt-white: #ffffff;
  --pt-line: rgba(74, 26, 107, 0.12);
  --pt-shadow: 0 18px 50px rgba(184, 13, 98, 0.14);
  --pt-radius: 18px;
  --pt-btn-radius: 4px;
  --pt-nav-h: 72px;
  --pt-cadastro-banner-h: 0px;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.pt-body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--pt-ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(227, 18, 122, 0.18), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(13, 148, 136, 0.12), transparent 50%),
    linear-gradient(180deg, #fff5fa 0%, var(--pt-surface) 40%, #f7f0ff 100%);
  min-height: 100vh;
  padding-top: calc(var(--pt-nav-h) + var(--pt-cadastro-banner-h));
}

body.pt-body.has-cadastro-banner {
  --pt-cadastro-banner-h: 48px;
}

h1, h2, h3, h4, .pt-brand, .pt-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

a {
  color: var(--pt-pink-deep);
}

a:hover {
  color: var(--pt-purple);
}

/* —— Cadastro incompleto banner —— */
.pt-cadastro-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  height: var(--pt-cadastro-banner-h);
  background: linear-gradient(90deg, var(--pt-pink-deep), var(--pt-purple-mid));
  color: #fff;
  box-shadow: 0 4px 18px rgba(74, 26, 107, 0.22);
}

.pt-cadastro-banner__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2.5rem 0 1rem;
  position: relative;
}

.pt-cadastro-banner__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  line-height: 1.25;
  text-align: center;
}

.pt-cadastro-banner__link:hover {
  color: #fff !important;
  text-decoration: underline !important;
}

.pt-cadastro-banner__link i {
  flex: 0 0 auto;
  font-size: 1rem;
  opacity: 0.95;
}

.pt-cadastro-banner__link strong {
  font-family: var(--font-display);
  font-weight: 700;
}

.pt-cadastro-banner__close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  width: 2rem;
  height: 2rem;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.85;
  padding: 0;
}

.pt-cadastro-banner__close:hover,
.pt-cadastro-banner__close:focus {
  opacity: 1;
  outline: none;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 576px) {
  body.pt-body.has-cadastro-banner {
    --pt-cadastro-banner-h: 56px;
  }

  .pt-cadastro-banner__link {
    font-size: 0.82rem;
  }
}

/* —— Nav —— */
.pt-nav {
  position: fixed;
  top: var(--pt-cadastro-banner-h);
  left: 0;
  right: 0;
  height: var(--pt-nav-h);
  z-index: 1030;
  display: flex;
  align-items: center;
  background: rgba(255, 248, 251, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--pt-line);
  transition: box-shadow 0.25s ease, background 0.25s ease, top 0.2s ease;
}

.pt-nav.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 28px rgba(74, 26, 107, 0.08);
}

.pt-nav .navbar {
  width: 100%;
  padding: 0.4rem 0;
  background: transparent !important;
}

.pt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--pt-purple) !important;
  text-decoration: none !important;
}

.pt-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(227, 18, 122, 0.35);
  object-fit: contain;
  vertical-align: middle;
}

.pt-brand img:not(.pt-brand-mark) {
  height: 36px;
  width: auto;
}

.pt-brand-accent {
  color: var(--pt-pink);
}

.pt-brand--footer {
  color: #fff !important;
}

.pt-toggler {
  border: 1.5px solid var(--pt-line);
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
}

.pt-toggler:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(227, 18, 122, 0.15);
}

.pt-nav .navbar-nav {
  align-items: stretch;
}

.pt-nav .nav-link {
  color: var(--pt-muted) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}

.pt-nav .nav-link:hover,
.pt-nav .nav-link.active {
  color: var(--pt-pink-deep) !important;
  background: var(--pt-pink-soft);
}

@media (max-width: 991.98px) {
  .pt-nav {
    height: auto;
    min-height: var(--pt-nav-h);
  }

  .pt-nav .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--pt-line);
    border-radius: 16px;
    margin-top: 0.75rem;
    padding: 0.75rem;
    box-shadow: var(--pt-shadow);
  }

  .pt-nav .navbar-nav {
    width: 100%;
  }

  .pt-nav .nav-link {
    display: block;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 0.2rem;
  }

  .pt-nav .btn-pt {
    width: 100%;
    text-align: center;
  }

  .pt-balance {
    margin: 0.5rem 0;
  }
}

.pt-balance {
  font-weight: 700;
  color: var(--pt-purple);
  font-size: 0.92rem;
  margin-right: 0.75rem;
}

/* —— Buttons —— */
/* Um único radius para Bootstrap (.btn) e variantes do tema */
.btn,
.btn-pt,
.btn-bordo,
.btn-pt-outline,
.btn-pt-teal,
.btn-pt-danger {
  border-radius: var(--pt-btn-radius);
}

.btn-pt,
.btn-bordo {
  background: linear-gradient(135deg, var(--pt-pink), var(--pt-pink-deep));
  border: none;
  color: #fff !important;
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  box-shadow: 0 10px 24px rgba(227, 18, 122, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s;
}

.btn-pt:hover,
.btn-bordo:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(227, 18, 122, 0.35);
  color: #fff !important;
  background: linear-gradient(135deg, var(--pt-pink), var(--pt-pink-deep));
}

.btn-pt-outline {
  background: transparent;
  border: 2px solid var(--pt-pink);
  color: var(--pt-pink-deep) !important;
  font-weight: 700;
  padding: 0.65rem 1.3rem;
}

.btn-pt-outline:hover {
  background: var(--pt-pink-soft);
  color: var(--pt-purple) !important;
}

.btn-pt-teal {
  background: var(--pt-teal);
  color: #fff !important;
  border: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.25);
}

.btn-pulse {
  animation: pt-pulse 2.8s ease-in-out infinite;
}

@keyframes pt-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

/* —— Hero —— */
.pt-hero {
  position: relative;
  min-height: calc(100vh - var(--pt-nav-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 2.5rem 0 3.5rem;
}

.pt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(115deg, rgba(255, 245, 250, 0.2) 0%, rgba(255, 245, 250, 0.75) 42%, rgba(255, 245, 250, 0.92) 100%),
    radial-gradient(ellipse 80% 70% at 70% 40%, rgba(227, 18, 122, 0.45), transparent 60%),
    radial-gradient(ellipse 50% 50% at 90% 80%, rgba(107, 45, 139, 0.4), transparent 55%),
    radial-gradient(ellipse 40% 40% at 55% 70%, rgba(13, 148, 136, 0.25), transparent 50%);
}

.pt-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: pt-float 8s ease-in-out infinite;
}

.pt-hero-orb--1 {
  width: 280px;
  height: 280px;
  right: 8%;
  top: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(227, 18, 122, 0.15));
}

.pt-hero-orb--2 {
  width: 160px;
  height: 160px;
  right: 28%;
  bottom: 18%;
  background: radial-gradient(circle, rgba(204, 251, 241, 0.8), rgba(13, 148, 136, 0.2));
  animation-delay: -2.5s;
}

@keyframes pt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.pt-hero .container {
  position: relative;
  z-index: 1;
}

.pt-hero-brand {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--pt-purple);
  line-height: 1.05;
  margin: 0 0 0.75rem;
}

.pt-hero-brand span {
  background: linear-gradient(120deg, var(--pt-pink), var(--pt-purple-mid));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pt-hero-title {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 600;
  color: var(--pt-ink);
  margin: 0 0 0.65rem;
  max-width: 28ch;
}

.pt-hero-lead {
  color: var(--pt-muted);
  font-size: 1.05rem;
  max-width: 38ch;
  margin: 0 0 1.5rem;
}

.pt-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pt-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--pt-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.pt-trust-row i {
  color: var(--pt-teal);
  margin-right: 0.35rem;
}

/* Consult panel (interaction surface) */
.pt-consult {
  background: var(--pt-white);
  border-radius: calc(var(--pt-radius) + 4px);
  box-shadow: var(--pt-shadow);
  border: 1px solid var(--pt-line);
  padding: 1.5rem;
  animation: pt-rise 0.7s ease both;
}

@keyframes pt-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.pt-consult-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--pt-purple);
  margin-bottom: 1rem;
}

.pt-consult .form-control,
.pt-consult select.form-control {
  border-radius: 12px;
  border: 1.5px solid var(--pt-line);
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Password reveal */
.pt-password {
  position: relative;
}

.pt-password .form-control {
  padding-right: 2.75rem;
}

.pt-password-toggle {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--pt-muted);
  padding: 0.25rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.pt-password-toggle:hover,
.pt-password-toggle:focus {
  color: var(--pt-pink-deep);
  outline: none;
}

.pt-password-toggle[aria-pressed="true"] {
  color: var(--pt-teal);
}

.pt-consult label {
  font-weight: 600;
  color: var(--pt-ink);
  font-size: 0.9rem;
}

.pt-consult .form-text {
  color: var(--pt-muted);
}

/* —— Localização (mapa Brasil + modal Google Maps) —— */
.pt-location {
  background: var(--pt-white);
  border-radius: calc(var(--pt-radius) + 4px);
  box-shadow: var(--pt-shadow);
  border: 1px solid var(--pt-line);
  padding: 1.25rem 1.35rem 1.35rem;
  margin-bottom: 1rem;
  animation: pt-rise 0.65s ease both;
}

.pt-location-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pt-purple);
  margin: 0 0 0.35rem;
}

.pt-location-label {
  font-size: 0.9rem;
  color: var(--pt-muted);
  margin: 0 0 0.75rem;
}

.pt-location-map {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pt-line);
  background:
    radial-gradient(ellipse at 30% 20%, rgba(227, 18, 122, 0.08), transparent 55%),
    linear-gradient(160deg, #f7f3fb 0%, #eef8f6 100%);
}

.pt-location-map .leaflet-container {
  width: 100%;
  height: 100%;
  font: inherit;
  background: transparent;
}

.pt-location-map .leaflet-control-attribution {
  font-size: 9px;
  background: rgba(255, 255, 255, 0.75) !important;
}

.pt-location-pin {
  background: transparent;
  border: 0;
}

.pt-location-pin__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--pt-pink);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px rgba(227, 18, 122, 0.28), 0 6px 14px rgba(74, 26, 107, 0.25);
  animation: pt-pin-pulse 1.8s ease-out infinite;
}

@keyframes pt-pin-pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 18, 122, 0.45), 0 6px 14px rgba(74, 26, 107, 0.25); }
  70% { box-shadow: 0 0 0 12px rgba(227, 18, 122, 0), 0 6px 14px rgba(74, 26, 107, 0.25); }
  100% { box-shadow: 0 0 0 0 rgba(227, 18, 122, 0), 0 6px 14px rgba(74, 26, 107, 0.25); }
}

.pt-location .btn {
  margin-top: 0.85rem;
}

#modalMapaLocal .modal-dialog {
  max-width: min(1100px, 96vw);
}

#modalMapaLocal .modal-content {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(26, 15, 46, 0.28);
}

#modalMapaLocal .modal-header {
  border-bottom: 1px solid var(--pt-line);
  background: linear-gradient(120deg, rgba(227, 18, 122, 0.06), rgba(13, 148, 136, 0.08));
}

#modalMapaLocal .modal-title {
  font-family: var(--font-display);
  color: var(--pt-purple);
  font-weight: 700;
}

#modalMapaLocal .modal-body {
  padding: 0;
  background: #e8eef2;
}

#modalMapaLocal .pt-location-modal-frame {
  display: block;
  width: 100%;
  height: min(72vh, 640px);
  border: 0;
}

#modalMapaLocal .modal-footer {
  border-top: 1px solid var(--pt-line);
}

@media print {
  .pt-location,
  #modalMapaLocal {
    display: none !important;
  }
}

/* —— Share actions (resultado da consulta) —— */
.pt-share-divider {
  border: 0;
  border-top: 1px solid var(--pt-line);
  margin: 0.25rem 0 1rem;
}

.pt-share-label {
  font-weight: 700;
  color: var(--pt-purple);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.pt-share-social {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.pt-share-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 4.25rem;
  padding: 0.65rem 0.35rem;
  border-radius: 14px;
  border: 1.5px solid var(--pt-line);
  background: #fff;
  color: var(--pt-ink) !important;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.pt-share-btn i {
  font-size: 1.35rem;
  line-height: 1;
}

.pt-share-btn:hover,
.pt-share-btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(74, 26, 107, 0.1);
  outline: none;
}

.pt-share-btn--whatsapp {
  color: #128c7e !important;
  border-color: rgba(18, 140, 126, 0.35);
}

.pt-share-btn--whatsapp:hover,
.pt-share-btn--whatsapp:focus {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25d366;
}

.pt-share-btn--facebook {
  color: #1877f2 !important;
  border-color: rgba(24, 119, 242, 0.35);
}

.pt-share-btn--facebook:hover,
.pt-share-btn--facebook:focus {
  background: rgba(24, 119, 242, 0.1);
  border-color: #1877f2;
}

.pt-share-btn--instagram {
  color: #e1306c !important;
  border-color: rgba(225, 48, 108, 0.35);
}

.pt-share-btn--instagram:hover,
.pt-share-btn--instagram:focus {
  background: rgba(225, 48, 108, 0.08);
  border-color: #e1306c;
}

#btn-copy-link.is-copied {
  border-color: var(--pt-teal);
  color: var(--pt-teal) !important;
  background: rgba(13, 148, 136, 0.08);
}

.pt-share-hint {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: var(--pt-teal);
  min-height: 1.2em;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.pt-share-hint.is-visible {
  opacity: 1;
}

.pt-share-hint.is-error {
  color: #c0392b;
}

@media print {
  .pt-consult {
    display: none !important;
  }
}

.pt-token-toggle {
  cursor: pointer;
  color: var(--pt-teal);
  font-size: 0.95rem;
}

.pt-token-toggle:hover {
  color: var(--pt-pink-deep);
}

.pt-loading {
  display: none;
  text-align: center;
  padding: 0.75rem 0;
}

.pt-loading.is-on {
  display: block;
}

.pt-loading-bar {
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pt-pink), var(--pt-teal), var(--pt-pink));
  background-size: 200% 100%;
  animation: pt-shine 1.2s linear infinite;
}

@keyframes pt-shine {
  to { background-position: -200% 0; }
}

/* Sections */
.pt-section {
  padding: 4.5rem 0;
}

.pt-section-head {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.pt-section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--pt-purple);
  margin-bottom: 0.5rem;
}

.pt-section-head p {
  color: var(--pt-muted);
  margin: 0;
  font-size: 1.05rem;
}

.pt-feature {
  padding: 1.25rem 0.25rem;
}

.pt-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pt-pink-soft);
  color: var(--pt-pink-deep);
  margin-bottom: 0.85rem;
  font-size: 1.15rem;
}

.pt-feature-icon--teal {
  background: var(--pt-teal-soft);
  color: var(--pt-teal);
}

.pt-feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
  color: var(--pt-ink);
}

.pt-feature p {
  color: var(--pt-muted);
  margin: 0;
  line-height: 1.55;
}

/* Pricing — interactive choice surfaces */
.pt-pricing-wrap {
  background: linear-gradient(160deg, var(--pt-purple) 0%, #2d0f45 55%, var(--pt-pink-deep) 100%);
  color: #fff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.pt-pricing-wrap::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.35), transparent 70%);
}

.pt-price {
  background: rgba(255, 255, 255, 0.98);
  color: var(--pt-ink);
  border-radius: var(--pt-radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

.pt-price:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.pt-price.is-featured {
  border-color: var(--pt-pink);
  box-shadow: 0 16px 36px rgba(227, 18, 122, 0.25);
}

.pt-price h3 {
  font-size: 1.15rem;
  color: var(--pt-purple);
  margin-bottom: 0.25rem;
}

.pt-price .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--pt-pink-deep);
  line-height: 1;
  margin: 0.75rem 0;
}

.pt-price .amount small {
  font-size: 1rem;
  font-weight: 600;
  vertical-align: super;
}

.pt-price ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  flex: 1;
}

.pt-price ul li {
  padding: 0.4rem 0;
  color: var(--pt-muted);
  border-bottom: 1px solid var(--pt-line);
}

.pt-price ul li::before {
  content: '✓';
  color: var(--pt-teal);
  font-weight: 700;
  margin-right: 0.45rem;
}

/* Signup band */
.pt-signup {
  background: linear-gradient(90deg, var(--pt-pink), var(--pt-purple-mid));
  border-radius: var(--pt-radius);
  padding: 2rem;
  color: #fff;
  box-shadow: var(--pt-shadow);
}

.pt-signup h2 {
  color: #fff;
  margin-bottom: 0.35rem;
}

.pt-signup p {
  opacity: 0.92;
  margin-bottom: 1.25rem;
}

.pt-signup .form-control {
  border-radius: 12px;
  border: none;
  padding: 0.75rem 0.9rem;
}

/* Integration */
.pt-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--pt-pink-soft);
  color: var(--pt-pink-deep);
  font-weight: 700;
  font-size: 0.85rem;
  margin: 0.25rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.pt-pill:hover {
  background: var(--pt-teal-soft);
  color: var(--pt-teal);
  transform: translateY(-1px);
}

/* —— Consultas (área logada) —— */
.pt-filters {
  padding: 1.15rem 1.25rem;
}

.pt-filters-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 0.75rem;
  align-items: end;
}

.pt-filter-field label.small {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--pt-ink);
}

.pt-filter-field .form-control,
.pt-filter-field select.form-control {
  width: 100%;
  min-width: 0;
  height: 38px;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  line-height: 1.25;
  border-radius: 10px;
}

.pt-filter-field select.form-control,
.pt-filter-field select.form-control-sm {
  /* Select + padding extra do .pt-consult quebrava o texto para fora do campo */
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 0.75rem;
  padding-right: 1.75rem;
  height: 38px;
  line-height: 38px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c4d6e' d='M1.4 0.6L6 5.2 10.6 0.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 10px 7px;
}

.pt-filter-field--actions {
  grid-column: 1 / -1;
}

.pt-filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.pt-filter-actions .btn {
  flex: 1 1 auto;
  min-width: 110px;
}

/* Checkbox designer (teal) */
.pt-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  user-select: none;
  margin: 0;
  min-height: 34px;
  font-weight: 600;
  color: var(--pt-ink);
}

.pt-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.pt-check-ui {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 2px solid #99f6e4;
  background: #fff;
  box-shadow: inset 0 0 0 0 var(--pt-teal);
  position: relative;
  flex: 0 0 auto;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.pt-check-ui::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.pt-check input:checked + .pt-check-ui {
  background: var(--pt-teal);
  border-color: var(--pt-teal);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.28);
}

.pt-check input:checked + .pt-check-ui::after {
  transform: rotate(45deg) scale(1);
}

.pt-check input:focus-visible + .pt-check-ui {
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.25);
}

.pt-check-label {
  font-size: 0.92rem;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .pt-filters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .pt-filters-grid {
    grid-template-columns:
      minmax(120px, 1.3fr)
      minmax(110px, 1.1fr)
      minmax(110px, 1.1fr)
      minmax(72px, 0.7fr)
      minmax(110px, 1fr)
      minmax(150px, auto)
      minmax(180px, auto);
  }

  .pt-filter-field--actions {
    grid-column: auto;
  }

  .pt-filter-actions {
    flex-wrap: nowrap;
  }

  .pt-filter-actions .btn {
    flex: 0 0 auto;
  }
}

.pt-table-consultas td {
  vertical-align: middle;
}

.pt-field-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  max-width: 240px;
}

.pt-chip {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--pt-pink-soft);
  color: var(--pt-pink-deep);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.3;
}

.pt-status {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1px solid transparent;
}

.pt-status--paga {
  background: #e6f7f2;
  color: #0f766e;
  border-color: #99f6e4;
}

.pt-status--renovada {
  background: #ede9fe;
  color: #5b21b6;
  border-color: #ddd6fe;
}

.pt-status--pendente {
  background: #fff7ed;
  color: #c2410c;
  border-color: #fed7aa;
}

.pt-status--liberada {
  background: #f3f4f6;
  color: #4b5563;
  border-color: #e5e7eb;
}

.pt-status--vencida {
  background: #fce7f3;
  color: #9d174d;
  border-color: #f9a8d4;
}

.pt-status--buscando {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.pt-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.pt-action {
  width: 36px;
  height: 36px;
  border-radius: var(--pt-btn-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--pt-pink), var(--pt-pink-deep));
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 6px 14px rgba(227, 18, 122, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
  flex: 0 0 auto;
}

.pt-action:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  color: #fff !important;
}

.pt-action--alt {
  background: #fff;
  color: var(--pt-pink-deep) !important;
  border: 1.5px solid var(--pt-pink);
  box-shadow: none;
}

.pt-action--alt:hover {
  background: var(--pt-pink-soft);
  color: var(--pt-purple) !important;
}

.pt-action--danger {
  background: #fff;
  color: #b91c1c !important;
  border: 1.5px solid #fca5a5;
  box-shadow: none;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}

.pt-action--danger:hover {
  background: #fef2f2;
  color: #991b1b !important;
  filter: none;
}

.pt-action--danger:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.pt-pagination .pagination {
  justify-content: center;
  flex-wrap: wrap;
}

.pt-pagination .page-link {
  color: var(--pt-pink-deep);
  border-radius: var(--pt-btn-radius) !important;
  margin: 0 0.15rem;
  border-color: var(--pt-line);
}

.pt-pagination .page-item.active .page-link {
  background: var(--pt-pink);
  border-color: var(--pt-pink);
}

.pt-pagination .page-link:hover {
  background: var(--pt-pink-soft);
  color: var(--pt-purple);
}

/* Ações da tabela: mesmo radius, só compacta padding/sombra */
.pt-table-consultas .btn-pt,
.pt-table-consultas .btn-bordo {
  padding: 0.35rem 0.65rem;
  box-shadow: none;
}

.text-bordo {
  color: var(--pt-pink-deep) !important;
}

.border-bordo {
  border-color: var(--pt-pink) !important;
}

.table-pt {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--pt-line);
}

.table-pt thead th,
.table-pt thead td {
  background: var(--pt-purple);
  color: #fff;
  border: none;
}

.pt-main {
  overflow-x: hidden;
}

/* Footer */
.pt-footer {
  background: var(--pt-purple);
  color: rgba(255, 255, 255, 0.88);
  padding: 2rem 0;
  margin-top: 2rem;
}

.pt-footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  word-break: break-word;
}

.pt-footer a:hover {
  color: #ffd0e8;
}

.pt-footer-rule {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 1.25rem 0 0.75rem;
}

.pt-footer-note {
  opacity: 0.75;
}

.pt-footer .social_icon {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

.pt-footer .social_icon li {
  float: none;
  margin: 0;
}

/* Modals */
.modal-content {
  border: none;
  border-radius: 18px;
  overflow: hidden;
}

.modal-header {
  border-bottom: 1px solid var(--pt-line);
  background: var(--pt-surface);
}

.modal-title {
  font-family: var(--font-display);
  color: var(--pt-purple);
  font-weight: 700;
}

.pt-confirm-modal .modal-body {
  text-align: center;
  padding: 1.5rem 1.5rem 1rem;
}

.pt-confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 1.25rem;
}

.pt-confirm-text {
  font-family: var(--font-display);
  color: var(--pt-purple);
  font-weight: 700;
  font-size: 1.05rem;
}

.pt-confirm-hint {
  font-size: 0.9rem;
  line-height: 1.45;
}

.pt-confirm-modal .modal-footer {
  border-top: 1px solid var(--pt-line);
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem 1.25rem;
}

.btn-pt-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff !important;
  border: none;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  box-shadow: 0 6px 14px rgba(185, 28, 28, 0.22);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-pt-danger:hover,
.btn-pt-danger:focus {
  color: #fff !important;
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-pt-danger:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  filter: none;
}

/* Page shells (consultas, login) */
.pt-page {
  padding: 2rem 0 3rem;
}

.pt-page-title {
  font-family: var(--font-display);
  color: var(--pt-purple);
  font-weight: 800;
  margin-bottom: 1rem;
}

.alert {
  border-radius: 12px;
  border: none;
}

/* Compat leftovers */
.loading_gif {
  height: 48px;
  display: none;
  margin: 0.5rem auto;
}

@media (max-width: 991.98px) {
  .pt-hero {
    min-height: auto;
    padding: 1.75rem 0 2.5rem;
  }

  .pt-hero-brand {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .pt-hero-cta .btn {
    width: 100%;
    text-align: center;
  }

  .pt-trust-row {
    flex-direction: column;
    gap: 0.45rem;
  }

  .pt-consult {
    margin-top: 1.25rem;
    padding: 1.15rem;
  }

  .pt-signup {
    padding: 1.35rem;
  }

  .pt-signup .btn {
    width: 100%;
  }

  .pt-section {
    padding: 3rem 0;
  }

  .pt-pricing-wrap {
    padding: 3rem 0;
  }

  .pt-price {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  body.pt-body {
    padding-top: 64px;
  }

  :root {
    --pt-nav-h: 64px;
  }

  .pt-hero-cta {
    flex-direction: column;
  }

  .pt-section-head {
    text-align: left;
    margin-bottom: 1.75rem;
  }
}

/* —— PWA install banner —— */
.pt-install-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  padding: 0.75rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  transform: translateY(110%);
  transition: transform 0.35s ease;
}

.pt-install-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.pt-install-banner__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 560px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(74, 26, 107, 0.18);
}

.pt-install-banner__icon {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.pt-install-banner__copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.9rem;
  color: var(--pt-muted);
  line-height: 1.3;
}

.pt-install-banner__copy strong {
  color: var(--pt-purple);
  font-family: var(--font-display);
  font-size: 0.98rem;
}

.pt-install-banner__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  flex: 0 0 auto;
}

.pt-install-banner__dismiss {
  color: var(--pt-muted) !important;
  text-decoration: none !important;
  padding: 0 !important;
  font-size: 0.8rem;
}

@media (max-width: 420px) {
  .pt-install-banner__inner {
    flex-wrap: wrap;
  }

  .pt-install-banner__actions {
    width: 100%;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 0.75rem;
  }
}

/* —— Recarga de créditos (CRM PGTO) —— */
.pt-money-field {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1.5px solid var(--pt-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.pt-money-field:focus-within {
  border-color: var(--pt-pink);
  box-shadow: 0 0 0 3px rgba(227, 18, 122, 0.15);
}

.pt-money-field__prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 0.9rem;
  background: var(--pt-pink-soft);
  color: var(--pt-purple);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1;
  border-right: 1.5px solid var(--pt-line);
  user-select: none;
}

.pt-money-field__input {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent;
  padding: 0.75rem 0.95rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--pt-ink);
  line-height: 1.4;
  height: auto;
}

.pt-money-field__input:focus {
  outline: none;
  box-shadow: none !important;
}

.pt-recarga-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.pt-recarga-tips {
  padding-left: 1.15rem;
  color: var(--pt-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.pt-recarga-tips li + li {
  margin-top: 0.35rem;
}

.pt-pay-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pt-pay-tab {
  flex: 1;
  border: 1px solid var(--pt-line);
  background: #fff;
  color: var(--pt-muted);
  border-radius: var(--pt-btn-radius);
  padding: 0.7rem 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.pt-pay-tab.is-active {
  background: var(--pt-purple);
  border-color: var(--pt-purple);
  color: #fff;
}

.pt-pay-badge {
  display: inline-block;
  margin-left: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  vertical-align: middle;
}

.pt-pay-tab:not(.is-active) .pt-pay-badge {
  background: var(--pt-teal-soft);
  color: var(--pt-teal);
}

.pt-pay-panel {
  display: none;
}

.pt-pay-panel.is-active {
  display: block;
}

.pt-pix-cnpj-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pt-muted);
  margin-bottom: 0.15rem;
}

.pt-pix-cnpj {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--pt-purple);
  margin-bottom: 0.15rem;
}

.pt-pix-corp {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.pt-field-label {
  display: block;
  font-weight: 600;
  color: var(--pt-purple);
  margin-bottom: 0.35rem;
}

.pt-pix-copy {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1.5px solid var(--pt-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.pt-pix-copy__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: var(--pt-surface);
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.35;
  color: var(--pt-ink);
  height: auto;
}

.pt-pix-copy__input:focus {
  outline: none;
  box-shadow: none !important;
}

.pt-pix-copy__btn {
  flex: 0 0 auto;
  border: 0;
  border-left: 1.5px solid var(--pt-line);
  border-radius: 0;
  background: #fff;
  color: var(--pt-pink-deep);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.9rem;
  padding: 0 1rem;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.pt-pix-copy__btn:hover,
.pt-pix-copy__btn:focus {
  background: var(--pt-pink-soft);
  color: var(--pt-purple);
  outline: none;
}

.pt-qrcode {
  width: 196px;
  height: 196px;
  margin: 0 auto;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--pt-line);
  border-radius: 12px;
}

.pt-qrcode img,
.pt-qrcode canvas {
  display: block;
  margin: 0 auto;
}

.pt-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--pt-line);
  color: var(--pt-muted);
}

.pt-summary-total {
  border-bottom: none;
  padding-top: 0.85rem;
  color: var(--pt-ink);
  font-size: 1.05rem;
}

.pt-recarga-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pt-teal-soft);
  color: var(--pt-teal);
  font-size: 1.4rem;
}

.pt-expiry select {
  min-width: 0;
}

@media (max-width: 575.98px) {
  .pt-pay-tabs {
    flex-direction: column;
  }
}

/* App instalado (standalone / TWA): menos chrome do browser */
@media (display-mode: standalone) {
  .pt-install-banner {
    display: none !important;
  }
}


