/* ============================================================
   PÁGINAS PERSONALIZADAS — peças comuns (cada página define seu visual por variáveis --pg-*)
   ============================================================ */
.pg { --pg-bg: #000; --pg-fg: #fff; --pg-mut: #C4B8D9; --pg-line: rgba(255, 255, 255, .16); --pg-bar-bg: rgba(0, 0, 0, .94); background: var(--pg-bg); color: var(--pg-fg); overflow-x: clip; padding-bottom: 0; }
.pg:focus { outline: none; }
.pg-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.pg-wrap--narrow { max-width: 820px; }
.pg a { text-underline-offset: 3px; }
.pg section[id] { scroll-margin-top: calc(var(--banner-h) + 76px); }
.pg section[tabindex="-1"]:focus { outline: none; }

.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--hit); padding: 0 22px; border-radius: var(--r-pill); border: 1.5px solid transparent; font-family: var(--font-text); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: transform var(--dur) var(--ease), background var(--dur), box-shadow var(--dur); }
.pg-btn:hover:not([disabled]) { transform: translateY(-1px); }
.pg-btn[disabled] { opacity: .45; cursor: not-allowed; }
.pg-btn--ghost { background: transparent; color: var(--pg-fg); border-color: var(--pg-line); text-transform: none; letter-spacing: .01em; font-size: 14px; }
.pg-btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.pg-btn--block { width: 100%; }

.pg-step { display: inline-flex; align-items: center; border: 1.5px solid var(--pg-step-line, rgba(255, 255, 255, .4)); border-radius: var(--r-pill); background: var(--pg-step-bg, rgba(0, 0, 0, .35)); }
.pg-step button { width: var(--hit); height: var(--hit); display: grid; place-items: center; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 50%; }
.pg-step button:hover:not([disabled]) { background: rgba(127, 127, 127, .22); }
.pg-step button[disabled] { opacity: .3; cursor: not-allowed; }
.pg-step output { min-width: 34px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 20px; font-variant-numeric: tabular-nums; }

/* contagem regressiva */
.pg-count { display: inline-grid; grid-auto-flow: column; gap: 10px; }
.pg-count__c { display: grid; justify-items: center; gap: 2px; min-width: 70px; padding: 12px 8px 10px; border-radius: 14px; background: var(--pg-count-bg, rgba(255, 255, 255, .07)); border: 1px solid var(--pg-line); }
.pg-count__c b { font-family: var(--font-display); font-size: clamp(28px, 5vw, 40px); line-height: 1; }
.pg-count__c span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--pg-mut); }
.pg-count--agora { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--pg-line); background: var(--pg-count-bg, rgba(255, 255, 255, .07)); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.pg-count__live { width: 10px; height: 10px; border-radius: 50%; background: #43DF8B; box-shadow: 0 0 0 0 rgba(67, 223, 139, .6); animation: pg-pulse 1.8s infinite; }
@keyframes pg-pulse { 70% { box-shadow: 0 0 0 10px rgba(67, 223, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(67, 223, 139, 0); } }

/* FAQ */
.pg-faq { display: grid; gap: 10px; }
.pg-faq details { border: 1px solid var(--pg-line); border-radius: 16px; background: var(--pg-faq-bg, rgba(255, 255, 255, .04)); }
.pg-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 10px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.pg-faq summary::-webkit-details-marker { display: none; }
.pg-faq details[open] summary .icon { transform: rotate(180deg); }
.pg-faq p { padding: 0 18px 18px; color: var(--pg-mut); line-height: 1.6; }

/* rodapé: o organizador é a marca; a Vibra aparece só como "Ingressos por Vibra" (preto ou branco) */
.pg-foot { border-top: 1px solid var(--pg-line); padding: 36px 0 40px; }
.pg-foot__in { display: grid; gap: 20px; }
.pg-foot__org { display: grid; gap: 2px; } .pg-foot__org strong { font-family: var(--font-display); font-size: 20px; } .pg-foot__org span { color: var(--pg-mut); font-size: 14px; }
.pg-foot__pol { color: var(--pg-mut); font-size: 14px; max-width: 60ch; } .pg-foot__pol strong { color: var(--pg-fg); }
.pg-foot__vibra { display: inline-flex; align-items: center; gap: 12px; color: var(--pg-fg); font-size: 13px; padding: 10px 0; text-decoration: none; border-radius: 8px; } .pg-foot__vibra:hover { opacity: .8; } .pg-foot__vibra:focus-visible { outline: 3px solid var(--pg-fg); outline-offset: 4px; } .pg-foot__vibra span { color: var(--pg-mut); }
.pg-foot__proto { font-size: 13px; color: var(--pg-mut); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; } .pg-foot__proto a { color: var(--pg-fg); }
@media (min-width: 860px) { .pg-foot__in { grid-template-columns: 1fr 1.2fr auto; align-items: center; } .pg-foot__proto { grid-column: 1 / -1; } }

/* barra de compra do celular */
.pg-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--pg-bar-bg); border-top: 1px solid var(--pg-line); backdrop-filter: blur(10px); }
.pg-bar__t { display: grid; gap: 2px; font-size: 13px; color: var(--pg-mut); min-width: 0; } .pg-bar__t strong { color: var(--pg-fg); font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.pg-bar .pg-btn { flex: none; min-width: 140px; }
@media (min-width: 1024px) { .pg-bar { display: none; } }
.pg-vazio { font-size: 14px; color: var(--pg-mut); margin-bottom: 8px; }
.pg .summary__lines small { color: var(--pg-mut); }

@media (prefers-reduced-motion: reduce) { .pg-count__live { animation: none; } .pg-btn { transition: none; } .pg-btn:hover:not([disabled]) { transform: none; } }
