.pricing-hero{
  background: var(--brand-gradient);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
  margin-bottom: 60px;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.pricing-hero h1{ font-size: var(--h1-size); font-weight:700; margin-bottom:20px; text-shadow: 0 2px 10px rgba(0,0,0,0.18); }
.pricing-hero p{ font-size: var(--lead-size); opacity:0.95; max-width:700px; margin:0 auto; }

.pricing-card{
  border: var(--card-border);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: transform var(--motion) ease, box-shadow var(--motion) ease, border-color var(--motion) ease;
  height:100%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.pricing-card::before{
  content: '';
  position: absolute; top:0; left:0; right:0; height:5px;
  background: var(--brand-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion) ease;
}
.pricing-card .badge-icon{
  position: absolute; top:8px; right:8px; z-index:5; background: rgba(255,255,255,0.95); border-radius:50%; padding:6px; box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
.pricing-card:hover::before, .pricing-card:focus-within::before{ transform: scaleX(1); }
.pricing-card:hover{ transform: translateY(-10px); box-shadow: var(--shadow-md); border-color: var(--brand-primary); }

.pricing-card img{ width:100%; height:220px; object-fit:cover; border-radius: var(--radius-sm); margin-bottom:25px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

.plan-name{ font-size:1.9rem; font-weight:700; color:var(--text-heading); margin-bottom:15px; }
.plan-name.text-gradient{ background: var(--brand-gradient); }

.plan-price{ font-size:2.8rem; font-weight:800; color:var(--brand-primary); margin-bottom:10px; }
.plan-price small{ font-size:1rem; font-weight:400; color:var(--text-muted); display:block; margin-top:5px; }

.plan-description{ color: #4a5568; margin-bottom:30px; min-height:90px; line-height:1.7; font-size:1rem; }

.no-plans{ text-align:center; padding:80px 20px; background:var(--bg-light); border-radius:var(--radius-md); }
.no-plans i{ font-size:5rem; color:#cbd5e0; margin-bottom:25px; }
.no-plans h3{ color:var(--text-heading); margin-bottom:15px; font-size:1.8rem; }
.no-plans p{ color:var(--text-muted); font-size:1.1rem; }

.features-banner{ background: linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%); padding:60px 20px; margin-top:80px; border-radius:var(--radius-md); text-align:center; }
.features-banner h2{ color:var(--text-heading); margin-bottom:40px; font-weight:700; }
.feature-item{ padding:20px; }
.feature-item i{ font-size:3rem; color:var(--brand-primary); margin-bottom:15px; }
.feature-item h4{ color:var(--text-heading); margin-bottom:10px; font-weight:600; }
.feature-item p{ color:#4a5568; font-size:0.95rem; }

/* Compact variant for small site cards (used by includes/card.html) */
.pricing-card--compact{
  padding: 18px 16px;
  border-radius: calc(var(--radius-md) - 2px);
  min-height: 140px;
}
/* Force a uniform compact height to avoid layout inconsistencies across grid columns */
.pricing-card--compact{ height: 160px; }

.pricing-card > .d-flex{ gap:8px; align-items:center; justify-content:center; }
.pricing-card--compact .plan-name{ font-size:1.05rem; font-weight:700; margin-bottom:6px; }
.pricing-card--compact .plan-description{ font-size:0.9rem; margin-bottom:6px; min-height:initial; color:var(--text-muted); }
.pricing-card--compact i.bi{ font-size:1.35rem; }
.pricing-card--compact::before{ height:4px; }
.pricing-card--compact:hover{ transform: translateY(-6px); }

/* Compact variant for cards intended as navigation blocks (smaller footprint) */
.pricing-card--compact .btn-purchase{ padding:8px 12px; font-size:0.95rem; }

/* Ensure the lock/unlock icons remain visible on compact cards */
.pricing-card--compact .badge-icon{ top:6px; right:6px; padding:5px; }

/* Freemium - Cards bloqueados com overlay blur melhorado */
.pricing-card.locked {
  position: relative;
  cursor: pointer !important;
  pointer-events: all !important;
  transition: all 0.3s ease;
}

.pricing-card.locked:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.2);
}

.pricing-card.locked::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 240, 240, 0.95) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
}

.pricing-card.locked::after {
  content: '🔒 Clique para Desbloquear';
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffc107 0%, #ffb300 100%);
  color: #000;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(255, 193, 7, 0.4);
  pointer-events: none;
}

.pricing-card.locked .badge-icon {
  z-index: 10;
  font-size: 2rem;
  padding: 12px 14px;
  background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
  border-radius: 50%;
}

.pricing-card--compact.locked .badge-icon {
  font-size: 1.5rem;
  padding: 8px 10px;
}

/* Unlock badge verde vibrante */
.pricing-card .badge-icon.bi-unlock-fill {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
}

/* Adicionar efeito pulse no cadeado melhorado */
@keyframes pulse-lock {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 8px 28px rgba(255, 193, 7, 0.7);
  }
}

.pricing-card.locked .badge-icon {
  animation: pulse-lock 2s infinite ease-in-out;
}
