/* Portaria — site do comprador. Complementa app.css (tokens e componentes base ficam lá). */

/* ---------- utilidades ---------- */
html { overflow-x: clip; }
main { min-height: 60vh; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ink { color: var(--ink); }
.ok-text { color: var(--ok); }
.warn-text { color: var(--warn); font-weight: 650; }
.mt { margin-top: 28px; }
.mt-sm { margin-top: 14px; }
.h-md { font-size: clamp(24px, 3.4vw, 32px); }
.eyebrow { font: 700 12px/1.3 var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.lead { font-size: 17px; color: var(--ink-2); max-width: 56ch; }
.tagline { font-size: 18px; color: var(--ink-2); margin: -4px 0 0; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.btn.ghost.is-on { border-color: var(--accent); color: #ff8fc4; background: var(--accent-soft); }

.page-top { padding: 38px 0 18px; }
.page-top h1 { margin-bottom: 10px; }
.note.banner { margin-top: 18px; }
.notice { border-radius: var(--r); padding: 20px 22px; margin-top: 18px; border: 1px solid; }
.notice.bad { background: var(--bad-soft); border-color: rgba(255, 107, 107, .3); color: var(--bad); }
.notice h2 { margin-bottom: 6px; } .notice p { margin: 0; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips.static { margin-top: 14px; }
span.chip:hover { background: var(--surface); color: inherit; border-color: var(--line-2); }

.row-link { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.row-link:hover { background: rgba(255, 255, 255, .03); }
.list > .row-link .grow { overflow-wrap: anywhere; }

/* ---------- topo em telas pequenas ---------- */
@media (max-width: 640px) {
  .topbar .wrap { gap: 8px; padding: 0 14px; }
  .topbar nav { gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .topbar nav::-webkit-scrollbar { display: none; }
  .topbar nav a:not(.btn) { padding: 8px 7px; font-size: 13.5px; white-space: nowrap; }
  .topbar nav a[href="/produtor"]:not(.btn) { display: none; }
  .topbar nav .btn.sm { padding: 8px 11px; }
  .logo { font-size: 19px; }
}
@media (max-width: 430px) {
  .topbar nav a[href="/eventos"] { display: none; }
  /* Quem também é produtor: "Conta" continua acessível pelas abas de Meus ingressos. */
  .topbar nav:has(.btn.ghost) a[href="/conta"] { display: none; }
  .topbar nav .btn.sm.ghost { padding: 8px 10px; font-size: 12.5px; }
}

/* ---------- home ---------- */
.home-hero { padding: 46px 0 26px; border-bottom: 1px solid var(--line); background:
  radial-gradient(60% 90% at 100% 0%, rgba(141, 22, 255, .22), transparent 70%); }
.home-hero-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 44px; align-items: center; }
.home-hero h1 { font-size: clamp(30px, 5.4vw, 60px); font-weight: 300; letter-spacing: .2em; line-height: 1.22; margin-bottom: 22px; }
.home-hero h1 em { font-style: normal; display: block; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.home-hero p { font-size: 18px; color: var(--ink-2); max-width: 50ch; }
.searchbar { display: flex; gap: 8px; margin: 22px 0 16px; max-width: 520px; }
.searchbar input[type=search] { border-radius: 999px; padding: 13px 20px; flex: 1; min-width: 0; }
.searchbar .btn { flex: none; }

/* Canhoto de ingresso: cartão do próximo evento */
.stub { display: block; text-decoration: none; background: var(--surface-2); color: #fff; border: 1px solid var(--line-2); border-radius: 20px; padding: 26px 26px 22px; position: relative; transform: rotate(1.6deg);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .9); transition: transform .18s; }
.stub:hover { transform: rotate(0deg) translateY(-3px); }
.stub::before, .stub::after { content: ''; position: absolute; width: 26px; height: 26px; border-radius: 50%; background: var(--paper); bottom: 62px; }
.stub::before { left: -13px; } .stub::after { right: -13px; }
.stub-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 34px; }
.stub-label { font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.stub-date { display: grid; justify-items: center; background: var(--accent); border-radius: 12px; padding: 8px 12px 9px; font: 700 12px var(--body); letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.stub-date b { font: 500 30px/1 var(--display);  margin-bottom: 3px; }
.stub h2 { font-size: clamp(26px, 3.4vw, 38px); color: #fff; margin-bottom: 8px; overflow-wrap: anywhere; }
.stub-meta { color: #cfc7b9; font-size: 14.5px; text-transform: capitalize; }
.stub-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 30px; padding-top: 18px; border-top: 2px dashed #4a433b; font-size: 14px; color: #cfc7b9; }
.stub-price { color: #fff; font-weight: 700; }

.org-card { display: flex; gap: 12px; align-items: center; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; transition: transform .12s, box-shadow .12s; min-width: 0; }
.org-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.org-card b { display: block; overflow-wrap: anywhere; }
.org-card.tall { align-items: flex-start; padding: 20px; gap: 16px; }
.org-card.tall h3 { margin: 4px 0 2px; }
.org-stats { display: flex; gap: 6px 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-top: 10px; }
.org-stats b { display: inline; color: var(--ink); }

.band { background: var(--surface-2); color: #e8e3dc; border: 1px solid var(--line-2); border-radius: 20px; padding: 30px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.band h2 { color: #fff; margin-bottom: 6px; } .band p { margin: 0; max-width: 52ch; }

/* ---------- listagem ---------- */
.filters { display: grid; gap: 12px; padding: 16px 0 8px; border-top: 1px solid var(--line); }
.filter-row { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: start; }
.filter-label { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 8px; }
.result-count { margin: 14px 0 18px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 30px 0 0; }

/* ---------- produtor / artista ---------- */
.org-cover { height: clamp(130px, 22vw, 240px); background: #000 center / cover no-repeat; }
.org-cover.ph { background: radial-gradient(100% 170% at 0% 100%, rgba(255, 122, 8, .9) 0%, rgba(246, 31, 140, .7) 36%, rgba(141, 22, 255, .5) 64%, #0b0b0d 100%); }
.profile { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; margin-top: -34px; padding-bottom: 20px; }
.profile .avatar.lg { width: 104px; height: 104px; font-size: 40px; border: 4px solid var(--paper); }
.profile h1 { font-size: clamp(30px, 5vw, 46px); margin: 0 0 4px; }
.profile .eyebrow { margin-bottom: 4px; }
.profile.plain { margin-top: 0; padding-top: 38px; align-items: center; }
.profile.plain .avatar.lg { border: 0; }
.profile-body { display: grid; grid-template-columns: 1fr 300px; gap: 30px; align-items: start; padding-bottom: 8px; }
.profile-body .prose, .bio { max-width: 68ch; }
.link-list { list-style: none; margin: 0; padding: 4px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.link-list li { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.link-list li:first-child { border-top: 0; }
.link-list span { color: var(--muted); } .link-list a { overflow-wrap: anywhere; text-align: right; }
.feature { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; text-decoration: none; transition: box-shadow .12s; }
.feature:hover { box-shadow: var(--shadow); }
.feature .cover { width: 100%; height: 100%; min-height: 220px; aspect-ratio: 16/10; object-fit: cover; }
.feature-body { padding: 26px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; justify-content: center; }
.feature-body h3 { font-size: clamp(24px, 3vw, 32px); margin: 0; } .feature-body p { margin: 0; color: var(--ink-2); }
.feature-body .when { font: 700 12px var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--accent); }
.feature-body .btn { margin-top: 10px; white-space: normal; text-align: center; }

/* ---------- evento ---------- */
.event-title { font-size: clamp(32px, 5.2vw, 56px); margin: 12px 0 10px; overflow-wrap: anywhere; }
.event-meta div > span { min-width: 0; overflow-wrap: anywhere; }
.event-meta span span { text-transform: none; }
.org-strip { display: flex; gap: 12px; align-items: center; padding: 14px 0; margin-top: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.interest { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.event-layout { padding-top: 20px; }
.event-layout > .tickets-col { grid-column: 1; min-width: 0; }
.event-layout > .about-col { grid-column: 1; min-width: 0; }
.event-layout > .cart-col { grid-column: 2; grid-row: 1 / span 2; align-self: stretch; min-width: 0; }
.tt-group { margin-bottom: 16px; }
.tt-group .card-head h3 { margin: 0; }
.tt { flex-wrap: nowrap; }
.tt .grow { min-width: 0; overflow-wrap: anywhere; }
.tt-sub { display: flex; gap: 4px 12px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.tt.off { opacity: 1; } .tt.off .name, .tt.off .price { color: var(--muted); }
.qty { flex: none; }
.qty button:disabled { opacity: .3; cursor: default; }
.qty input[type=number] { width: 36px; border: 0; padding: 0; background: none; text-align: center; font-weight: 700; border-radius: 0; }
.qty input[type=number]:focus { outline: 0; }
.qty:focus-within { border-color: var(--accent); outline: 3px solid var(--accent-soft); }
.tt-resale { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 18px; background: var(--info-soft); border-top: 1px solid #c3d6f3; color: #153a6b; }
.tt-resale .muted { color: var(--info); }
.waitlist { margin-bottom: 16px; border-color: var(--line-2); }
.waitlist-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.waitlist-form .field { margin: 0; min-width: 120px; }
.code-box { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 12px 18px; margin-bottom: 8px; }
.code-box summary { cursor: pointer; font-weight: 650; }
.code-form { display: flex; gap: 8px; margin: 12px 0 8px; max-width: 420px; }
.code-form input { flex: 1; min-width: 0; text-transform: uppercase; }
.cart h3 { margin-bottom: 12px; }
.cart-lines { margin-bottom: 4px; }
.cart-lines .sum-line { gap: 12px; font-size: 14.5px; }
.cart .btn.block { margin-top: 14px; }
.cart-hint { margin: 12px 0 0; }
.lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.lineup-item { display: flex; gap: 12px; align-items: center; text-decoration: none; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); min-width: 0; }
.lineup-item:hover { border-color: var(--ink); }
.lineup-item b, .lineup-item .small { display: block; overflow-wrap: anywhere; }
.small-prose { font-size: 14px; }

/* Pré-inscrição */
.presale { margin-top: 28px; border-radius: 24px; overflow: hidden; background: var(--surface-2); color: #fff; border: 1px solid var(--line-2); position: relative; display: grid; }
.presale-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.presale-body { position: relative; padding: clamp(28px, 6vw, 64px); background: radial-gradient(80% 120% at 0% 0%, rgba(246, 31, 140, .45), transparent 62%); }
.presale h1 { font-size: clamp(38px, 7vw, 76px); color: #fff; margin: 16px 0 10px; overflow-wrap: anywhere; }
.presale .tagline { color: #f3e9dc; font-size: clamp(18px, 2.4vw, 22px); margin: 0; }
.presale-meta { display: flex; gap: 6px 22px; flex-wrap: wrap; margin: 20px 0 28px; color: #e9e3d8; font-weight: 600; }
.presale-meta span:first-child { text-transform: capitalize; }
.presale-hint, .presale-count { color: #cfc7b9; margin: 14px 0 0; }
.presale-count b { color: #fff; }
.presale-ok { font-weight: 650; font-size: 17px; max-width: 46ch; }
.presale .btn.ghost { color: #fff; border-color: #6b6258; } .presale .btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.presale-more { display: grid; grid-template-columns: 1fr 300px; gap: 34px; align-items: start; padding: 34px 0 20px; }

/* ---------- entrar / cadastrar ---------- */
.auth { padding-top: 46px; padding-bottom: 30px; max-width: 480px; }
.auth .card { padding: 28px; }
.auth-links { display: flex; justify-content: space-between; gap: 10px 18px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; }
.big-mark { font-size: 44px; line-height: 1; margin-bottom: 10px; }

/* ---------- checkout ---------- */
.checkout { padding-top: 28px; }
.co-head { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.co-head .steps { margin: 0; }
.co-timer { display: flex; align-items: center; gap: 8px; }
.co-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.co-main { min-width: 0; display: grid; gap: 16px; }
.co-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.co-cancel { text-align: center; padding: 4px 0 10px; }
.coupon { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; margin: 18px 0; background: var(--field); }
.coupon-row { display: flex; gap: 8px; } .coupon-row input { flex: 1; min-width: 0; text-transform: uppercase; }
.pay-form { margin: 18px 0 12px; }
.summary .sum-line { gap: 14px; }
.summary-ev { padding-bottom: 12px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.summary-ev .eyebrow { margin-bottom: 4px; }
.summary-name { font: 500 20px/1.15 var(--display);  text-decoration: none; }
.pix-grid { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; margin-top: 18px; }
.pix-qr { width: 220px; height: 220px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; padding: 6px; flex: none; }
.pix-grid .grow { min-width: 220px; }
.pix-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; } .pix-total b { font: 500 26px var(--display); }
.pix-code { min-height: 0; font-size: 12.5px; word-break: break-all; margin-bottom: 10px; resize: none; }
.pix-wait { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } .stub, .ev-card, .org-card { transition: none; } }
.test-box { border: 2px dashed rgba(255, 182, 72, .6); background: var(--warn-soft); color: var(--warn); border-radius: var(--r); padding: 18px 20px; }
.test-label { font: 800 12px var(--body); letter-spacing: .09em; text-transform: uppercase; margin-bottom: 6px; }
.confirm h1 { margin: 14px 0 10px; }
.confirm-meta { display: flex; gap: 14px 34px; flex-wrap: wrap; padding: 16px 0 2px; margin-top: 16px; border-top: 1px solid var(--line); }
.confirm-meta div { display: grid; gap: 2px; }

/* ---------- conta ---------- */
.account { padding-top: 30px; }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 16px; }
.acc-head h1 { font-size: clamp(28px, 4.4vw, 40px); margin: 0; }
.account > .section:first-of-type { padding-top: 0; }
.tk-event { font: 500 19px/1.2 var(--display);  text-decoration: none; display: block; margin: 2px 0; }
.tk-event:hover { text-decoration: underline; }
.tk-group .eyebrow { margin-bottom: 2px; }
.tk-group.is-past { background: transparent; }
.history { margin-top: 26px; } .history summary { cursor: pointer; font-weight: 650; padding: 10px 0; color: var(--ink-2); } .history .stack { margin-top: 10px; }
.ticket.big { grid-template-columns: 1fr 340px; margin-bottom: 18px; box-shadow: var(--shadow); }
.ticket.big .info { padding: 26px 28px; min-width: 0; }
.ticket.big h1 { margin: 4px 0 4px; } .ticket.big h1 a { text-decoration: none; }
.ticket.big .qr { padding: 24px; gap: 10px; align-content: center; }
.ticket.big .qr img { width: 100%; max-width: 280px; height: auto; }
.tk-when { margin-top: 18px; }
.tk-type { font-weight: 700; font-size: 16px; color: var(--ink-2); }
.tk-code { font-size: 17px; font-weight: 700; letter-spacing: .14em; text-align: center; overflow-wrap: anywhere; }
.tk-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px 24px; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.tk-facts dt { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.tk-facts dd { margin: 0; overflow-wrap: anywhere; }
.ticket.void .info { opacity: .75; }
.qr-void { width: 100%; max-width: 240px; aspect-ratio: 1; border: 2px dashed var(--line-2); border-radius: var(--r); display: grid; place-content: center; text-align: center; gap: 6px; padding: 18px; color: var(--muted); }
.qr-void b { font: 500 22px var(--display); color: var(--ink-2); }
.tk-actions { margin-top: 18px; align-items: start; }
.resale-math { background: var(--field); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 8px 14px 10px; margin: 0 0 16px; font-size: 14.5px; }
.resale-math .sum-line.total { font-size: 18px; }
.order-row { align-items: flex-start; }
.order-row .grow > * { display: block; } .order-items { margin: 2px 0; }
.order-end { display: grid; gap: 6px; justify-items: end; flex: none; }

/* ---------- embed (iframe no site do produtor) ---------- */
body.embed { background: transparent; padding: 0; font-size: 14.5px; }
body.embed:not(.dark) { --surface: #fff; --surface-2: #f3f1ee; --ink: #080809; --ink-2: #3a3a41; --muted: #6f6b65; --line: #dedad3; --line-2: #c9c4bc; color: var(--ink); }
body.embed.dark { color: var(--ink); }
.embed-list { display: grid; gap: 8px; }
.embed-item { display: flex; gap: 14px; align-items: center; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 10px 10px; }
.embed-item:hover { border-color: var(--accent); }
.embed-date { display: grid; justify-items: center; background: var(--grad); color: #fff; border-radius: 9px; padding: 7px 0 8px; width: 50px; flex: none; font: 700 10.5px var(--body); letter-spacing: .1em; text-transform: uppercase; line-height: 1; }
.embed-date b { font: 500 22px/1 var(--display); margin-bottom: 2px; }
.embed-name { display: block; font: 500 16px/1.2 var(--display); overflow-wrap: anywhere; }
.embed-meta { display: block; color: var(--muted); font-size: 13px; text-transform: capitalize; }
.embed-cta { font-weight: 700; white-space: nowrap; font-size: 13.5px; }
.embed-empty { color: var(--muted); padding: 14px 4px; margin: 0; }
.embed-brand { display: block; text-align: right; font-size: 12px; color: var(--muted); text-decoration: none; padding: 8px 4px 2px; }

/* ---------- telas menores ---------- */
@media (max-width: 900px) {
  .home-hero-grid, .profile-body, .presale-more, .co-layout, .feature { grid-template-columns: 1fr; }
  .home-hero-grid { gap: 30px; } .stub { transform: none; max-width: 520px; }
  .event-layout > .cart-col, .event-layout > .tickets-col, .event-layout > .about-col { grid-column: auto; grid-row: auto; }
  .ticket.big { grid-template-columns: 1fr; } .ticket.big .qr { order: -1; border-top: 0; border-bottom: 2px dashed var(--line-2); }
  .co-layout aside { order: -1; }
  .feature .cover { min-height: 0; }
}
@media (max-width: 560px) {
  .home-hero { padding-top: 30px; }
  .searchbar .btn { padding: 12px 16px; }
  .band { padding: 24px 22px; }
  .filter-row { grid-template-columns: 1fr; gap: 6px; } .filter-label { padding-top: 0; }
  .filters .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .filters .chips::-webkit-scrollbar { display: none; } .filters .chip { white-space: nowrap; flex: none; }
  .profile { align-items: flex-start; } .profile form { width: 100%; } .profile form .btn { width: 100%; }
  .tt { padding: 14px 14px; gap: 10px; } .tt-resale { flex-wrap: wrap; padding: 12px 14px; }
  .card-head { padding: 14px; flex-wrap: wrap; }
  .auth { padding-top: 26px; } .auth .card { padding: 22px 18px; }
  .ticket.big .info { padding: 20px 18px; }
  .pix-qr { margin: 0 auto; } .pix-grid .grow { min-width: 0; flex-basis: 100%; }
  .order-row { flex-wrap: wrap; } .order-end { justify-items: start; grid-auto-flow: column; align-items: center; }
  .co-actions .btn { flex: 1 1 100%; }
  .acc-head { align-items: center; }
}

/* ---------- AVO: marca, tagline e Clube ---------- */
.tagline-avo { font: 300 clamp(15px, 1.7vw, 19px)/1.5 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--ink); }
.rule-grad { width: 64px; height: 3px; border: 0; background: var(--grad); margin: 18px 0; border-radius: 3px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.club-hero { padding: clamp(48px, 9vw, 110px) 0 clamp(30px, 5vw, 60px); position: relative; overflow: hidden; }
.club-hero::before { content: ''; position: absolute; inset: auto -10% -60% auto; width: 70vw; height: 70vw; max-width: 760px; max-height: 760px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(141, 22, 255, .34), rgba(246, 31, 140, .16) 55%, transparent 72%); }
.club-hero > .wrap { position: relative; }
.club-hero h1 { font-weight: 300; letter-spacing: .22em; font-size: clamp(28px, 5vw, 56px); line-height: 1.25; max-width: 16ch; }
.club-hero p { font-size: 17px; color: var(--ink-2); max-width: 54ch; }
.club-pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.club-pillar { border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px; background: var(--surface); }
.club-pillar h3 { font: 300 26px var(--display); letter-spacing: .04em; margin-bottom: 10px; }
.club-pillar p { color: var(--ink-2); margin: 0; }
.club-worlds { display: flex; flex-wrap: wrap; gap: 10px 26px; font: 500 12px var(--display); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-2); }
footer.site .brands { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
@media (max-width: 700px) {
  .topbar .logo span { display: none; }
  .topbar .wrap { gap: 10px; }
  .topbar nav { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; white-space: nowrap; min-width: 0; }
  .topbar nav::-webkit-scrollbar { display: none; }
}

/* ---------- AVO Clube: área do membro ---------- */
/* Cartão digital do membro (club/_card.ejs). Três visuais: pulso, horizonte, infinito. */
.mcard { position: relative; isolation: isolate; overflow: hidden; container-type: inline-size; width: 100%; max-width: 420px; aspect-ratio: 1.586; border-radius: 18px;
  padding: clamp(16px, 5.4%, 24px); display: flex; flex-direction: column; justify-content: space-between; gap: 10px; color: #f4f1ec;
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.mcard-top, .mcard-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; min-width: 0; }
.mcard-top { align-items: center; }
.mcard-mark { height: 20px; height: clamp(16px, 5.4cqw, 22px); width: auto; display: block; flex: none; }
.mcard-club { font: 500 10px var(--display); letter-spacing: .34em; text-transform: uppercase; opacity: .8; margin-right: -.34em; }
.mcard-tier { font: 300 24px/1.1 var(--display); font-size: clamp(20px, 8cqw, 34px); letter-spacing: .22em; text-transform: uppercase; overflow-wrap: anywhere; }
.mcard-who { display: grid; gap: 3px; min-width: 0; }
.mcard-label { font: 600 9.5px var(--display); letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.mcard-name { font: 500 15px/1.2 var(--body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard-note { font: 400 12.5px/1.2 var(--body); opacity: .8; }
.mcard-code { font-size: 12.5px; letter-spacing: .14em; opacity: .85; flex: none; }
.mcard-pulso { background-color: #09090b; background-image:
  repeating-radial-gradient(circle at 88% 128%, transparent 0 11px, rgba(255, 255, 255, .075) 11px 12px),
  repeating-radial-gradient(circle at -6% -30%, transparent 0 17px, rgba(255, 255, 255, .04) 17px 18px),
  radial-gradient(90% 120% at 100% 100%, rgba(246, 31, 140, .16), transparent 60%); }
.mcard-horizonte { background: radial-gradient(150% 130% at 0% 0%, #a246ff 0%, #6c16dc 36%, #3c0c8a 70%, #1d0749 100%); color: #fff; }
.mcard-horizonte::after { content: ''; position: absolute; z-index: -1; left: -25%; right: -25%; top: 62%; height: 150%; border-radius: 50%;
  border-top: 1px solid rgba(255, 255, 255, .34); background: linear-gradient(rgba(255, 255, 255, .1), transparent 34%); }
.mcard-infinito { color: #17171b; background: linear-gradient(128deg, #fdfbf7 0%, #efe8dc 42%, #f4ecff 76%, #ffe6f1 100%);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .8); }
.mcard-infinito::after { content: ''; position: absolute; z-index: -1; inset: -40% -10% auto auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95), rgba(255, 255, 255, 0) 70%); }

/* Estrutura das páginas do clube */
.cl-page { padding-top: 30px; padding-bottom: 20px; }
.cl-page h1, .club-hero h1 { overflow-wrap: anywhere; }
.cl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.cl-head h1 { font-size: clamp(24px, 4.2vw, 38px); margin: 16px 0 0; }
.cl-head-balance { display: grid; gap: 2px; text-align: right; }
.cl-head-balance b { font: 400 26px/1.1 var(--display); letter-spacing: .04em; }
.cl-head-balance b span { font: 500 13px var(--body); color: var(--muted); letter-spacing: 0; }
.cl-tabs { margin-top: 14px; scrollbar-width: none; } .cl-tabs::-webkit-scrollbar { display: none; }
.cl-grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 24px; }
.cl-grid-even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cl-col { display: grid; gap: 16px; min-width: 0; }
.cl-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.cl-stats-3 { margin-top: 4px; }
.cl-stats .kpi .value { font-size: clamp(22px, 5vw, 28px); overflow-wrap: anywhere; }
.cl-after { margin: 14px 0 0; }
.cl-lead { margin-bottom: 20px; }
.cl-upper, #cl-codigo { text-transform: uppercase; }
.cl-upper::placeholder, #cl-codigo::placeholder { text-transform: none; }
.cl-wrap-badge, .club-badge { white-space: normal; line-height: 1.3; text-align: left; border-radius: 10px; }
.cl-rules { margin: 10px 0 0; padding: 0 0 0 18px; display: grid; gap: 7px; color: var(--ink-2); }
.cl-rules li::marker { color: var(--pink); }
.cl-rules b { color: var(--ink); }

/* Apresentação */
.cl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.cl-hero-rule { margin-top: 34px; }
.cl-hero-cta { margin-top: 26px; }
.cl-hero-note { margin: 16px 0 0; }
.cl-hero-card { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.cl-hero-card .mcard { transform: rotate(-2deg); }
.cl-hero-card p { margin: 0; }
.cl-earn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.cl-earn { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: var(--surface); min-width: 0; }
.cl-earn .eyebrow { margin-bottom: 6px; color: var(--accent-text); }
.cl-earn-value { font: 400 19px/1.25 var(--display); letter-spacing: .03em; margin-bottom: 8px; overflow-wrap: anywhere; }
.cl-earn p { margin: 0; color: var(--ink-2); font-size: 14px; }
.cl-tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.cl-tier { display: grid; gap: 14px; align-content: start; min-width: 0; }
.cl-tier-body h3 { font: 300 24px var(--display); letter-spacing: .08em; text-transform: uppercase; margin: 0; }
.cl-band p b { color: #fff; }
.cl-join-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 34px; align-items: start; }
.cl-join-box h1 { font-size: clamp(26px, 4.4vw, 40px); }
.cl-join-card { margin: 22px 0 6px; }
.cl-join-points { margin-top: 16px; }
.cl-join .check { margin: 14px 0 16px; }
.cl-join-foot { margin: 12px 0 0; }
.cl-terms { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--field); padding: 14px 16px; }
.cl-terms-title { font: 700 11.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.cl-terms-text { font-size: 14px; color: var(--ink-2); max-height: 180px; overflow-y: auto; margin-bottom: 8px; overflow-wrap: anywhere; }
.cl-rules-page { max-width: 820px; }
.cl-prose h2 { margin: 34px 0 10px; color: var(--ink); }
.cl-prose .cl-rules { font-size: 15.5px; }

/* Meu cartão */
.cl-qr-box { display: flex; gap: 18px; align-items: center; }
.cl-qr-box img { width: 128px; height: 128px; flex: none; background: #fff; border-radius: var(--r-sm); padding: 6px; }
.cl-qr-box > div { min-width: 0; } .cl-qr-box p { margin-bottom: 8px; }
.cl-code { font-size: 17px; font-weight: 700; letter-spacing: .16em; margin-bottom: 10px; overflow-wrap: anywhere; }
.cl-progress-text { margin: 6px 0 12px; }
.cl-progress-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.cl-progress-basis { margin: 12px 0 0; }
.cl-expiring .link { color: inherit; white-space: nowrap; }
.cl-shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cl-shortcut { display: grid; gap: 2px; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 14px 16px; min-width: 0; transition: border-color .15s; }
.cl-shortcut:hover { border-color: var(--pink); }
.cl-shortcut span { font-size: 13px; color: var(--muted); }
.cl-line { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; }
.cl-line .grow { overflow-wrap: anywhere; }
.cl-line-exp { margin-top: 2px; color: var(--ink-2); }
.cl-pts { font: 500 17px var(--display); white-space: nowrap; flex: none; }
.cl-pts.plus { color: var(--ok); } .cl-pts.minus { color: var(--ink-2); }
.cl-filter { margin: 0 0 18px; }
.cl-filter .chip { padding: 8px 14px; }

/* Prêmios e vouchers */
.cl-rewards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.cl-reward { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.cl-reward-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #000; }
.cl-reward-ph { display: grid; place-items: center; padding: 16px; text-align: center; color: #fff; font: 400 15px/1.3 var(--display); letter-spacing: .16em; text-transform: uppercase; overflow-wrap: anywhere;
  background: radial-gradient(120% 130% at 0% 100%, rgba(255, 122, 8, .95) 0%, rgba(246, 31, 140, .75) 38%, rgba(141, 22, 255, .55) 66%, #0b0b0d 100%); }
.cl-reward-ph span { min-width: 0; max-width: 100%; }
.cl-reward-body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; flex: 1; min-width: 0; }
.cl-reward-body h3, .cl-reward-body p { margin: 0; overflow-wrap: anywhere; }
.cl-reward-body form { width: 100%; margin-top: auto; padding-top: 6px; }
.cl-reward-cost { font-size: 14px; color: var(--ink-2); } .cl-reward-cost b { font: 500 22px var(--display); color: var(--ink); }
.cl-reward-notes { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.cl-blocked { width: 100%; margin-top: auto; text-align: center; border: 1px dashed var(--line-2); border-radius: 999px; padding: 10px 14px; font-weight: 650; font-size: 13.5px; color: var(--muted); }
.cl-reward.is-blocked .cl-reward-img { opacity: .55; }
.cl-voucher { display: grid; grid-template-columns: minmax(0, 1fr) auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cl-voucher-info { padding: 18px 20px; display: grid; gap: 8px; align-content: start; justify-items: start; min-width: 0; }
.cl-voucher-info h3, .cl-voucher-info h2 { margin: 2px 0 0; overflow-wrap: anywhere; } .cl-voucher-info h3 a { text-decoration: none; } .cl-voucher-info h3 a:hover { text-decoration: underline; }
.cl-voucher-code { font-size: 20px; font-weight: 700; letter-spacing: .18em; overflow-wrap: anywhere; }
.cl-voucher-qr { display: grid; place-items: center; background: #fff; padding: 12px; border-left: 2px dashed var(--line-2); }
.cl-voucher-qr img { width: 132px; height: 132px; }
.cl-voucher.is-off .cl-voucher-code { color: var(--muted); text-decoration: line-through; }
.cl-voucher.big { grid-template-columns: minmax(0, 1fr) 340px; box-shadow: var(--shadow); }
.cl-voucher.big .cl-voucher-info { padding: 26px 28px; }
.cl-voucher.big .tk-facts { width: 100%; margin-top: 8px; }
.cl-voucher-side { display: grid; gap: 12px; justify-items: center; align-content: center; padding: 24px; border-left: 2px dashed var(--line-2); min-width: 0; }
.cl-voucher-side .cl-voucher-qr { border: 0; border-radius: var(--r-sm); padding: 10px; }
.cl-voucher-side .cl-voucher-qr img { width: 100%; max-width: 260px; height: auto; }
.cl-voucher-side .cl-voucher-code { font-size: 24px; text-align: center; }

/* Indicação */
.cl-link-input { font-size: 13.5px; }
.cl-share { margin-top: 12px; }
.cl-howto { margin: 8px 0 14px; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.cl-howto b { color: var(--ink); }

/* Pesquisa de satisfação */
.cl-survey { padding-bottom: 30px; }
.cl-survey h1 { font-size: clamp(24px, 5vw, 36px); }
.cl-score-set { border: 0; padding: 0; margin: 0 0 20px; background: none; }
.cl-score-set legend { font: 650 15px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink); padding: 0; margin-bottom: 14px; }
.cl-scores { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.cl-score { position: relative; margin: 0; cursor: pointer; }
.cl-score input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.cl-score span { display: grid; place-items: center; min-height: 52px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--field); font: 500 18px var(--display); transition: border-color .12s, background .12s; }
.cl-score:hover span { border-color: var(--ink); }
.cl-score input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.cl-score input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.cl-score-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.cl-earned-box { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 18px 20px; margin: 18px 0 0; }
.cl-earned-box b { font: 400 30px/1.1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cl-earned-box span { color: var(--ink-2); }

/* AVO Clube dentro do AVO Tickets: checkout, confirmação e página do evento */
.cl-cashback { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; margin: 18px 0; background: var(--field); position: relative; overflow: hidden; }
.cl-cashback::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 3px; background: linear-gradient(180deg, #ff7a08, #f61f8c 52%, #8d16ff); }
.cl-cashback-title { font: 500 11px var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.cl-cashback p { margin: 0 0 10px; }
.cl-cashback p:last-child { margin-bottom: 0; }
.cl-cashback .coupon-row input { text-transform: none; }
.cl-cashback .hint { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.cl-invite-line { font-size: 14px; color: var(--ink-2); margin: 18px 0; padding: 12px 16px; border: 1px dashed var(--line-2); border-radius: var(--r-sm); }
.cl-earn-line { margin: 12px 2px 0; font-size: 14px; color: var(--ink-2); }
.cl-earn-line b { color: var(--ink); }
.cl-order-club { margin: 16px 0 0; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--field); font-size: 14.5px; }
.cl-order-club b { color: var(--ink); }
.tt-lock { display: grid; gap: 6px; justify-items: end; flex: none; text-align: right; }
.tt-lock .qty { opacity: .45; }
.tt-lock .qty button, .tt-lock .qty input { cursor: not-allowed; }
.tt-lock .link { font-size: 12.5px; }

@media (max-width: 900px) {
  .cl-hero-grid, .cl-grid, .cl-grid-even, .cl-join-box { grid-template-columns: minmax(0, 1fr); }
  .cl-hero-grid { gap: 28px; } .cl-hero-card .mcard { transform: none; }
  .cl-voucher.big { grid-template-columns: minmax(0, 1fr); }
  .cl-voucher.big .cl-voucher-side { order: -1; border-left: 0; border-bottom: 2px dashed var(--line-2); }
}
@media (max-width: 560px) {
  .cl-head { align-items: flex-start; } .cl-head-balance { text-align: left; }
  .cl-head-balance b { font-size: 22px; }
  .cl-hero-cta .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
  .cl-qr-box { flex-direction: column; align-items: flex-start; }
  .cl-voucher { grid-template-columns: minmax(0, 1fr); }
  .cl-voucher-qr { order: -1; border-left: 0; border-bottom: 2px dashed var(--line-2); }
  .cl-voucher.big .cl-voucher-info { padding: 20px 18px; }
  .cl-scores { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .cl-share .btn { flex: 1 1 100%; }
  .cl-shortcut { padding: 12px 13px; }
  .cl-cashback .coupon-row { flex-wrap: wrap; } .cl-cashback .coupon-row .btn { flex: 1 1 100%; }
  .cl-join-box .card { padding: 18px 16px; }
}
@media (prefers-reduced-motion: reduce) { .cl-shortcut, .cl-score span { transition: none; } }

/* ---------- Aplicativo AVO ---------- */
.app-tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
  background: rgba(8, 8, 9, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.app-tabbar a, .app-tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 60px; min-width: 0;
  color: var(--muted); text-decoration: none; font: 600 11px/1 var(--body); letter-spacing: .02em; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.app-tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.app-tabbar .on { color: var(--ink); }
.app-tabbar .on::before { content: ''; position: absolute; top: -1px; left: 28%; right: 28%; height: 2px; border-radius: 2px; background: var(--grad); }
.app-bars { position: fixed; left: 0; right: 0; bottom: 0; z-index: 58; display: grid; gap: 8px; padding: 0 12px calc(12px + env(safe-area-inset-bottom)); pointer-events: none; }
.app-bar { pointer-events: auto; display: flex; gap: 12px; align-items: center; width: 100%; max-width: 560px; margin: 0 auto; padding: 11px 14px; font-size: 13.5px; line-height: 1.35;
  background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .9); }
.app-bar > span, .app-bar > .grow { flex: 1; min-width: 0; }
.app-bar .grow { display: grid; gap: 2px; } .app-bar .grow span { color: var(--ink-2); }
.app-bar .btn { flex: none; }
.app-bar.offline { background: #2a2110; border-color: rgba(255, 182, 72, .45); color: var(--warn); }
.app-bar.update { border-color: rgba(246, 31, 140, .5); }
.app-x { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.app-x:hover { background: var(--line); color: var(--ink); }
.app-push .row, .app-install .btn { margin-top: 4px; } .app-push p, .app-install p { margin-bottom: 10px; } .app-install p:last-child, .app-push p:last-child { margin-bottom: 0; }
[data-install-ios][hidden], [data-install-btn][hidden], [data-push-enable][hidden], [data-push-test][hidden], [data-push-disable][hidden] { display: none !important; }
@media print { .app-tabbar, .app-bars { display: none !important; } }
/* Barra de abas: no app instalado (qualquer largura) e, em telas pequenas, para quem entrou por /app. */
html.avo-standalone .app-tabbar { display: grid; }
html.avo-standalone footer.site { display: none; }
html.avo-standalone body { padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
html.avo-standalone .app-bars { bottom: calc(61px + env(safe-area-inset-bottom)); padding-bottom: 12px; }
html.avo-standalone .topbar { padding-top: env(safe-area-inset-top); }
@media (max-width: 900px) {
  html.avo-app .app-tabbar { display: grid; }
  html.avo-app footer.site { display: none; }
  html.avo-app body { padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
  html.avo-app .app-bars { bottom: calc(61px + env(safe-area-inset-bottom)); padding-bottom: 12px; }
  html.avo-app .topbar nav a:not(.btn) { display: none; } /* as abas de baixo já levam a esses lugares */
}
.app-home { padding-top: 22px; }
.app-hello h1, .app-welcome h1 { margin: 0 0 14px; overflow-wrap: anywhere; }
.app-hello .eyebrow, .app-welcome .eyebrow { margin-bottom: 6px; }
.app-welcome { padding: 18px 0 8px; max-width: 620px; }
.app-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 6px; }
.app-next { display: grid; gap: 3px; text-decoration: none; padding: 20px 20px 16px; border-radius: 18px; border: 1.5px solid transparent; min-width: 0;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.app-next-label { font: 700 11.5px/1.3 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.app-next-name { font: 400 clamp(21px, 6vw, 28px)/1.15 var(--display); letter-spacing: .1em; text-transform: uppercase; margin: 6px 0 4px; overflow-wrap: anywhere; }
.app-next-when { font-weight: 650; } .app-next-where { color: var(--muted); font-size: 14px; min-height: 1px; }
.app-next-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--line-2); }
.app-next-foot > span:first-child { min-width: 0; overflow-wrap: anywhere; } .app-next-foot .small { color: var(--muted); }
.app-next-foot .btn { flex: none; }
.app-empty { text-align: left; }
.app-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.app-tile { display: grid; gap: 2px; align-content: start; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; min-width: 0; }
.app-tile:hover { border-color: var(--line-2); }
.app-tile .label { font: 700 11.5px/1.3 var(--body); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.app-tile .value { font: 500 26px/1.2 var(--display); } .app-tile .value small { font: 500 13px var(--body); color: var(--muted); }
.app-tile .sub { font-size: 13px; color: var(--muted); } .app-tile .sub.ink { color: var(--ink-2); margin-top: 4px; } .app-tile .sub b { color: var(--ink); white-space: nowrap; }
.app-tile.club { border-color: rgba(246, 31, 140, .35); }
.app-tiles > :only-child { grid-column: 1 / -1; }
.app-settings { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; padding-bottom: 30px; }
.app-offline-ok { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ok); white-space: nowrap; }
.app-offline-ok::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.ticket .qr .app-offline-ok { justify-content: center; margin-top: 6px; color: #0c7a4c; } .ticket .qr .app-offline-ok::before { background: #0c7a4c; }
.app-offline-page main { text-align: center; padding-top: 16vh; padding-bottom: 40px; }
.app-offline-page .app-cta { justify-content: center; margin-bottom: 22px; } .app-offline-mark svg { margin: 0 auto 18px; }
@media (max-width: 420px) { .app-tile .value { font-size: 22px; } .app-next { padding: 18px 16px 14px; } }

/* ---------- AVO Clube: sorteios ---------- */
.clr-raffles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.clr-raffle-media { display: block; text-decoration: none; }
.clr-raffle h3 a { color: inherit; text-decoration: none; } .clr-raffle h3 a:hover { text-decoration: underline; }
.clr-raffle.is-won { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; }
.clr-raffle.is-over .cl-reward-img { opacity: .5; }
.clr-badges { gap: 6px; }
.clr-prize { margin: 0; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; } .clr-prize .small { font-weight: 500; display: block; }
.clr-prize.big { font: 400 20px/1.3 var(--display); letter-spacing: .02em; margin: 4px 0 14px; } .clr-prize.big .small { font: 500 12.5px var(--body); letter-spacing: 0; }
.clr-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; color: var(--ink-2); width: 100%; } .clr-facts li { overflow-wrap: anywhere; } .clr-facts b { color: var(--ink); }
.clr-mine { display: grid; gap: 6px; width: 100%; }
.clr-numbers { display: flex; flex-wrap: wrap; gap: 6px; }
.clr-num { display: inline-grid; place-items: center; min-width: 38px; height: 30px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface-2); font: 650 13.5px var(--body); font-variant-numeric: tabular-nums; color: var(--ink); }
.clr-num.won, .clr-num.drawn { border-color: transparent; background: var(--grad); color: #fff; }
.clr-join { width: 100%; margin-top: auto; padding-top: 6px; display: grid; gap: 10px; }
.clr-join form { margin: 0; padding: 0; display: grid; gap: 8px; }
.clr-qty { display: grid; gap: 4px; } .clr-qty select { padding: 9px 11px; font-size: 14.5px; }
.clr-tip { margin: 0; text-align: center; }
.clr-won { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-sm); background: var(--accent-soft); border: 1px solid rgba(246, 31, 140, .4); }
.clr-won b { font: 500 16px var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; } .clr-won span { font-size: 13.5px; color: var(--ink-2); }
.clr-detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.clr-detail > * { min-width: 0; }
.clr-detail-main { display: grid; gap: 14px; } .clr-detail-main h2 { margin: 0; overflow-wrap: anywhere; } .clr-detail-main .card h3 { margin-top: 0; }
.clr-detail-img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); background: #000; }
.clr-detail-side { position: sticky; top: 82px; } .clr-detail-side h3 { margin-top: 0; }
.clr-side-facts { margin-bottom: 14px; }
.clr-text { font-size: 15px; }
.clr-winner-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.clr-winner-list li { display: flex; align-items: center; gap: 12px; } .clr-winner-list li > span:last-child { display: grid; min-width: 0; overflow-wrap: anywhere; }
.clr-teaser { display: flex; justify-content: space-between; align-items: center; gap: 18px 28px; flex-wrap: wrap; padding: 24px 26px; border-radius: var(--r); border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; }
.clr-teaser-text { min-width: 0; flex: 1 1 320px; } .clr-teaser h2 { margin: 10px 0 8px; font-size: clamp(20px, 3.4vw, 28px); overflow-wrap: anywhere; }
.clr-teaser-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; } .clr-teaser-list li { display: grid; overflow-wrap: anywhere; }
.clr-consent { border-top: 1px solid var(--line); padding-top: 14px; margin: 4px 0 14px; } .clr-consent p { margin: 0; }
.clr-consent-title { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
@media (max-width: 900px) {
  .clr-detail { grid-template-columns: minmax(0, 1fr); } .clr-detail-side { position: static; order: -1; }
}
@media (max-width: 560px) {
  .clr-teaser { padding: 18px 16px; } .clr-teaser .btn { flex: 1 1 100%; white-space: normal; text-align: center; }
}

/* ---------- Pesquisa de satisfação ---------- */
/* Formulário da pesquisa (views/site/_survey-form.ejs). O mesmo bloco existe em site.css e backstage.css,
   porque o formulário aparece na página pública, no Admin Console e na consulta do produtor. */
.srv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.srv-form { display: grid; gap: 14px; min-width: 0; }
.srv-form .srv-q { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 18px 18px 20px; margin: 0; min-width: 0; }
.srv-form .srv-q legend { float: left; width: 100%; display: flex; gap: 10px; align-items: flex-start; padding: 0; margin: 0 0 14px; font: 650 16px/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--ink); }
.srv-form .srv-q legend + * { clear: both; }
.srv-q-n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink-2); display: grid; place-items: center; font: 700 12px/1 var(--body); margin-top: 1px; }
.srv-q-t { min-width: 0; overflow-wrap: anywhere; }
.srv-req { color: var(--pink); font-weight: 700; }
.srv-opt { font-size: 12px; font-weight: 500; color: var(--muted); white-space: nowrap; }
.srv-q-hint { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.srv-scale { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 6px; }
.srv-scale-i { position: relative; margin: 0; cursor: pointer; }
.srv-scale-i input, .srv-star input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.srv-scale-i span { display: grid; place-items: center; min-height: 52px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--field); font: 500 18px var(--display); font-variant-numeric: tabular-nums; }
.srv-scale-i:hover span { border-color: var(--ink); }
.srv-scale-i input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.srv-scale-i input:focus-visible + span, .srv-star input:focus-visible + .srv-star-i { outline: 3px solid var(--accent); outline-offset: 2px; }
.srv-scale-ends { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.srv-stars { display: flex; gap: 4px; }
.srv-star { position: relative; margin: 0; cursor: pointer; width: 52px; height: 52px; display: grid; place-items: center; }
.srv-star-i { font-size: 38px; line-height: 1; color: var(--line-2); border-radius: 8px; transition: color .1s, transform .1s; }
.srv-star:hover .srv-star-i { color: var(--muted); }
.srv-star input:checked + .srv-star-i { color: var(--orange); transform: scale(1.08); }
.srv-star:has(~ .srv-star input:checked) .srv-star-i { color: var(--orange); }
.srv-opts { display: grid; gap: 8px; }
.srv-optn { display: flex; gap: 12px; align-items: center; margin: 0; min-height: 50px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm); background: var(--field); font-weight: 500; font-size: 15px; cursor: pointer; }
.srv-optn input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--pink); }
.srv-optn span { min-width: 0; overflow-wrap: anywhere; }
.srv-optn:hover { border-color: var(--ink); }
.srv-optn:has(input:checked) { border-color: var(--pink); background: var(--accent-soft); }
.srv-form textarea { min-height: 120px; }
.srv-preview-note { margin: 0; text-align: center; font-size: 13px; color: var(--muted); }
.srv-kicker { margin: 0 0 8px; font: 600 11.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
@media (max-width: 560px) {
  .srv-form .srv-q { padding: 16px 14px 18px; }
  .srv-scale { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
  .srv-stars { justify-content: space-between; max-width: 320px; }
}
@media (prefers-reduced-motion: reduce) { .srv-star-i { transition: none; } }
/* Página pública /pesquisa/:token */
.srv-page { padding-top: 28px; padding-bottom: 40px; }
.srv-page h1 { font-size: clamp(22px, 5.4vw, 34px); overflow-wrap: anywhere; }
.srv-head { margin-bottom: 18px; }
.srv-lead { font-size: 17px; color: var(--ink-2); margin: 0 0 10px; }
.srv-reward { display: inline-block; margin: 4px 0 0; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--ink-2); }
.srv-reward b { color: var(--ink); }
.srv-error { margin: 0 0 14px; }
.srv-foot-note { margin: 14px 0 0; text-align: center; }
.srv-done { padding-top: 28px; }
.srv-done-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.srv-earned { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 18px 20px; margin: 18px 0 0; }
.srv-earned b { font: 400 30px/1.1 var(--display); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.srv-earned span { color: var(--ink-2); }
.srv-cta { margin-top: 22px; }
@media (max-width: 560px) { .srv-cta .btn { flex: 1 1 100%; } }

/* ---------- Página do artista: capa, selo e links ---------- */
.art-verified { color: var(--info); }
.art-tags { gap: 8px; margin: 2px 0 8px; }
.art-links { display: grid; gap: 12px; margin: 6px 0 8px; }
.art-links-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.art-links-label { font: 500 11px var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); min-width: 96px; }

/* ---------- Para você (aba da conta, bloco do app e filtro de cidade) ---------- */
.fy-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 7px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font: 700 11px/1 var(--body); vertical-align: 1px; }
.fy-count[hidden] { display: none; }
.fy-notices { list-style: none; margin: 0; padding: 0; }
.fy-notice { display: flex; gap: 14px; align-items: center; }
.fy-notice.is-new { background: var(--accent-soft); }
.fy-notice-img { flex: none; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.fy-notice-img.cover-ph { display: block; padding: 0; }
.fy-notice .grow { min-width: 0; }
.fy-notice-title { display: block; font-weight: 650; text-decoration: none; overflow-wrap: anywhere; }
a.fy-notice-title:hover { text-decoration: underline; }
.fy-notice-side { flex: none; display: grid; gap: 6px; justify-items: end; text-align: right; }
.fy-quiet p { margin: 0; }
.fy-push { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-top: 12px; }
.fy-push p { margin: 0; flex: 1 1 240px; }
.fy-push button.link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 13px; }
.fy-push [hidden] { display: none; }
.fy-city { margin: -6px 0 14px; color: var(--muted); }
.fy-lead { margin: -4px 0 18px; max-width: 78ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.45; }
.fy-lead.fy-ai-on { min-height: 2.9em; }
.fy-ai-tag { display: inline-block; font: 600 10.5px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 8px; white-space: nowrap; vertical-align: 2px; }
.fy-card { position: relative; display: flex; flex-direction: column; }
.fy-card .body { flex: 1; display: flex; flex-direction: column; }
.fy-card h3 { overflow-wrap: anywhere; }
.fy-ai-tag.on-cover { position: absolute; top: 10px; left: 10px; background: rgba(8, 8, 9, .78); color: #e8e3dc; border-color: rgba(255, 255, 255, .22); }
.fy-line { margin: 10px 0 0; font-size: 14px; line-height: 1.4; color: var(--ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.fy-line:empty { display: none; }
/* Com a IA ligada, a frase tem altura reservada: a lista não se mexe quando a sugestão chega. */
.fy-ai-on .fy-line, .fy-ai-on .fy-line:empty { display: -webkit-box; min-height: 4.2em; }
.fy-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: auto 0 0; padding: 12px 0 0; }
.fy-chips li { font-size: 12.5px; line-height: 1.3; color: var(--ink-2); background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; padding: 4px 8px; overflow-wrap: anywhere; }
.fy-city-form { display: flex; gap: 8px; align-items: center; margin-top: 10px; max-width: 420px; }
.fy-city-form .pl-wrap { flex: 1; min-width: 0; } .fy-city-form input { padding: 8px 12px; font-size: 14px; }
.fy-city-form .btn { flex: none; }
.fy-city-col { min-width: 0; }
.fy-app-list a { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.fy-app-list .grow { min-width: 0; display: grid; gap: 2px; }
.fy-app-list b { overflow-wrap: anywhere; } .fy-app-list .small { color: var(--muted); }
.fy-app-list img, .fy-app-list .cover-ph { flex: none; width: 48px; height: 48px; border-radius: 9px; object-fit: cover; padding: 0; }
.fy-map { display: inline-block; margin-top: 4px; font-size: 14px; }
@media (max-width: 560px) {
  .fy-notice { align-items: flex-start; flex-wrap: wrap; }
  .fy-notice-img { width: 44px; height: 44px; }
  .fy-notice .grow { flex: 1 1 0; }
  .fy-notice-side { flex: 1 1 100%; display: flex; justify-content: space-between; align-items: center; padding-left: 58px; }
  .fy-lead.fy-ai-on { min-height: 4.35em; }
}

/* Checkout: escolha da forma de pagamento (Pix, cartão, boleto) */
.pm { border: 0; padding: 0; margin: 0 0 16px; }
.pm legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.pm-options { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.pm-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--field); cursor: pointer; }
.pm-opt:has(input:checked) { border-color: var(--pink); box-shadow: 0 0 0 1px var(--pink); }
.pm-opt:focus-within { outline: 2px solid var(--pink); outline-offset: 2px; }
.pm-opt input { margin-top: 3px; accent-color: var(--pink); }
.pm-opt span { display: grid; gap: 2px; }
.pm-panel { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 16px; }
.pm-panel[hidden] { display: none; }
.pm-panel p { margin: 0; }

/* ===== Merchandising: vitrine da loja do produtor (partials/merch.ejs) ===== */
.mc-head { align-items: center; flex-wrap: wrap; }
.mc-head h2 { margin: 0; }
.mc-all { font-size: 13.5px; font-weight: 600; color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.mc-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.mc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mc-grid > li { min-width: 0; display: flex; }
.mc-card { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .12s, transform .12s; }
.mc-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mc-card:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.mc-pic { position: relative; display: block; aspect-ratio: 1 / 1; background: var(--surface-2); overflow: hidden; }
.mc-pic img { width: 100%; height: 100%; object-fit: cover; }
.mc-ph { position: absolute; inset: 0; display: grid; place-items: center; font: 300 44px/1 var(--display); color: rgba(255, 255, 255, .85);
  background: radial-gradient(120% 120% at 0% 100%, rgba(255, 122, 8, .55) 0%, rgba(246, 31, 140, .4) 42%, rgba(141, 22, 255, .32) 72%, var(--surface-2) 100%); }
.mc-out { position: absolute; left: 10px; top: 10px; font: 700 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(8, 8, 9, .86); color: var(--ink); border: 1px solid var(--line-2); }
.mc-card.is-out .mc-pic img, .mc-card.is-out .mc-ph { opacity: .5; }
.mc-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.mc-name { font-weight: 600; font-size: 14.5px; line-height: 1.3; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mc-price { margin-top: auto; padding-top: 4px; font-weight: 700; color: var(--ink); }
.mc-noprice { font-weight: 500; font-size: 13px; color: var(--muted); }
.mc-card.is-out .mc-price { color: var(--muted); }
.mc-note { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.event-layout + .mc { border-top: 1px solid var(--line); padding-top: 34px; padding-bottom: 56px; margin-top: -24px; }
@media (max-width: 900px) { .mc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .mc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mc-body { padding: 10px 12px 12px; } .mc-name { font-size: 14px; } .mc-ph { font-size: 36px; }
}
@media (prefers-reduced-motion: reduce) { .mc-card { transition: none; } .mc-card:hover { transform: none; } }

/* Login social (Google, Apple, WhatsApp) */
.social { display: grid; gap: 10px; margin-top: 18px; }
.social-or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.social-or::before, .social-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; }
.social-ic { display: inline-grid; place-items: center; width: 22px; height: 22px; font-weight: 700; font-size: 15px; line-height: 1; }
.social-code { font-size: 22px; letter-spacing: .3em; text-align: center; }

/* Botões de marca (seguem as diretrizes do Google e da Apple: logotipo intacto, cores e texto padronizados) */
.social-google, .social-apple { min-height: 46px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-size: 15px; line-height: 20px; transition: background-color .15s, box-shadow .15s; }
.social-logo { flex: none; display: block; }
.social-google { background: #fff; color: #1f1f1f; border: 1px solid #747775; font-family: Roboto, "Helvetica Neue", Arial, sans-serif; font-weight: 500; }
.social-google:hover { background: #f2f2f2; }
.social-apple { background: #fff; color: #000; border: 1px solid #fff; font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; font-weight: 600; }
.social-apple:hover { background: #ededed; }
.social-apple .social-logo { margin-top: -2px; }
.social-google:focus-visible, .social-apple:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }
.pm-extra { color: var(--orange); }

/* Checkout: comprador de fora do Brasil, sem CPF */
.pm-foreign { margin: 4px 0 12px; }
.pm-opt.off { opacity: .45; cursor: not-allowed; }
.acc-foreign { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; margin: 6px 0 16px; } .acc-foreign legend { font-weight: 600; padding: 0 6px; }
