/* ==========================================================================
   Banca Martins · Guaxupé MG
   ========================================================================== */

:root {
  --bg: #070d18;
  --bg-2: #0a1322;
  --surface: #0e1829;
  --surface-2: #132038;
  --surface-3: #192a47;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef2f8;
  --text-2: #c3cbd9;
  --muted: #8f9bb1;
  --accent: #ffc928;
  --accent-2: #ffdd66;
  --accent-ink: #1a1405;
  --accent-soft: rgba(255, 201, 40, 0.12);
  --accent-text: var(--accent);
  --blue: #2a4fd6;
  --blue-2: #4a74ff;
  --green: #2fd28a;
  --shopee: #ff5a36;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --container: 1200px;
  --header-h: 76px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}

/* ==========================================================================
   Tema claro (data-theme="light" no <html>, definido em build/data.mjs)
   ========================================================================== */
:root[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f4f6fb;
  --surface: #ffffff;
  --surface-2: #f8fafd;
  --surface-3: #eef2f8;
  --line: rgba(15, 30, 60, 0.09);
  --line-2: rgba(15, 30, 60, 0.15);
  --text: #0b1630;
  --text-2: #3d4a63;
  --muted: #6b778d;
  --accent-soft: rgba(31, 71, 196, 0.08);
  --accent-text: #1f47c4;
  --shadow: 0 20px 50px -26px rgba(15, 30, 60, 0.28);
  --shadow-lg: 0 40px 80px -38px rgba(15, 30, 60, 0.4);
  color-scheme: light;
}

/* Áreas que ficam escuras em qualquer tema (sobre fotos e cartazes) */
.event-poster, .evt-top, .g-stage, .lightbox, .mag-mini.has-photo, .mag-cover, .date-badge, .poster-count, .g-zoom, .g-counter {
  --text: #eef2f8; --text-2: #c3cbd9; --muted: #9aa7bd; color: var(--text);
}

.mag-mini.has-photo { background: #0b1426; }
[data-theme="light"] .btn-ghost { background: rgba(15, 30, 60, 0.03); }
[data-theme="light"] .btn-ghost:hover { border-color: rgba(15, 30, 60, 0.3); background: rgba(15, 30, 60, 0.06); }
[data-theme="light"] .chip, [data-theme="light"] .tags span, [data-theme="light"] .paper-list li, [data-theme="light"] .check-chip span,
[data-theme="light"] .steps li, [data-theme="light"] .highlights li, [data-theme="light"] .schedule li, [data-theme="light"] .dl-item { background: var(--bg-2); }
[data-theme="light"] .filter-chip span { background: rgba(15, 30, 60, 0.07); }
[data-theme="light"] .site-header.is-scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 8px 30px -18px rgba(15, 30, 60, 0.35); }
[data-theme="light"] .header-search input { background: var(--bg-2); }
[data-theme="light"] .header-search input:focus { background: #fff; }
[data-theme="light"] .icon-btn:hover { background: rgba(15, 30, 60, 0.06); }
[data-theme="light"] .hc-arrow { background: #fff; box-shadow: var(--shadow); }
[data-theme="light"] .hc-dots button { background: rgba(15, 30, 60, 0.14); }
[data-theme="light"] .scroll-cue { border-color: rgba(15, 30, 60, 0.25); }

/* Fundo das capas */
[data-theme="light"] .hero-bg { background: radial-gradient(120% 90% at 70% 0%, #e7edfb 0%, #f5f7fd 45%, #ffffff 80%); }
[data-theme="light"] .hero-bg .glow { opacity: .28; }
[data-theme="light"] .hero-bg .beams { mix-blend-mode: normal; }
[data-theme="light"] .hero-bg .beams span { opacity: .22; }
[data-theme="light"] .hero-bg .haze { background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, .6) 45%, transparent 100%); }
[data-theme="light"] .hero-bg .grain { opacity: .035; }
[data-theme="light"] .hero-bg .hero-photo { opacity: 1; }
[data-theme="light"] .hero-bg.is-compact.has-photo .hero-photo { opacity: .55; }
[data-theme="light"] .hero-bg.has-photo::after { background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.2) 100%), linear-gradient(0deg, #fff 0%, transparent 30%), linear-gradient(180deg, rgba(255,255,255,.8) 0%, transparent 22%); }

/* Cartões com sombra suave no lugar do contraste do fundo escuro */
[data-theme="light"] .event-card, [data-theme="light"] .service-tile, [data-theme="light"] .mag-card, [data-theme="light"] .service-card,
[data-theme="light"] .contact-card, [data-theme="light"] .ev-block, [data-theme="light"] .stat, [data-theme="light"] .tl-card { box-shadow: 0 12px 32px -22px rgba(15, 30, 60, 0.3); }
[data-theme="light"] .event-card:hover { box-shadow: 0 30px 60px -28px rgba(15, 30, 60, 0.45), 0 0 0 1px rgba(255, 201, 40, .5); }
[data-theme="light"] .service-tile.is-featured { background: #fffbea; }
[data-theme="light"] .mag-card-art.has-photo::after { background: linear-gradient(180deg, transparent 55%, rgba(255, 255, 255, .55)); }
[data-theme="light"] .marquee { background: linear-gradient(90deg, #fff8dc, #eef3ff); }

/* Shopee */
[data-theme="light"] .shopee-band { background: linear-gradient(120deg, #fff0ea 0%, #fff8f5 50%, #f2f5ff 100%); }
[data-theme="light"] .sb-glow { opacity: .5; }
[data-theme="light"] .sb-address { background: #fff; border-color: rgba(15, 30, 60, 0.2); }
[data-theme="light"] .shopee-feature { background: radial-gradient(80% 120% at 0% 0%, rgba(255, 90, 54, .1), transparent 55%), #fff; box-shadow: var(--shadow); }
[data-theme="light"] .ask-box { background: radial-gradient(80% 100% at 100% 0%, rgba(42, 79, 214, .08), transparent 60%), #fff; box-shadow: var(--shadow); }

/* Sobre, linha do tempo, 404 */
[data-theme="light"] .ap-badge { background: rgba(255, 255, 255, 0.96); }
[data-theme="light"] .ap-year { -webkit-text-stroke-color: rgba(31, 71, 196, .2); }
[data-theme="light"] .tl-year, [data-theme="light"] .big-404 { -webkit-text-stroke-color: var(--accent-text); }
[data-theme="light"] .tl-dot { box-shadow: 0 0 0 6px rgba(255, 201, 40, .25); }

/* Página de evento */
[data-theme="light"] .ev-ticket, [data-theme="light"] .g-stage { border-color: rgba(15, 30, 60, .1); }
[data-theme="light"] .sticky-cta { background: rgba(255, 255, 255, .96); }
[data-theme="light"] .past-banner { background: #fff1ec; }
[data-theme="light"] .map-embed { background: radial-gradient(60% 80% at 50% 50%, rgba(42,79,214,.1), transparent 70%), repeating-linear-gradient(0deg, transparent 0 39px, rgba(15,30,60,.05) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(15,30,60,.05) 39px 40px), var(--bg-2); }
[data-theme="light"] .info-strip { background: var(--bg-2); }
[data-theme="light"] .site-footer { background: #fff; }
[data-theme="light"] .open-status.is-closed, [data-theme="light"] .form-hint.is-error { color: #d9480f; }
[data-theme="light"] .open-status.is-open { color: #0f9d58; }
[data-theme="light"] .to-top { background: #fff; box-shadow: var(--shadow); }
@media (max-width: 760px) {
  [data-theme="light"] .hero-bg.has-photo::after { background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 48%, rgba(255,255,255,.35) 78%, #fff 100%); }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; transition: top .2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; justify-content: center; }

/* ---------- Botões ---------- */
.btn {
  --bh: 48px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px;
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
  isolation: isolate; overflow: hidden;
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px rgba(255, 201, 40, .55); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 16px 40px -12px rgba(255, 201, 40, .7); transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(120%); }
.btn-outline { border: 1.5px solid var(--accent); color: var(--accent-text); background: transparent; }
.btn-outline:hover { background: var(--accent); color: var(--accent-ink); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.09); transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); transition: color .2s; }
.link-arrow .icon { width: 18px; height: 18px; color: var(--accent-text); transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--accent-text); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow.sm { font-size: 14px; margin-top: 8px; }
.link-arrow.muted { color: var(--muted); }
.link-arrow.muted .icon { color: var(--green); }
.link-arrow.muted:hover .icon { transform: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent-text); font-weight: 800; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.chip { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text-2); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.badge-new { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--shopee); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.hl { color: var(--accent-text); }
.display { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; margin-bottom: 18px; }
.display.sm { font-size: clamp(26px, 3vw, 34px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease), height .4s var(--ease);
}
.site-header::after { content: ''; position: absolute; inset: auto 0 0 0; height: 1px; background: var(--line); opacity: 0; transition: opacity .4s; }
.site-header.is-scrolled { background: rgba(7, 13, 24, .82); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); --header-h: 68px; }
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
body.menu-open .site-header { transform: none; background: var(--bg); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 46px; height: auto; transition: transform .6s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.brand-text small { font-size: 10.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; font-weight: 600; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { position: relative; display: block; padding: 10px 14px; font-size: 14.5px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.main-nav a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a.is-active { color: var(--accent-text); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search { position: relative; display: flex; align-items: center; }
.header-search input {
  width: 200px; height: 42px; padding: 0 44px 0 18px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2); font-size: 14px;
  transition: width .5s var(--ease), border-color .2s, background-color .2s;
}
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { outline: none; width: 250px; border-color: var(--accent); background: rgba(255,255,255,.09); }
.header-search button { position: absolute; right: 6px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--text-2); }
.header-search button:hover { color: var(--accent-text); }
.header-search .icon { width: 18px; height: 18px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--text); transition: background-color .2s, color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: rgba(255,255,255,.08); color: var(--accent-text); }
.icon-btn .icon { width: 22px; height: 22px; }
.menu-toggle { display: none; }
.menu-toggle .i-close { display: none; }
body.menu-open .menu-toggle .i-open { display: none; }
body.menu-open .menu-toggle .i-close { display: block; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; padding-top: calc(var(--header-h) + 8px);
  background: var(--bg); overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .7s var(--ease-in-out); visibility: hidden;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
body.menu-open { overflow: hidden; }
.mobile-menu-inner { display: flex; flex-direction: column; gap: 28px; padding-bottom: 40px; }
.mm-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.mm-search .icon { color: var(--muted); }
.mm-search input { flex: 1; background: none; border: 0; outline: none; font-size: 16px; }
.mm-links li { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i) * 60ms + 150ms); }
body.menu-open .mm-links li { opacity: 1; transform: none; }
.mm-links a { display: flex; align-items: center; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.mm-links a .icon { margin-left: auto; width: 22px; height: 22px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.mm-links a:hover .icon, .mm-links a[aria-current] .icon { color: var(--accent-text); transform: translateX(4px); }
.mm-links a[aria-current] { color: var(--accent-text); }
.mm-num { font-size: 12px; color: var(--muted); font-weight: 700; letter-spacing: .1em; width: 22px; }
.mm-contact { display: flex; flex-direction: column; gap: 16px; color: var(--muted); font-size: 14px; }

/* ---------- Fundo animado (luzes de palco) ---------- */
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; background: radial-gradient(120% 90% at 70% 0%, #14264a 0%, #0a1426 45%, var(--bg) 80%); }
.hero-bg .glow { position: absolute; border-radius: 50%; opacity: .6; will-change: transform; }
.hero-bg .g1 { width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; left: 48%; top: -18%; background: radial-gradient(circle, rgba(255, 170, 40, .75), transparent 65%); animation: drift1 18s ease-in-out infinite alternate; }
.hero-bg .g2 { width: 40vw; height: 40vw; max-width: 620px; max-height: 620px; left: -10%; top: 20%; background: radial-gradient(circle, rgba(42, 79, 214, .8), transparent 65%); animation: drift2 22s ease-in-out infinite alternate; }
.hero-bg .g3 { width: 30vw; height: 30vw; max-width: 460px; max-height: 460px; right: -6%; bottom: -20%; background: radial-gradient(circle, rgba(214, 42, 140, .55), transparent 65%); animation: drift3 26s ease-in-out infinite alternate; }
.hero-bg .beams { position: absolute; inset: -10% 0 0 0; mix-blend-mode: screen; }
.hero-bg .beams span {
  position: absolute; top: -10%; width: 16vw; max-width: 240px; height: 130%;
  background: linear-gradient(180deg, rgba(255, 214, 102, .55) 0%, rgba(255, 190, 60, .14) 40%, transparent 78%);
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  transform-origin: 50% 0; opacity: .45; will-change: transform;
  animation: sweep 9s ease-in-out infinite alternate;
}
.hero-bg .beams span:nth-child(1) { left: 8%; animation-duration: 11s; animation-delay: -2s; }
.hero-bg .beams span:nth-child(2) { left: 30%; animation-duration: 8s; animation-delay: -5s; background: linear-gradient(180deg, rgba(110, 150, 255, .55), rgba(80, 120, 255, .12) 40%, transparent 78%); }
.hero-bg .beams span:nth-child(3) { left: 52%; animation-duration: 12s; animation-delay: -1s; }
.hero-bg .beams span:nth-child(4) { left: 72%; animation-duration: 9.5s; animation-delay: -7s; background: linear-gradient(180deg, rgba(255, 110, 190, .45), rgba(255, 90, 170, .1) 40%, transparent 78%); }
.hero-bg .beams span:nth-child(5) { left: 88%; animation-duration: 10.5s; animation-delay: -3s; }
.hero-bg .bokeh { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg .haze { position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(0deg, var(--bg) 0%, rgba(7, 13, 24, .6) 45%, transparent 100%); }
.hero-bg .grain { position: absolute; inset: 0; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-bg.is-compact .beams span { opacity: .32; }
.hero-bg.is-compact .g1 { opacity: .4; }
.hero-bg.tone-magenta .g1 { background: radial-gradient(circle, rgba(236, 72, 153, .7), transparent 65%); }
.hero-bg.tone-sunset .g1 { background: radial-gradient(circle, rgba(255, 120, 40, .75), transparent 65%); }
.hero-bg.tone-violet .g1 { background: radial-gradient(circle, rgba(139, 92, 246, .75), transparent 65%); }
.hero-bg.tone-ocean .g1 { background: radial-gradient(circle, rgba(56, 189, 248, .6), transparent 65%); }
.hero-bg.tone-teal .g1 { background: radial-gradient(circle, rgba(45, 212, 191, .55), transparent 65%); }
.hero-bg.tone-blue .g1 { background: radial-gradient(circle, rgba(74, 116, 255, .7), transparent 65%); }

@keyframes sweep { from { transform: rotate(-16deg); } to { transform: rotate(16deg); } }
@keyframes drift1 { to { transform: translate(-12%, 10%) scale(1.1); } }
@keyframes drift2 { to { transform: translate(14%, -8%) scale(1.15); } }
@keyframes drift3 { to { transform: translate(-10%, -12%) scale(.9); } }

/* ---------- Hero principal ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 40px) 0 40px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-slides { display: grid; }
.hero-slide { grid-area: 1 / 1; visibility: hidden; }
.hero-slide.is-active { visibility: visible; }
.hero-slide > * { transition: opacity .6s var(--ease), transform .8s var(--ease); }
.js .hero-slide > * { opacity: 0; transform: translateY(24px); }
.js.is-loaded .hero-slide.is-active > * { opacity: 1; transform: none; }
.hero-slide.is-active > :nth-child(1) { transition-delay: .05s; }
.hero-slide.is-active > :nth-child(3) { transition-delay: .45s; }
.hero-slide.is-active > :nth-child(4) { transition-delay: .6s; }
.hero-slide.is-leaving > * { opacity: 0; transform: translateY(-16px); transition-duration: .35s; transition-delay: 0s; }
.hero-title { font-size: clamp(40px, 6.2vw, 78px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 22px; max-width: 12ch; }
.hero-text { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Texto dividido em palavras (animação) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--wi) * 55ms + 120ms); }
.is-loaded .is-active [data-split] .w > span, [data-split].is-in .w > span { transform: none; }
.hero-slide.is-leaving [data-split] .w > span { transform: translateY(-105%); transition-duration: .35s; transition-delay: 0s; }

.hero-visuals { display: grid; place-items: center; perspective: 1200px; min-height: 440px; }
.hero-visual { grid-area: 1 / 1; opacity: 0; transform: translateY(30px) scale(.94) rotateX(8deg); transition: opacity .7s var(--ease), transform 1s var(--ease); pointer-events: none; }
.hero-visual.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .2s; }
.js:not(.is-loaded) .hero-visual.is-active { opacity: 0; transform: translateY(30px) scale(.94) rotateX(8deg); }
[data-tilt] { transform-style: preserve-3d; transition: transform .6s var(--ease); will-change: transform; }

/* Revistas no hero */
.mag-fan { position: relative; width: 380px; height: 420px; }
.mag-cover {
  position: absolute; width: 230px; height: 310px; padding: 22px; border-radius: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.12);
  transition: transform .8s var(--ease);
}
.mag-cover strong { font-size: 44px; line-height: .95; letter-spacing: -0.03em; }
.mag-cover em { font-style: normal; font-size: 13px; font-weight: 700; opacity: .8; }
.mc-tag { align-self: flex-start; padding: 4px 10px; border-radius: 6px; background: rgba(0,0,0,.25); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mag-cover.c1 { left: 0; top: 60px; transform: rotate(-12deg); background: linear-gradient(160deg, #ff4d8d, #8b1d5c); }
.mag-cover.c2 { left: 80px; top: 20px; transform: rotate(-2deg); background: linear-gradient(160deg, #ffd23f, #f59e0b); color: #2a1a00; z-index: 2; }
.mag-cover.c3 { left: 160px; top: 70px; transform: rotate(10deg); background: linear-gradient(160deg, #4a74ff, #1c2f8a); }
.hero-visual.is-active .mag-cover.c1 { animation: floatA 6s ease-in-out infinite; }
.hero-visual.is-active .mag-cover.c3 { animation: floatB 7s ease-in-out infinite; }
@keyframes floatA { 50% { transform: rotate(-14deg) translateY(-10px); } }
@keyframes floatB { 50% { transform: rotate(12deg) translateY(-12px); } }

/* Shopee no hero */
.parcel { position: relative; width: 360px; height: 380px; display: grid; place-items: center; }
.parcel-box {
  width: 220px; height: 220px; border-radius: 34px; display: grid; place-items: center;
  background: linear-gradient(150deg, #ff7a52, #e6401c); color: #fff;
  box-shadow: 0 40px 80px -30px rgba(255, 90, 54, .8), inset 0 2px 0 rgba(255,255,255,.3);
  animation: bob 5s ease-in-out infinite;
}
.parcel-box .icon { width: 110px; height: 110px; stroke-width: 1.3; }
.parcel-label {
  position: absolute; right: -10px; bottom: 20px; width: 230px; padding: 16px 18px; border-radius: 16px;
  background: #fff; color: #0b1426; box-shadow: var(--shadow-lg); transform: rotate(4deg);
  display: flex; flex-direction: column; gap: 2px;
}
.parcel-label span { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #e6401c; }
.parcel-label strong { font-size: 20px; letter-spacing: -0.02em; }
.parcel-label small { font-size: 12px; color: #4b5870; line-height: 1.4; margin-top: 4px; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-3deg); } }

.hero-controls { position: relative; z-index: 3; display: flex; align-items: center; gap: 16px; margin-top: 48px; }
.hc-arrow { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); color: var(--text); transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease); }
.hc-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hc-arrow:disabled { opacity: .35; pointer-events: none; }
.hc-arrow .icon { width: 20px; height: 20px; }
.hc-dots { display: flex; gap: 8px; }
.hc-dots button { position: relative; width: 36px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; transition: width .5s var(--ease); }
.hc-dots button.is-active { width: 64px; }
.hc-dots button i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hc-dots button.is-active i { animation: progress var(--slide-ms, 7000ms) linear forwards; }
.hero.is-paused .hc-dots button.is-active i { animation-play-state: paused; }
.hc-dots button::before { content: ''; position: absolute; inset: -12px 0; }
@keyframes progress { to { transform: scaleX(1); } }

.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.25); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(255,201,40,.08), rgba(42,79,214,.08)); padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-weight: 700; font-size: 17px; color: var(--text-2); }
.marquee-group b { color: var(--accent-text); margin-left: 6px; }
.marquee-group i { color: var(--accent-text); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { position: relative; padding: 96px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line); }
.section-tight { padding: 40px 0; }
.section-first { padding-top: 64px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-title { display: flex; align-items: center; gap: 16px; font-size: clamp(26px, 3vw, 34px); }
.section-title .bar { width: 40px; height: 4px; border-radius: 4px; background: var(--accent); flex-shrink: 0; transform-origin: left; }
.js .section-head .bar { transform: scaleX(0); transition: transform .9s var(--ease) .3s; }
.js .section-head.is-in .bar { transform: scaleX(1); }
.section-head p { color: var(--muted); margin-top: 10px; max-width: 520px; }

/* ---------- Cards de evento ---------- */
.event-card { position: relative; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s var(--ease); }
.event-card:hover { transform: translateY(-8px); border-color: rgba(255, 201, 40, .45); box-shadow: 0 30px 60px -25px rgba(0,0,0,.8), 0 0 0 1px rgba(255,201,40,.15); }
.event-link { display: flex; flex-direction: column; height: 100%; }
.event-poster { --c1: #1c2e52; --c2: #0e1829; --c3: rgba(255,201,40,.5); position: relative; height: 180px; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, var(--c3), transparent 55%), linear-gradient(150deg, var(--c1), var(--c2)); }
.tone-magenta .event-poster, .ev-ticket.tone-magenta { --c1: #5b1545; --c2: #1a0f2e; --c3: rgba(255, 77, 141, .75); }
.tone-sunset .event-poster, .ev-ticket.tone-sunset { --c1: #6b2a0f; --c2: #1d1020; --c3: rgba(255, 138, 40, .8); }
.tone-violet .event-poster, .ev-ticket.tone-violet { --c1: #3b1f7a; --c2: #120f2e; --c3: rgba(167, 139, 250, .7); }
.tone-ocean .event-poster, .ev-ticket.tone-ocean { --c1: #0f3b66; --c2: #0b1426; --c3: rgba(56, 189, 248, .6); }
.tone-gold .event-poster, .ev-ticket.tone-gold { --c1: #5a4205; --c2: #16110a; --c3: rgba(255, 201, 40, .8); }
.tone-blue .event-poster, .ev-ticket.tone-blue { --c1: #1b3597; --c2: #0b1330; --c3: rgba(255, 221, 102, .45); }
.tone-teal .event-poster, .ev-ticket.tone-teal { --c1: #0d4d4a; --c2: #0a1822; --c3: rgba(45, 212, 191, .55); }
.poster-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px); background-size: 16px 16px; mask-image: linear-gradient(135deg, transparent 20%, #000 90%); -webkit-mask-image: linear-gradient(135deg, transparent 20%, #000 90%); transition: transform 1.2s var(--ease); }
.event-card:hover .poster-pattern { transform: scale(1.12) translate(-6px, -4px); }
.event-poster::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 48%, transparent 62%); transform: translateX(-100%); transition: transform 1.1s var(--ease); }
.event-card:hover .event-poster::after { transform: translateX(100%); }
.poster-icon { position: absolute; right: -14px; bottom: -22px; color: rgba(255,255,255,.12); transition: transform 1s var(--ease), color .5s; }
.poster-icon .icon { width: 150px; height: 150px; stroke-width: 1.2; }
.event-card:hover .poster-icon { transform: rotate(-10deg) scale(1.08); color: rgba(255,255,255,.2); }
.poster-cat { position: absolute; left: 18px; top: 16px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.poster-kind { position: absolute; right: 16px; top: 14px; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 999px; background: rgba(0,0,0,.3); backdrop-filter: blur(6px); font-size: 11.5px; font-weight: 700; color: #fff; border: 1px solid rgba(255,255,255,.15); }
.date-badge { position: absolute; left: 18px; bottom: 16px; min-width: 62px; padding: 8px 10px 7px; border-radius: 12px; background: rgba(7, 13, 24, .82); border: 1.5px solid var(--accent); backdrop-filter: blur(6px); text-align: center; line-height: 1; box-shadow: 0 10px 30px -10px rgba(0,0,0,.7); }
.date-badge strong { display: block; font-size: 26px; letter-spacing: -0.03em; }
.date-badge span { display: block; margin-top: 3px; font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--accent); }
.date-badge em { display: block; margin-top: 4px; font-size: 9.5px; font-style: normal; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.date-badge.is-icon { min-width: 0; width: 52px; height: 52px; display: grid; place-items: center; color: var(--accent-text); }
.event-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 20px 22px; }
.event-title { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.015em; transition: color .2s; }
.event-card:hover .event-title { color: var(--accent-text); }
.event-meta { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.event-meta .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--muted); }
.event-meta.muted { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); color: var(--text-2); }
.event-body .btn { margin-top: auto; align-self: flex-start; }
.event-card.is-past { display: none; }

.event-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.event-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.event-card.is-filtered { display: none; }

/* Carrossel */
.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4px 20px; margin: -10px -4px 0; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 12px; }
.carousel.no-scroll .carousel-nav { display: none; }

/* ---------- Serviços (tiles) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.service-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 124px; padding: 18px 10px; border-radius: var(--radius); border: 1px solid var(--line-2); background: var(--surface); text-align: center; transition: transform .45s var(--ease), border-color .3s, background-color .3s; overflow: hidden; }
.service-tile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, rgba(255,201,40,.18), transparent 60%); opacity: 0; transition: opacity .4s; }
.service-tile:hover { transform: translateY(-6px); border-color: rgba(255,201,40,.6); }
.service-tile:hover::before, .service-tile.is-featured::before { opacity: 1; }
.service-tile.is-featured { border-color: var(--accent); }
.st-icon { position: relative; color: var(--accent-text); transition: transform .5s var(--ease); }
.st-icon .icon { width: 32px; height: 32px; stroke-width: 1.6; }
.service-tile:hover .st-icon { transform: translateY(-3px) scale(1.1); }
.st-label { position: relative; font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.service-tile.is-featured .st-label { color: var(--accent-text); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-text > p:not(.eyebrow) { color: var(--text-2); font-size: 17px; }
.split-text > p + p { margin-top: 14px; }

.mag-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mag-mini { --t: #ff4d8d; position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 170px; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .3s; }
.mag-mini::before { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, var(--t), transparent 65%); opacity: .3; transition: transform .8s var(--ease), opacity .4s; }
.mag-mini:hover { transform: translateY(-6px) rotate(-.5deg); border-color: color-mix(in srgb, var(--t) 60%, transparent); }
.mag-mini:hover::before { transform: scale(1.4); opacity: .35; }
.mag-mini:nth-child(2) { transform: translateY(28px); }
.mag-mini:nth-child(2):hover { transform: translateY(22px) rotate(.5deg); }
.mag-mini:nth-child(4) { transform: translateY(28px); }
.mag-mini:nth-child(4):hover { transform: translateY(22px) rotate(.5deg); }
.mm-icon { position: relative; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--t) 22%, transparent); color: var(--t); margin-bottom: auto; }
.mm-icon .icon { width: 24px; height: 24px; }
.mag-mini strong { position: relative; font-size: 18px; letter-spacing: -0.01em; margin-top: 18px; }
.mag-mini > span:last-child { position: relative; font-size: 13px; color: var(--muted); }
.tone-magenta { --t: #ff4d8d; } .tone-blue { --t: #6b8cff; } .tone-amber { --t: #ffc928; } .tone-teal { --t: #2dd4bf; } .tone-violet { --t: #a78bfa; } .tone-slate { --t: #94a3b8; }

/* ---------- Shopee ---------- */
.shopee-band { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; overflow: hidden; background: linear-gradient(120deg, #2a1410 0%, #1a1120 50%, #111a2e 100%); border: 1px solid rgba(255, 90, 54, .3); }
.sb-glow { position: absolute; width: 520px; height: 520px; left: -140px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 90, 54, .45), transparent 65%); animation: drift2 16s ease-in-out infinite alternate; }
.sb-text, .sb-address { position: relative; }
.sb-text h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 12px; }
.sb-text p { color: var(--text-2); }
.sb-address { display: flex; flex-direction: column; gap: 4px; padding: 24px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px dashed rgba(255,255,255,.2); }
.sb-address small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--shopee); }
.sb-address strong { font-size: 20px; }
.sb-address span { color: var(--text-2); margin-bottom: 14px; }

.shopee-feature { position: relative; padding: 48px; border-radius: 28px; background: radial-gradient(80% 120% at 0% 0%, rgba(255, 90, 54, .22), transparent 55%), var(--surface); border: 1px solid rgba(255, 90, 54, .28); overflow: hidden; }
.sf-head { max-width: 760px; margin-bottom: 40px; }
.sf-head p { color: var(--text-2); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; display: flex; gap: 16px; padding: 24px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.steps li:not(:last-child)::after { content: ''; position: absolute; top: 44px; right: -21px; width: 22px; height: 2px; background: linear-gradient(90deg, var(--shopee), transparent); }
.step-n { flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--shopee); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 10px 24px -8px rgba(255, 90, 54, .7); }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { color: var(--text-2); font-size: 14.5px; margin-bottom: 12px; }
.steps strong { color: var(--text); }
.sf-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.sf-driver { display: flex; gap: 14px; align-items: center; }
.sf-driver > .icon { width: 40px; height: 40px; color: var(--shopee); }
.sf-driver div { display: flex; flex-direction: column; }
.sf-driver span { color: var(--muted); font-size: 14px; }

/* ---------- Sobre ---------- */
.about-photo { position: relative; isolation: isolate; width: 100%; max-width: 560px; margin: 0 auto; padding: 44px 0 34px; }
.ap-frame { position: relative; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); background: var(--surface); transform: rotate(-1.5deg); transition: transform .8s var(--ease); }
.ap-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,13,24,.55)); pointer-events: none; }
.ap-frame img { width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.about-photo:hover .ap-frame { transform: rotate(0); }
.about-photo:hover .ap-frame img { transform: scale(1.05); }
.ap-badge { position: absolute; left: 24px; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 18px; background: rgba(14,24,41,.94); border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.ap-badge img { width: 46px; height: auto; }
.ap-badge strong { display: block; font-size: 17px; color: var(--accent-text); line-height: 1.2; }
.ap-badge small { display: block; font-size: 12.5px; color: var(--muted); }
.ap-year { position: absolute; right: 0; top: 0; z-index: -1; font-size: clamp(72px, 9vw, 130px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 201, 40, .3); pointer-events: none; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 32px; }
.stat { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat strong { display: block; font-size: 34px; letter-spacing: -0.03em; color: var(--accent-text); line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.stats-card { grid-template-columns: 1fr; margin: 20px 0 0; }
.about-side { display: flex; flex-direction: column; }
.about-story { align-items: start; }
.about-side .about-photo { position: sticky; top: calc(var(--header-h) + 8px); }
.prose { overflow-wrap: break-word; }
.prose p { color: var(--text-2); font-size: 17px; }
.prose p + p { margin-top: 16px; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.narrow { max-width: 780px; }

/* Linha do tempo */
.timeline { position: relative; display: grid; gap: 28px; padding-left: 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line-2); transform: translateX(-50%); }
.timeline::after { content: ''; position: absolute; left: 50%; top: 0; width: 2px; height: var(--progress, 0%); background: linear-gradient(180deg, var(--accent), var(--blue-2)); transform: translateX(-50%); transition: height .2s linear; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tl-dot { position: absolute; left: 50%; top: 50%; z-index: 2; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease) .2s; box-shadow: 0 0 0 6px rgba(255,201,40,.12); }
.tl-item.is-in .tl-dot { transform: translate(-50%, -50%) scale(1); }
.tl-year { justify-self: end; font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.04em; color: transparent; -webkit-text-stroke: 1.2px var(--accent); }
.tl-card { padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.tl-card h3 { font-size: 18px; margin-bottom: 6px; }
.tl-card p { color: var(--text-2); font-size: 15px; }
.tl-item:nth-child(even) .tl-year { order: 2; justify-self: start; }
.tl-item:nth-child(even) .tl-card { order: 1; }

/* ---------- Página interna: hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + 64px) 0 72px; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 2; }
.page-title { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 18px; max-width: 16ch; }
.page-hero .lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); max-width: 620px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--accent-text); }
.breadcrumb .sep { opacity: .4; }
.breadcrumb [aria-current] { color: var(--text-2); max-width: min(40ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Página de evento */
.event-hero { padding-bottom: 64px; }
.event-hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; }
.event-hero .page-title { max-width: 20ch; font-size: clamp(34px, 4.8vw, 58px); }
.eh-meta { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 30px; }
.eh-meta li { display: flex; gap: 8px; align-items: flex-start; color: var(--text-2); font-weight: 600; }
.eh-meta .icon { color: var(--accent-text); margin-top: 2px; }
.past-banner { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 12px; background: rgba(255, 90, 54, .12); border: 1px solid rgba(255, 90, 54, .35); margin-bottom: 20px; color: var(--text); }
.past-banner a { color: var(--accent-text); text-decoration: underline; }

.ev-ticket { --c1: #1c2e52; --c2: #0e1829; --c3: rgba(255,201,40,.5); position: relative; width: 100%; max-width: 360px; margin-left: auto; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); }
.evt-top { position: relative; padding: 26px 26px 28px; background: radial-gradient(120% 90% at 90% 0%, var(--c3), transparent 60%), linear-gradient(150deg, var(--c1), var(--c2)); overflow: hidden; }
.evt-top::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1.4px); background-size: 16px 16px; mask-image: linear-gradient(135deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(135deg, transparent 30%, #000); }
.evt-cat { position: relative; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.evt-cat .icon { width: 16px; height: 16px; color: var(--accent); }
.evt-date { position: relative; display: flex; align-items: baseline; gap: 12px; margin-top: 24px; }
.evt-date strong { font-size: 96px; line-height: .85; letter-spacing: -0.06em; }
.evt-date span { font-size: 18px; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.evt-weekday { position: relative; margin-top: 12px; font-weight: 600; color: rgba(255,255,255,.85); text-transform: capitalize; }
.evt-icon { position: relative; margin: 26px 0 6px; color: var(--accent); }
.evt-icon .icon { width: 72px; height: 72px; stroke-width: 1.3; }
.ev-ticket.is-undated .evt-weekday { text-transform: none; }
.evt-perf { position: relative; height: 0; border-top: 2px dashed rgba(255,255,255,.18); }
.evt-perf::before, .evt-perf::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.evt-perf::before { left: -12px; } .evt-perf::after { right: -12px; }
.evt-bottom { display: flex; flex-direction: column; gap: 8px; padding: 22px 26px 24px; background: var(--surface); }
.evt-count { font-size: 15px; color: var(--text-2); }
.evt-count b { font-size: 28px; color: var(--text); letter-spacing: -0.03em; margin-right: 4px; }
.evt-place { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.evt-place .icon { width: 16px; height: 16px; }

.ev-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.ev-main { display: flex; flex-direction: column; gap: 22px; }
.ev-block { padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.ev-block p { color: var(--text-2); font-size: 16.5px; }
.ev-block p + p { margin-top: 14px; }
.ev-block .link-arrow { margin-top: 18px; }
.ev-h2 { font-size: 22px; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.ev-h2::before { content: ''; width: 24px; height: 3px; border-radius: 3px; background: var(--accent); }
.producers { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px !important; }
.producers strong { color: var(--text); }
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.highlights li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.highlights li span { flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); }
.highlights .icon { width: 20px; height: 20px; }
.schedule { display: flex; flex-direction: column; gap: 10px; }
.schedule li { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); transition: border-color .3s, transform .4s var(--ease); }
.schedule li:hover { border-color: rgba(255,201,40,.4); transform: translateX(4px); }
.sc-date { flex-shrink: 0; width: 58px; padding: 8px 0; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .08em; line-height: 1.1; }
.sc-date strong { display: block; font-size: 22px; color: var(--text); letter-spacing: -0.03em; }
.sc-info { display: flex; flex-direction: column; flex: 1; }
.sc-info small { color: var(--muted); font-size: 13.5px; }
.sc-status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.sc-status:empty { display: none; }
.schedule li.is-past { opacity: .5; }
.schedule li.is-past .sc-status { background: rgba(255,255,255,.06); color: var(--muted); }
.schedule li.is-next { border-color: var(--accent); background: rgba(255,201,40,.06); }
.schedule li.is-next .sc-status { background: var(--accent); color: var(--accent-ink); }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dl-item { display: flex; gap: 14px; padding: 18px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.dl-item > .icon { width: 22px; height: 22px; color: var(--accent-text); margin-top: 2px; }
.dl-item div { display: flex; flex-direction: column; }
.dl-item small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dl-item span { color: var(--text-2); font-size: 14.5px; }
.ev-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { padding: 28px; border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.side-card h3 { display: flex; align-items: center; gap: 10px; font-size: 19px; margin-bottom: 8px; }
.side-card h3 .icon { color: var(--accent-text); }
.side-lead { color: var(--muted); font-size: 14.5px; margin-bottom: 18px !important; }
.side-list { display: flex; flex-direction: column; gap: 14px; margin: 18px 0 24px; }
.side-list li { display: flex; gap: 12px; font-size: 15px; color: var(--text-2); }
.side-list .icon { width: 18px; height: 18px; color: var(--accent-text); margin-top: 3px; }
.side-list a:hover { color: var(--accent-text); }
.side-note { margin-top: 14px !important; font-size: 13px; color: var(--muted); text-align: center; }

.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 18px; background: rgba(14, 24, 41, .92); backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); transform: translateY(140%); transition: transform .6s var(--ease); }
.sticky-cta.is-visible { transform: none; }
.sticky-cta div { display: flex; flex-direction: column; min-width: 0; }
.sticky-cta strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-cta small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Página de eventos ---------- */
.events-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.search-field { position: relative; display: flex; align-items: center; flex: 1 1 320px; max-width: 440px; }
.search-field .icon { position: absolute; left: 18px; color: var(--muted); pointer-events: none; }
.search-field input { width: 100%; height: 52px; padding: 0 20px 0 50px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); font-size: 15px; transition: border-color .2s, box-shadow .3s; }
.search-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,201,40,.12); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 700; color: var(--text-2); transition: all .3s var(--ease); }
.filter-chip span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: 12px; }
.filter-chip:hover { border-color: rgba(255,201,40,.5); color: var(--text); }
.filter-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.filter-chip.is-active span { background: rgba(0,0,0,.15); }
.results-count { color: var(--muted); font-size: 14px; margin-bottom: 24px; min-height: 22px; }
.empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 64px 24px; border-radius: var(--radius-lg); border: 1px dashed var(--line-2); }
.empty-state > .icon { width: 40px; height: 40px; color: var(--muted); }
.empty-state p { color: var(--muted); max-width: 440px; margin-bottom: 8px; }
.event-card.anim-in { animation: cardIn .6s var(--ease) both; animation-delay: calc(var(--k, 0) * 40ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }

/* ---------- Revistas ---------- */
.mag-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mag-card { --t: #ff4d8d; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .3s; scroll-margin-top: calc(var(--header-h) + 24px); }
.mag-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--t) 55%, transparent); }
.mag-card:target { border-color: var(--t); box-shadow: 0 0 0 3px color-mix(in srgb, var(--t) 30%, transparent); }
.mag-card-art { position: relative; height: 190px; background: radial-gradient(100% 100% at 50% 0%, color-mix(in srgb, var(--t) 40%, transparent), transparent 70%), var(--bg-2); overflow: hidden; }
.mca-cover { position: absolute; bottom: -30px; width: 110px; height: 150px; border-radius: 10px; box-shadow: var(--shadow); transition: transform .7s var(--ease); }
.mca-cover.a { left: calc(50% - 125px); transform: rotate(-14deg); background: linear-gradient(160deg, color-mix(in srgb, var(--t) 70%, #fff 0%), color-mix(in srgb, var(--t) 40%, #000)); }
.mca-cover.b { left: calc(50% - 55px); bottom: -14px; z-index: 2; transform: rotate(-2deg); background: linear-gradient(160deg, color-mix(in srgb, var(--t) 90%, #fff), color-mix(in srgb, var(--t) 60%, #000)); }
.mca-cover.c { left: calc(50% + 15px); transform: rotate(12deg); background: linear-gradient(160deg, #2a3f6a, #121d33); }
.mag-card:hover .mca-cover.a { transform: rotate(-20deg) translate(-10px, -10px); }
.mag-card:hover .mca-cover.b { transform: rotate(0deg) translateY(-16px); }
.mag-card:hover .mca-cover.c { transform: rotate(18deg) translate(10px, -8px); }
.mca-icon { position: absolute; left: calc(50% - 26px); bottom: 34px; z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(7, 13, 24, .75); backdrop-filter: blur(6px); color: var(--t); border: 1px solid rgba(255,255,255,.15); }
.mca-icon .icon { width: 26px; height: 26px; }
.mag-card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px; }
.mag-card-body h2 { font-size: 21px; }
.mag-card-body p { color: var(--text-2); font-size: 15px; }
.mag-card-body .btn { margin-top: auto; align-self: flex-start; }
.mag-card-body .btn .icon:first-child { color: currentColor; }

.ask-box { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; padding: 48px; border-radius: 28px; background: radial-gradient(80% 100% at 100% 0%, rgba(42,79,214,.3), transparent 60%), var(--surface); border: 1px solid var(--line-2); }
.ask-text p:not(.eyebrow) { color: var(--text-2); }
.ask-form { display: flex; flex-direction: column; gap: 20px; }
.ask-form fieldset { border: 0; padding: 0; margin: 0; }
.ask-form legend { font-weight: 700; margin-bottom: 12px; font-size: 15px; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip input { position: absolute; opacity: 0; pointer-events: none; }
.check-chip span { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .25s var(--ease); user-select: none; }
.check-chip .icon { width: 0; height: 16px; opacity: 0; transition: width .3s var(--ease), opacity .2s; }
.check-chip span:hover { border-color: rgba(255,201,40,.5); }
.check-chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.check-chip input:checked + span .icon { width: 16px; opacity: 1; }
.check-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form-hint { font-size: 13.5px; color: var(--muted); }
.form-hint.is-error { color: #ff8a73; }
.form-hint a { color: var(--accent-text); }

/* Formulários */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font-weight: 700; font-size: 14.5px; }
.field small { color: var(--muted); font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 15px; transition: border-color .2s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,201,40,.12); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #ff8a73; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238f9bb1' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }

/* ---------- Serviços (página) ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { display: flex; flex-direction: column; gap: 12px; padding: 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; scroll-margin-top: calc(var(--header-h) + 24px); }
.service-card:hover { transform: translateY(-6px); border-color: rgba(255,201,40,.4); }
.service-card:target { border-color: var(--accent); }
.sc-icon { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--accent-soft); color: var(--accent-text); margin-bottom: 6px; transition: transform .5s var(--ease); }
.service-card:hover .sc-icon { transform: rotate(-8deg) scale(1.06); }
.sc-icon .icon { width: 28px; height: 28px; }
.service-card h2 { font-size: 20px; }
.service-card p { color: var(--text-2); font-size: 15px; }
.paper-list { display: flex; flex-wrap: wrap; gap: 6px; }
.paper-list li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line); color: var(--text-2); }
.sc-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 8px; }

/* ---------- Contato ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.contact-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease); }
.contact-card:hover { border-color: rgba(255,201,40,.35); transform: translateY(-4px); }
.cc-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); }
.contact-card h2 { font-size: 17px; }
.contact-card p { color: var(--text-2); font-size: 14.5px; word-break: break-word; }
.contact-card a:hover { color: var(--accent-text); }
.map-embed { position: relative; height: 420px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); background: radial-gradient(60% 80% at 50% 50%, rgba(42,79,214,.25), transparent 70%), repeating-linear-gradient(0deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px), repeating-linear-gradient(90deg, transparent 0 39px, rgba(255,255,255,.04) 39px 40px), var(--surface); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 24px; }
.map-placeholder > .icon { width: 44px; height: 44px; color: var(--accent-text); animation: bob 3s ease-in-out infinite; margin-bottom: 6px; }
.map-placeholder span, .map-placeholder small { color: var(--muted); }
.map-placeholder .btn { margin: 10px 0 4px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text-2); transition: all .3s var(--ease); }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.socials.sm a { width: 40px; height: 40px; }
.open-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; font-weight: 700; }
.open-status:empty { display: none; }
.open-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 25%, transparent); animation: pulse 2s ease-in-out infinite; }
.open-status.is-open { color: var(--green); }
.open-status.is-closed { color: #ff8a73; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px transparent; } }

/* ---------- Faixa de informações + rodapé ---------- */
.info-strip { border-top: 1px solid var(--line); background: var(--bg-2); padding: 48px 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 32px; align-items: center; }
.info-item { display: flex; gap: 16px; align-items: flex-start; }
.info-item + .info-item { padding-left: 32px; border-left: 1px solid var(--line); }
.info-icon { flex-shrink: 0; color: var(--accent-text); }
.info-icon .icon { width: 30px; height: 30px; stroke-width: 1.6; }
.info-item h3 { font-size: 16px; margin-bottom: 6px; }
.info-item p { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.info-item p strong { color: var(--text); font-weight: 600; }
.info-item a:hover { color: var(--accent-text); }

.site-footer { padding: 64px 0 28px; background: var(--bg); border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 18px; max-width: 320px; }
.site-footer h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; font-weight: 700; }
.site-footer nav ul { display: flex; flex-direction: column; gap: 10px; }
.site-footer nav a { color: var(--text-2); font-size: 15px; transition: color .2s, padding .3s var(--ease); }
.site-footer nav a:hover { color: var(--accent-text); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); word-break: break-word; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--accent-text); margin-top: 3px; }
.footer-contact a:hover { color: var(--accent-text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.footer-bottom a:hover { color: var(--accent-text); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 70; display: flex; align-items: center; gap: 0; height: 58px; padding: 0 17px; border-radius: 999px; background: #25d366; color: #06301a; box-shadow: 0 16px 36px -10px rgba(37, 211, 102, .6); transition: gap .45s var(--ease), padding .45s var(--ease), transform .3s var(--ease); animation: waIn .8s var(--ease) 1.2s both; }
.wa-float .icon { width: 26px; height: 26px; stroke-width: 2; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 800; font-size: 15px; transition: max-width .45s var(--ease); }
.wa-float:hover { gap: 10px; padding: 0 22px 0 18px; }
.wa-float:hover span { max-width: 140px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366; animation: waPulse 2.6s var(--ease) infinite; }
@keyframes waIn { from { opacity: 0; transform: translateY(30px) scale(.6); } }
@keyframes waPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.to-top { position: fixed; right: 30px; bottom: 94px; z-index: 70; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.to-top .icon { width: 18px; height: 18px; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 150; padding: 14px 20px; border-radius: 12px; background: var(--text); color: var(--bg); font-weight: 700; font-size: 14.5px; box-shadow: var(--shadow-lg); transform: translate(-50%, 150%); opacity: 0; transition: all .5s var(--ease); pointer-events: none; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* 404 */
.hero-404 { min-height: 80svh; display: flex; align-items: center; }
.hero-404 .page-title { margin-inline: auto; }
.hero-404 .lead { margin-inline: auto; margin-bottom: 30px; }
.big-404 { font-size: clamp(100px, 18vw, 200px); font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--accent); margin-bottom: 10px; }

/* ---------- Animações de entrada ---------- */
/* Usa `translate`/`rotate` (independentes de `transform`) para não conflitar com os efeitos de hover.
   O atributo data-reveal é removido pelo JS quando a animação termina. */
.js [data-reveal] { opacity: 0; translate: 0 34px; transition: opacity .9s var(--ease), translate 1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; translate: none; }
.js [data-anim] { opacity: 0; transition: opacity .9s var(--ease), translate 1s var(--ease), rotate 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-anim="fade-up"] { translate: 0 24px; }
.js [data-anim="fade-left"] { translate: 40px 0; rotate: 3deg; }
.js.is-loaded [data-anim] { opacity: 1; translate: none; rotate: none; }
main, .info-strip, .site-footer { transition: opacity .22s ease; }
.js.is-leaving main, .js.is-leaving .info-strip, .js.is-leaving .site-footer { opacity: 0; }

/* ---------- Fotos ---------- */
/* Foto de fundo da capa */
.hero-bg .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .5; animation: kenburns 28s ease-in-out infinite alternate; }
.hero-bg.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(7,13,24,.95) 0%, rgba(7,13,24,.72) 45%, rgba(7,13,24,.35) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 35%), linear-gradient(180deg, rgba(7,13,24,.7) 0%, transparent 25%); }
.hero-bg.has-photo > :not(.hero-photo) { z-index: 1; }
.hero-bg.has-photo .beams span { opacity: .3; }
.hero-bg.is-compact.has-photo .hero-photo { opacity: .35; object-position: center 40%; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

/* Cards de evento com foto */
.event-poster { height: 200px; }
.poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 1.2s var(--ease); }
.event-card:hover .poster-img { transform: scale(1.07); }
.event-card.has-photo .event-poster::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,13,24,.65) 0%, transparent 30%, transparent 50%, rgba(7,13,24,.85) 100%); }
.event-card.has-photo .poster-cat, .event-card.has-photo .poster-kind, .event-card.has-photo .date-badge, .poster-count { z-index: 2; }
.event-card.has-photo .event-poster::after { z-index: 2; }
.poster-count { position: absolute; right: 14px; bottom: 16px; display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: rgba(7,13,24,.75); border: 1px solid rgba(255,255,255,.18); font-size: 12px; font-weight: 700; }
.poster-count .icon { width: 14px; height: 14px; color: var(--accent); }

/* Galeria da página do evento */
.ev-gallery { width: 100%; max-width: 400px; margin-left: auto; }
.g-stage { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--surface); border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow-lg); }
.g-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.05); transition: opacity .6s var(--ease), transform .9s var(--ease); pointer-events: none; }
.g-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.g-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); max-width: none; object-fit: cover; filter: blur(26px) brightness(.45) saturate(1.3); }
.g-open { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; cursor: zoom-in; }
.g-img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 12px; box-shadow: 0 20px 50px -15px rgba(0,0,0,.8); transition: transform .6s var(--ease); }
.g-open:hover .g-img { transform: scale(1.02); }
.g-zoom, .g-counter { position: absolute; top: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: rgba(7,13,24,.72); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(6px); font-size: 12.5px; font-weight: 700; pointer-events: none; }
.g-zoom { right: 14px; opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .4s var(--ease); }
.g-stage:hover .g-zoom { opacity: 1; transform: none; }
.g-zoom .icon { width: 14px; height: 14px; }
.g-counter { left: 14px; }
.g-counter b { color: var(--accent); }
.g-arrow { position: absolute; top: 50%; z-index: 3; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border-radius: 50%; background: rgba(7,13,24,.72); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(6px); color: #fff; transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease); }
.g-arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: scale(1.08); }
.g-arrow .icon { width: 22px; height: 22px; }
.g-prev { left: 12px; }
.g-next { right: 12px; }
.g-next .icon { animation: nudge 1.8s var(--ease) infinite; }
.ev-gallery.was-used .g-next .icon { animation: none; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(4px); } }
.g-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.g-thumb { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 12px 6px 6px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--text-2); text-align: left; transition: border-color .25s, color .25s, background-color .25s; }
.g-thumb img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 9px; object-fit: cover; object-position: top; }
.g-thumb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-thumb:hover { border-color: rgba(255,201,40,.5); color: var(--text); }
.g-thumb.is-active { border-color: var(--accent); color: var(--accent-text); background: rgba(255,201,40,.06); }
.eh-count b { color: var(--accent-text); margin-right: 2px; }

/* Tela de ampliação */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3, 6, 12, .95); color: var(--text); overflow: hidden; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox[open] { display: block; animation: lbIn .35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 84px 72px; }
.lb-img { grid-area: 1 / 1; max-width: 100%; max-height: calc(100dvh - 136px); object-fit: contain; border-radius: 10px; opacity: 0; transform: scale(.97); transition: opacity .35s var(--ease), transform .5s var(--ease); }
.lb-img.is-active { opacity: 1; transform: none; }
.lb-close, .lb-arrow { position: absolute; z-index: 2; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background-color .25s, color .25s; }
.lb-close { top: 16px; right: 16px; width: 46px; height: 46px; }
.lb-arrow { top: 50%; width: 54px; height: 54px; margin-top: -27px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-close:hover, .lb-arrow:hover { background: var(--accent); color: var(--accent-ink); }
.lb-close .icon, .lb-arrow .icon { width: 24px; height: 24px; }
.lb-caption { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-weight: 700; color: var(--text-2); padding: 0 16px; }
body.lb-open { overflow: hidden; }

/* Revistas com foto */
.mag-cover.has-photo { padding: 0; overflow: hidden; background: #111; }
.mag-cover.has-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mag-cover.has-photo .mc-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(7,13,24,.8); color: #fff; }
.parcel-photo { position: absolute; left: 0; top: 20px; width: 290px; border-radius: 22px; overflow: hidden; transform: rotate(-6deg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.15); }
.parcel-photo img { width: 100%; height: auto; }
.parcel .parcel-box { position: absolute; right: 6px; top: 130px; width: 130px; height: 130px; border-radius: 28px; z-index: 2; }
.parcel .parcel-box .icon { width: 64px; height: 64px; }
.parcel-label { z-index: 3; }
.mag-mini.has-photo .mm-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: transform 1.2s var(--ease), opacity .4s; }
.mag-mini.has-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,13,24,.15) 0%, rgba(7,13,24,.92) 72%); }
.mag-mini.has-photo > :not(.mm-photo) { position: relative; z-index: 1; }
.mag-mini.has-photo:hover .mm-photo { transform: scale(1.08); opacity: .7; }
.mag-mini.has-photo .mm-icon { background: rgba(7,13,24,.7); }
.mag-card-art.has-photo { height: 220px; }
.mca-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mag-card:hover .mca-photo { transform: scale(1.07); }
.mag-card-art.has-photo::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, rgba(14,24,41,.9)); }
.sf-top { display: grid; grid-template-columns: 1.35fr .65fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.sf-top .sf-head { margin-bottom: 0; }
.sf-photo { margin: 0; border-radius: 22px; overflow: hidden; transform: rotate(2deg); box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.12); transition: transform .6s var(--ease); }
.sf-photo:hover { transform: rotate(0) scale(1.02); }
.sf-photo img { width: 100%; height: auto; }
@media (max-width: 1020px) {
  .ev-gallery { margin: 0 auto; }
  .sf-top { grid-template-columns: 1fr; }
  .sf-photo { max-width: 420px; }
}
@media (max-width: 760px) {
  .hero-bg.has-photo::after { background: linear-gradient(180deg, rgba(7,13,24,.85) 0%, rgba(7,13,24,.8) 45%, rgba(7,13,24,.45) 75%, var(--bg) 100%); }
  .hero-bg.has-photo .hero-photo { opacity: .6; object-position: 60% center; }
  .lb-stage { padding: 60px 12px 110px; }
  .lb-img { max-height: calc(100dvh - 170px); }
  .lb-arrow { top: auto; bottom: 18px; margin-top: 0; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .lb-caption { bottom: 84px; }
}

/* Itens de grid podem encolher abaixo do conteúdo mínimo (evita rolagem lateral) */
.hero-inner > *, .event-hero-inner > *, .ev-layout > *, .contact-cards > *, .split > *, .ask-box > *, .shopee-band > * { min-width: 0; }
.contact-card p, .side-list, .footer-contact, .form-hint { overflow-wrap: anywhere; }
.sc-info { min-width: 0; }
@media (max-width: 400px) { .schedule li { flex-wrap: wrap; } .sc-status { margin-left: 74px; } }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .header-search input { width: 150px; }
  .header-search input:focus { width: 190px; }
  .main-nav a { padding: 10px 10px; }
  .main-nav a::after { left: 10px; right: 10px; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .event-grid { grid-template-columns: repeat(3, 1fr); }
  .carousel-track { grid-auto-columns: calc((100% - 44px) / 3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: repeat(3, 1fr); }
  .info-cta { grid-column: 1 / -1; }
}
@media (max-width: 1020px) {
  .main-nav, .header-search { display: none; }
  .menu-toggle { display: grid; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-visuals { min-height: 380px; }
  .hero { padding-top: calc(var(--header-h) + 28px); }
  .split, .event-hero-inner, .ev-layout, .ask-box { grid-template-columns: 1fr; }
  .contact-cards.cols-4 { grid-template-columns: 1fr 1fr; }
  .split { gap: 44px; }
  .ev-ticket { margin: 0; }
  .ev-side { position: static; }
  .shopee-band { grid-template-columns: 1fr; padding: 32px; }
  .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { display: none; }
  .mag-cards, .service-cards { grid-template-columns: 1fr 1fr; }
  .about-side .about-photo { position: relative; top: 0; }
  .sticky-cta { display: flex; }
  .page-event .wa-float, .page-event .to-top { bottom: 96px; }
  .page-event .to-top { bottom: 166px; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section-first { padding-top: 40px; }
  .brand-text strong { font-size: 18px; }
  .brand img { width: 40px; }
  .hero { min-height: auto; padding-bottom: 28px; }
  .hero-title { font-size: clamp(36px, 10.5vw, 52px); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-visuals { min-height: 360px; transform: scale(.86); margin: -20px 0; }
  .hero-controls { margin-top: 18px; justify-content: center; }
  .scroll-cue { display: none; }
  .event-grid, .event-grid.cols-3 { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: 84%; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .mag-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .mag-mini { min-height: 150px; padding: 18px; }
  .mag-cards, .service-cards, .contact-cards, .contact-cards.cols-4, .dl-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .stat { padding: 14px; }
  .stat strong { font-size: 26px; }
  .shopee-feature, .ask-box { padding: 26px 20px; border-radius: 22px; }
  .shopee-band { padding: 26px 20px; }
  .ev-block { padding: 24px 20px; }
  .info-grid { grid-template-columns: 1fr; gap: 24px; }
  .info-item + .info-item { padding-left: 0; border-left: 0; padding-top: 24px; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before, .timeline::after { left: 8px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 36px; }
  .tl-dot { left: 8px; top: 18px; }
  .tl-year, .tl-item:nth-child(even) .tl-year { order: 0; justify-self: start; font-size: 30px; }
  .tl-item:nth-child(even) .tl-card { order: 1; }
  .page-hero { padding: calc(var(--header-h) + 36px) 0 48px; }
  .event-hero .btn-row .btn { flex: 1 1 auto; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; width: calc(100% + 32px); }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip { flex-shrink: 0; }
  .search-field { max-width: none; }
  .wa-float { right: 16px; bottom: 16px; height: 54px; padding: 0 15px; }
  .to-top { right: 22px; bottom: 82px; }
  .map-embed { height: 340px; }
  .mag-fan { transform: scale(.9); }
}
@media (max-width: 400px) {
  .hero-visuals { transform: scale(.78); margin: -44px 0 -40px; }
  .parcel-label { right: 0; }
}

/* ---------- Otimizações para celular ---------- */
a, button, label, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.lbl-short { display: none; }

/* Telas de toque: sem efeitos de "hover" que ficam presos depois do toque */
@media (hover: none) {
  .event-card:hover, .service-tile:hover, .mag-card:hover, .service-card:hover, .contact-card:hover, .btn:hover, .schedule li:hover { transform: none; }
  .event-card:hover .poster-img, .mag-card:hover .mca-photo, .about-photo:hover .ap-frame img { transform: none; }
  .event-card:active, .service-tile:active, .mag-card:active, .contact-card:active { transform: scale(.98); transition-duration: .15s; }
  .g-zoom { opacity: 1; transform: none; }
  .wa-float:hover { gap: 0; padding: 0 17px; }
  .wa-float:hover span { max-width: 0; }
}

@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 28px; }
  .display { font-size: clamp(27px, 7.6vw, 34px); }
  .split { gap: 32px; }
  .split-text > p:not(.eyebrow), .prose p, .ev-block p { font-size: 16px; }

  /* Campos com 16px evitam o zoom automático do iPhone ao tocar */
  .search-field input, .field input, .field select, .field textarea, .header-search input { font-size: 16px; }

  /* Capa */
  .hero { padding-top: calc(var(--header-h) + 20px); }
  .hero-text { margin-bottom: 26px; }
  .hero-actions { gap: 10px; }
  .hero-visuals { min-height: 330px; transform: scale(.82); margin: -24px 0 -30px; }
  .hero-controls { margin-top: 8px; }
  .marquee { padding: 14px 0; }
  .marquee-group { font-size: 15px; gap: 22px; padding-right: 22px; }

  /* Serviços em lista compacta (ícone ao lado do nome) */
  .service-grid { gap: 10px; }
  .service-tile { flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 60px; padding: 12px 14px; text-align: left; }
  .st-icon .icon { width: 24px; height: 24px; }
  .st-label { font-size: 13.5px; }

  /* Revistas */
  .mag-grid .mag-mini:nth-child(2), .mag-grid .mag-mini:nth-child(4) { transform: translateY(18px); }
  .mag-mini strong { font-size: 15.5px; margin-top: 12px; }
  .chip-row { margin: 18px 0 22px; }
  .mag-card-art.has-photo { height: 190px; }

  /* Sobre */
  .about-photo { padding-top: 30px; }
  .ap-badge { left: 12px; padding: 10px 14px 10px 10px; }
  .ap-badge img { width: 38px; }
  .stats { margin: 24px 0 26px; }

  /* Página de evento */
  .event-hero .page-title { font-size: clamp(32px, 9vw, 44px); }
  .eh-meta { margin: 18px 0 24px; gap: 10px; flex-direction: column; }
  .event-hero .btn-row { gap: 10px; }
  .event-hero .btn-row .btn-primary { flex: 1 1 100%; }
  .event-hero .btn-row .btn-ghost { flex: 1 1 calc(50% - 5px); padding: 0 12px; }
  .lbl-long { display: none; }
  .lbl-short { display: inline; }
  .ev-gallery { max-width: 100%; }
  .g-stage { border-radius: 20px; }
  .g-arrow { width: 44px; height: 44px; margin-top: -22px; }
  .ev-layout { gap: 22px; }
  .ev-main { gap: 16px; }
  .ev-h2 { font-size: 20px; }
  .highlights { grid-template-columns: 1fr; }
  .side-card { padding: 22px 18px; }

  /* Rodapé mais curto */
  .site-footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; grid-auto-flow: dense; }
  .footer-brand, .footer-grid > div:nth-child(3) { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 32px; }
  .info-strip { padding: 36px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-anim] { opacity: 1; transform: none; }
  [data-split] .w > span { transform: none; }
  .marquee-track { animation: none; }
}
