/* Agro Social — estilos (visual do layout B) */
:root {
  color-scheme: dark;
  --bg: #0F1A13;
  --surface: #18261C;
  --surface-2: #142018;
  --surface-3: #24382A;
  --line: #24382A;
  --line-2: #2E4232;
  --text: #EEF3EA;
  --text-2: #B8C6B4;
  --muted: #A3B3A0;
  --lime: #C4E35A;
  --lime-hover: #D4EE79;
  --lime-ink: #18260A;
  --danger: #FF8A7A;
  --up: #9BE07A;
  --down: #FF9A8A;
  --radius: 20px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--lime); }
a:hover { color: var(--lime-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.5px; line-height: 1.1; margin: 0; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 720px; }
.section { padding: 32px 0; }
.row { display: flex; align-items: center; }
.wrap-row { flex-wrap: wrap; }
.gap-s { gap: 10px; } .gap-m { gap: 16px; } .gap-l { gap: 24px; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; }
.grid { display: grid; gap: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt-s { margin-top: 8px; } .mt-m { margin-top: 16px; } .mt-l { margin-top: 28px; }

/* Topo */
.topbar { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(15, 26, 19, .94); backdrop-filter: saturate(1.4) blur(8px); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.3px; }
.brand:hover { color: var(--text); }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--lime) url('../img/leaf.svg') center / 20px no-repeat; flex: none; }
.nav-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.nav-pills a { text-decoration: none; color: var(--text); padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: 15px; }
.nav-pills a:hover { background: var(--surface); color: var(--text); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, transform .05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-lime { background: var(--lime); color: var(--lime-ink); }
.btn-lime:hover { background: var(--lime-hover); color: var(--lime-ink); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); font-weight: 500; }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-dark { background: var(--lime-ink); color: var(--lime); }
.btn-dark:hover { color: var(--lime-hover); }
.btn-danger { background: transparent; color: var(--danger); border-color: #5a2f2a; }
.btn-lg { min-height: 56px; padding: 16px 26px; font-size: 17px; border-radius: 16px; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 13px; border-radius: 10px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: none; color: var(--lime); cursor: pointer; padding: 0; font-weight: 700; }

/* Cartões e chips */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-lime { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.card-lime a { color: var(--lime-ink); }
.card-outline { background: transparent; border: 1px solid var(--line-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; font-size: 13px; color: var(--text); font-weight: 500; }
.chip-lime { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 700; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--lime); border: 1px solid #3C5A2A; padding: 6px 12px; border-radius: 999px; }
.filters { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 500; cursor: pointer; min-height: 40px; }
.filter[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 700; }

/* Formulários */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--text-2); }
.input, select.input, textarea.input { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; font-size: 16px; color: var(--text); min-height: 48px; }
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--lime); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--lime); flex: none; }
.form-error { color: var(--danger); font-size: 14px; min-height: 20px; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Home */
.hero { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.hero-main { flex: 999 1 560px; min-width: 0; background: var(--surface); border-radius: 24px; padding: 48px; }
.hero-main h1 { font-size: clamp(38px, 6vw, 60px); line-height: 1.02; letter-spacing: -1.5px; margin: 20px 0 16px; }
.hero-main p { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-side { flex: 1 1 320px; min-width: 0; background: var(--lime); color: var(--lime-ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.hero-side a { color: var(--lime-ink); }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; text-align: center; }
.countdown div { background: var(--lime-ink); color: var(--lime); border-radius: 12px; padding: 12px 0; }
.countdown b { display: block; font-family: var(--font-display); font-size: 26px; line-height: 1.1; }
.countdown span { font-size: 12px; }
.ticker { margin-top: 24px; background: var(--surface); border-radius: 20px; padding: 20px 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.ticker b { font-family: var(--font-display); font-size: 20px; display: block; margin-top: 2px; filter: blur(5px); user-select: none; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-n { width: 36px; height: 36px; border-radius: 10px; background: var(--lime); color: var(--lime-ink); font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.news-card { background: var(--surface); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.news-card .thumb { height: 170px; background: var(--surface-3) center / cover no-repeat; }
.news-card .body { padding: 18px 20px 20px; }
.news-card h3 { font-size: 19px; font-weight: 500; line-height: 1.3; margin-top: 8px; letter-spacing: -0.2px; }
.locked { position: relative; }
.locked-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(15,26,19,0) 0%, rgba(15,26,19,.92) 60%); border-radius: 20px; padding: 24px; text-align: center; }
.section-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin: 48px 0 20px; }
.section-title h2 { font-size: 32px; }
.footer { margin-top: 64px; border-top: 1px solid var(--line); }
.footer-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 32px 24px; font-size: 14px; color: var(--muted); }
.footer-in nav { display: flex; flex-wrap: wrap; gap: 18px; }

/* Planos / checkout */
.checkout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.checkout-main { flex: 999 1 560px; min-width: 0; }
.checkout-side { flex: 1 1 340px; min-width: 0; position: sticky; top: 88px; }
.days-control { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.round-btn { width: 56px; height: 56px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 26px; cursor: pointer; }
.round-btn:hover { border-color: var(--lime); }
.days-value { text-align: center; min-width: 160px; }
.days-value input { width: 180px; text-align: center; background: transparent; border: none; color: var(--lime); font-family: var(--font-display); font-size: 72px; font-weight: 700; line-height: 1; -moz-appearance: textfield; }
.days-value input::-webkit-outer-spin-button, .days-value input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mini-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; margin-top: 28px; }
.mini-stat { border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; }
.mini-stat b { font-family: var(--font-display); font-size: 26px; display: block; margin-top: 2px; }
.total { font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1.05; }
.pix-box { background: #fff; color: #18260A; border-radius: 16px; padding: 20px; text-align: center; margin-top: 18px; }
.pix-box img, .pix-box .qr-fallback { width: 200px; height: 200px; margin: 0 auto; border-radius: 8px; }
.qr-fallback { background: #EEF3EA; display: flex; align-items: center; justify-content: center; font-size: 13px; padding: 12px; }
.pix-code { width: 100%; margin-top: 12px; font-family: var(--font-mono); font-size: 12px; background: #F2F6EE; border: 1px solid #D5DECC; border-radius: 10px; padding: 10px; color: #18260A; resize: none; height: 64px; }
.pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--lime-ink); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.tabs { display: flex; gap: 6px; background: var(--bg); padding: 4px; border-radius: 14px; border: 1px solid var(--line-2); }
.tabs button { flex: 1; min-height: 42px; border: none; background: transparent; border-radius: 10px; cursor: pointer; font-weight: 700; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--text); }

/* Área interna */
.app { max-width: 1240px; margin: 0 auto; padding: 24px; display: flex; gap: 24px; align-items: flex-start; }
.side-nav { flex: none; width: 220px; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.side-nav a:hover { background: var(--surface); color: var(--text); }
.side-nav a[aria-current="page"] { background: var(--lime); color: var(--lime-ink); font-weight: 700; }
.side-nav svg { width: 20px; height: 20px; flex: none; }
.app-main { flex: 1; min-width: 0; max-width: 640px; display: flex; flex-direction: column; gap: 20px; }
.app-main.wide { max-width: none; }
.app-aside { flex: none; width: 300px; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 20px; }
.user-chip { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-3); border: 1px solid #3C5A2A; color: var(--lime); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; font-size: 15px; }
.avatar.sm { width: 34px; height: 34px; font-size: 13px; color: var(--text); border-color: var(--line-2); }
.avatar.me { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.search { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 0 14px; color: var(--muted); flex: 1 1 260px; max-width: 420px; }
.search input { flex: 1; min-width: 0; background: transparent; border: none; color: var(--text); padding: 11px 0; outline: none; }
.access-pill { text-decoration: none; font-size: 13px; font-weight: 700; color: var(--lime-ink); background: var(--lime); padding: 8px 12px; border-radius: 999px; white-space: nowrap; }
.access-pill.warn { background: #F3C969; }
.bottom-nav { display: none; }

@media (max-width: 1100px) { .app-aside { display: none; } }
@media (max-width: 820px) {
  .side-nav { display: none; }
  .app { padding: 16px 12px 96px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: fixed; bottom: 0; left: 0; right: 0; background: rgba(15,26,19,.97); border-top: 1px solid var(--line); z-index: 30; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 700; border-radius: 10px; }
  .bottom-nav a[aria-current="page"] { color: var(--lime); }
  .bottom-nav svg { width: 22px; height: 22px; }
  .search { display: none; }
  .hero-main { padding: 28px; }
  .wrap { padding: 0 16px; }
}

/* Post do feed */
.post { padding: 20px; }
.post-head { display: flex; gap: 12px; align-items: center; }
.post-author { display: flex; align-items: center; gap: 6px; font-weight: 700; }
.post-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 2px; flex-wrap: wrap; }
.post-title { font-family: var(--font-serif); font-size: 25px; line-height: 1.25; font-weight: 700; letter-spacing: -0.2px; margin: 16px 0 8px; }
.post-title a { color: var(--text); text-decoration: none; }
.post-title a:hover { color: var(--lime-hover); }
.post-summary { color: var(--text-2); }
.post-media { margin: 16px 0 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.post-media .img { position: relative; background: var(--surface-3); aspect-ratio: 16 / 9; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-media .img .chip { position: absolute; top: 12px; right: 12px; background: var(--bg); border-color: var(--bg); font-weight: 700; font-size: 12px; }
.post-media figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 14px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.post-media figcaption span:last-child { font-family: var(--font-mono); }
.post-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); }
.act { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; background: transparent; border: none; border-radius: 10px; color: var(--text-2); font-size: 14px; cursor: pointer; }
.act:hover { background: var(--surface-2); color: var(--text); }
.act svg { width: 19px; height: 19px; flex: none; }
.act.on { color: var(--lime); font-weight: 700; }
.act.on svg { fill: currentColor; }
@media (max-width: 480px) { .act .label { display: none; } .post-title { font-size: 21px; } }
.comments { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
.comment { display: flex; gap: 10px; }
.comment.reply { margin-left: 44px; }
.bubble { background: var(--bg); border-radius: 14px; padding: 10px 14px; min-width: 0; }
.bubble .who { font-size: 13px; font-weight: 700; }
.bubble .who span { font-weight: 400; color: var(--muted); }
.bubble p { font-size: 15px; margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.comment-tools { display: flex; gap: 14px; font-size: 12px; margin: 4px 0 0 14px; }
.comment-tools button { background: none; border: none; color: var(--muted); cursor: pointer; padding: 0; font-weight: 700; font-size: 12px; }
.comment-tools button:hover { color: var(--text); }
.comment-form { display: flex; gap: 10px; align-items: flex-start; }
.comment-form textarea { flex: 1; min-width: 0; background: var(--bg); border: 1px solid var(--line-2); border-radius: 22px; padding: 11px 16px; color: var(--text); font-size: 15px; resize: none; min-height: 44px; max-height: 160px; }
.comment-form textarea:focus { outline: none; border-color: var(--lime); }
.comment-form .btn { min-height: 44px; border-radius: 22px; }
.empty { text-align: center; padding: 48px 24px; color: var(--muted); }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-3) 50%, var(--surface) 100%); background-size: 200% 100%; animation: sk 1.4s ease infinite; border-radius: 20px; height: 420px; }
@keyframes sk { to { background-position: -200% 0; } }

/* Cotações e números */
.quote-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.quote-row:last-child { border-bottom: none; padding-bottom: 0; }
.quote-row b { font-family: var(--font-display); }
.chg { font-size: 12px; font-weight: 700; margin-left: 6px; }
.chg.up { color: var(--up); } .chg.down { color: var(--down); }
.quote-card { border: 1px solid var(--line-2); border-radius: 16px; padding: 18px; }
.quote-card b { font-family: var(--font-display); font-size: 30px; display: block; margin-top: 4px; }
.num-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.num { background: var(--surface); border: 1px dashed #3C5A2A; border-radius: 14px; padding: 12px 14px; font-family: var(--font-mono); font-size: 22px; color: var(--lime); letter-spacing: 1px; text-align: center; }
.num.win { background: var(--lime); color: var(--lime-ink); border-style: solid; }
.num-chips { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--font-mono); font-size: 14px; }
.num-chips span { background: var(--lime-ink); color: var(--lime); border-radius: 8px; padding: 6px 8px; }
.big-banner { background: var(--lime); color: var(--lime-ink); border-radius: 24px; padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.big-banner h1 { font-size: clamp(28px, 4vw, 40px); }
.stat-box { background: var(--lime-ink); color: var(--lime); border-radius: 16px; padding: 14px 20px; text-align: center; }
.stat-box b { font-family: var(--font-display); font-size: 30px; display: block; line-height: 1.1; }
.list-row { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.list-row:last-child { border-bottom: none; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 820px) { .toast { bottom: 90px; } }

/* Admin */
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-tabs button { border: 1px solid var(--line-2); background: transparent; color: var(--text); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 500; }
.admin-tabs button[aria-selected="true"] { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); font-weight: 700; }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.kpi b { font-family: var(--font-display); font-size: 28px; display: block; margin-top: 2px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 500; background: var(--surface-2); white-space: nowrap; }
tr:last-child td { border-bottom: none; }
.status { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line-2); }
.status.ok { color: var(--lime-ink); background: var(--lime); border-color: var(--lime); }

/* Páginas de texto */
.prose h1 { font-size: 40px; margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin: 32px 0 10px; }
.prose p, .prose li { color: var(--text-2); margin: 0 0 12px; }
.prose ol, .prose ul { padding-left: 22px; }
.notice { border: 1px dashed #8a7a3a; color: #F3D98A; background: rgba(243, 201, 105, .06); border-radius: 14px; padding: 14px 16px; font-size: 14px; }
.share-cta { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; color: var(--text-2); }
@media (max-width: 480px) {
  .topbar-in { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .brand { font-size: 19px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .access-pill { font-size: 12px; padding: 6px 10px; }
  .topbar .btn { padding: 10px 14px; }
  .days-value input { font-size: 60px; width: 140px; }
  .total { font-size: 44px; }
}
.btn-block { white-space: normal; text-align: center; }
@media (max-width: 480px) { .topbar-in > span.small { display: none; } }

/* Capa: notícias com foto */
.home-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.home-news .skeleton { height: 300px; }
.hn-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.hn-card:hover { border-color: var(--line-2); color: var(--text); transform: translateY(-2px); }
.hn-img { position: relative; aspect-ratio: 16 / 10; background: var(--surface-3); overflow: hidden; }
.hn-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hn-card:hover .hn-img img { transform: scale(1.03); }
.hn-img .chip { position: absolute; top: 12px; left: 12px; background: var(--bg); border-color: var(--bg); font-weight: 700; font-size: 12px; }
.hn-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.hn-body h3 { font-family: var(--font-serif); font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.2px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hn-body p { color: var(--text-2); }
.hn-meta { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px 12px; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.hn-lock { display: inline-flex; align-items: center; gap: 6px; color: var(--lime); font-weight: 700; }
.hn-feature { grid-column: span 2; grid-row: span 2; }
.hn-feature .hn-img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.hn-feature .hn-body { flex: none; padding: 22px 24px 24px; }
.hn-feature h3 { font-size: clamp(24px, 3vw, 32px); -webkit-line-clamp: 4; }
.join-band { margin-top: 24px; background: var(--lime); color: var(--lime-ink); border-radius: 20px; padding: 24px 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.join-band div { display: flex; flex-direction: column; gap: 4px; max-width: 640px; }
.join-band strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -0.3px; }
@media (min-width: 901px) { .home-news .hn-card:nth-child(n+7) { display: none; } }
@media (max-width: 900px) {
  .home-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hn-feature { grid-row: auto; }
  .hn-feature .hn-img { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
}
@media (max-width: 600px) {
  .home-news { grid-template-columns: 1fr; }
  .hn-feature { grid-column: auto; grid-row: auto; }
  .hn-feature .hn-img { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
}

/* Página da notícia */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.news-page { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.news-article { flex: 999 1 560px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.news-article .post-media { margin: 4px 0 0; }
.news-title { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 40px); line-height: 1.15; letter-spacing: -0.5px; text-wrap: balance; }
.news-summary { font-size: 18px; line-height: 1.65; color: var(--text-2); max-width: 65ch; }
.news-article > .btn { align-self: flex-start; }
.news-stats { display: flex; gap: 20px; flex-wrap: wrap; color: var(--text-2); font-size: 14px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; }
.news-stats span { display: inline-flex; align-items: center; gap: 6px; }
.locked-talk { position: relative; border: 1px dashed var(--line-2); border-radius: 16px; padding: 20px; overflow: hidden; }
.fake-comments { display: flex; flex-direction: column; gap: 12px; filter: blur(3px); opacity: .6; }
.fake-line { height: 40px; border-radius: 14px; background: var(--surface-3); }
.locked-talk-cta { position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: center; text-align: center; padding: 16px; background: rgba(24, 38, 28, .55); }
.news-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 88px; }
.join-card { display: flex; flex-direction: column; gap: 12px; }
.join-title { font-family: var(--font-display); font-size: 22px; line-height: 1.15; letter-spacing: -0.3px; }
.join-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.join-login { text-align: center; font-weight: 700; }
.more-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.more-item:last-child { border-bottom: none; padding-bottom: 0; }
.more-item:hover strong { color: var(--lime-hover); }
.more-item strong { display: block; font-size: 14px; line-height: 1.35; margin-top: 2px; }
.more-thumb { flex: none; width: 72px; height: 54px; border-radius: 10px; overflow: hidden; background: var(--surface-3); }
.more-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .news-side { position: static; } }
@media (max-width: 480px) { .news-article { padding: 18px; } }

/* Assinatura: cabeçalho com etapas */
.checkout-head { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted); }
.stepper li span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--text); font-size: 13px; }
.stepper li[aria-current="step"] { border-color: var(--lime); color: var(--text); }
.stepper li[aria-current="step"] span { background: var(--lime); color: var(--lime-ink); }
.stepper li.done { color: var(--text-2); }
.stepper li.done span { background: var(--lime-ink); color: var(--lime); }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 24px; }
.step-title .step-n { width: 34px; height: 34px; font-size: 16px; border-radius: 10px; }
.step-n.dark { background: var(--lime-ink); color: var(--lime); }
.order-lines { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.order-lines div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(24, 38, 10, .18); }
.card-lime .btn-dark, .card-lime .btn-dark:hover { color: var(--lime); }

/* Menu público no celular: segunda linha com rolagem lateral */
@media (max-width: 820px) {
  .topbar-in:has(.nav-pills) { flex-wrap: wrap; row-gap: 6px; }
  .topbar-in .nav-pills { order: 3; width: 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 0 4px; }
  .topbar-in .nav-pills::-webkit-scrollbar { display: none; }
  .topbar-in .nav-pills a { flex: none; padding: 8px 12px; font-size: 14px; }
}
@media (max-width: 480px) { .stepper { gap: 6px; } .stepper li { padding: 5px 10px 5px 5px; font-size: 13px; } .stepper li span { width: 22px; height: 22px; font-size: 12px; } }

/* Capa: faixa com brilho para assinar e concorrer */
.hn-card { position: relative; }
.hn-cover { display: flex; flex-direction: column; flex: 1; text-decoration: none; color: var(--text); }
.hn-cover:hover { color: var(--text); }
.hn-cover:hover h3 { color: var(--lime-hover); }
.hn-feature .hn-cover .hn-img { flex: 1; }
.hn-glow { position: relative; margin: 0 14px 14px; border-radius: 14px; overflow: hidden; padding: 12px; min-height: 92px;
  background: radial-gradient(120% 140% at 50% 120%, rgba(196, 227, 90, .28) 0%, rgba(196, 227, 90, .08) 45%, transparent 70%), var(--surface-2);
  border: 1px solid rgba(196, 227, 90, .22); }
.hn-glow-lines { display: flex; flex-direction: column; gap: 8px; filter: blur(3px); opacity: .55; }
.hn-glow-lines i { display: block; height: 26px; border-radius: 10px; background: var(--surface-3); }
.hn-glow-cta { position: absolute; inset: 0; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; justify-content: center; text-align: center; padding: 10px; }
.hn-glow .hn-lock { font-size: 13px; }
.btn-glow { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 9px 16px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(196, 227, 90, .5), 0 0 22px rgba(196, 227, 90, .45), 0 0 48px rgba(196, 227, 90, .18); transition: box-shadow .2s, transform .1s; }
.btn-glow:hover { color: var(--lime-ink); box-shadow: 0 0 0 1px rgba(196, 227, 90, .7), 0 0 30px rgba(196, 227, 90, .6), 0 0 64px rgba(196, 227, 90, .25); }
.btn-glow:active { transform: translateY(1px); }
@media (prefers-reduced-motion: no-preference) {
  .btn-glow { animation: glowPulse 2.6s ease-in-out infinite; }
  @keyframes glowPulse { 50% { box-shadow: 0 0 0 1px rgba(196, 227, 90, .6), 0 0 30px rgba(196, 227, 90, .55), 0 0 60px rgba(196, 227, 90, .22); } }
}
.hn-feature .hn-glow { margin: 0 24px 24px; min-height: 104px; }
.hn-feature .btn-glow { min-height: 46px; padding: 11px 22px; font-size: 15px; }

/* Conteúdo normal x exclusivo */
.expired-box { border: 1px solid rgba(196, 227, 90, .35); border-radius: 20px; padding: 20px 22px; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between;
  background: radial-gradient(90% 160% at 100% 100%, rgba(196, 227, 90, .18), transparent 60%), var(--surface); }
.expired-box > div:first-child { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.expired-box strong { font-family: var(--font-display); font-size: 20px; }
.expired-box p { color: var(--text-2); font-size: 15px; }
.expired-box b { color: var(--lime); }
.filter-premium { border-color: rgba(196, 227, 90, .45); color: var(--lime); }
.filter-premium[aria-pressed="true"] { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.post-full { white-space: pre-wrap; font-size: 16px; line-height: 1.7; color: var(--text); }
.post-lock { margin: 14px 0 0; min-height: 120px; }
.upsell-panel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid rgba(196, 227, 90, .3); color: var(--text-2); font-size: 14px; }
.upsell-panel[hidden] { display: none; }
.upsell-panel svg { color: var(--lime); }
.upsell-panel span { flex: 1 1 200px; }
.locked-mini { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--text-2); font-size: 14px; padding-top: 6px; }
.locked-mini svg { color: var(--lime); }

/* Capa simplificada: prêmio + compra */
.prize { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.prize-media { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.prize-photo { position: relative; margin: 0; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 24px; overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(196, 227, 90, .08), 0 30px 80px -30px rgba(196, 227, 90, .25); }
.prize-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.prize-empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-weight: 500; }
.prize-empty svg { color: var(--lime); }
.prize-tag { position: absolute; top: 16px; left: 16px; background: var(--lime); color: var(--lime-ink); font-weight: 700; font-size: 13px; padding: 7px 12px; border-radius: 999px; }
.prize-info h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -1.2px; text-wrap: balance; }
.prize-info p { margin-top: 10px; font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 62ch; white-space: pre-line; }
.buy-card { position: sticky; top: 92px; background: var(--surface); border: 1px solid rgba(196, 227, 90, .28); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 20px;
  background-image: radial-gradient(120% 70% at 50% 120%, rgba(196, 227, 90, .16), transparent 60%); }
.buy-draw { display: flex; flex-direction: column; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.buy-date { font-family: var(--font-display); font-size: 26px; font-weight: 700; margin-top: 2px; }
.countdown-dark div { background: var(--bg); color: var(--lime); border: 1px solid var(--line-2); }
.buy-step h2 { font-size: 22px; }
.buy-step .filters { flex-wrap: wrap; overflow: visible; }
.buy-qty { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.buy-qty input { width: 140px; text-align: center; background: transparent; border: none; color: var(--lime); font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.buy-qty input::-webkit-outer-spin-button, .buy-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy-qty .round-btn { width: 48px; height: 48px; font-size: 22px; border-radius: 14px; }
.buy-lines { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-2); }
.buy-lines div { display: flex; justify-content: space-between; gap: 12px; }
.buy-lines b { color: var(--text); font-variant-numeric: tabular-nums; }
.buy-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.buy-price { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.buy-cta { min-height: 58px; font-size: 17px; border-radius: 16px; width: 100%; }
.buy-cta.is-off { background: var(--surface-3); color: var(--muted); box-shadow: none; animation: none; cursor: default; }
.buy-foot { text-align: center; margin-top: -8px; }
.buy-mine { text-align: center; font-weight: 700; margin-top: -10px; }
@media (max-width: 900px) {
  .prize { grid-template-columns: 1fr; }
  .buy-card { position: static; }
}
@media (max-width: 480px) {
  .prize-photo { border-radius: 18px; }
  .buy-card { padding: 20px 18px; }
  .buy-qty input { font-size: 48px; width: 120px; }
}

.draw-thumb { flex: none; width: 56px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--surface-3); display: inline-block; }
.edit-draw-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start; }
.edit-photo { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--surface-3); display: flex; align-items: center; justify-content: center; }
.edit-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .edit-draw-grid { grid-template-columns: 1fr; } }
