/* MISS AGRO 2026 — Billet premium (Standard / VIP / Premium) */

.pt-body {
  min-height: 100vh;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #1a2a42 0%, #0a0f18 55%, #060910 100%);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: #e8edf2;
  padding: 2rem 1rem 3rem;
}

.pt-page {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* ─── Carte billet ─── */
.pt-card {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(165deg, #131f33 0%, #0c1524 45%, #0a111c 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.pt-card__glow {
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.pt-card--vip { border-color: rgba(212, 175, 55, 0.35); }
.pt-card--premium {
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 40px rgba(212, 175, 55, 0.08);
}

/* Header */
.pt-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pt-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pt-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d4af37, #b8921f);
  color: #0a111c;
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pt-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.05);
}

.pt-brand-name {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.pt-brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.15rem;
}

.pt-tier-badge {
  flex-shrink: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid;
}

.pt-tier-badge--standard {
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.08);
}

.pt-tier-badge--vip {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.1);
}

.pt-tier-badge--premium {
  color: #0a111c;
  border-color: #d4af37;
  background: linear-gradient(135deg, #e8c96a, #d4af37);
}

/* Titulaire */
.pt-holder {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
}

.pt-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f, #0f2840);
  border: 2px solid rgba(212, 175, 55, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #d4af37;
  flex-shrink: 0;
}

.pt-avatar-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3d8f6a;
  border: 2px solid #0c1524;
}

.pt-holder-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.pt-holder-phone {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.55rem;
}

.pt-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pt-badge {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid;
}

.pt-badge--access.pt-badge--standard {
  color: #94a3b8;
  border-color: rgba(148, 163, 184, 0.35);
}

.pt-badge--access.pt-badge--vip,
.pt-badge--access.pt-badge--premium {
  color: #d4af37;
  border-color: rgba(212, 175, 55, 0.45);
}

.pt-badge--verified {
  color: #3d8f6a;
  border-color: rgba(61, 143, 106, 0.45);
}

/* Grille date / heure / siège */
.pt-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding: 0 1.35rem 1rem;
}

.pt-meta-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.65rem 0.5rem;
  text-align: center;
}

.pt-meta-label {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.25rem;
}

.pt-meta-value {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
}

.pt-meta-value--gold { color: #d4af37; }

.pt-event-line {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 1.35rem 1.1rem;
  line-height: 1.5;
}

.pt-event-line span + span { margin: 0 0.35rem; }

/* Perforation */
.pt-perforation {
  height: 14px;
  margin: 0 0.75rem;
  background:
    radial-gradient(circle at 7px 7px, #0a111c 4px, transparent 4px);
  background-size: 14px 14px;
  background-color: rgba(255, 255, 255, 0.08);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

/* QR */
.pt-qr-section {
  padding: 1.25rem 1.35rem 1.1rem;
  text-align: center;
}

.pt-qr-wrap {
  display: inline-block;
  padding: 0.75rem;
  background: #fff;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.pt-qr-wrap img { display: block; }

.pt-ticket-id-label {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.3rem;
}

.pt-ticket-id-code {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #d4af37;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.pt-scan-hint {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-align: left;
  line-height: 1.45;
}

.pt-scan-icon {
  font-size: 1.25rem;
  color: #d4af37;
  flex-shrink: 0;
}

.pt-footer {
  padding: 0.85rem 1.35rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pt-footer p {
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.6;
}

/* Actions */
.pt-actions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
  max-width: 420px;
}

.pt-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.9rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pt-btn:hover { transform: translateY(-1px); }

.pt-btn--download {
  background: linear-gradient(135deg, #e8c96a, #d4af37);
  color: #0a111c;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35);
}

.pt-btn--print {
  background: rgba(255, 255, 255, 0.07);
  color: #e8edf2;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Tier badges page liste */
.ticket-tier {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.ticket-tier--standard { background: #e2e8f0; color: #475569; }
.ticket-tier--vip { background: linear-gradient(135deg, #f5e6b8, #d4af37); color: #0a3328; }
.ticket-tier--premium { background: linear-gradient(135deg, #1a2a42, #0c1524); color: #d4af37; border: 1px solid #d4af37; }

@media print {
  .no-print { display: none !important; }
  .pt-body { background: #fff; padding: 0; }
  .pt-card { box-shadow: none; border: 2px solid #0a3328; }
}

@media (max-width: 380px) {
  .pt-meta-value { font-size: 0.8rem; }
  .pt-holder-name { font-size: 0.95rem; }
}
