:root {
  color-scheme: dark;
  --dark: #0c1110;
  --surface: #151c19;
  --ink: #f2f4ed;
  --muted: #b7c4b9;
  --accent: #bbf65b;
  --line: #344239;
  font-family: "Segoe UI", system-ui, sans-serif;
  background: var(--dark);
  color: var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
p { line-height: 1.6; }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.header { border-bottom: 1px solid #27342c; }
.header-inner, .header nav { display: flex; align-items: center; justify-content: space-between; }
.header-inner { min-height: 77px; }
.header nav { gap: clamp(20px, 4vw, 45px); }
.header nav a { text-decoration: none; font-weight: 650; }
.header nav a:hover, .header nav a:focus-visible { color: var(--accent); }
.brand img { width: 116px; mix-blend-mode: screen; }
.nav-x { border: 1px solid var(--line); border-radius: 6px; padding: 9px 15px; }

.hero { display: grid; grid-template-columns: .97fr 1.03fr; gap: 38px; align-items: center; min-height: 420px; padding-block: 44px; }
.hero-copy { position: relative; z-index: 1; }
h1, h2, h3, p { margin: 0; }
h1 { font-weight: 850; font-size: clamp(3.5rem, 6.25vw, 6rem); letter-spacing: -.079em; line-height: .98; }
h1 em { color: var(--accent); font-style: normal; }
.hero p { color: var(--muted); max-width: 28rem; margin-top: 24px; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: 10px 17px; border-radius: 6px; text-decoration: none; font-weight: 750; }
.primary { background: var(--accent); color: #122005; }
.primary:hover { background: #d0ff83; }
.secondary { border: 1px solid #53675a; }
.secondary:hover { background: #1e2b21; }
.hero-art { border-radius: 12px; border: 1px solid #314437; overflow: hidden; background: #111e17; }
.hero-art img { width: 100%; aspect-ratio: 1.66; object-fit: cover; }

.history { background: #111815; border-top: 1px solid #2a392e; border-bottom: 1px solid #2a392e; padding-block: 34px 42px; scroll-margin-top: 1rem; }
.section-heading { display: flex; gap: 16px 30px; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; margin-bottom: 24px; }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.5rem); letter-spacing: -.04em; line-height: 1.12; }
.section-heading p { color: var(--muted); margin-top: 7px; }
.offers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.offer { display: flex; flex-direction: column; overflow: hidden; min-width: 0; border: 1px solid #344039; border-radius: 9px; background: var(--surface); }
.product { display: grid; place-items: center; height: 153px; padding: 15px 20px; background: #f7f8f4; }
.product img { width: 100%; height: 122px; object-fit: contain; mix-blend-mode: multiply; }
.offer-info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 17px; }
.retailer { color: var(--muted); font-size: .875rem; font-weight: 650; margin-bottom: 5px; }
h3 { font-size: 1.16rem; letter-spacing: -.015em; line-height: 1.23; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--accent); font-size: 1.65rem; margin-top: 6px; }
.offer-info p { color: var(--muted); margin: 4px 0 15px; font-size: .97rem; line-height: 1.5; }
.post-link { color: var(--accent); text-underline-offset: 4px; font-weight: 700; }
.post-link:hover { color: #daffa0; }
.offer-info .post-link { margin-top: auto; }
.footer { min-height: 87px; display: flex; gap: 8px 26px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding-block: 17px; color: var(--muted); }
.footer span { font-weight: 750; color: var(--ink); }
.footer p { max-width: 41rem; font-size: .875rem; }

@media (max-width: 990px) {
  .offers { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero { gap: 24px; min-height: 0; }
  h1 { font-size: clamp(3rem, 7.5vw, 5.1rem); }
}
@media (max-width: 670px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 64px; }
  .brand img { width: 100px; }
  .nav-history { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 32px 25px; gap: 24px; }
  h1 { font-size: clamp(2.5rem, 11vw, 4.5rem); }
  .hero p { margin-top: 14px; font-size: 1.02rem; }
  .actions { margin-top: 18px; }
  .hero-art img { aspect-ratio: 1.85; }
  .history { padding-block: 25px 32px; }
  .section-heading { margin-bottom: 18px; }
  .offers { gap: 10px; }
  .product { height: 125px; padding: 12px; }
  .product img { height: 101px; }
  .offer-info { padding: 12px; }
  .price { font-size: 1.42rem; }
}
@media (max-width: 380px) {
  .offers { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Prints originais das ofertas, preservados sem cortes. */
.offers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.offer-print { display: flex; align-items: flex-start; justify-content: center; background: #e5ebe5; padding: 10px; }
.offer-print img { width: 100%; height: 340px; object-fit: contain; object-position: top center; }
@media (max-width: 990px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 670px) { .offer-print { padding: 6px; } .offer-print img { height: 220px; } }
@media (max-width: 380px) { .offers { grid-template-columns: 1fr; } .offer-print img { height: 320px; } }
