/* Mockup nova LP 4Real — mobile-first, tema Mundo Verde */
:root {
  --accent: #1a5c36;
  --accent-dark: #134427;
  --accent-soft: #e6f0e9;
  --accent-border: #c9dfd0;
  --bg: #f4f2ed;
  --surface: #ffffff;
  --text: #1f1f1d;
  --text-2: #3f3e3a;
  --muted: #5c5b56;
  --muted-2: #8a8985;
  --border: #e2dfd7;
  --border-2: #d6d2c8;
  --dark: #1d2a22;
  --dark-text: #d5ddd7;
  --mint: #9ed3ae;
  --radius: 16px;
  --radius-lg: 22px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; }
button, input { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
ul { margin: 0; padding-left: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Layout */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }
@media (min-width: 1024px) { .container { padding: 0 80px; } }

/* Top bar */
.topbar { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.topbar .container { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar .brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.topbar .brand img { height: 36px; width: auto; }
.topbar .brand small { display: none; font-size: 12px; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--border); }
.topbar nav { display: none; gap: 28px; font-weight: 600; font-size: 15px; }
.topbar nav a { text-decoration: none; color: var(--text); }
.topbar nav a.active { color: var(--accent); }
.topbar .actions { display: flex; align-items: center; gap: 10px; }
@media (min-width: 1024px) {
  .topbar .container { height: 84px; }
  .topbar .brand img { height: 44px; }
  .topbar .brand small { display: inline; }
  .topbar nav { display: flex; }
}

/* Language switcher */
.lang { display: flex; background: var(--bg); border-radius: 999px; padding: 3px; gap: 2px; }
.lang button { border: 0; border-radius: 999px; padding: 6px 10px; min-height: 32px; font-weight: 600; font-size: 12px; background: transparent; color: var(--text); }
.lang button.active { background: var(--text); color: #fff; font-weight: 700; }
.lang.on-image { background: rgba(255,255,255,0.92); }
@media (min-width: 1024px) { .lang button { padding: 8px 14px; min-height: 36px; font-size: 13px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; transition: filter .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(0.94); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1.5px solid var(--border-2); }
.btn-secondary:hover { border-color: var(--text); color: var(--text); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--text); border-radius: 999px; min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-outline:hover { background: var(--text); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 16px; }
.btn-sm { min-height: 40px; font-size: 13px; padding: 0 14px; border-radius: 12px; }
.btn-icon { width: 44px; min-width: 44px; height: 44px; padding: 0; border-radius: 12px; }
.g-mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; }

/* Forms */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; color: var(--text-2); }
.field label small { font-weight: 500; color: var(--muted); }
.input { min-height: 52px; width: 100%; padding: 0 16px; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--surface); color: var(--text); font-size: 16px; outline: none; }
.input:focus { border-color: var(--accent); border-width: 2px; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.45; }
.input-row { display: flex; gap: 8px; }
.input-row .input { flex: 1; min-width: 0; }
.ddi { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 12px; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--surface); font-weight: 700; font-size: 14px; color: var(--text); appearance: none; -webkit-appearance: none; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.45; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex-shrink: 0; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* Cards & sections */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.card-pad { padding: 16px; }
.section { padding: 24px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { font-size: 20px; font-weight: 600; }
.section-head .count { font-size: 12px; font-weight: 700; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.section-head .hint { white-space: nowrap; flex-shrink: 0; }
@media (min-width: 1024px) { .section { padding: 40px 0; } .section-head h2 { font-size: 28px; } .section-head { margin-bottom: 22px; } }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1024px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; font-weight: 700; color: var(--accent); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-dark); font-size: 11px; font-weight: 700; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--accent); text-transform: uppercase; }

/* Banner */
.banner { height: 146px; overflow: hidden; background: #0f7a3f; position: relative; }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.banner.contain img { width: auto; max-width: 100%; height: 100%; margin: 0 auto; object-fit: contain; object-position: center; }
@media (min-width: 768px) { .banner { height: 200px; } .banner img { object-position: center; } }
@media (min-width: 1024px) { .banner { height: 240px; } }

/* Hero */
.hero { padding: 24px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; }
.hero h1 { font-size: 34px; font-weight: 700; line-height: 1.08; }
.hero p.lead { margin: 0; color: var(--text-2); font-size: 15px; }
.hero form { display: flex; flex-direction: column; gap: 10px; }
.hero .cta-row { display: flex; flex-direction: column; gap: 10px; }
.hero .stack { display: none; }
@media (min-width: 1024px) {
  .hero { padding: 56px 0 40px; }
  .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
  .hero h1 { font-size: 56px; }
  .hero p.lead { font-size: 18px; max-width: 520px; }
  .hero form .input-row { display: flex; }
  .hero .cta-row { flex-direction: row; align-items: center; }
  .hero .stack { display: block; position: relative; height: 440px; }
  .hero .stack img { position: absolute; width: 400px; height: 209px; object-fit: cover; border-radius: 20px; box-shadow: 0 20px 40px rgba(31,31,29,0.16); }
  .hero .stack img:nth-child(1) { left: 30px; top: 20px; transform: rotate(-5deg); }
  .hero .stack img:nth-child(2) { left: 130px; top: 140px; transform: rotate(3deg); }
  .hero .stack img:nth-child(3) { left: 50px; top: 240px; transform: rotate(-2deg); box-shadow: 0 24px 44px rgba(31,31,29,0.2); }
}

/* Coupon slider */
.slider { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { flex: 0 0 270px; scroll-snap-align: start; }
@media (min-width: 768px) { .slider { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; overflow: visible; margin: 0; padding: 0; } .slider > * { flex: none; } }

.coupon { overflow: hidden; display: flex; flex-direction: column; }
.coupon img { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; }
.coupon .body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; }
.coupon .title { font-weight: 700; font-size: 14px; }
.coupon .meta { font-size: 12px; color: var(--muted); }
.coupon .actions { display: flex; gap: 8px; }
.coupon .actions .btn:first-child { flex: 1; }
@media (min-width: 1024px) { .coupon .title { font-family: var(--font-display); font-weight: 600; font-size: 16px; } .coupon .meta { font-size: 13px; } .coupon .body { padding: 16px 18px 18px; gap: 12px; } }

/* Benefit cards */
.benefit { display: flex; align-items: center; gap: 14px; padding: 14px; }
.benefit .icon { width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.benefit h3 { font-size: 15px; font-weight: 600; }
.benefit p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
@media (min-width: 768px) {
  .benefit { flex-direction: column; align-items: flex-start; padding: 26px; gap: 12px; min-height: 200px; border-radius: 20px; }
  .benefit .icon { width: 46px; height: 46px; border-radius: 14px; }
  .benefit h3 { font-size: 19px; }
  .benefit p { font-size: 15px; color: var(--text-2); }
}

/* Dark steps */
.dark { background: var(--dark); color: #fff; }
.dark .section-head h2 { color: #fff; }
.dark .sub { font-size: 14px; color: #b9c7bd; }
.steps { display: grid; grid-template-columns: 1fr; gap: 14px; }
.step { display: flex; align-items: center; gap: 14px; }
.step .num { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--mint); color: var(--dark); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }
.step h3 { font-size: 15px; font-weight: 600; }
.step p { margin: 0; font-size: 13px; color: var(--dark-text); }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .step { flex-direction: column; align-items: flex-start; padding: 22px; border-radius: 18px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); gap: 10px; }
  .step .num { display: none; }
  .step .label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--mint); }
  .step h3 { font-size: 20px; }
  .step p { font-size: 14px; }
}
.step .label { display: none; }

/* International */
.intl { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
.intl h2 { font-size: 20px; font-weight: 600; line-height: 1.2; }
.intl p { margin: 0; color: var(--text-2); font-size: 14px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips span { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 12px; font-weight: 700; }
.intl-demo { padding: 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 16px 36px rgba(31,31,29,0.08); border-radius: var(--radius-lg); }
.notice { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; line-height: 1.45; }
.notice svg { flex-shrink: 0; margin-top: 2px; }
.notice.warn { background: #fff4e5; color: #7a4b00; }
@media (min-width: 1024px) { .intl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; } .intl h2 { font-size: 30px; } .intl p { font-size: 16px; } }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--border); padding: 24px 0; font-size: 13px; color: var(--muted); }
.footer .cols { display: grid; grid-template-columns: 1fr; gap: 14px; }
.footer .cols a { display: block; text-decoration: none; color: var(--text); font-weight: 600; margin-bottom: 6px; }
.footer .bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.footer strong { color: var(--text); }
@media (min-width: 768px) { .footer .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } .footer { padding: 36px 0; } }

/* Rodapé da área logada (mobile: lista com setas; desktop: linha) */
.footer-links { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.footer-links a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; border-bottom: 1px solid var(--border); }
.footer-links a:last-child { border-bottom: 0; }
.footer-links a .ic { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--bg); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.footer-links a .chev { margin-left: auto; color: var(--muted-2); }
.footer-links a.danger { color: #b3261e; }
.footer-links a.danger .ic { color: #b3261e; }
.footer-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 12px; color: var(--muted); }
@media (min-width: 1024px) {
  .footer-links { flex-direction: row; background: transparent; border: 0; border-radius: 0; gap: 24px; }
  .footer-links a { min-height: 0; padding: 0; border: 0; font-size: 14px; }
  .footer-links a .ic, .footer-links a .chev { display: none; }
  .footer-meta { margin-top: 0; }
  .footer-logged .container { display: flex; justify-content: space-between; align-items: center; }
}

/* Perfil */
.profile-head { display: flex; align-items: center; gap: 14px; padding: 16px; }
.profile-head .avatar-lg { width: 56px; height: 56px; border-radius: 50%; background: var(--text); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-head h1 { font-size: 20px; font-weight: 700; }
.profile-head .sub { font-size: 12px; color: var(--muted); }
.form-card { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.form-card h2 { font-size: 15px; font-weight: 600; }
.input[readonly] { background: var(--bg); color: var(--muted); }
.pref { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 4px; }
.pref input { width: 20px; height: 20px; accent-color: var(--accent); }
.pref .t { flex: 1; display: flex; flex-direction: column; }
.pref .t strong { font-size: 14px; }
.pref .t span { font-size: 12px; color: var(--muted); }
.store-row { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; }
.store-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.store-row span:last-child { margin-left: auto; font-size: 12px; color: var(--muted); }
@media (min-width: 1024px) {
  .profile-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; align-items: start; }
  .profile-wrap .col { display: flex; flex-direction: column; gap: 16px; }
  .form-card { padding: 24px; }
  .form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}

/* Auth flow pages */
.auth { min-height: 100vh; display: flex; flex-direction: column; }
.auth-top { height: 64px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-top .back { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); text-decoration: none; }
.auth-top .spacer { width: 44px; }
.auth-top img { height: 30px; width: auto; }
.auth-main { flex: 1; width: 100%; max-width: 440px; margin: 0 auto; padding: 24px 20px 24px; display: flex; flex-direction: column; gap: 20px; }
.auth h1 { font-size: 28px; font-weight: 700; line-height: 1.1; }
.auth .intro { display: flex; flex-direction: column; gap: 8px; }
.auth .intro p { margin: 0; color: var(--text-2); font-size: 14px; }
.auth form { display: flex; flex-direction: column; gap: 14px; }
.auth .foot { margin-top: auto; }
@media (min-width: 768px) {
  .auth { background: var(--bg); }
  .auth-main { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; margin: 24px auto 40px; padding: 32px; flex: 0 0 auto; box-shadow: 0 20px 44px rgba(31,31,29,0.08); }
  .auth h1 { font-size: 30px; }
  .auth .card { background: var(--bg); }
}

.code-boxes { display: flex; gap: 8px; }
.code-boxes input { flex: 1; min-width: 0; height: 60px; text-align: center; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--text); outline: none; padding: 0; }
.code-boxes input:focus { border: 2px solid var(--accent); }
.info { display: flex; align-items: flex-start; gap: 12px; padding: 14px; }
.info .icon { width: 38px; height: 38px; flex-shrink: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.info strong { display: block; font-size: 14px; }
.info span { font-size: 13px; color: var(--muted); line-height: 1.45; }
.cpf-box { padding: 14px; border-radius: 16px; background: var(--accent-soft); border: 1px solid var(--accent-border); display: flex; flex-direction: column; gap: 6px; }
.cpf-box label { color: var(--accent-dark); }
.cpf-box .hint { color: var(--accent-dark); }
.hidden { display: none !important; }

/* Success / QR */
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.check-badge { width: 60px; height: 60px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px; border-radius: var(--radius-lg); box-shadow: 0 16px 36px rgba(31,31,29,0.08); }
.qr-card > svg, .qr-card #qr-wrap svg { width: 160px; height: 160px; }
.code-pill svg { width: 18px; height: 18px; flex-shrink: 0; }
.code-pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; width: 100%; border-radius: 14px; border: 1.5px solid var(--border-2); background: var(--bg); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: 3px; color: var(--text); }
.mini-coupons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mini-coupons .card { padding: 12px; }
.mini-coupons strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--accent); }
.mini-coupons span { font-size: 12px; color: var(--muted); }
.promo-dark { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--dark); color: #fff; }
.promo-dark .icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; }
.promo-dark strong { display: block; font-size: 14px; }
.promo-dark span { font-size: 12px; color: var(--dark-text); }

/* Logged home */
.logged-banner { position: relative; overflow: visible; }
.logged-banner > img { border-radius: 0; }
.logged-banner .lang-wrap { position: absolute; top: 12px; right: 12px; display: flex; gap: 8px; align-items: center; }
.avatar { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; background: var(--text); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
.logo-float { position: absolute; left: 16px; bottom: -28px; width: 120px; height: 56px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 8px 20px rgba(31,31,29,0.12); display: flex; align-items: center; justify-content: center; padding: 8px; }
@media (min-width: 1024px) { .logged-banner .lang-wrap, .logo-float { display: none; } }
.greeting { padding-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.greeting h1 { font-size: 24px; font-weight: 700; }
.greeting .sub { font-size: 13px; color: var(--muted); }
@media (min-width: 1024px) { .greeting { padding-top: 36px; } .greeting h1 { font-size: 34px; } }
.summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.summary .action-dark { grid-column: 1 / -1; }
.summary .card { padding: 12px; }
.summary .k { font-size: 11px; font-weight: 700; color: var(--muted); }
.summary .v { font-family: var(--font-display); font-weight: 700; font-size: 18px; display: block; }
.summary .v.accent { color: var(--accent); }
.summary .v small { font-size: 12px; color: var(--muted); font-weight: 600; }
.summary .d { display: none; font-size: 12px; color: var(--muted); }
@media (min-width: 1024px) {
  .greeting-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 20px; align-items: stretch; }
  .summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .summary .action-dark { grid-column: auto; }
  .summary .card { padding: 20px; border-radius: 20px; display: flex; flex-direction: column; justify-content: center; }
  .summary .v { font-size: 28px; }
  .summary .d { display: block; }
}
.action-dark { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: var(--text); color: #fff; text-decoration: none; }
.action-dark:hover { color: #fff; filter: brightness(1.1); }
.action-dark .icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; }
.action-dark strong { display: block; font-size: 15px; }
.action-dark span { font-size: 12px; color: #c9ccc8; }
.action-dark .grow { flex: 1; }
@media (min-width: 1024px) { .summary .action-dark { padding: 20px; border-radius: 20px; } }

.cashback-card { overflow: hidden; }
.cashback-card .img { position: relative; }
.cashback-card .img img { width: 100%; aspect-ratio: 1600 / 647; object-fit: cover; }
.cashback-card .img .tag { position: absolute; top: 10px; left: 10px; background: var(--surface); color: var(--accent); }
.cashback-card .body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.cashback-card h3 { font-size: 15px; font-weight: 600; }
.balance { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: var(--accent); color: #fff; }
.balance .k { font-size: 11px; font-weight: 700; opacity: 0.85; }
.balance .v { font-family: var(--font-display); font-weight: 700; font-size: 24px; display: block; }
.balance .s { font-size: 11px; opacity: 0.85; }
@media (min-width: 1024px) {
  .cashback-card { display: flex; }
  .cashback-card .img { width: 260px; flex-shrink: 0; }
  .cashback-card .img img { height: 100%; aspect-ratio: auto; }
  .cashback-card .body { padding: 20px; flex: 1; }
  .cashback-card h3 { font-size: 17px; }
}
.pending { display: flex; align-items: center; gap: 12px; padding: 10px; text-decoration: none; color: var(--text); }
.pending img { width: 72px; height: 44px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.pending .t { flex: 1; }
.pending strong { display: block; font-size: 13px; }
.pending span { font-size: 12px; color: var(--muted); }
.pending .go { font-size: 13px; font-weight: 700; color: var(--accent); }
.pending-list { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 1024px) { .pending img { width: 96px; height: 50px; } .pending strong { font-size: 14px; } }

.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; height: calc(64px + env(safe-area-inset-bottom, 0px)); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); box-sizing: border-box; background: var(--surface); border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; z-index: 30; }
.bottom-nav a { text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; color: var(--muted); font-size: 11px; line-height: 1.2; font-weight: 600; min-height: 44px; }
.bottom-nav a svg { flex-shrink: 0; }
.bottom-nav a.active { color: var(--accent); font-weight: 700; }
.has-bottom-nav { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { .bottom-nav { display: none; } .has-bottom-nav { padding-bottom: 0; } }

/* Coupon detail */
.detail-hero img { width: 100%; aspect-ratio: 1200 / 628; object-fit: cover; }
.detail-main { display: flex; flex-direction: column; gap: 14px; padding: 16px 0 24px; }
.detail-main h1 { font-size: 22px; font-weight: 700; line-height: 1.15; }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kv .card { padding: 12px 14px; }
.kv .k { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.kv .v { font-weight: 700; font-size: 14px; display: block; }
.howto { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.howto .k { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: var(--muted); }
.howto ul { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-2); }
@media (min-width: 768px) {
  .detail-wrap { max-width: 720px; margin: 24px auto 40px; }
  .detail-hero img { border-radius: 20px; }
  .detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
}

/* Toast */
.toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: var(--text); color: #fff; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 40; }
.toast.show { opacity: 1; }

/* Rodapé público */
.footer-public .container { display: flex; flex-direction: column; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .logo-box { width: 56px; height: 56px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 8px; flex-shrink: 0; }
.footer-brand .logo-box img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.footer-brand .t { display: flex; flex-direction: column; }
.footer-brand strong { font-family: var(--font-display); font-size: 15px; color: var(--text); }
.footer-brand span { font-size: 12px; color: var(--muted); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact .btn { justify-content: flex-start; font-size: 13px; }
.footer-contact .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.footer-public .footer-meta { flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--border); }
@media (min-width: 1024px) {
  .footer-public .container { display: grid; grid-template-columns: 1.2fr 2fr 1.4fr; grid-template-areas: "brand links contact" "meta meta meta"; gap: 24px 40px; align-items: start; }
  .footer-brand { grid-area: brand; }
  .footer-public .footer-links { grid-area: links; flex-direction: column; gap: 10px; }
  .footer-public .footer-links a { display: inline-flex; }
  .footer-contact { grid-area: contact; }
  .footer-public .footer-meta { grid-area: meta; flex-direction: row; align-items: center; justify-content: space-between; }
}
