/* ============================================
   RL MARKET 2.0 - PÁGINA ANUNCIAR
   ============================================ */

.rl-an-hero {
  background: linear-gradient(135deg, #FBBF24 0%, #F97316 100%);
  padding: 4rem 1.5rem;
  color: #1E3A8A;
  text-align: center;
}
.rl-an-hero-content { max-width: 800px; margin: 0 auto; }
.rl-an-hero .rl-pin {
  background: #1E3A8A; color: #FBBF24; border-color: #1E3A8A;
}
.rl-an-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 800;
  line-height: 1.2;
}
.rl-an-hero p { font-size: 1.0625rem; opacity: .88; margin-top: .75rem; }

.rl-an-plans {
  max-width: 1200px; margin: 0 auto;
  padding: 3rem 1.5rem;
}
.rl-an-plans h2 {
  text-align: center;
  font-size: 2rem; font-weight: 800;
  color: #0F172A; margin-bottom: 2rem;
}
.rl-plans-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.rl-plan-card {
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: all .3s;
  display: flex;
  flex-direction: column;
}
.rl-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15,23,42,.12);
}
.rl-plan-card.highlight {
  border-color: #FBBF24;
  background: linear-gradient(135deg, #FFFBEB 0%, #fff 100%);
  transform: scale(1.05);
  box-shadow: 0 20px 50px rgba(251,191,36,.25);
}
.rl-plan-best {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #F97316, #EF4444);
  color: #fff; padding: 5px 14px; border-radius: 50px;
  font-size: .75rem; font-weight: 900;
  letter-spacing: .5px;
}
.rl-plan-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}
.rl-plan-card h3 {
  font-size: 1.5rem; font-weight: 800;
  color: #0F172A; text-align: center;
  margin-bottom: .5rem;
}
.rl-plan-price {
  text-align: center;
  margin-bottom: 1.5rem;
}
.rl-plan-price strong {
  font-size: 2.25rem; font-weight: 900;
  color: #1E40AF; display: block;
  line-height: 1;
}
.rl-plan-price span { color: #94A3B8; font-size: .875rem; }
.rl-plan-features {
  list-style: none; padding: 0; margin: 0 0 1.5rem;
  flex: 1;
}
.rl-plan-features li {
  display: flex; gap: 8px; align-items: flex-start;
  padding: 6px 0; font-size: .9375rem;
  color: #475569;
}
.rl-plan-features i { color: #10B981; margin-top: 4px; }
.rl-plan-btn {
  width: 100%;
  padding: 12px;
  background: #1E40AF; color: #fff;
  border: none; border-radius: 10px;
  font-weight: 800; font-size: .9375rem;
  cursor: pointer;
  transition: all .2s;
}
.rl-plan-btn:hover { background: #1D4ED8; transform: translateY(-2px); }
.rl-plan-card.highlight .rl-plan-btn {
  background: linear-gradient(135deg, #F97316, #EA580C);
}

/* CHECKOUT */
.rl-an-checkout {
  max-width: 760px; margin: 0 auto;
  padding: 3rem 1.5rem;
}
.rl-an-checkout h2 {
  text-align: center;
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 1.5rem;
}
.rl-an-form {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem;
}
.rl-form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-bottom: 1rem;
}
.rl-form-group { display: flex; flex-direction: column; }
.rl-form-group label {
  font-size: .8125rem; font-weight: 700;
  color: #475569; margin-bottom: 6px;
}
.rl-form-group label.required::after { content: ' *'; color: #EF4444; }
.rl-form-group input, .rl-form-group select, .rl-form-group textarea {
  padding: .8rem 1rem;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  font-size: .9375rem;
  outline: none;
  transition: border .2s;
}
.rl-form-group input:focus, .rl-form-group select:focus, .rl-form-group textarea:focus {
  border-color: #1E40AF;
}
.rl-btn-pay {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #10B981, #059669);
  color: #fff; border: none;
  border-radius: 10px;
  font-weight: 800; font-size: 1rem;
  cursor: pointer;
  margin-top: 1rem;
  box-shadow: 0 10px 25px rgba(16,185,129,.3);
  transition: all .2s;
}
.rl-btn-pay:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(16,185,129,.5); }
.rl-form-help {
  text-align: center;
  font-size: .8125rem;
  color: #94A3B8;
  margin-top: 1rem;
}

/* PIX MODAL */
.rl-modal {
  position: fixed; inset: 0;
  background: rgba(15,23,42,.7); z-index: 4000;
  display: none; align-items: center; justify-content: center;
  padding: 1rem;
}
.rl-modal.open { display: flex; }
.rl-modal-content {
  background: #fff; border-radius: 20px;
  padding: 2rem; max-width: 500px; width: 100%;
  position: relative;
  max-height: 90vh; overflow-y: auto;
}
.rl-modal-close {
  position: absolute; top: 12px; right: 16px;
  background: transparent; border: none;
  font-size: 1.5rem; color: #64748B; cursor: pointer;
}
.rl-modal-content h3 {
  text-align: center;
  font-size: 1.5rem; font-weight: 800;
  margin-bottom: 1rem;
}
.rl-modal-content h3 i { color: #F97316; margin-right: 8px; }

.rl-pix-qr-wrap {
  text-align: center;
  margin-bottom: 1rem;
}
.rl-pix-qr {
  max-width: 280px; width: 100%;
  border: 8px solid #FBBF24;
  border-radius: 16px;
  background: #fff;
}
.rl-pix-amount {
  font-size: 1.5rem; font-weight: 900;
  color: #1E40AF; margin-top: 8px;
}
.rl-pix-info {
  text-align: center;
  font-size: .875rem; color: #475569;
  margin-bottom: 12px;
}
.rl-pix-copy {
  display: flex; gap: 8px; margin-bottom: 12px;
}
.rl-pix-copy input {
  flex: 1; padding: 10px;
  border: 2px solid #E2E8F0;
  border-radius: 8px;
  font-family: monospace; font-size: .75rem;
}
.rl-pix-copy button {
  padding: 10px 16px;
  background: #1E40AF; color: #fff;
  border: none; border-radius: 8px;
  font-weight: 700; cursor: pointer;
}
.rl-pix-status {
  text-align: center;
  font-size: .875rem;
  color: #F97316; font-weight: 600;
}

@media (max-width: 640px) {
  .rl-form-row { grid-template-columns: 1fr; }
  .rl-plan-card.highlight { transform: none; }
}
