/* =====================================================================
   RolêPass — visual azul + rosa (mesma linguagem do BoxCards)
   ===================================================================== */
:root {
    --blue: #2f6bff;
    --blue-dark: #1238a8;
    --blue-soft: #e9f0ff;
    --pink: #ff3e9a;
    --pink-dark: #d61f78;
    --pink-soft: #ffeaf4;
    --violet: #8a4dff;
    --ink: #0d1330;
    --muted: #5f6a8a;
    --line: #e6e9f5;
    --soft: #f6f7ff;
    --white: #ffffff;
    --ok: #12b76a;
    --bad: #f04438;
    --grad: linear-gradient(135deg, var(--blue) 0%, var(--violet) 52%, var(--pink) 100%);
    --grad-soft: linear-gradient(135deg, #eef3ff, #fdeef7);
    --shadow: 0 24px 70px rgba(30, 40, 110, .13);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink); background: #fff; line-height: 1.55; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid rgba(230,233,245,.85); }
.nav-wrap { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 23px; letter-spacing: -.04em; }
.brand-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 8px 16px rgba(138,77,255,.3)); }
.brand b { font-weight: 900; }
.brand small { display:block; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 800; margin-top: -4px; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 650; color: #3c4566; }
.main-nav a:not(.btn) { transition: .2s ease; position: relative; }
.main-nav a:not(.btn):hover, .main-nav a.active { color: var(--blue); }
.main-nav form { margin: 0; }
.nav-user { display:flex; align-items:center; gap:8px; padding: 6px 12px 6px 6px; border-radius: 30px; background: var(--soft); border: 1px solid var(--line); }
.avatar { width: 30px; height: 30px; border-radius: 50%; display:grid; place-items:center; color:#fff; font-weight:900; font-size: 13px; background: var(--grad); }
.link-btn { border:0; background:none; font: inherit; color: var(--muted); cursor:pointer; padding:0; font-size: 13px; }
.link-btn:hover { color: var(--pink-dark); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; cursor: pointer; }
.menu-toggle span { display:block; width: 25px; height: 2px; margin: 5px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------------------------------------------------------------- botões */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; border-radius:14px; padding:14px 22px; font-weight:800; font-size:15px; border:0; cursor:pointer; transition:.2s ease; font-family: inherit; line-height: 1.2; white-space: nowrap; }
.btn-primary { color:#fff; background: var(--grad); background-size: 140% 140%; box-shadow:0 14px 28px rgba(138,77,255,.28); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 18px 34px rgba(255,62,154,.32); background-position: 100% 0; }
.btn-blue { color:#fff; background: linear-gradient(135deg,var(--blue),#4f8bff); box-shadow:0 14px 28px rgba(47,107,255,.25); }
.btn-pink { color:#fff; background: linear-gradient(135deg,var(--pink),#ff6fb5); box-shadow:0 14px 28px rgba(255,62,154,.25); }
.btn-secondary { background:#fff; border:1px solid var(--line); color:var(--ink); }
.btn-secondary:hover { border-color:#c3c9e6; }
.btn-dark { background: var(--ink); color:#fff; box-shadow: 0 8px 24px rgba(13,19,48,.18); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.btn-wa { background:#25d366; color:#fff; box-shadow:0 12px 26px rgba(37,211,102,.25); }
.btn-sm { padding: 9px 13px; font-size: 13px; border-radius: 11px; }
.btn-xs { padding: 6px 10px; font-size: 11px; border-radius: 9px; }
.btn-full { width:100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform:none; }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden;
    background:
      radial-gradient(circle at 86% 14%, rgba(47,107,255,.16), transparent 30%),
      radial-gradient(circle at 70% 70%, rgba(255,62,154,.15), transparent 28%),
      radial-gradient(circle at 8% 90%, rgba(138,77,255,.08), transparent 30%),
      linear-gradient(180deg,#fff 0%,#f8f8ff 100%); }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 30px; position: relative; z-index: 2; }
.hero-copy { padding: 60px 0; }
.eyebrow { display:inline-flex; align-items:center; gap:9px; color:var(--blue); font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.14em; background:#fff; border:1px solid var(--line); padding: 8px 14px; border-radius: 30px; box-shadow: 0 8px 20px rgba(30,40,110,.06); }
.pulse-dot { width:8px; height:8px; border-radius:50%; background:var(--pink); box-shadow:0 0 0 0 rgba(255,62,154,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow:0 0 0 0 rgba(255,62,154,.45); } 70% { box-shadow:0 0 0 10px rgba(255,62,154,0); } 100% { box-shadow:0 0 0 0 rgba(255,62,154,0); } }
.hero h1 { font-size: clamp(46px, 6.2vw, 84px); line-height:.98; letter-spacing:-.058em; margin:22px 0 24px; max-width:760px; font-weight: 900; }
.hero h1 span { display:block; color:var(--blue); }
.hero h1 strong { display:block; font-weight:900; }
.hero-lead { max-width:600px; color:var(--muted); font-size:18px; margin: 0; }
.hero-actions { display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }
.hero-search { margin-top: 30px; display:flex; gap: 8px; background:#fff; border:1px solid var(--line); padding: 8px; border-radius: 18px; box-shadow: var(--shadow); max-width: 560px; }
.hero-search input { flex:1; min-width: 0; border:0; outline:0; font: inherit; font-size: 15px; padding: 0 12px; background: transparent; }
.hero-proof { display:flex; gap:22px; margin-top:40px; flex-wrap:wrap; }
.hero-proof div { display:flex; align-items:center; gap:9px; color:#6a7391; font-size:13px; font-weight: 600; }
.hero-proof b { color:var(--pink-dark); font-size:11px; font-weight: 900; }

.hero-visual { min-height:600px; position:relative; display:flex; align-items:center; justify-content:center; }
.visual-orbit { position:absolute; border:1px dashed rgba(47,107,255,.3); border-radius:50%; }
.orbit-a { width:570px; height:570px; transform:rotate(18deg); }
.orbit-b { width:440px; height:440px; border-color:rgba(255,62,154,.32); transform:rotate(-24deg); }

/* Cartão-ingresso do hero */
.hero-ticket { width: min(400px, 92%); position: relative; z-index: 3; transform: rotate(-4deg); transition: .4s ease; }
.hero-ticket:hover { transform: rotate(0) translateY(-6px); }
.hero-ticket-top { border-radius: 30px 30px 0 0; overflow: hidden; background: var(--grad); color: #fff; padding: 26px 26px 30px; position: relative; min-height: 250px; display:flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.hero-ticket-top.has-img { background-size: cover; background-position: center; }
.hero-ticket-top.has-img::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(13,19,48,.05), rgba(13,19,48,.78)); }
.hero-ticket-top > * { position: relative; }
.hero-ticket-top .chip { align-self: flex-start; margin-bottom: auto; }
.hero-ticket-top h3 { margin: 18px 0 6px; font-size: 28px; line-height: 1.05; letter-spacing: -.03em; }
.hero-ticket-top p { margin: 0; font-size: 13px; opacity: .9; }
.hero-ticket-bottom { background:#fff; border-radius: 0 0 30px 30px; padding: 22px 26px; display:flex; align-items:center; justify-content: space-between; gap: 16px; box-shadow: var(--shadow); position: relative; border-top: 2px dashed var(--line); }
.hero-ticket-bottom::before, .hero-ticket-bottom::after { content:""; position:absolute; top:-14px; width:26px; height:26px; border-radius:50%; background:#f8f8ff; }
.hero-ticket-bottom::before { left:-13px; } .hero-ticket-bottom::after { right:-13px; }
.hero-ticket-bottom small { display:block; color: var(--muted); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hero-ticket-bottom strong { font-size: 26px; letter-spacing: -.03em; }
.mini-qr { width: 64px; height: 64px; border-radius: 12px; padding: 6px; background: var(--soft); border:1px solid var(--line); }

.floating-tag { position:absolute; z-index:5; display:flex; gap:10px; align-items:center; padding:12px 15px; border-radius:16px; background:#fff; box-shadow:0 15px 38px rgba(30,40,110,.15); border:1px solid #edf0f8; min-width:190px; animation: flutuar 6s ease-in-out infinite; }
.floating-tag small { display:block; color:#8790ab; font-size:10px; margin-top:2px; }
.floating-tag b { font-size:12px; }
.tag-a { right:-6px; top:14%; }
.tag-b { left:-14px; top:50%; animation-delay: -2s; }
.tag-c { right:10px; bottom:9%; animation-delay: -4s; }
@keyframes flutuar { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.icon { width:34px; height:34px; border-radius:11px; display:grid; place-items:center; font-weight:900; color:#fff; flex: none; }
.icon svg { width: 18px; height: 18px; }
.i-blue { background: var(--blue); } .i-pink { background: var(--pink); } .i-wa { background:#25d366; } .i-violet { background: var(--violet); }

/* ---------------------------------------------------------------- faixa */
.trust-strip { border-top:1px solid var(--line); border-bottom:1px solid var(--line); background:#fff; }
.trust-inner { min-height:72px; display:flex; align-items:center; justify-content:center; gap:16px; color:#8790ab; font-size:12px; text-transform:uppercase; letter-spacing:.1em; flex-wrap:wrap; font-weight: 700; }
.trust-inner b { color:#26305a; font-size:12px; }
.trust-inner i { color: var(--pink); font-style:normal; }

/* ---------------------------------------------------------------- seções */
.section { padding:100px 0; }
.section-soft { background: #f8f9ff; }
.section-heading { max-width:760px; }
.section-heading.centered { margin:0 auto 50px; text-align:center; }
.section-head-row { display:flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.section-kicker { display:inline-block; color:var(--blue); font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.14em; margin-bottom:12px; }
.section-kicker.pink { color: var(--pink-dark); }
.section-heading h2, .page-hero h1 { margin:0; font-size:clamp(32px,4.2vw,54px); line-height:1.06; letter-spacing:-.045em; font-weight: 900; }
.section-heading h2 span, .page-hero h1 span { color:var(--pink); }
.section-heading p { color:var(--muted); font-size:17px; margin:18px 0 0; }

.page-hero { padding: 64px 0 40px; background: radial-gradient(circle at 90% 0%, rgba(255,62,154,.12), transparent 35%), radial-gradient(circle at 0% 100%, rgba(47,107,255,.1), transparent 40%), #fbfbff; border-bottom: 1px solid var(--line); }
.page-hero p { color: var(--muted); max-width: 640px; font-size: 16px; }

/* ---------------------------------------------------------------- cards de evento */
.events-grid { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event-card { background:#fff; border:1px solid var(--line); border-radius: 24px; overflow: hidden; display:flex; flex-direction: column; transition: .25s ease; box-shadow: 0 12px 35px rgba(30,40,110,.05); }
.event-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(30,40,110,.14); border-color: #d7dcf2; }
.event-cover { position: relative; aspect-ratio: 16/10; background: var(--grad); background-size: cover; background-position: center; overflow: hidden; }
.event-cover.placeholder::after { content:""; position:absolute; inset:0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.35), transparent 30%), repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 12px, transparent 12px 24px); }
.event-cover .placeholder-title { position:absolute; left: 18px; bottom: 14px; right: 18px; color:#fff; font-weight: 900; font-size: 26px; letter-spacing: -.04em; line-height: 1; z-index: 1; opacity: .95; }
.date-badge { position:absolute; top: 14px; left: 14px; z-index: 2; background:#fff; border-radius: 14px; padding: 7px 11px; text-align:center; box-shadow: 0 10px 24px rgba(13,19,48,.2); min-width: 54px; }
.date-badge b { display:block; font-size: 22px; line-height: 1; letter-spacing: -.04em; }
.date-badge small { display:block; font-size: 10px; text-transform: uppercase; font-weight: 900; color: var(--pink-dark); letter-spacing: .1em; }
.chip { display:inline-flex; align-items:center; gap: 6px; padding: 6px 11px; border-radius: 30px; font-size: 11px; font-weight: 800; background: rgba(255,255,255,.92); color: var(--ink); }
.event-cover .chip { position:absolute; top: 14px; right: 14px; z-index: 2; }
.chip-pink { background: var(--pink-soft); color: var(--pink-dark); }
.chip-blue { background: var(--blue-soft); color: var(--blue-dark); }
.chip-ok { background: #e7f8ef; color: #067647; }
.chip-bad { background: #fdeceb; color: #b42318; }
.chip-warn { background: #fff4e5; color: #b54708; }
.chip-dark { background: var(--ink); color: #fff; }
.event-body { padding: 20px 20px 22px; display:flex; flex-direction: column; gap: 6px; flex: 1; }
.event-body h3 { margin: 0; font-size: 19px; letter-spacing: -.02em; line-height: 1.2; }
.event-meta { color: var(--muted); font-size: 13px; display:flex; align-items:center; gap: 6px; }
.event-meta svg { width: 14px; height: 14px; flex: none; color: var(--blue); }
.event-foot { margin-top: auto; padding-top: 14px; display:flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-top: 1px dashed var(--line); }
.event-foot small { display:block; font-size: 11px; color: var(--muted); font-weight: 700; }
.event-foot strong { font-size: 22px; letter-spacing: -.03em; }
.empty { text-align:center; padding: 60px 20px; border: 1px dashed #d4d9ef; border-radius: 24px; color: var(--muted); background: #fcfcff; }
.empty b { display:block; color: var(--ink); font-size: 18px; margin-bottom: 6px; }

/* ---------------------------------------------------------------- como funciona (faixa escura) */
.how-band { background: linear-gradient(135deg,#0d1330 0%,#1238a8 60%, #5a2bd0 100%); color:#fff; position:relative; overflow:hidden; }
.how-band::before { content:""; position:absolute; right:-140px; top:-160px; width:460px; height:460px; border-radius:50%; background:radial-gradient(circle,rgba(255,62,154,.4),transparent 65%); }
.how-band::after { content:""; position:absolute; left:-120px; bottom:-200px; width:420px; height:420px; border-radius:50%; border: 1px solid rgba(255,255,255,.1); }
.how-band .section-heading p { color: #c3cdf2; }
.how-band .section-heading h2 span { color: #ff8cc6; }
.how-band .section-kicker { color: #ff8cc6; }
.steps-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; position: relative; z-index: 1; }
.steps-grid article { padding: 26px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); backdrop-filter: blur(6px); }
.step-n { font-size: 12px; font-weight: 900; color: #ff8cc6; letter-spacing: .1em; }
.steps-grid .icon { width: 46px; height: 46px; border-radius: 14px; margin: 18px 0 20px; }
.steps-grid strong { display:block; font-size: 17px; }
.steps-grid span { display:block; font-size: 13px; color: #c3cdf2; margin-top: 6px; }

/* ---------------------------------------------------------------- posts */
.posts-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.post-card { border-radius: 22px; overflow: hidden; background:#fff; border: 1px solid var(--line); transition: .25s; display:flex; flex-direction: column; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(30,40,110,.12); }
.post-cover { aspect-ratio: 16/9; background: var(--grad-soft); background-size: cover; background-position: center; position: relative; }
.post-cover .chip { position:absolute; left: 14px; top: 14px; }
.post-body { padding: 20px; display:flex; flex-direction: column; gap: 8px; flex: 1; }
.post-body h3 { margin: 0; font-size: 18px; line-height: 1.25; letter-spacing: -.02em; }
.post-body p { margin: 0; color: var(--muted); font-size: 14px; }
.post-body small { color: #8a92ad; font-size: 12px; margin-top: auto; padding-top: 8px; }
.post-feature { grid-column: span 2; flex-direction: row; }
.post-feature .post-cover { aspect-ratio: auto; flex: 1.2; min-height: 280px; }
.post-feature .post-body { flex: 1; padding: 30px; justify-content: center; }
.post-feature h3 { font-size: 26px; }
.filter-row { display:flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-row a { padding: 9px 15px; border-radius: 30px; border: 1px solid var(--line); background:#fff; font-size: 13px; font-weight: 700; color: var(--muted); }
.filter-row a.active, .filter-row a:hover { background: var(--ink); color:#fff; border-color: var(--ink); }

.article { max-width: 760px; margin: 0 auto; }
.article-cover { border-radius: 28px; aspect-ratio: 16/8; background: var(--grad); background-size: cover; background-position: center; margin: 30px 0; box-shadow: var(--shadow); }
.article-body { font-size: 17px; color: #2b3356; }
.article-body p { margin: 0 0 1.1em; }

/* ---------------------------------------------------------------- detalhe do evento */
.event-hero { position: relative; color:#fff; background: var(--grad); background-size: cover; background-position: center; }
.event-hero::before { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(13,19,48,.92) 0%, rgba(13,19,48,.65) 55%, rgba(13,19,48,.25) 100%); }
.event-hero.placeholder::before { background: linear-gradient(90deg, rgba(13,19,48,.55), rgba(13,19,48,.1)); }
.event-hero .container { position: relative; padding: 70px 0 80px; }
.event-hero h1 { font-size: clamp(36px, 5.4vw, 68px); line-height: 1; letter-spacing: -.05em; margin: 16px 0 18px; max-width: 800px; }
.event-hero-meta { display:flex; flex-wrap: wrap; gap: 10px; }
.event-hero-meta span { display:inline-flex; gap: 8px; align-items:center; padding: 9px 14px; border-radius: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 14px; font-weight: 650; backdrop-filter: blur(8px); }
.event-hero-meta svg { width: 16px; height: 16px; }
.event-layout { display:grid; grid-template-columns: 1fr 400px; gap: 40px; margin-top: -40px; position: relative; z-index: 2; padding-bottom: 80px; }
.card { background:#fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: 0 16px 45px rgba(30,40,110,.07); }
.card h2, .card h3 { margin-top: 0; letter-spacing: -.02em; }
.event-main .card + .card { margin-top: 20px; }
.desc { color: #2b3356; font-size: 16px; }
.buy-card { position: sticky; top: 96px; }
.price-now small { display:block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.price-now strong { display:block; font-size: 44px; letter-spacing: -.05em; line-height: 1.05; }
.price-now .chip { margin-top: 8px; }

.timeline { list-style: none; margin: 22px 0 0; padding: 0; position: relative; }
.timeline::before { content:""; position:absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 18px 38px; }
.timeline li::before { content:""; position:absolute; left: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background:#fff; border: 3px solid #cfd5ee; }
.timeline li.atual::before { border-color: var(--pink); box-shadow: 0 0 0 5px rgba(255,62,154,.15); }
.timeline li.passado { opacity: .5; }
.timeline li.passado b { text-decoration: line-through; }
.timeline li div { display:flex; justify-content: space-between; gap: 10px; }
.timeline small { color: var(--muted); font-size: 12px; }

/* ---------------------------------------------------------------- formulários */
.form label, .field { display:block; font-size:12px; color:#5a6487; font-weight:800; margin-bottom:14px; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea {
    width:100%; margin-top:6px; border:1px solid #dfe3f1; border-radius:12px; padding:13px 14px; font:inherit; font-size:15px; outline:0; background:#fbfcff; color: var(--ink); transition: .15s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color:#9ab5ff; box-shadow:0 0 0 4px rgba(47,107,255,.1); background:#fff; }
.form textarea { min-height: 140px; resize: vertical; }
.form .check { display:flex; align-items:center; gap: 9px; font-size: 14px; font-weight: 650; color: var(--ink); }
.form .check input { width: 18px; height: 18px; accent-color: var(--pink); }
.form-two { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.form-three { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.field-validation-error, .text-danger { color: var(--bad); font-size: 12px; font-weight: 700; display:block; margin-top: 4px; }
.validation-summary-errors ul { margin: 0 0 16px; padding: 12px 16px 12px 32px; border-radius: 12px; background: #fdeceb; color: #b42318; font-size: 13px; font-weight: 700; }
.validation-summary-valid { display:none; }
.hint { display:block; color: #8a92ad; font-size: 11px; font-weight: 600; margin-top: 4px; }
.qty { display:flex; align-items:center; gap: 0; border:1px solid #dfe3f1; border-radius: 12px; overflow: hidden; width: max-content; margin-top: 6px; }
.qty button { width: 44px; height: 46px; border: 0; background: var(--soft); font-size: 20px; cursor: pointer; color: var(--ink); }
.form .qty input { width: 56px !important; text-align:center; border: 0 !important; margin: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; }
.total-line { display:flex; justify-content: space-between; align-items: center; padding: 14px 0; margin: 6px 0 14px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); font-weight: 800; }
.total-line strong { font-size: 22px; }

.auth-wrap { min-height: calc(100vh - 76px); display:grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: var(--grad); color:#fff; padding: 70px 60px; display:flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth-side::before { content:""; position:absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); right: -200px; top: -180px; }
.auth-side::after { content:""; position:absolute; width: 340px; height: 340px; border-radius: 50%; background: rgba(255,255,255,.08); left: -120px; bottom: -120px; }
.auth-side h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 16px; position: relative; }
.auth-side p { opacity: .9; max-width: 440px; position: relative; }
.auth-form { display:flex; align-items:center; justify-content:center; padding: 50px 20px; background: #fbfbff; }
.auth-card { width: min(440px, 100%); }
.auth-card h1 { margin: 0 0 6px; font-size: 32px; letter-spacing: -.04em; }
.auth-card > p { color: var(--muted); margin: 0 0 26px; }
.auth-alt { text-align:center; color: var(--muted); font-size: 14px; margin-top: 18px; }
.auth-alt a { color: var(--pink-dark); font-weight: 800; }

/* ---------------------------------------------------------------- ingressos do usuário */
.tickets-list { display:grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.ticket-row { display:flex; background:#fff; border: 1px solid var(--line); border-radius: 22px; overflow:hidden; transition: .2s; }
.ticket-row:hover { box-shadow: 0 18px 40px rgba(30,40,110,.1); transform: translateY(-3px); }
.ticket-row-side { width: 110px; flex: none; background: var(--grad); background-size: cover; background-position: center; color:#fff; display:flex; flex-direction: column; align-items:center; justify-content:center; text-align: center; position: relative; }
.ticket-row-side::before { content:""; position:absolute; inset:0; background: rgba(13,19,48,.35); }
.ticket-row-side > * { position: relative; }
.ticket-row-side b { font-size: 32px; line-height: 1; letter-spacing: -.04em; }
.ticket-row-side small { font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.ticket-row-body { padding: 18px 20px; flex: 1; min-width: 0; border-left: 2px dashed var(--line); }
.ticket-row-body h3 { margin: 0 0 4px; font-size: 17px; }
.ticket-row-body p { margin: 0 0 10px; color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- PÁGINA DO INGRESSO (QR) */
.pass-page { min-height: 100vh; background: radial-gradient(circle at 15% 0%, rgba(47,107,255,.55), transparent 45%), radial-gradient(circle at 100% 100%, rgba(255,62,154,.55), transparent 45%), #0d1330; padding: 22px 14px 40px; display:flex; flex-direction: column; align-items:center; }
.pass-top { width: min(420px, 100%); display:flex; justify-content: space-between; align-items:center; color:#fff; margin-bottom: 16px; }
.pass-top .brand small { color: #aab3d8; }
.pass-top a.back { font-size: 13px; color: #c3cdf2; font-weight: 700; }
.pass { width: min(420px, 100%); border-radius: 30px; overflow: hidden; background:#fff; box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.pass-head { background: var(--grad); background-size: cover; background-position: center; color:#fff; padding: 24px 24px 26px; position: relative; }
.pass-head.has-img::before { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(13,19,48,.2), rgba(13,19,48,.85)); }
.pass-head > * { position: relative; }
.pass-head h1 { margin: 12px 0 6px; font-size: 26px; line-height: 1.08; letter-spacing: -.035em; }
.pass-head p { margin: 0; font-size: 13px; opacity: .92; }
.pass-qr { padding: 26px 24px 10px; text-align:center; position: relative; border-top: 2px dashed var(--line); }
.pass-qr::before, .pass-qr::after { content:""; position:absolute; top:-15px; width:28px; height:28px; border-radius:50%; background:#0d1330; }
.pass-qr::before { left:-14px; } .pass-qr::after { right:-14px; }
.qr-box { width: min(290px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 22px; padding: 14px; background:#fff; border: 1px solid var(--line); position: relative; box-shadow: 0 0 0 6px var(--soft); }
.qr-box svg { width: 100%; height: 100%; display:block; }
.qr-box.trocando svg { animation: piscar .35s ease; }
@keyframes piscar { from { opacity: .2; transform: scale(.97); } to { opacity: 1; transform: none; } }
.qr-scan { position:absolute; left: 10px; right: 10px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, var(--pink), transparent); top: 10px; animation: varrer 2.4s ease-in-out infinite; opacity: .7; }
@keyframes varrer { 0%,100% { top: 10px; } 50% { top: calc(100% - 13px); } }
.qr-timer { display:flex; align-items:center; justify-content:center; gap: 10px; margin: 18px 0 4px; font-size: 13px; color: var(--muted); font-weight: 700; }
.ring { width: 34px; height: 34px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 4; }
.ring .bg { stroke: var(--line); }
.ring .fg { stroke: url(#gradRing); stroke-linecap: round; stroke-dasharray: 94.25; transition: stroke-dashoffset 1s linear; }
.qr-timer b { color: var(--ink); font-size: 15px; min-width: 22px; }
.live-dot { display:inline-flex; align-items:center; gap: 6px; font-size: 11px; font-weight: 800; color: var(--ok); text-transform: uppercase; letter-spacing: .1em; }
.live-dot::before { content:""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
.pass-state { margin: 6px 24px 0; padding: 26px 20px; border-radius: 20px; text-align:center; }
.pass-state svg { width: 46px; height: 46px; margin: 0 auto 10px; display:block; }
.pass-state h2 { margin: 0 0 6px; font-size: 20px; }
.pass-state p { margin: 0; font-size: 14px; color: var(--muted); }
.state-wait { background: #fff7ec; color: #b54708; } .state-wait h2 { color:#93370d; }
.state-used { background: var(--blue-soft); color: var(--blue-dark); }
.state-cancel { background: #fdeceb; color: #b42318; }
.pass-info { padding: 18px 24px 8px; display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pass-info div small { display:block; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: #8a92ad; font-weight: 800; }
.pass-info div b { font-size: 14px; word-break: break-word; }
.pass-actions { padding: 14px 24px 24px; display:grid; gap: 10px; }
.pass-note { color: #aab3d8; font-size: 12px; text-align:center; max-width: 380px; margin: 18px auto 0; }
.pay-box { margin: 14px 24px 0; padding: 14px 16px; border-radius: 14px; background: var(--soft); border: 1px dashed #cfd5ee; font-size: 13px; color: #2b3356; }

/* ---------------------------------------------------------------- CTA final */
.final-cta { background: var(--grad); color:#fff; text-align:center; padding:90px 0; position:relative; overflow:hidden; }
.final-cta::before { content:""; position:absolute; width:520px; height:520px; border:1px solid rgba(255,255,255,.18); border-radius:50%; top:-300px; left:-180px; }
.final-cta::after { content:""; position:absolute; width:380px; height:380px; background: rgba(255,255,255,.08); border-radius:50%; bottom:-220px; right:-120px; }
.final-cta h2 { font-size:clamp(32px,4vw,54px); letter-spacing:-.045em; line-height:1.05; max-width:760px; margin:0 auto 15px; position: relative; }
.final-cta p { color:#f1e9ff; margin:0 0 28px; position: relative; }
.final-cta .btn { position: relative; }
.btn-light { background:#fff; color:var(--ink); box-shadow: 0 14px 30px rgba(13,19,48,.2); }

/* ---------------------------------------------------------------- rodapé */
.site-footer { background:#0a0f27; color:#aab3d8; }
.footer-grid { display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:60px; padding:60px 0 46px; }
.footer-grid .brand { color: #fff; margin-bottom: 14px; }
.footer-grid .brand small { color: #7d87ad; }
.footer-grid p { max-width:350px; font-size:13px; color:#8b94b8; }
.footer-grid h4 { color:#fff; font-size:12px; text-transform:uppercase; letter-spacing:.1em; margin-top:5px; }
.footer-grid a { display:block; font-size:13px; margin:11px 0; color:#97a0c4; }
.footer-grid a:hover { color:#fff; }
.dedication { border-top:1px solid rgba(255,255,255,.07); padding: 34px 0; text-align: center; background: radial-gradient(ellipse at center, rgba(255,62,154,.12), transparent 65%); }
.dedication .heart { width: 30px; height: 30px; margin: 0 auto 12px; color: var(--pink); animation: batida 1.4s ease-in-out infinite; }
@keyframes batida { 0%,100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.dedication p { margin: 0 auto; max-width: 620px; font-size: 15px; color: #d9def5; line-height: 1.7; }
.dedication strong { background: linear-gradient(90deg, #7aa2ff, #ff7fbf); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 18px; }
.dedication small { display:block; margin-top: 8px; color: #7d87ad; font-size: 12px; font-style: italic; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.07); }
.footer-bottom .container { min-height:55px; display:flex; justify-content:space-between; align-items:center; gap:20px; font-size:11px; color:#69739a; }

/* ---------------------------------------------------------------- toasts / topo */
.back-top { position:fixed; right:20px; bottom:20px; width:46px; height:46px; border-radius:50%; border:1px solid #dbe0f1; background:#fff; color:var(--pink); font-size:20px; box-shadow:0 10px 30px rgba(30,40,110,.15); cursor:pointer; opacity:0; pointer-events:none; transform:translateY(10px); transition:.2s; z-index:90; }
.back-top.show { opacity:1; pointer-events:auto; transform:none; }
.toast { position:fixed; top:90px; right:20px; z-index:200; width:min(420px,calc(100% - 40px)); padding:16px 40px 16px 18px; background:#fff; border-left:4px solid var(--ok); border-radius:14px; box-shadow:0 18px 45px rgba(20,30,80,.2); animation: entrar .3s ease; }
.toast.erro { border-left-color: var(--bad); }
.toast strong { display:block; font-size:14px; }
.toast span { display:block; color:#5f6a8a; font-size:13px; margin-top: 3px; }
.toast button { position:absolute; right:10px; top:8px; border:0; background:none; font-size:22px; color:#8a92ad; cursor:pointer; }
@keyframes entrar { from { opacity: 0; transform: translateY(-10px); } }

/* =====================================================================
   ADMIN
   ===================================================================== */
.admin-bar { background: var(--ink); color: #fff; }
.admin-bar .container { display:flex; gap: 6px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; }
.admin-bar .container::-webkit-scrollbar { display:none; }
.admin-bar a { flex: none; display:inline-flex; gap: 8px; align-items:center; padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 700; color: #b9c1e4; }
.admin-bar a svg { width: 16px; height: 16px; }
.admin-bar a.active, .admin-bar a:hover { background: rgba(255,255,255,.1); color: #fff; }
.admin-bar a.portaria { background: var(--grad); color:#fff; }
.admin-main { padding: 34px 0 80px; background: #f8f9ff; min-height: calc(100vh - 140px); }
.admin-head { display:flex; justify-content: space-between; align-items:center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.admin-head h1 { margin: 0; font-size: 30px; letter-spacing: -.04em; }
.admin-head p { margin: 4px 0 0; color: var(--muted); }
.stats { display:grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-bottom: 24px; }
.stat { background:#fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; position: relative; overflow: hidden; }
.stat::after { content:""; position:absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: var(--grad-soft); }
.stat small { display:block; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; position: relative; z-index: 1; }
.stat strong { display:block; font-size: 30px; letter-spacing: -.04em; margin-top: 6px; position: relative; z-index: 1; }
.stat.pink strong { color: var(--pink-dark); } .stat.blue strong { color: var(--blue); }
.grid-2 { display:grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.filters { display:flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.filters select, .filters input { border:1px solid #dfe3f1; border-radius: 12px; padding: 11px 13px; font: inherit; font-size: 14px; background:#fff; min-width: 0; }
.filters input { flex: 1; min-width: 180px; }
.table-wrap { background:#fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #8a92ad; padding: 14px 16px; background: #fbfbff; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display:block; color: var(--muted); font-size: 12px; }
.tbl .acoes { display:flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.tbl .acoes form { margin: 0; }
.lotes-editor .lote-row { display:grid; grid-template-columns: 1.2fr .8fr 1.2fr .7fr auto; gap: 10px; align-items: end; padding: 14px; border: 1px dashed #d4d9ef; border-radius: 16px; margin-bottom: 10px; background: #fcfcff; }
.lotes-editor .lote-row label { margin-bottom: 0; }
.btn-remove { width: 44px; height: 46px; border-radius: 12px; border: 1px solid #f5c2c0; background: #fff5f4; color: var(--bad); font-size: 20px; cursor: pointer; }
.img-preview { width: 100%; max-width: 320px; aspect-ratio: 16/10; border-radius: 16px; background: var(--grad-soft); background-size: cover; background-position: center; border: 1px solid var(--line); margin-top: 8px; }
.form-actions { display:flex; gap: 10px; justify-content: flex-end; margin-top: 10px; flex-wrap: wrap; }
.list-log { list-style: none; margin: 0; padding: 0; }
.list-log li { display:flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.list-log li:last-child { border-bottom: 0; }

/* ---------------------------------------------------------------- PORTARIA */
.scanner-wrap { max-width: 520px; margin: 0 auto; }
.scanner { position: relative; border-radius: 28px; overflow: hidden; background: #0d1330; aspect-ratio: 1; box-shadow: var(--shadow); }
.scanner #leitor { width: 100%; height: 100%; }
.scanner #leitor video { object-fit: cover; width: 100% !important; height: 100% !important; }
.scanner-frame { position:absolute; inset: 14%; border-radius: 24px; pointer-events: none; box-shadow: 0 0 0 999px rgba(13,19,48,.45); border: 3px solid rgba(255,255,255,.9); }
.scanner-frame::after { content:""; position:absolute; left: 8%; right: 8%; height: 3px; background: linear-gradient(90deg, transparent, var(--pink), transparent); animation: varrer 2.2s ease-in-out infinite; }
.scanner-idle { position:absolute; inset: 0; display:flex; flex-direction: column; align-items:center; justify-content:center; gap: 16px; color: #c3cdf2; text-align:center; padding: 30px; }
.scanner-idle svg { width: 64px; height: 64px; color: #ff8cc6; }
.resultado { position: fixed; inset: 0; z-index: 300; display:none; flex-direction: column; align-items:center; justify-content:center; text-align:center; padding: 30px 22px; color: #fff; }
.resultado.show { display:flex; animation: entrar .2s ease; }
.resultado.ok { background: radial-gradient(circle at 50% 30%, #2bd889, #079455); }
.resultado.bad { background: radial-gradient(circle at 50% 30%, #ff6b5f, #b42318); }
.resultado svg { width: 110px; height: 110px; margin-bottom: 14px; }
.resultado h2 { font-size: clamp(32px, 9vw, 52px); margin: 0 0 8px; letter-spacing: -.04em; line-height: 1.02; }
.resultado .nome { font-size: 22px; font-weight: 800; margin: 4px 0; }
.resultado p { margin: 4px 0; font-size: 16px; opacity: .95; max-width: 460px; }
.resultado .orientacao { margin-top: 14px; font-size: 20px; font-weight: 900; background: rgba(0,0,0,.18); padding: 14px 18px; border-radius: 16px; }
.resultado .contato { margin-top: 12px; display:flex; flex-direction: column; gap: 8px; align-items: center; }
.resultado .btn { margin-top: 22px; min-width: 240px; }
.manual { display:flex; gap: 8px; margin-top: 14px; }
.manual input { flex: 1; min-width: 0; border:1px solid #dfe3f1; border-radius: 12px; padding: 12px 13px; font: inherit; font-size: 14px; }

/* =====================================================================
   RESPONSIVO (prioridade mobile)
   ===================================================================== */
@media (max-width: 1000px) {
    .hero-grid, .event-layout, .grid-2, .auth-wrap { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; padding-top: 30px; }
    .hero-visual { min-height: 540px; }
    .events-grid, .posts-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid, .stats { grid-template-columns: 1fr 1fr; }
    .post-feature { grid-column: span 2; }
    .event-layout { margin-top: -30px; gap: 20px; }
    .buy-card { position: static; }
    .auth-side { display: none; }
    .tickets-list { grid-template-columns: 1fr; }
    .main-nav { gap: 16px; }
}
@media (max-width: 860px) {
    .menu-toggle { display:block; }
    .main-nav { position:absolute; left:14px; right:14px; top:68px; background:#fff; border:1px solid var(--line); border-radius:18px; padding:14px; display:none; flex-direction:column; align-items:stretch; box-shadow:0 20px 40px rgba(30,40,110,.14); gap: 4px; }
    .main-nav.open { display:flex; }
    .main-nav a:not(.btn) { padding: 11px 10px; border-radius: 10px; }
    .main-nav a:not(.btn):hover { background: var(--soft); }
    .main-nav .btn { margin-top: 6px; }
    .nav-user { justify-content: space-between; }
    .menu-toggle[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 680px) {
    .container { width: calc(100% - 32px); }
    .nav-wrap { height: 66px; }
    .main-nav { top: 62px; }
    .brand { font-size: 20px; } .brand-mark { width: 34px; height: 34px; }
    .hero-copy { padding: 38px 0 0; }
    .hero h1 { font-size: clamp(42px, 13vw, 60px); }
    .hero-lead { font-size: 16px; }
    .hero-search { flex-direction: column; }
    .hero-search input { padding: 12px; }
    .hero-visual { min-height: 470px; }
    .visual-orbit { display: none; }
    .floating-tag { min-width: 0; padding: 9px 11px; }
    .floating-tag small { font-size: 9px; } .floating-tag b { font-size: 11px; }
    .floating-tag .icon { width: 28px; height: 28px; }
    .tag-a { right: 0; top: 4%; } .tag-b { left: 0; top: auto; bottom: 18%; } .tag-c { display: none; }
    .section { padding: 70px 0; }
    .events-grid, .posts-grid, .steps-grid { grid-template-columns: 1fr; }
    .post-feature { grid-column: auto; flex-direction: column; }
    .post-feature .post-cover { min-height: 0; aspect-ratio: 16/9; }
    .post-feature .post-body { padding: 20px; }
    .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .stat { padding: 16px; } .stat strong { font-size: 24px; }
    .form-two, .form-three { grid-template-columns: 1fr; gap: 0; }
    .lotes-editor .lote-row { grid-template-columns: 1fr 1fr; }
    .lotes-editor .lote-row .lote-nome { grid-column: span 2; }
    .event-hero .container { padding: 44px 0 64px; }
    .card { padding: 22px; border-radius: 20px; }
    .footer-grid { grid-template-columns:1fr; gap:22px; }
    .footer-bottom .container { flex-direction:column; justify-content:center; padding:15px 0; text-align: center; }
    .trust-inner { justify-content: flex-start; padding: 16px 0; gap: 10px; }
    .admin-head h1 { font-size: 24px; }
    /* tabelas viram cartões no celular */
    .tbl thead { display: none; }
    .tbl, .tbl tbody, .tbl tr, .tbl td { display: block; width: 100%; }
    .tbl tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
    .tbl td { padding: 4px 0; border: 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
    .tbl td::before { content: attr(data-label); font-size: 11px; font-weight: 800; text-transform: uppercase; color: #8a92ad; letter-spacing: .06em; text-align: left; flex: none; }
    .tbl td.td-main { display:block; text-align: left; font-size: 15px; padding-bottom: 8px; }
    .tbl td.td-main::before { display: none; }
    .tbl .acoes { justify-content: flex-start; padding-top: 10px; }
    .tbl td.acoes-td::before { display:none; }
    .ticket-row-side { width: 86px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ajustes finos */
.steps-grid span.icon { display: grid; margin: 18px 0 20px; }
.steps-grid span.icon svg { width: 22px; height: 22px; }
.footer-grid a.brand { display: flex; font-size: 23px; margin: 0 0 14px; color: #fff; }
@media (max-width: 680px) {
    .tag-b { left: 0; bottom: 2%; }
    .hero-visual { min-height: 500px; }
}
