/* ============ Cupomix demo · design system ============ */
:root {
  --blue: #2F5BFF; --blue-700: #1E42D6; --blue-050: #EEF2FF;
  --lilac: #8B5CF6; --lilac-700: #6D3FE0; --lilac-050: #F3EEFF;
  --grad: linear-gradient(120deg, #2F5BFF 0%, #6B5CF6 55%, #8B5CF6 100%);
  --grad-soft: linear-gradient(135deg, #EEF2FF 0%, #F3EEFF 100%);
  --orange: #FF7A1A; --orange-700: #E8640A; --orange-050: #FFF3EA;
  --green: #16A34A; --green-050: #ECFDF3;
  --ink: #141432; --ink-2: #3C3C5C; --muted: #6E6E8E; --line: #E6E6F2; --line-2: #EFEFF7;
  --bg: #F7F7FC; --card: #FFFFFF;
  --r: 16px; --r-sm: 10px; --r-lg: 24px;
  --sh: 0 1px 2px rgba(20,20,50,.04), 0 8px 24px -12px rgba(47,91,255,.18);
  --sh-lg: 0 24px 60px -20px rgba(47,91,255,.35), 0 2px 6px rgba(20,20,50,.06);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --head: 'Plus Jakarta Sans', var(--font);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select { font: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--head); letter-spacing: -.02em; margin: 0; line-height: 1.15; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.muted { color: var(--muted); }
.hide { display: none !important; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; }
.topbar-link { color: #C9B8FF; font-weight: 600; white-space: nowrap; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line-2); transition: box-shadow .2s; }
.header.scrolled { box-shadow: 0 6px 24px -12px rgba(20,20,50,.18); }
.header-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 24px; letter-spacing: -.03em; }
.logo em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark svg { display: block; }
.logo-sm { font-size: 22px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--ink-2); transition: .15s; }
.nav a:hover, .nav a.active { background: var(--lilac-050); color: var(--lilac-700); }
.nav-ext { color: var(--blue) !important; }
.auth { display: flex; align-items: center; gap: 8px; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

/* search */
.search { position: relative; flex: 1; max-width: 460px; }
.search-ico { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; height: 44px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 44px 0 42px; background: #fff; outline: none; transition: .15s; font-size: 14.5px; }
.search input:focus { border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(139,92,246,.14); }
.search input::-webkit-search-cancel-button { display: none; }
.search-kbd { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 11px var(--font); color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; background: var(--bg); }
.search-drop { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); overflow: hidden; z-index: 60; }
.search-drop.open { display: block; }
.sd-group { padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.sd-group:last-child { border-bottom: 0; }
.sd-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 6px 16px; }
.sd-item { display: flex; align-items: center; gap: 12px; padding: 9px 16px; font-size: 14px; }
.sd-item:hover, .sd-item.sel { background: var(--lilac-050); }
.sd-item .mini { width: 30px; height: 30px; border-radius: 8px; font-size: 11px; }
.sd-item b { font-weight: 600; }
.sd-item .tag { margin-left: auto; font-size: 12px; color: var(--green); font-weight: 700; }
.sd-empty { padding: 16px; font-size: 14px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px; transition: .15s; white-space: nowrap; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px -8px rgba(255,122,26,.7); }
.btn-primary:hover { background: var(--orange-700); transform: translateY(-1px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(47,91,255,.6); }
.btn-grad:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--lilac); color: var(--lilac-700); }
.btn-soft { background: var(--lilac-050); color: var(--lilac-700); }
.btn-soft:hover { background: #E9E0FF; }
.btn-green { background: var(--green); color: #fff; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; }
.auth-user { display: flex; align-items: center; gap: 10px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--green-050); color: var(--green); font-weight: 700; font-size: 13.5px; }

/* ---------- Store logo tiles ---------- */
.logo-tile { display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; font-family: var(--head); font-weight: 800; letter-spacing: -.02em; text-align: center; padding: 0 8px; line-height: 1; overflow: hidden; flex-shrink: 0; }
.logo-tile.lg { width: 96px; height: 96px; font-size: 15px; border-radius: 22px; }
.logo-tile.md { width: 64px; height: 64px; font-size: 12px; border-radius: 16px; }
.logo-tile.sm { width: 48px; height: 48px; font-size: 10px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: 64px 0 92px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 15% -10%, rgba(255,255,255,.22), transparent 60%), radial-gradient(600px 300px at 90% 110%, rgba(255,122,26,.25), transparent 60%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 800; line-height: 1.05; }
.hero h1 span { color: #FFD9BF; }
.hero p.lead { font-size: 18px; opacity: .92; max-width: 560px; margin: 18px 0 26px; }
.hero-search { display: flex; gap: 6px; background: #fff; padding: 6px; border-radius: 999px; max-width: 580px; box-shadow: var(--sh-lg); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 18px; font-size: 16px; color: var(--ink); border-radius: 999px; background: transparent; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13px; }
.hero-chips a { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-weight: 600; }
.hero-chips a:hover { background: rgba(255,255,255,.26); }
.hero-stats { display: flex; gap: 28px; margin-top: 30px; }
.hero-stats b { display: block; font-family: var(--head); font-size: 26px; font-weight: 800; }
.hero-stats small { opacity: .85; font-size: 13px; }
.hero-art { position: relative; height: 380px; }
.float-card { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: var(--sh-lg); display: flex; gap: 12px; align-items: center; animation: float 6s ease-in-out infinite; }
.float-card b { display: block; font-family: var(--head); }
.float-card small { color: var(--muted); font-size: 12px; }
.float-card .pct { font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--green); margin-left: auto; }
.fc1 { top: 10px; left: 30px; animation-delay: 0s; }
.fc2 { top: 120px; right: 0; animation-delay: -2s; }
.fc3 { top: 230px; left: 60px; animation-delay: -4s; }
.fc4 { bottom: -10px; right: 40px; background: var(--ink); color: #fff; animation-delay: -1s; }
.fc4 small { color: #B9B9D6; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 52px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.section-head a.more { font-weight: 700; color: var(--blue); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lilac-700); background: var(--lilac-050); padding: 5px 10px; border-radius: 999px; margin-bottom: 10px; }

/* store strip */
.stores-strip { display: flex; gap: 14px; overflow-x: auto; padding: 6px 4px 14px; scrollbar-width: none; margin-top: -40px; position: relative; }
.stores-strip::-webkit-scrollbar { display: none; }
.store-pill { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 112px; padding: 14px 8px; background: #fff; border-radius: 18px; border: 1px solid var(--line-2); box-shadow: var(--sh); transition: .15s; }
.store-pill:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: #D9D1FF; }
.store-pill span { font-size: 12.5px; font-weight: 600; text-align: center; }
.store-pill small { font-size: 11px; color: var(--green); font-weight: 700; }

/* ---------- Coupon cards ---------- */
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.coupon { position: relative; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--sh); transition: .18s; }
.coupon:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: #D9D1FF; }
.coupon-top { display: flex; align-items: center; gap: 12px; }
.coupon-store { font-weight: 700; font-size: 14px; }
.coupon-store small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.coupon-disc { margin-left: auto; font-family: var(--head); font-weight: 800; font-size: 20px; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: right; line-height: 1; }
.coupon h3 { font-size: 16.5px; font-weight: 700; min-height: 44px; }
.coupon-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--muted); }
.coupon-meta .ok { color: var(--green); font-weight: 700; }
.badges { position: absolute; top: -9px; left: 14px; display: flex; gap: 6px; }
.badge { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; color: #fff; }
.badge-hot { background: var(--orange); }
.badge-exc { background: var(--lilac); }
.badge-cb { background: var(--green); }
.badge-new { background: var(--blue); }
.peel { position: relative; margin-top: auto; height: 46px; border-radius: 999px; overflow: hidden; display: flex; align-items: center; font-weight: 800; font-size: 14.5px; cursor: pointer; background: repeating-linear-gradient(90deg, var(--lilac-050) 0 8px, #fff 8px 16px); border: 1.5px dashed #C9B8FF; }
.peel .peel-btn { position: absolute; inset: 0; width: 82%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; transition: width .2s; }
.peel:hover .peel-btn { width: 76%; }
.peel .peel-code { position: absolute; right: 12px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--lilac-700); letter-spacing: .06em; }
.peel.offer { background: var(--green-050); border-style: solid; border-color: #BBF0CF; }
.peel.offer .peel-btn { width: 100%; background: var(--green); }
.peel.offer:hover .peel-btn { width: 100%; filter: brightness(1.05); }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh); text-align: center; font-weight: 600; font-size: 13.5px; transition: .15s; }
.cat:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.cat .ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; }
.cat small { color: var(--muted); font-weight: 500; font-size: 12px; }

/* ---------- Cashback band ---------- */
.band { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 40px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; box-shadow: var(--sh); }
.band h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.steps { display: grid; gap: 14px; margin-top: 22px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .n { width: 36px; height: 36px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.step b { display: block; }
.step span { color: var(--muted); font-size: 14px; }
.calc { background: var(--grad-soft); border-radius: 20px; padding: 24px; border: 1px solid #E4DDFF; }
.calc label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 10px 0 6px; }
.calc input, .calc select { width: 100%; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; outline: 0; }
.calc input:focus, .calc select:focus { border-color: var(--lilac); }
.calc-out { margin-top: 16px; background: #fff; border-radius: 14px; padding: 16px; display: flex; justify-content: space-between; align-items: center; }
.calc-out b { font-family: var(--head); font-size: 28px; color: var(--green); }

/* ---------- Testimonials / extension ---------- */
.testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testi .t { background: #fff; border-radius: var(--r); padding: 22px; border: 1px solid var(--line-2); box-shadow: var(--sh); }
.testi .t p { margin: 0 0 14px; font-size: 15px; }
.testi .who { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.testi .who small { display: block; color: var(--muted); }
.stars { color: #F59E0B; letter-spacing: 1px; font-size: 13px; }
.ext { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; position: relative; overflow: hidden; }
.ext::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -200px; background: radial-gradient(circle, rgba(139,92,246,.55), transparent 65%); }
.ext h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.ext p { color: #C4C4DE; }
.ext-mock { position: relative; z-index: 1; background: #fff; color: var(--ink); border-radius: 18px; padding: 18px; box-shadow: var(--sh-lg); }
.ext-mock .bar { height: 10px; border-radius: 6px; background: var(--line); margin-bottom: 10px; }
.ext-popup { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.ext-popup b { display: block; }
.ext-popup small { color: var(--muted); }

/* ---------- Page heads ---------- */
.page-head { background: var(--grad-soft); border-bottom: 1px solid #E4DDFF; padding: 36px 0; }
.page-head h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.page-head p { color: var(--muted); margin: 8px 0 0; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--lilac-700); }

/* store page */
.store-head { display: flex; gap: 22px; align-items: center; }
.store-head h1 { font-size: 34px; }
.store-stats { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; font-size: 14px; color: var(--ink-2); }
.store-stats b { color: var(--ink); }
.cb-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--green-050); color: var(--green); border: 1px solid #BBF0CF; padding: 8px 14px; border-radius: 999px; font-weight: 800; }
.store-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.fav { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 18px; transition: .15s; }
.fav.on { border-color: #FFB4B4; background: #FFF1F1; }
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 22px 0 18px; }
.tab { padding: 9px 14px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: 13.5px; }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab small { opacity: .7; margin-left: 4px; }
.side { position: sticky; top: 88px; display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px; box-shadow: var(--sh); }
.card h3 { font-size: 16px; margin-bottom: 10px; }
.card p { margin: 0; font-size: 14px; color: var(--ink-2); }
.faq details { border-top: 1px solid var(--line-2); padding: 10px 0; font-size: 14px; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq summary::after { content: "+"; color: var(--lilac); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 0; color: var(--muted); }
.similar { display: grid; gap: 8px; }
.similar a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.similar a:hover { background: var(--lilac-050); }
.similar small { margin-left: auto; color: var(--green); font-weight: 700; }

/* stores list */
.alpha { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.alpha a { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 13px; }
.alpha a.active, .alpha a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.stores-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.store-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px; box-shadow: var(--sh); transition: .15s; }
.store-card:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.store-card b { display: block; font-size: 14.5px; }
.store-card small { color: var(--muted); font-size: 12.5px; }
.store-card .cb { margin-left: auto; color: var(--green); font-weight: 800; font-size: 13px; white-space: nowrap; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 20px 0; }
.filters select { height: 40px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; background: #fff; font-weight: 600; font-size: 13.5px; }
.count { color: var(--muted); font-size: 14px; margin-left: auto; }

/* ---------- Account ---------- */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kpi { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 20px; box-shadow: var(--sh); }
.kpi small { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
.kpi b { display: block; font-family: var(--head); font-size: 30px; margin-top: 6px; }
.kpi.green b { color: var(--green); }
.kpi.grad { background: var(--grad); color: #fff; border: 0; }
.kpi.grad small { color: #E3E0FF; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table .st { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.st.pendente { background: #FFF7E6; color: #B45309; }
.st.confirmado { background: var(--blue-050); color: var(--blue-700); }
.st.disponivel { background: var(--green-050); color: var(--green); }
.st.resgatado { background: var(--line-2); color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field input, .field select { height: 46px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; outline: 0; background: #fff; }
.field input:focus { border-color: var(--lilac); box-shadow: 0 0 0 4px rgba(139,92,246,.14); }

/* ---------- Modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(20,20,50,.55); backdrop-filter: blur(4px); z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.overlay.open { display: flex; }
.modal { width: min(520px, 100%); background: #fff; border-radius: 24px; box-shadow: var(--sh-lg); overflow: hidden; animation: pop .22s cubic-bezier(.2,.9,.3,1.2); max-height: calc(100vh - 32px); overflow-y: auto; }
@keyframes pop { from { transform: scale(.92) translateY(10px); opacity: 0; } }
.modal-head { background: var(--grad); color: #fff; padding: 22px 24px; display: flex; gap: 14px; align-items: center; position: relative; }
.modal-head h3 { font-size: 18px; }
.modal-head small { opacity: .9; }
.modal-close { position: absolute; right: 12px; top: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; font-size: 18px; }
.modal-body { padding: 24px; }
.code-box { display: flex; align-items: center; gap: 10px; border: 2px dashed #C9B8FF; background: var(--lilac-050); border-radius: 14px; padding: 10px 10px 10px 18px; }
.code-box code { flex: 1; font: 800 22px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; color: var(--ink); }
.modal-disc { font-family: var(--head); font-weight: 800; font-size: 34px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.cb-activate { display: flex; align-items: center; gap: 12px; background: var(--green-050); border: 1px solid #BBF0CF; border-radius: 14px; padding: 12px 14px; margin: 16px 0; font-size: 14px; }
.cb-activate b { color: var(--green); }
.switch { margin-left: auto; width: 46px; height: 26px; border-radius: 999px; background: #CBD5E1; position: relative; transition: .2s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: var(--green); }
.switch.on::after { left: 23px; }
.modal-cond { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.feedback { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 14px; }
.feedback button { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; }
.feedback button:hover { border-color: var(--lilac); }
.modal-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.modal-steps div { font-size: 12px; text-align: center; padding: 10px 6px; border-radius: 12px; background: var(--bg); color: var(--muted); }
.modal-steps div b { display: block; color: var(--ink); font-size: 13px; }
.social-login { display: grid; gap: 10px; }
.social-login .btn { height: 48px; }
.or { text-align: center; font-size: 12px; color: var(--muted); margin: 14px 0; position: relative; }
.or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--line); z-index: 0; }
.or span { background: #fff; padding: 0 10px; position: relative; }

/* ---------- Toast ---------- */
.toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 200; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: var(--sh-lg); animation: pop .2s; display: flex; gap: 8px; align-items: center; }
.toast.ok { background: var(--green); }

/* ---------- Countdown / BF ---------- */
.bf { background: linear-gradient(120deg, #141432, #2A1E5C 60%, #4C2BA8); color: #fff; border-radius: var(--r-lg); padding: 28px 32px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.bf h3 { font-size: 22px; }
.bf p { margin: 4px 0 0; color: #C9B8FF; font-size: 14px; }
.cd { display: flex; gap: 8px; margin-left: auto; }
.cd div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; min-width: 64px; padding: 8px; text-align: center; }
.cd b { display: block; font-family: var(--head); font-size: 24px; }
.cd small { font-size: 11px; color: #C9B8FF; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line-2); margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; padding: 44px 0 30px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.footer-grid a { display: block; font-size: 14px; padding: 4px 0; color: var(--ink-2); }
.footer-grid a:hover { color: var(--lilac-700); }
.footer-about { color: var(--muted); font-size: 14px; max-width: 360px; }
.store-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge-app { display: inline-flex !important; align-items: center; gap: 6px; background: var(--ink); color: #fff !important; padding: 8px 12px !important; border-radius: 10px; font-size: 13px !important; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }

/* ---------- Pro pages ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); padding: 24px; box-shadow: var(--sh); }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-soft); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price { background: #fff; border: 1.5px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; }
.price.hi { border-color: var(--lilac); box-shadow: var(--sh-lg); position: relative; }
.price.hi::before { content: "Mais escolhido"; position: absolute; top: -12px; left: 24px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }
.price b.v { display: block; font-family: var(--head); font-size: 34px; margin: 8px 0; }
.price ul { padding: 0; list-style: none; margin: 16px 0 20px; display: grid; gap: 8px; font-size: 14px; }
.price li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty b { display: block; font-size: 20px; color: var(--ink); margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .band, .ext { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .side { position: static; }
  .testi, .feature-grid, .pricing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topbar-link { display: none; }
  .header-in { height: 60px; gap: 10px; }
  .burger { display: flex; }
  .logo-text { display: none; }
  .search { max-width: none; }
  .search-kbd { display: none; }
  .auth .btn-ghost { display: none; }
  .nav.open { display: flex; position: absolute; top: 60px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg); }
  .hero { padding: 40px 0 70px; }
  .hero h1 { font-size: 31px; }
  .hero p.lead { font-size: 16px; }
  .hero-search .btn { padding: 0 14px; flex-shrink: 0; font-size: 14px; height: 42px; }
  .store-head h1 { font-size: 24px; }
  .logo-tile.lg { width: 72px; height: 72px; font-size: 12px; border-radius: 18px; }
  .page-head h1 { font-size: 26px; }
  .section { padding: 36px 0; }
  .hero-stats { gap: 16px; }
  .hero-stats b { font-size: 20px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: 1fr; }
  .band, .ext { padding: 24px; }
  .store-head { flex-wrap: wrap; }
  .store-actions { margin-left: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cd { margin-left: 0; }
  .table th:nth-child(3), .table td:nth-child(3) { display: none; }
}
