/* =========================================================
   CULTURA TRANSBORDADA — Prototype
   Design system fiel ao Figma (kKqFRn5MyeNdYI9SyLChLz)
   ========================================================= */

:root {
    --dark:      #232323;
    --gray-60:   #606060;
    --gray-9c:   #9C9C9C;
    --gray-ad:   #ADADAD;
    --line:      #E4E4E4;
    --bg:        #F5F5F5;
    --white:     #FFFFFF;
    --red:       #C90C0F;
    --green:     #89A135;

    --radius:    14px;
    --radius-lg: 22px;
    --shadow:    0 10px 30px rgba(0,0,0,.06);
    --shadow-lg: 0 20px 50px rgba(0,0,0,.12);
    --header-h:  90px;
    --maxw:      1400px;
    --font:      'Montserrat', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; }
input, textarea, select { font-family: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.hidden { display: none !important; }
.mono-red { color: var(--red); }
.text-green { color: var(--green); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-weight: 700; font-size: 14px; padding: 14px 28px; border-radius: 999px;
    transition: transform .12s ease, background .2s ease, opacity .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-dark  { background: var(--dark);  color: var(--white); }
.btn-dark:hover  { background: #000; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { opacity: .9; }
.btn-white { background: var(--white); color: var(--dark); box-shadow: var(--shadow); }
.btn-white:hover { box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; border: 1.5px solid var(--line); color: var(--dark); }
.btn-outline:hover { border-color: var(--dark); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.main-header {
    background: var(--dark); height: var(--header-h);
    position: sticky; top: 0; z-index: 900;
    display: flex; align-items: center;
}
.header-content { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 30px; }
.logo img { height: 58px; }
.nav-group { display: flex; align-items: center; gap: 46px; }
.main-nav ul { display: flex; list-style: none; gap: 42px; }
.main-nav a {
    color: #d8d8d8; font-weight: 600; font-size: 16px; padding: 6px 0;
    position: relative; transition: color .2s ease;
}
.main-nav a:hover { color: var(--white); }
.main-nav a.active { color: var(--white); }
.main-nav a.active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
    background: var(--white); border-radius: 3px;
}
.user-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: #3a3a3a; display: grid; place-items: center; color: var(--white);
    position: relative; transition: background .2s ease;
}
.user-btn:hover { background: #4a4a4a; }
.header-icons { display: flex; align-items: center; gap: 14px; }
.icon-badge { position: absolute; top: -3px; right: -3px; background: var(--red); color: #fff;
    font-size: 10px; font-weight: 800; min-width: 17px; height: 17px; border-radius: 999px;
    display: grid; place-items: center; padding: 0 4px; }

/* ---------- User dropdown ---------- */
.dropdown-wrap { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 14px); right: 0; width: 300px;
    background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 10px; z-index: 950; overflow: hidden;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all .16s ease;
}
.dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-head { display: flex; gap: 12px; align-items: center; padding: 14px; }
.dropdown-head .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--green);
    color: #fff; display: grid; place-items: center; font-weight: 800; }
.dropdown-head h4 { font-size: 15px; }
.dropdown-head p { font-size: 12px; color: var(--gray-9c); font-weight: 600; }
.dropdown-role { display: inline-block; margin-top: 3px; font-size: 10px; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em; color: var(--green); }
.dropdown hr { border: none; border-top: 1px solid var(--line); margin: 6px 0; }
.dropdown a {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px;
    font-size: 14px; font-weight: 600; color: var(--dark); transition: background .15s ease;
}
.dropdown a:hover { background: var(--bg); }
.dropdown a.danger { color: var(--red); }
.dropdown svg { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero {
    height: 430px; position: relative; display: flex; align-items: center;
    background: linear-gradient(rgba(35,35,35,.45), rgba(35,35,35,.55)), var(--hero-img) center/cover;
    color: var(--white);
}
.hero.small { height: 360px; }
.hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; margin-bottom: 34px; max-width: 620px; }
.hero.small h1 { font-size: 40px; }

.search-pill {
    display: flex; align-items: center; background: var(--white); border-radius: 999px;
    padding: 6px 6px 6px 24px; max-width: 900px; box-shadow: var(--shadow-lg);
}
.search-pill svg { width: 20px; height: 20px; stroke: var(--gray-9c); flex-shrink: 0; }
.search-pill input {
    flex: 1; border: none; outline: none; padding: 16px 14px; font-size: 15px; color: var(--dark);
    background: transparent;
}
.search-pill input::placeholder { color: var(--gray-ad); }
.search-loc {
    display: flex; align-items: center; gap: 8px; padding: 14px 22px; color: var(--gray-60);
    font-weight: 600; font-size: 14px; border-left: 1px solid var(--line); cursor: pointer;
    white-space: nowrap;
}
.search-loc svg { width: 16px; height: 16px; }

/* ---------- Sections ---------- */
main { min-height: 60vh; }
.section { padding: 56px 0; }
.section-tight { padding: 34px 0; }
.section-title { font-size: 34px; font-weight: 800; margin-bottom: 30px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.section-head .section-title { margin-bottom: 0; }
.link-more { color: var(--green); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.link-more:hover { text-decoration: underline; }

/* ---------- Category carousel ---------- */
.cat-row { display: flex; align-items: center; gap: 8px; }
.cat-track { display: flex; gap: 26px; overflow-x: auto; scroll-behavior: smooth; padding: 6px 2px; flex: 1; scrollbar-width: none; }
.cat-track::-webkit-scrollbar { display: none; }
.cat-item { flex: 0 0 auto; width: 150px; text-align: center; cursor: pointer; }
.cat-circle { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; margin-bottom: 14px;
    border: 4px solid var(--white); box-shadow: var(--shadow); transition: transform .3s ease; }
.cat-item:hover .cat-circle { transform: translateY(-4px); }
.cat-circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-item p { font-size: 14px; font-weight: 700; }
.cat-arrow { width: 42px; height: 42px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow);
    display: grid; place-items: center; flex-shrink: 0; }
.cat-arrow svg { width: 18px; height: 18px; stroke: var(--dark); }
.cat-arrow:hover { background: var(--dark); }
.cat-arrow:hover svg { stroke: var(--white); }

/* ---------- Filter chips ---------- */
.chips { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.chip { padding: 10px 24px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line);
    font-weight: 600; font-size: 14px; transition: all .15s ease; }
.chip:hover { border-color: var(--dark); }
.chip.active { background: var(--dark); color: var(--white); border-color: var(--dark); }

/* ---------- Event grid + cards ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.ev-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; display: flex; flex-direction: column; }
.ev-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ev-img { position: relative; }
.ev-thumb { aspect-ratio: 16/10; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ev-card:hover .ev-thumb img { transform: scale(1.05); }
.ev-heart { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,.92); display: grid; place-items: center; transition: background .15s ease; }
.ev-heart svg { width: 17px; height: 17px; stroke: var(--red); fill: none; }
.ev-heart.on svg { fill: var(--red); }
.ev-heart:hover { background: #fff; }
.ev-date { position: absolute; bottom: -18px; left: 16px; background: var(--white); border-radius: 8px;
    padding: 8px 12px 6px; text-align: center; box-shadow: var(--shadow); border-top: 3px solid var(--red);
    min-width: 54px; }
.ev-date .m { display: block; font-size: 11px; font-weight: 700; color: var(--gray-60); text-transform: uppercase; letter-spacing: .04em; }
.ev-date .d { display: block; font-size: 20px; font-weight: 800; line-height: 1.05; }
.ev-body { padding: 26px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.ev-title { font-size: 16px; font-weight: 700; line-height: 1.3; margin-bottom: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-loc { font-size: 13px; color: var(--gray-9c); font-weight: 600; margin-bottom: 14px; }
.ev-meta { display: flex; gap: 22px; margin-top: auto; font-size: 13px; font-weight: 600; color: var(--gray-60); }
.ev-meta span { display: flex; align-items: center; gap: 7px; }
.ev-meta svg { width: 15px; height: 15px; stroke: var(--gray-ad); }

/* ---------- Wide banner ---------- */
.banner { position: relative; overflow: hidden; color: var(--white); text-align: center;
    background: linear-gradient(rgba(35,35,35,.62), rgba(35,35,35,.72)), var(--hero-img) center/cover; }
.banner.green { background: var(--green); }
.banner-inner { padding: 70px 20px; max-width: 640px; margin: 0 auto; }
.banner h2 { font-size: 34px; font-weight: 800; margin-bottom: 12px; }
.banner p { opacity: .9; font-weight: 600; margin-bottom: 26px; }

/* ---------- Featured (event of week) ---------- */
.featured { display: flex; background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); min-height: 420px; }
.featured .poster { width: 34%; position: relative; }
.featured .poster img { width: 100%; height: 100%; object-fit: cover; }
.featured .poster .ev-heart { top: 16px; right: 16px; }
.featured .fbody { flex: 1; padding: 44px; display: flex; flex-direction: column; }
.featured .frow { display: flex; gap: 22px; margin-bottom: 22px; }
.featured .fdate { border-top: 3px solid var(--red); background: #fff; box-shadow: var(--shadow);
    border-radius: 8px; padding: 8px 14px 6px; text-align: center; height: fit-content; }
.featured .fdate .m { display: block; font-size: 12px; font-weight: 700; color: var(--gray-60); }
.featured .fdate .d { display: block; font-size: 22px; font-weight: 800; }
.featured h3 { font-size: 26px; font-weight: 800; line-height: 1.2; }
.featured .fsub { color: var(--gray-60); font-weight: 600; font-size: 15px; margin-top: 4px; }
.featured .fdesc { color: var(--gray-60); font-size: 14px; line-height: 1.8; margin-bottom: 26px; }
.featured .fmeta { display: flex; gap: 34px; font-weight: 600; margin-bottom: 30px; }
.featured .fmeta span { display: flex; align-items: center; gap: 10px; }
.featured .fmeta svg { width: 16px; height: 16px; stroke: var(--gray-ad); }
.featured .fbody .btn { align-self: flex-end; margin-top: auto; }

/* ---------- Event detail ---------- */
.page-head { display: flex; align-items: center; gap: 16px; padding: 44px 0 30px; }
.page-head h1 { font-size: 34px; font-weight: 800; }
.back-btn { width: 40px; height: 40px; display: grid; place-items: center; }
.back-btn svg { width: 24px; height: 24px; stroke: var(--dark); }

.detail-grid { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: start; }
.detail-poster { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; aspect-ratio: 3/4; }
.detail-poster img { width: 100%; height: 100%; object-fit: cover; }
.detail-map { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
    aspect-ratio: 16/9; background: #dfe3d9 center/cover; position: relative; }
.detail-map .map-btn { position: absolute; inset: 0; margin: auto; width: fit-content; height: fit-content; }

.detail-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }
.detail-card .frow { display: flex; gap: 22px; align-items: flex-start; margin-bottom: 28px; }
.detail-card .fdate { border-top: 3px solid var(--red); background: #fff; box-shadow: var(--shadow);
    border-radius: 8px; padding: 8px 14px 6px; text-align: center; }
.detail-card .fdate .m { display: block; font-size: 12px; font-weight: 700; color: var(--gray-60); }
.detail-card .fdate .d { display: block; font-size: 22px; font-weight: 800; }
.detail-card h1 { font-size: 30px; font-weight: 800; line-height: 1.2; }
.detail-card .fsub { color: var(--gray-60); font-weight: 600; margin-top: 4px; }
.detail-specs { display: grid; gap: 12px; margin-bottom: 26px; }
.detail-specs .spec { display: grid; grid-template-columns: 150px 1fr; font-size: 14px; }
.detail-specs .spec b { font-weight: 700; }
.detail-specs .spec span { color: var(--gray-60); font-weight: 600; }
.detail-desc { color: var(--gray-60); font-size: 14px; line-height: 1.9; margin-bottom: 28px; }
.detail-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding-top: 26px; border-top: 1px solid var(--line); }
.detail-foot .pt { display: flex; gap: 34px; font-weight: 700; }
.detail-foot .pt span { display: flex; align-items: center; gap: 10px; }
.detail-foot .pt svg { width: 18px; height: 18px; stroke: var(--gray-ad); }

/* ---------- Filters sidebar (events) ---------- */
.events-layout { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; padding: 44px 0 60px; }
.filters h2 { font-size: 30px; font-weight: 800; margin-bottom: 26px; }
.filters .fgroup { margin-bottom: 30px; }
.filters .fgroup h3 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.filters label { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gray-60);
    font-weight: 600; padding: 6px 0; cursor: pointer; }
.filters label:hover { color: var(--dark); }
.filters input[type=radio], .filters input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--green); }
.filters .fmore { color: var(--gray-60); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.events-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-bottom: 22px; font-weight: 600; color: var(--gray-60); }
.events-toolbar select { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 600; background: var(--white); }

/* ---------- Auth (login/register) ---------- */
.auth-wrap { display: grid; place-items: center; padding: 60px 20px; }
.auth-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    padding: 46px; width: 100%; max-width: 440px; }
.auth-card.wide { max-width: 860px; display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.auth-card .logo-c { text-align: center; margin-bottom: 30px; }
.auth-card .logo-c img { height: 54px; margin: 0 auto 18px; }
.auth-card h1 { font-size: 26px; font-weight: 800; }
.auth-card .sub { color: var(--gray-9c); font-weight: 600; font-size: 14px; margin-top: 6px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    color: var(--gray-60); margin-bottom: 7px; }
.field input {
    width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
    padding: 14px 16px; font-size: 14px; outline: none; transition: border .15s ease;
}
.field input:focus { border-color: var(--green); }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--gray-ad);
    font-size: 11px; font-weight: 700; text-transform: uppercase; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.social-btn { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px;
    display: flex; align-items: center; justify-content: center; gap: 12px; font-weight: 700; font-size: 14px;
    transition: background .15s ease; }
.social-btn:hover { background: var(--bg); }
.social-btn img { width: 18px; height: 18px; }
.auth-alt { text-align: center; margin-top: 24px; font-size: 13px; color: var(--gray-60); font-weight: 600; }
.auth-alt button { color: var(--green); font-weight: 700; }
.auth-side ul { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.auth-side li { display: flex; gap: 10px; font-size: 13px; font-weight: 600; color: var(--gray-60); }
.auth-side li svg { width: 18px; height: 18px; stroke: var(--green); flex-shrink: 0; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; padding-bottom: 60px; }
.cart-box { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px 38px; min-height: 400px; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 15px; font-weight: 700; padding-bottom: 24px; color: var(--dark); }
.cart-table td { padding: 16px 0; vertical-align: middle; }
.cart-item-name { display: flex; align-items: center; gap: 16px; }
.cart-item-name .rm { color: var(--gray-9c); font-size: 20px; }
.cart-item-name .rm:hover { color: var(--red); }
.cart-item-name img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.cart-item-name span { font-weight: 600; font-size: 15px; }
.qty { display: inline-flex; align-items: center; gap: 14px; }
.qty button { width: 26px; height: 26px; display: grid; place-items: center; color: var(--gray-60); }
.qty button svg { width: 20px; height: 20px; stroke: var(--gray-60); }
.qty span { font-weight: 700; min-width: 14px; text-align: center; }
.cart-total { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 34px; }
.cart-total h2 { font-size: 26px; font-weight: 800; margin-bottom: 26px; }
.cart-total .line { display: flex; justify-content: space-between; padding: 9px 0; font-weight: 600; color: var(--gray-60); }
.cart-total .code { width: 100%; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
    padding: 13px 16px; margin: 18px 0; font-size: 14px; outline: none; }
.cart-total .grand { display: flex; justify-content: space-between; font-size: 20px; font-weight: 800;
    padding: 20px 0 24px; border-top: 1px solid var(--line); margin-top: 6px; }

/* ---------- My tickets ---------- */
.ticket { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
    display: flex; overflow: hidden; margin-bottom: 22px; }
.ticket .tphoto { width: 200px; flex-shrink: 0; }
.ticket .tphoto img { width: 100%; height: 100%; object-fit: cover; }
.ticket .tbody { flex: 1; padding: 30px 34px; display: flex; justify-content: space-between; }
.ticket .badge { display: inline-block; background: var(--green); color: #fff; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 6px; margin-right: 10px; }
.ticket .ref { font-size: 11px; font-weight: 700; color: var(--gray-9c); text-transform: uppercase; }
.ticket h3 { font-size: 19px; font-weight: 800; margin: 10px 0 6px; }
.ticket .tmeta { color: var(--gray-60); font-weight: 600; font-size: 13px; }
.ticket .tactions { display: flex; gap: 12px; margin-top: 22px; }
.ticket .qr { width: 96px; height: 96px; background: #fff; border: 1px solid var(--line); border-radius: 10px;
    display: grid; place-items: center; }
.ticket .qr img { width: 78px; height: 78px; filter: grayscale(1); }

/* ---------- Control panel ---------- */
.panel-layout { display: grid; grid-template-columns: 280px 1fr; gap: 0; padding-bottom: 70px; }
.panel-nav { padding-right: 40px; border-right: 1px solid var(--line); }
.panel-nav .pgroup { margin-bottom: 30px; }
.panel-nav .pgroup h3 { font-size: 22px; font-weight: 800; margin-bottom: 12px; }
.panel-nav a { display: block; padding: 8px 0 8px 4px; font-size: 16px; font-weight: 600; color: var(--gray-60); }
.panel-nav a:hover { color: var(--dark); }
.panel-nav a.active { color: var(--dark); font-weight: 700; }
.panel-content { padding-left: 46px; }
.panel-content h2 { font-size: 28px; font-weight: 800; margin-bottom: 22px; }
.panel-content .muted { color: var(--gray-60); font-weight: 600; line-height: 1.7; max-width: 640px; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 34px; }
.stat { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px; border: 1px solid var(--line); }
.stat p { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--gray-9c); margin-bottom: 8px; letter-spacing: .04em; }
.stat h3 { font-size: 34px; font-weight: 800; }
.stat h3 small { font-size: 18px; }

.form-block h3 { font-size: 22px; font-weight: 700; margin: 26px 0 16px; }
.form-row { display: grid; grid-template-columns: 180px 1fr; align-items: center; margin-bottom: 14px; gap: 14px; }
.form-row label { font-size: 16px; font-weight: 600; }
.form-row input, .form-row select, .form-row textarea {
    width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 18px; font-size: 15px;
    outline: none; background: var(--white); transition: border .15s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--green); }
.form-actions { display: flex; justify-content: flex-end; margin-top: 30px; }

.data-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg);
    overflow: hidden; box-shadow: var(--shadow); }
.data-table th { background: var(--bg); text-align: left; font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: var(--gray-60); padding: 16px 20px; }
.data-table td { padding: 16px 20px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.pill.ok { background: #e8efd4; color: #5c7018; }
.pill.wait { background: #fdeccd; color: #a06b12; }
.pill.no { background: #f7d6d6; color: #a11414; }

/* ---------- About / Contacts ---------- */
.about-hero { text-align: center; padding: 70px 20px 50px; }
.about-hero h1 { font-size: 54px; font-weight: 800; margin-bottom: 18px; }
.about-hero p { font-size: 18px; color: var(--gray-60); max-width: 620px; margin: 0 auto; line-height: 1.7; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 30px 0 60px; }
.about-cols img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-cols h2 { font-size: 30px; font-weight: 800; color: var(--green); margin-bottom: 18px; }
.about-cols p { color: var(--gray-60); line-height: 1.8; font-weight: 500; margin-bottom: 24px; }
.about-stats { display: flex; gap: 50px; }
.about-stats h3 { font-size: 38px; font-weight: 800; }
.about-stats p { font-size: 12px; font-weight: 700; text-transform: uppercase; color: var(--gray-9c); margin: 0; }

.contact-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
    display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 60px; }
.contact-left { padding: 54px; }
.contact-left h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; }
.contact-left .lead { color: var(--gray-60); font-weight: 500; margin-bottom: 34px; }
.contact-info { display: grid; gap: 22px; }
.contact-info .row { display: flex; gap: 18px; }
.contact-info .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ic svg { width: 22px; height: 22px; stroke: var(--green); }
.contact-info h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.contact-info p { font-size: 14px; color: var(--gray-60); font-weight: 500; }
.contact-right { background: var(--dark); padding: 54px; }
.contact-right input, .contact-right textarea {
    width: 100%; background: rgba(255,255,255,.08); border: none; border-bottom: 1px solid #555;
    padding: 16px 0; color: #fff; outline: none; margin-bottom: 22px; font-size: 15px; transition: border .15s ease; }
.contact-right input::placeholder, .contact-right textarea::placeholder { color: #999; }
.contact-right input:focus, .contact-right textarea:focus { border-color: var(--green); }

/* ---------- Help & Support ---------- */
.help-hero { text-align: center; padding: 60px 20px 40px; }
.help-hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 14px; }
.help-hero p { color: var(--gray-60); font-weight: 500; }
.faq-list { max-width: 820px; margin: 0 auto 60px; }
.faq { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 14px; overflow: hidden; }
.faq summary { padding: 22px 26px; font-weight: 700; font-size: 16px; cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; color: var(--green); font-weight: 400; }
.faq[open] summary::after { content: "−"; }
.faq p { padding: 0 26px 24px; color: var(--gray-60); line-height: 1.7; font-weight: 500; }

/* ---------- Settings ---------- */
.settings-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-bottom: 60px; align-items: start; }
.settings-nav a { display: block; padding: 13px 18px; border-radius: 12px; font-weight: 600; color: var(--gray-60); margin-bottom: 4px; }
.settings-nav a.active { background: var(--dark); color: #fff; }
.settings-panel { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }
.settings-panel h2 { font-size: 24px; font-weight: 800; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.footer { background: var(--dark); color: #cfcfcf; padding: 56px 0 40px; margin-top: 20px; }
.footer-top { display: flex; justify-content: center; gap: 90px; align-items: center; padding-bottom: 34px; flex-wrap: wrap; }
.footer-top img { height: 54px; opacity: .92; }
.footer .divider { border-top: 1px solid #3a3a3a; margin: 0 0 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col h4 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { color: #b3b3b3; font-size: 14px; font-weight: 500; }
.footer-col a:hover { color: #fff; }

/* ---------- Overlay / modal ---------- */
.overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(20,20,20,.55); backdrop-filter: blur(3px);
    display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .18s ease; }
.overlay.open { opacity: 1; visibility: visible; }
.modal { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
    max-width: 460px; width: 100%; padding: 40px; position: relative; transform: translateY(10px); transition: transform .2s ease; }
.overlay.open .modal { transform: translateY(0); }
.modal .close { position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%;
    display: grid; place-items: center; color: var(--gray-60); }
.modal .close:hover { background: var(--bg); }
.modal .close svg { width: 20px; height: 20px; stroke: currentColor; }

/* ---------- Dev role bar ---------- */
.devbar { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 990;
    background: var(--dark); border-radius: 999px; padding: 8px 10px; display: flex; align-items: center; gap: 6px;
    box-shadow: var(--shadow-lg); }
.devbar .lbl { color: #888; font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 0 10px; letter-spacing: .05em; }
.devbar button { color: #d0d0d0; font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 999px; transition: all .15s ease; }
.devbar button:hover { color: #fff; }
.devbar button.active { background: var(--green); color: #fff; }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px); z-index: 995;
    background: var(--dark); color: #fff; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 14px;
    box-shadow: var(--shadow-lg); opacity: 0; transition: all .25s ease; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Empty state ---------- */
.empty { text-align: center; padding: 90px 20px; color: var(--gray-9c); }
.empty svg { width: 60px; height: 60px; stroke: var(--gray-ad); margin: 0 auto 20px; }
.empty h3 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.empty p { font-weight: 600; margin-bottom: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .grid, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .detail-grid, .cart-layout, .events-layout, .panel-layout, .settings-layout,
    .about-cols, .contact-card, .auth-card.wide { grid-template-columns: 1fr; }
    .panel-nav { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 20px; }
    .panel-content { padding-left: 0; padding-top: 30px; }
    .featured { flex-direction: column; }
    .featured .poster { width: 100%; height: 260px; }
    .main-nav { display: none; }
}
@media (max-width: 640px) {
    .container { padding: 0 20px; }
    .grid, .grid-4 { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .search-pill { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 10px; }
    .search-loc { border-left: none; border-top: 1px solid var(--line); }
    .stat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .ticket { flex-direction: column; }
    .ticket .tphoto { width: 100%; height: 180px; }
    .form-row { grid-template-columns: 1fr; }
    .devbar { flex-wrap: wrap; justify-content: center; width: calc(100% - 24px); }
}

/* =========================================================
   POLISH PASS — refinamentos (mesmo feel, mais cuidado)
   ========================================================= */

/* Ícones: traços arredondados = look mais suave e consistente */
svg { stroke-linecap: round; stroke-linejoin: round; }

/* Transições de botão + profundidade subtil */
.btn { transition: transform .14s ease, box-shadow .22s ease, background .22s ease, opacity .22s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-dark, .btn-green { box-shadow: 0 8px 20px rgba(35,35,35,.16); }
.btn-dark:hover { box-shadow: 0 12px 26px rgba(35,35,35,.24); }
.btn-green:hover { box-shadow: 0 12px 26px rgba(137,161,53,.32); }

/* Header com separação subtil do conteúdo */
.main-header { box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 6px 24px rgba(0,0,0,.14); }
.main-nav a.active::after { transition: transform .2s ease; }

/* Hero: gradiente mais legível + título com respiração */
.hero { background: linear-gradient(180deg, rgba(20,20,20,.30) 0%, rgba(20,20,20,.44) 45%, rgba(20,20,20,.72) 100%), var(--hero-img) center/cover; }
.hero h1 { letter-spacing: -.5px; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.search-pill { transition: box-shadow .2s ease; }
.search-pill:focus-within { box-shadow: 0 0 0 4px rgba(137,161,53,.22), var(--shadow-lg); }

/* Categorias: alinhamento de labels + anel verde no hover */
.cat-circle { transition: transform .3s ease, border-color .2s ease, box-shadow .3s ease; }
.cat-item:hover .cat-circle { border-color: var(--green); box-shadow: 0 12px 26px rgba(137,161,53,.22); }
.cat-item p { min-height: 36px; display: flex; align-items: center; justify-content: center; line-height: 1.25; transition: color .2s ease; }
.cat-item:hover p { color: var(--green); }

/* Chips com hover mais vivo */
.chip { transition: transform .12s ease, background .18s ease, color .18s ease, border-color .18s ease; }
.chip:hover { transform: translateY(-1px); }

/* Cartões de evento: borda ténue, título verde no hover, badge com mais presença */
.ev-card { border: 1px solid rgba(35,35,35,.05); }
.ev-card:hover .ev-title { color: var(--green); }
.ev-title { transition: color .18s ease; }
.ev-date { box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.ev-heart { backdrop-filter: blur(2px); box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .15s ease, background .15s ease; }
.ev-heart:hover { transform: scale(1.08); }
.ev-meta svg { stroke: var(--green); opacity: .8; }

/* Tag de categoria (destaque / detalhe) */
.tag { display: inline-block; background: var(--green); color: #fff; font-size: 11px; font-weight: 700;
    padding: 5px 13px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.tag-row { display: flex; align-items: center; gap: 14px; margin-bottom: 4px; }
.tag-row .tag { margin-bottom: 0; }
.tag-row .rating { font-size: 11px; font-weight: 700; color: var(--gray-9c); text-transform: uppercase; letter-spacing: .05em; }

/* Featured: sombra e transição mais ricas */
.featured { border: 1px solid rgba(35,35,35,.05); transition: box-shadow .25s ease; }
.featured:hover { box-shadow: var(--shadow-lg); }
.featured .poster img { transition: transform .5s ease; }
.featured:hover .poster img { transform: scale(1.03); }

/* Detalhe: cartão de mapa com textura subtil */
.detail-map { background-color: #e7ebe0; }

/* Fade suave ao mudar de página */
@keyframes viewfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Banner: leve zoom lento na imagem de fundo para dar vida */
.banner { background-attachment: fixed; }
@media (max-width: 900px) { .banner { background-attachment: scroll; } }

/* Dev bar: mais discreta */
.devbar { padding: 7px 8px; opacity: .96; backdrop-filter: blur(6px); background: rgba(35,35,35,.94); }
.devbar button { font-size: 11.5px; padding: 7px 14px; }
.devbar .lbl { font-size: 10px; }

/* Footer: respiração entre logo e links */
.footer-top img { transition: opacity .2s ease; }
.footer-top img:hover { opacity: 1; }

/* Scrollbar discreta (webkit) */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: #cfcfcf; border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #b5b5b5; }

/* ---------- Header icons fix (visibilidade + look) ---------- */
.user-btn svg { width: 21px; height: 21px; stroke: currentColor; fill: none; }
.header-icons { gap: 4px; }
.hdr-icon { position: relative; width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; color: #cfcfcf; background: transparent;
    transition: background .18s ease, color .18s ease, transform .12s ease; }
.hdr-icon:hover { background: rgba(255,255,255,.10); color: #fff; }
.hdr-icon:active { transform: scale(.94); }
.hdr-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; }
.user-btn { background: transparent; border: 1.5px solid rgba(255,255,255,.25); }
.user-btn:hover { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.5); }

/* ---------- Categorias: centrar grupo, setas junto ao conteúdo ---------- */
.cat-row { justify-content: center; gap: 16px; }
.cat-track { flex: 0 1 auto; min-width: 0; justify-content: flex-start; }

/* ---------- Filtros: botões "mais" + ícone dimensionado ---------- */
.filters .fmore { background: none; border: none; padding: 8px 0 0; margin-top: 2px;
    color: var(--green); font-size: 13px; font-weight: 700; cursor: pointer; }
.filters .fmore:hover { text-decoration: underline; }
.filters .fmore svg { width: 15px; height: 15px; stroke: currentColor; transition: transform .2s ease; }
.filters .fmore.open svg { transform: rotate(180deg); }
.filter-extra { display: block; }
.filter-extra label { padding-left: 0; }
.filter-input { width: 100%; margin: 6px 0 4px; border: 1.5px solid var(--line); border-radius: 10px;
    padding: 10px 12px; font-size: 14px; outline: none; background: var(--white); }
.filter-input:focus { border-color: var(--green); }

/* =========================================================
   WOW PASS — atmosfera, hero, movimento, evento imersivo
   ========================================================= */

/* Banners mantêm a foto de teatro; hero usa a aquarela de CB */
.banner { background: linear-gradient(rgba(35,35,35,.62), rgba(35,35,35,.72)), var(--banner-img) center/cover; }
.banner.green { background: var(--green); }
.hero { background: linear-gradient(rgba(24,24,24,.40), rgba(24,24,24,.52) 50%, rgba(24,24,24,.74)), var(--hero-img) center 42%/cover; }

/* Hero: título com entrada faseada */
.hero-title .line { display: block; opacity: 0; transform: translateY(20px); animation: heroRise .75s cubic-bezier(.2,.7,.2,1) forwards; }
.hero-title .line:nth-child(1) { animation-delay: .06s; }
.hero-title .line:nth-child(2) { animation-delay: .18s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }

/* Search + sugestões */
.search-wrap { position: relative; max-width: 900px; }
.search-suggest { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff;
    border-radius: 18px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 60;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .16s ease; max-height: 430px; overflow: auto; }
.search-suggest.open { opacity: 1; visibility: visible; transform: none; }
.sg-group { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-9c); padding: 12px 14px 6px; }
.sg-item { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 10px 14px; border-radius: 12px; }
.sg-item:hover { background: var(--bg); }
.sg-img { width: 44px; height: 44px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.sg-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.sg-txt { display: flex; flex-direction: column; min-width: 0; }
.sg-txt b { font-size: 14px; font-weight: 700; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-txt small { font-size: 12px; color: var(--gray-9c); font-weight: 600; }
.sg-empty { padding: 22px 16px; text-align: center; color: var(--gray-9c); font-weight: 600; }

/* Chips rápidos no hero */
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-chips button { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.14); color: #fff;
    border: 1px solid rgba(255,255,255,.30); backdrop-filter: blur(6px); padding: 9px 18px; border-radius: 999px;
    font-size: 13px; font-weight: 600; transition: background .18s ease, transform .12s ease; }
.hero-chips button:hover { background: rgba(255,255,255,.26); transform: translateY(-1px); }
.hero-chips svg { width: 14px; height: 14px; stroke: currentColor; }

/* Categoria colorida no card + localização com pin */
.ev-cat { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 7px; }
.ev-loc { display: flex; align-items: center; gap: 6px; }
.ev-loc svg { width: 13px; height: 13px; stroke: var(--gray-ad); flex-shrink: 0; }

/* Skeleton loader */
.skeleton { background: linear-gradient(100deg, #ececec 30%, #f6f6f6 50%, #ececec 70%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
.skeleton img { opacity: 0; transition: opacity .45s ease; }
.skeleton.loaded { animation: none; background: none; }
.skeleton.loaded img { opacity: 1; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
.grid [data-reveal]:nth-child(3n+2) { transition-delay: .07s; }
.grid [data-reveal]:nth-child(3n+3) { transition-delay: .14s; }

/* Favorito: pulse + burst de partículas */
.ev-heart.pop svg { animation: heartPop .42s ease; }
@keyframes heartPop { 0%{transform:scale(1)} 35%{transform:scale(1.4)} 60%{transform:scale(.88)} 100%{transform:scale(1)} }
.heart-particle { position: absolute; top: 50%; left: 50%; width: 6px; height: 6px; border-radius: 50%;
    background: var(--red); pointer-events: none; animation: particle .6s ease-out forwards; }
@keyframes particle { 0%{transform:translate(-50%,-50%) scale(1);opacity:1}
    100%{transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(0);opacity:0} }

/* Detalhe: mapa real + disponibilidade + ações */
.detail-map { position: relative; }
.detail-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-open { position: absolute; bottom: 12px; right: 12px; display: inline-flex; align-items: center; gap: 8px;
    background: #fff; color: var(--dark); font-size: 12px; font-weight: 700; padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.map-open svg { width: 14px; height: 14px; stroke: currentColor; }
.detail-avail { margin-bottom: 22px; }
.ev-left { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
    padding: 8px 15px; border-radius: 999px; background: var(--bg); color: var(--gray-60); }
.ev-left svg { width: 15px; height: 15px; stroke: currentColor; }
.ev-left.low { background: #fbe3d6; color: #b4460f; }
.ev-left.free { background: #e8efd4; color: #5c7018; }
.detail-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { padding: 13px; }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; }

/* Barra de compra fixa */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; z-index: 880;
    box-shadow: 0 -8px 30px rgba(0,0,0,.12); border-top: 1px solid var(--line);
    transform: translateY(115%); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.buybar.show { transform: none; }
.buybar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 40px; }
.buybar-info { display: flex; flex-direction: column; min-width: 0; }
.buybar-info b { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar-info span { font-size: 12px; color: var(--gray-60); font-weight: 600; }
.buybar .btn svg { width: 16px; height: 16px; stroke: currentColor; }

/* Toast com ícone + tipos */
.toast { display: inline-flex; align-items: center; gap: 10px; }
.toast svg { width: 16px; height: 16px; stroke: currentColor; flex-shrink: 0; }
.toast.success svg { stroke: #a6d15a; }
.toast.info svg { stroke: #8fb8d8; }

/* Respeitar quem prefere menos movimento */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
    .hero-title .line { opacity: 1 !important; transform: none !important; }
}

/* Buybar não colide com devbar em ecrãs largos */
@media (min-width: 641px) { .buybar-inner { padding-right: 320px; } }

/* =========================================================
   UI/UX PASS 2 — chips, quick-view, filtros, painel
   ========================================================= */

/* Hero chips: pills sólidos (consistentes com o design) */
.hero-chips button { background: #fff; color: var(--dark); border: none; box-shadow: var(--shadow); backdrop-filter: none; }
.hero-chips button:hover { background: #fff; box-shadow: var(--shadow-lg); transform: translateY(-1px); }
.hero-chips svg { stroke: var(--green); }

/* Categoria no card: neutra (badge de data volta ao vermelho clássico via CSS base) */
.ev-cat { color: var(--gray-9c); }
.sg-dot { background: var(--green); }

/* ---------- Quick-view (mini carrinho / favoritos) ---------- */
.dropdown.mini { width: 344px; padding: 12px; }
.mini-head { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 12px; }
.mini-head h4 { font-size: 16px; font-weight: 800; }
.mini-count { background: var(--dark); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.mini-list { display: flex; flex-direction: column; gap: 2px; max-height: 300px; overflow: auto; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; cursor: pointer; }
.mini-row:hover { background: var(--bg); }
.mini-row img { width: 46px; height: 46px; border-radius: 9px; object-fit: cover; flex-shrink: 0; }
.mini-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-txt b { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-txt small { font-size: 11px; color: var(--gray-9c); font-weight: 600; }
.mini-x { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: var(--gray-9c); flex-shrink: 0; }
.mini-x:hover { background: #f2dede; color: var(--red); }
.mini-x svg { width: 13px; height: 13px; stroke: currentColor; }
.mini-total { display: flex; justify-content: space-between; padding: 14px 8px; margin-top: 6px; border-top: 1px solid var(--line); font-weight: 700; }
.mini-total b { font-size: 16px; }
.mini-more { text-align: center; font-size: 12px; color: var(--gray-9c); font-weight: 600; padding: 6px; }
.mini-empty { text-align: center; padding: 32px 20px; color: var(--gray-9c); }
.mini-empty svg { width: 38px; height: 38px; stroke: var(--gray-ad); margin: 0 auto 10px; }
.mini-empty p { font-weight: 600; font-size: 14px; }
.dropdown.mini .btn { margin-top: 10px; }

/* ---------- Filtros de eventos (fortes) ---------- */
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.filters-head h2 { font-size: 26px; font-weight: 800; margin: 0; }
.clear-btn { color: var(--green); font-size: 13px; font-weight: 700; }
.clear-btn:hover { text-decoration: underline; }
.filters label input { accent-color: var(--green); }
.events-toolbar { display: flex; align-items: center; justify-content: space-between; }
.ev-count-wrap { font-weight: 600; color: var(--gray-60); }
.ev-count-wrap b { color: var(--dark); font-size: 17px; }
.sort-wrap { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--gray-60); }
.empty-inline { grid-column: 1 / -1; text-align: center; padding: 70px 20px; color: var(--gray-9c); }
.empty-inline svg { width: 48px; height: 48px; stroke: var(--gray-ad); margin: 0 auto 14px; }
.empty-inline p { font-weight: 600; }

/* ---------- Painel: topbar + navegação ---------- */
.panel-topbar { display: flex; align-items: center; justify-content: space-between; padding: 40px 0 26px; }
.panel-topbar .crumb { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-9c); margin-bottom: 4px; }
.panel-topbar h1 { font-size: 30px; font-weight: 800; }
.panel-user { display: flex; align-items: center; gap: 12px; }
.panel-user .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; }
.panel-user b { display: block; font-size: 14px; }
.panel-user small { font-size: 12px; color: var(--gray-9c); font-weight: 600; }
.panel-nav .pgroup { margin-bottom: 22px; }
.panel-nav .pgroup h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-9c); margin-bottom: 8px; padding-left: 14px; }
.panel-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--gray-60); }
.panel-nav a svg { width: 18px; height: 18px; stroke: currentColor; flex-shrink: 0; }
.panel-nav a:hover { background: var(--bg); color: var(--dark); }
.panel-nav a.active { background: var(--dark); color: #fff; }

/* ---------- Painel: stats + cartões ---------- */
.pstat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.pstat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; box-shadow: var(--shadow); }
.pstat p { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-9c); margin-bottom: 10px; }
.pstat-row { display: flex; align-items: baseline; gap: 10px; }
.pstat h3 { font-size: 30px; font-weight: 800; }
.trend { font-size: 12px; font-weight: 700; }
.trend.up { color: #5c8a1e; }
.trend.down { color: var(--red); }
.panel-cards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 22px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 26px 28px; }
.pcard > h3 { font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.pcard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; gap: 16px; }
.pcard-head h3 { font-size: 18px; font-weight: 800; }
.mini-select, .role-select { border: 1.5px solid var(--line); border-radius: 9px; padding: 7px 12px; font-weight: 600; font-size: 13px; background: #fff; }

/* Chart de barras */
.chart { display: flex; align-items: flex-end; gap: 14px; height: 200px; padding-top: 22px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar { width: 100%; max-width: 46px; background: linear-gradient(var(--green), #a6bf58); border-radius: 8px 8px 0 0; position: relative; min-height: 6px; transition: height .7s cubic-bezier(.2,.7,.2,1); }
.bar em { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: var(--gray-60); font-style: normal; white-space: nowrap; opacity: 0; transition: opacity .15s; }
.bar-col:hover .bar em { opacity: 1; }
.bar-col label { font-size: 12px; font-weight: 700; color: var(--gray-60); }

/* Atividade */
.activity { list-style: none; display: flex; flex-direction: column; }
.activity li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.activity li:last-child { border-bottom: none; }
.act-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gray-ad); flex-shrink: 0; }
.act-dot.ok { background: var(--green); }
.act-dot.wait { background: #e0a52a; }
.act-txt { flex: 1; min-width: 0; }
.act-txt b { display: block; font-size: 14px; font-weight: 700; }
.act-txt small { font-size: 12px; color: var(--gray-9c); font-weight: 600; }
.activity time { font-size: 11px; color: var(--gray-ad); font-weight: 600; white-space: nowrap; }

/* Tabelas ricas */
.td-ev { font-weight: 700; }
.td-ev { display: flex; align-items: center; gap: 12px; }
.td-ev img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
.avatar.sm { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.td-act { display: flex; gap: 14px; }
.td-act a { color: var(--green); font-weight: 700; font-size: 13px; cursor: pointer; }
.td-act a:hover { text-decoration: underline; }
.mini-search-box { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.mini-search-box svg { width: 16px; height: 16px; stroke: var(--gray-9c); }
.mini-search-box input { border: none; background: none; outline: none; font-size: 13px; font-weight: 600; width: 180px; }

/* Criar evento (form 2 colunas) */
.panel-form { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.form-main { display: flex; flex-direction: column; gap: 22px; }
.ff { margin-bottom: 16px; }
.ff:last-child { margin-bottom: 0; }
.ff label { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-60); margin-bottom: 7px; }
.ff input, .ff select, .ff textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 12px 14px; font-size: 14px; outline: none; background: #fff; transition: border .15s; }
.ff input:focus, .ff select:focus, .ff textarea:focus { border-color: var(--green); }
.ff-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ff-row:has(.ff:nth-child(3)) { grid-template-columns: 1fr 1fr 1fr; }
.dropzone { border: 2px dashed var(--line); border-radius: 14px; padding: 36px; text-align: center; color: var(--gray-60); cursor: pointer; transition: border .15s, background .15s; }
.dropzone:hover { border-color: var(--green); background: var(--bg); }
.dropzone svg { width: 34px; height: 34px; stroke: var(--gray-ad); margin: 0 auto 12px; }
.dropzone p { font-weight: 600; font-size: 14px; }
.dropzone small { font-size: 12px; color: var(--gray-9c); }
.tier-table { width: 100%; border-collapse: collapse; margin-bottom: 14px; }
.tier-table th { text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--gray-9c); padding: 0 8px 10px; }
.tier-table td { padding: 4px 8px; }
.tier-table input { width: 100%; border: 1.5px solid var(--line); border-radius: 9px; padding: 9px 11px; font-size: 13px; outline: none; }
.tier-table input:focus { border-color: var(--green); }
.tier-x { color: var(--gray-9c); }
.tier-x:hover { color: var(--red); }
.tier-x svg { width: 16px; height: 16px; stroke: currentColor; }
.add-tier { color: var(--green); font-weight: 700; font-size: 13px; }
.add-tier:hover { text-decoration: underline; }
.form-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 12px; }
.preview-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.preview-img { height: 110px; background: var(--bg); display: grid; place-items: center; }
.preview-img svg { width: 34px; height: 34px; stroke: var(--gray-ad); }
.preview-body { padding: 16px; }
.preview-body .tag { margin-bottom: 8px; }
.preview-body b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 2px; }
.preview-body small { font-size: 12px; color: var(--gray-9c); font-weight: 600; }

/* Moderação */
.mod-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.mod-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.mod-thumb { height: 150px; overflow: hidden; }
.mod-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mod-body { padding: 20px; }
.mod-body .tag { margin-bottom: 10px; }
.mod-body h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.mod-meta { font-size: 13px; color: var(--gray-9c); font-weight: 600; margin-bottom: 16px; }
.mod-actions { display: flex; gap: 10px; }
.mod-actions .btn { flex: 1; padding: 10px; font-size: 13px; }
.mod-actions .btn svg { width: 15px; height: 15px; }

/* Suporte (chat) */
.chat { display: grid; grid-template-columns: 280px 1fr; height: 560px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.chat-list { border-right: 1px solid var(--line); overflow: auto; }
.chat-conv { display: flex; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; border-bottom: 1px solid var(--line); }
.chat-conv:hover, .chat-conv.active { background: var(--bg); }
.chat-conv .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.conv-txt { flex: 1; min-width: 0; }
.conv-txt b { display: block; font-size: 14px; font-weight: 700; }
.conv-txt small { font-size: 12px; color: var(--gray-9c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.conv-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.chat-main { display: flex; flex-direction: column; min-width: 0; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.chat-head .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 800; }
.chat-head b { font-size: 15px; display: block; }
.chat-head small { font-size: 12px; font-weight: 600; }
.chat-msgs { flex: 1; overflow: auto; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--bg); }
.bubble { max-width: 70%; padding: 12px 16px; border-radius: 16px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.bubble.in { background: #fff; border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.out { background: var(--dark); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input { display: flex; gap: 10px; padding: 16px 20px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 18px; outline: none; font-size: 14px; }
.chat-input input:focus { border-color: var(--green); }

/* Responsivo painel */
@media (max-width: 1024px) {
    .panel-cards, .panel-form, .pstat-grid { grid-template-columns: 1fr; }
    .pstat-grid { grid-template-columns: 1fr 1fr; }
    .form-side { position: static; }
    .chat { grid-template-columns: 1fr; height: auto; }
    .chat-list { display: flex; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--line); }
    .chat-conv { border-bottom: none; }
}
@media (max-width: 640px) {
    .pstat-grid { grid-template-columns: 1fr; }
    .panel-topbar { flex-direction: column; align-items: flex-start; gap: 14px; }
    .dropdown.mini { width: 300px; }
}

/* Contador junto ao título do painel */
.count-badge { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; margin-left: 6px;
    background: var(--green); color: #fff; font-size: 12px; font-weight: 800; border-radius: 999px; vertical-align: middle; }

/* =========================================================
   MODERN PASS — Home · Eventos · Evento (refino 2025)
   ========================================================= */

/* Tokens: raios maiores, sombras mais suaves e em camadas */
:root {
    --radius: 16px;
    --radius-lg: 26px;
    --shadow: 0 6px 22px rgba(20,20,35,.06);
    --shadow-lg: 0 26px 60px rgba(20,20,45,.15);
}

.section-title { font-size: 36px; letter-spacing: -.02em; }
.hero h1 { letter-spacing: -.03em; }

/* Hero como cartão arredondado (inset) — mais moderno */
.hero { margin: 18px; border-radius: 30px; overflow: hidden; height: 470px; }
.hero.small { height: 400px; }
.hero-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em;
    color: #fff; background: rgba(255,255,255,.15); backdrop-filter: blur(6px); padding: 8px 15px; border-radius: 999px;
    margin-bottom: 20px; border: 1px solid rgba(255,255,255,.24); }

/* Banners também inset + arredondados, coerentes com o hero */
.banner { margin: 0 18px; border-radius: 30px; overflow: hidden; }

/* Cartões de evento mais modernos */
.grid { gap: 32px; }
.ev-card { border: none; border-radius: 20px; box-shadow: 0 4px 22px rgba(20,20,45,.07); }
.ev-card:hover { transform: translateY(-6px); box-shadow: 0 26px 52px rgba(20,20,45,.16); }
.ev-thumb::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(15,15,25,.28), transparent 42%); opacity: 0; transition: opacity .3s ease; }
.ev-thumb { position: relative; }
.ev-card:hover .ev-thumb::after { opacity: 1; }
.ev-body { padding: 24px 20px 22px; }
.ev-cat { display: inline-block; background: var(--bg); color: var(--gray-60); font-size: 10.5px; font-weight: 800;
    letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; width: fit-content; margin-bottom: 10px; }
.ev-title { font-size: 17px; letter-spacing: -.01em; }
.ev-meta { padding-top: 14px; border-top: 1px solid var(--line); }
.ev-meta span:first-child { font-weight: 800; color: var(--dark); }

/* Página de eventos: filtros e toolbar como cartões */
.events-layout { gap: 34px; padding-top: 34px; }
.filters { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 28px 26px; }
.filters-head { margin-bottom: 20px; }
.filters-head h2 { font-size: 22px; }
.filters .fgroup h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-60); }
.events-toolbar { background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 22px; margin-bottom: 26px; }
.events-toolbar select { border-color: transparent; background: var(--bg); }

/* Evento específico: mais editorial */
.detail-grid { gap: 44px; }
.detail-poster { border-radius: 26px; }
.detail-map { border-radius: 20px; }
.detail-card { border-radius: 28px; padding: 44px; box-shadow: var(--shadow); }
.detail-card h1 { font-size: 34px; letter-spacing: -.02em; }
.detail-specs { background: var(--bg); border-radius: 18px; padding: 20px 22px; gap: 14px; }
.detail-specs .spec { grid-template-columns: 160px 1fr; }
.detail-desc { font-size: 15px; }
.detail-foot { padding-top: 28px; }
.detail-foot .pt span:first-child { font-size: 22px; font-weight: 800; color: var(--dark); }
.page-head h1 { letter-spacing: -.02em; }

/* Buybar com blur translúcido */
.buybar { background: rgba(255,255,255,.9); backdrop-filter: blur(12px); }

@media (max-width: 640px) {
    .hero, .banner { margin: 12px; border-radius: 22px; }
    .section-title { font-size: 28px; }
    .detail-card { padding: 28px; }
}

/* =========================================================
   FIXES — pesquisa larga · carrossel · menu localização
   ========================================================= */

/* Barra de pesquisa maior (estende mais para a esquerda) */
.search-wrap { max-width: 1120px; }
.search-pill { max-width: 100%; padding-left: 28px; }
.search-pill input { padding: 18px 16px; font-size: 16px; }

/* Categorias como carrossel real (alinha às margens, arrasta) */
.cat-row { justify-content: flex-start; gap: 12px; }
.cat-track { flex: 1 1 auto; min-width: 0; }

/* Menu de localização */
.search-loc-wrap { position: relative; }
.search-loc { background: none; }
.loc-menu { top: calc(100% + 16px); right: 0; left: auto; width: 272px; max-height: 344px; overflow: auto; padding: 8px; }
.loc-head { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-9c); padding: 12px 14px 8px; }
.loc-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 11px; font-size: 14px; font-weight: 600; }
.loc-menu a svg { width: 16px; height: 16px; stroke: var(--gray-9c); flex-shrink: 0; }
.loc-menu a:hover svg { stroke: var(--green); }

/* =========================================================
   NAVBAR + FOOTER — refresh moderno
   ========================================================= */

:root { --header-h: 98px; }

/* Navbar flutuante translúcida (glass) */
.main-header { background: transparent; height: auto; padding: 14px 0; }
.header-content { background: rgba(30,30,32,.9); backdrop-filter: blur(16px); border-radius: 20px;
    padding: 11px 14px 11px 24px; border: 1px solid rgba(255,255,255,.07);
    box-shadow: 0 12px 34px rgba(0,0,0,.20); transition: background .25s ease, box-shadow .25s ease; }
.main-header.scrolled .header-content { background: rgba(24,24,26,.94); box-shadow: 0 16px 42px rgba(0,0,0,.30); }
.logo img { height: 46px; }
.nav-group { gap: 26px; }
.main-nav ul { gap: 4px; }
.main-nav a { padding: 9px 16px; border-radius: 999px; font-size: 15px; color: #cfcfcf; transition: background .16s ease, color .16s ease; }
.main-nav a::after { display: none !important; }
.main-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.main-nav a.active { background: rgba(255,255,255,.14); color: #fff; }
.user-btn { border-color: rgba(255,255,255,.22); }

/* ---------- Footer moderno ---------- */
.footer { background: var(--dark); color: #c9c9cd; padding: 0 0 30px; margin-top: 30px; }
.footer-cta { background: #2c2c30; border: 1px solid rgba(255,255,255,.07); border-radius: 26px; padding: 38px 44px;
    display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin: 44px 0 48px; }
.footer-cta-txt h3 { color: #fff; font-size: 24px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.01em; }
.footer-cta-txt p { color: #9a9a9e; font-weight: 500; }
.news-form { display: flex; gap: 10px; flex: 1; max-width: 470px; min-width: 280px; }
.news-form input { flex: 1; background: #1c1c1e; border: 1px solid rgba(255,255,255,.1); border-radius: 999px;
    padding: 14px 20px; color: #fff; outline: none; font-size: 14px; transition: border .15s ease; }
.news-form input::placeholder { color: #79797d; }
.news-form input:focus { border-color: var(--green); }
.news-form .btn { white-space: nowrap; }
.news-form .btn svg { width: 16px; height: 16px; stroke: currentColor; }

.footer-main { display: grid; grid-template-columns: 1.3fr 2fr; gap: 60px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand img { height: 50px; margin-bottom: 18px; }
.footer-tag { color: #9a9a9e; font-size: 14px; line-height: 1.7; max-width: 340px; margin-bottom: 22px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(255,255,255,.06); color: #cfcfcf; transition: background .18s ease, color .18s ease, transform .14s ease; }
.socials a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; stroke: currentColor; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #fff; font-weight: 800; margin-bottom: 16px; }
.footer-col a { color: #9a9a9e; font-size: 14px; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; flex-wrap: wrap; }
.footer-bottom span { font-size: 13px; color: #85858a; font-weight: 500; }
.footer-partners { text-align: center; flex: 1; }

@media (max-width: 900px) {
    .footer-main { grid-template-columns: 1fr; gap: 40px; }
    .footer-cta { flex-direction: column; align-items: flex-start; padding: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
    .footer-partners { text-align: center; }
    .header-content { padding: 10px 12px 10px 18px; }
    .logo img { height: 40px; }
}
@media (max-width: 640px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .news-form { flex-direction: column; }
    .news-form .btn { justify-content: center; }
}

/* =========================================================
   ALINHAMENTO — hero/banners ao mesmo limite da navbar
   ========================================================= */
.hero   { max-width: var(--maxw); margin: 18px auto; }
.banner { max-width: var(--maxw); margin: 18px auto; }
/* Logo alinha com a coluna de conteúdo (40px) */
.header-content { padding-left: 40px; }

@media (max-width: 900px) { .header-content { padding-left: 18px; } }
@media (max-width: 640px) { .hero, .banner { margin: 12px auto; } }

/* Logo maior na navbar */
.logo img { height: 60px; }
@media (max-width: 900px) { .logo img { height: 48px; } }

/* Logo grande sem esticar a navbar (box com altura fixa + overflow visual) */
.logo { display: flex; align-items: center; height: 40px; }
.logo img { height: 64px; margin: -12px 0; }
@media (max-width: 900px) { .logo { height: 34px; } .logo img { height: 52px; margin: -9px 0; } }

/* Folga no fundo do footer para não colidir com a barra de perfis (dev) */
.footer { padding-bottom: 90px; }
.footer-bottom { padding-top: 30px; margin-top: 4px; }

/* Logo maior mas contido na barra (sem overflow) */
.logo { display: flex; align-items: center; height: auto; overflow: visible; }
.logo img { height: 54px; margin: 0; }
.header-content { padding-top: 8px; padding-bottom: 8px; }
@media (max-width: 900px) { .logo { height: auto; } .logo img { height: 44px; } }

/* Carrossel de categorias: fade suave nas bordas (em vez de corte seco) */
.cat-track {
    padding: 6px 6px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 34px, #000 calc(100% - 34px), transparent 100%);
}

/* Hero não corta dropdowns (bg é CSS, o border-radius já o arredonda) */
.hero { overflow: visible; }

/* Mais respiração acima do card da newsletter */
.footer-cta { margin-top: 66px; }

/* =========================================================
   PROD POLISH — a11y, nav mobile, demo bar, arestas
   ========================================================= */

/* Foco visível para navegação por teclado */
:focus-visible { outline: 3px solid rgba(137,161,53,.6); outline-offset: 2px; border-radius: 6px; }
.btn:focus-visible, .chip:focus-visible, .cat-arrow:focus-visible { outline-offset: 3px; }
[onclick], a, summary, .sg-item, .mini-row, .chat-conv { cursor: pointer; }

/* Navegação mobile (hamburguer + drawer) */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center;
    color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.nav-toggle:hover { background: rgba(255,255,255,.16); }
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; }
.mobile-menu { position: fixed; top: 82px; left: 14px; right: 14px; z-index: 895; display: none; flex-direction: column;
    background: rgba(24,24,26,.97); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px; padding: 12px; box-shadow: var(--shadow-lg); }
.mobile-menu.open { display: flex; animation: mm .18s ease; }
@keyframes mm { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu a { padding: 14px 16px; border-radius: 12px; color: #e2e2e2; font-weight: 600; font-size: 16px; }
.mobile-menu a:hover { background: rgba(255,255,255,.08); color: #fff; }
.mobile-menu a.danger { color: #ff7a7a; }
.mobile-menu hr { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 8px 4px; }
@media (max-width: 1024px) { .nav-toggle { display: grid; } }
@media (max-width: 560px) { .header-icons { display: none; } }

/* Barra de perfis: identificada como DEMO e ocultável */
.devbar .lbl { color: #b7c46a; }
.devbar-x { color: #8a8a8a; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-left: 2px; }
.devbar-x:hover { color: #fff; background: rgba(255,255,255,.1); }
.devbar-x svg { width: 15px; height: 15px; stroke: currentColor; }
#devbar-reopen { position: fixed; bottom: 16px; right: 16px; z-index: 990; display: none; align-items: center; gap: 6px;
    background: var(--dark); color: #cfcfcf; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
    padding: 10px 15px; border-radius: 999px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.08); }
#devbar-reopen:hover { color: #fff; }

/* Hero de eventos mais baixo (menos vazio) */
.hero.small { height: 320px; }

/* Header transparente não tem sombra/linha próprias (vivem no .header-content) */
.main-header { box-shadow: none; border: none; }

/* Espaço acima do card newsletter via padding (evita colapso de margem) */
.footer { padding-top: 58px; }
.footer-cta { margin-top: 0; }

/* Rácio do thumb (imagem inteira, não recortada) */
.ev-thumb { aspect-ratio: 3 / 2; }

/* ---------- Filtros de eventos (v2) ---------- */
.filters .fradio { justify-content: flex-start; }
.filters label .fcount { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--gray-9c);
    background: var(--bg); border-radius: 20px; padding: 2px 9px; }
.filters label:hover .fcount { color: var(--dark); }

.active-filters { display: none; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.active-filters.on { display: flex; }
.afchip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line);
    background: #fff; color: var(--dark); border-radius: 20px; padding: 6px 8px 6px 14px;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.afchip:hover { background: var(--bg); border-color: var(--gray-9c); }
.afchip svg { width: 14px; height: 14px; stroke: currentColor; }
.afchip.clear { color: var(--red); border-color: transparent; padding-left: 12px; }
.afchip.clear:hover { background: rgba(201,12,15,.08); }

/* Datas — empilhadas e sempre dentro da coluna */
.filters .fdate-row { display: flex; flex-direction: column; gap: 10px; }
.filters .fdate { display: flex; align-items: center; gap: 10px; margin: 0;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--gray-9c); }
.filters .fdate > span { flex: 0 0 32px; }
.filters .fdate input { flex: 1 1 auto; min-width: 0; box-sizing: border-box;
    border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px;
    font-family: inherit; font-size: 13px; font-weight: 600; color: var(--dark); background: var(--bg);
    accent-color: var(--green); }
.filters .fdate input:focus { outline: none; border-color: var(--green); background: #fff; }

/* Dropdown Local (substitui 9 checkboxes — menos ruído) */
.filters .fselect { width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 10px;
    padding: 9px 12px; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--dark);
    background: var(--bg); cursor: pointer; }
.filters .fselect:focus { outline: none; border-color: var(--green); background: #fff; }

/* Sidebar de filtros mais compacta */
.filters .fgroup { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.filters .fgroup:last-child { border-bottom: none; padding-bottom: 0; }
.filters .fgroup h3 { margin-bottom: 12px; }
.filters .fgroup label { gap: 9px; }
