/* Página de bónus – complementa home.css */

.breadcrumb { padding-top: 1rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: var(--muted); }
.breadcrumb a { color: var(--mint); text-decoration: none; }

.page-hero { padding: 1.5rem 0 2.25rem; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: end; }
.page-hero .jump-links { margin: 0; }

.table-note { margin-top: .6rem; }
.offers-table th a { color: var(--text); text-decoration: none; }
.offers-table th a:hover { color: var(--mint); text-decoration: underline; }
.offers-table tbody th { white-space: normal; min-width: 150px; }
.table-caption { caption-side: top; text-align: left; padding: .75rem 1rem; font-weight: 800; font-size: .85rem; color: var(--text); background: var(--surface-2); }

/* Glossário e gráfico de rollover */
.glossary { margin: 0; }
.glossary > div { padding: .7rem 0; border-top: 1px solid var(--line); }
.glossary > div:first-child { border-top: 0; padding-top: 0; }
.glossary dt { font-weight: 800; }
.glossary dd { margin: .15rem 0 0; color: var(--muted); font-size: .92rem; }

.rollover-chart { margin: 0; }
.rollover-chart h3 { margin-bottom: .2rem; }
.bars { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.bars li { display: grid; grid-template-columns: 11rem 1fr; align-items: center; gap: .75rem; font-size: .88rem; font-weight: 700; }
.bar { position: relative; height: 26px; border-radius: 6px; background: var(--bg-deep); overflow: hidden; }
.bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); min-width: 6px; background: linear-gradient(90deg, var(--mint-2), var(--mint)); border-radius: 6px; }
.bars li:nth-last-child(-n+2) .bar::before { background: linear-gradient(90deg, var(--amber-2), var(--amber)); }
.bar span { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); font-size: .8rem; color: var(--text); }

/* Ofertas */
.offer { background: var(--surface); border-radius: var(--radius-l); overflow: hidden; margin-bottom: 1.25rem; }
.offer-media { margin: 0; aspect-ratio: 8 / 3; background: var(--bg-deep); }
.offer-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.offer-media-fallback { display: grid; place-items: center; background: radial-gradient(60% 80% at 70% 40%, rgba(255,173,31,.35), transparent 70%), linear-gradient(135deg, #2a2412, #10241f); color: var(--amber); }
.offer-media-fallback .ico { width: 64px; height: 64px; }
.offer-body { padding: 1.4rem 1.5rem 1.5rem; }
.offer-head { margin-bottom: 1.25rem; }
.offer-head h3, .offer-body > h3, .h3-size { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; margin-bottom: .4rem; }
.offer-head p, .offer-body > p { color: var(--text-soft); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.offer .table-scroll { background: var(--bg); margin-bottom: 1rem; }
.data-table.compact { min-width: 0; font-size: .9rem; }
.data-table.compact th, .data-table.compact td { padding: .6rem .85rem; }
.data-table.compact thead th { background: var(--bg-deep); }

.kv { margin: 0 0 .5rem; }
.kv > div { display: grid; grid-template-columns: 10.5rem 1fr; gap: .75rem; padding: .5rem 0; border-top: 1px solid var(--line); font-size: .9rem; }
.kv dt { color: var(--muted); font-weight: 700; }
.kv dd { margin: 0; font-weight: 700; }

.calc { background: var(--bg); border-left: 3px solid var(--mint); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.15rem; margin-bottom: 1.25rem; }
.calc h4, .mini-head { font-size: .9rem; font-weight: 800; margin: 0 0 .5rem; }
.calc p { color: var(--text-soft); font-size: .92rem; }
.calc p:last-child { margin-bottom: 0; }
.calc-inline { background: var(--bg); border-left: 3px solid var(--mint); border-radius: 0 var(--radius) var(--radius) 0; padding: .65rem .9rem; font-size: .9rem; color: var(--text-soft); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 1.5rem; margin-bottom: .6rem; color: var(--text-soft); font-size: .92rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: .6rem; height: .6rem; border-radius: 50%; background: var(--amber); }

.steps { margin: 0 0 1rem; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: .35rem 0 .35rem 2.4rem; margin-bottom: .35rem; font-weight: 600; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: .2rem; width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--amber), var(--amber-2)); color: var(--amber-ink); font-weight: 800; font-size: .85rem; }

/* Imagem ao lado do texto */
.offer-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.offer-side .offer-media { aspect-ratio: auto; min-height: 100%; }

/* Grelha semanal */
.week-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 1rem; max-width: 520px; }
.week-strip span { text-align: center; padding: .4rem 0; border-radius: 8px; font-weight: 800; font-size: .8rem; background: linear-gradient(180deg, var(--mint), var(--mint-2)); color: var(--mint-ink); }
.week-strip span.off { background: var(--surface); color: var(--muted); }
.offer-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.offer-card { margin-bottom: 0; display: flex; flex-direction: column; }
.offer-card .offer-body > h3 { font-size: 1.3rem; }
.offer-plain { border-left: 4px solid var(--mint); }
.inline-ico { width: 24px; height: 24px; color: var(--mint); vertical-align: -4px; margin-right: .4rem; }
.social-links { display: flex; flex-wrap: wrap; gap: .6rem; }

@media (max-width: 1020px) {
  .page-hero-grid, .offer-grid, .offer-pair, .offer-side { grid-template-columns: 1fr; }
  .offer-side .offer-media { aspect-ratio: 8 / 3; }
}
@media (max-width: 640px) {
  .bars li { grid-template-columns: 1fr; gap: .25rem; }
  .kv > div { grid-template-columns: 1fr; gap: .1rem; }
  .offer-body { padding: 1.1rem; }
}

.nowrap { white-space: nowrap; }
