:root {
  color-scheme: dark;
  --black: #050505;
  --white: #fff;
  --muted: #aaa;
  --line: #2a2a2a;
  --red: #d90000;
  --display: Impact, "Arial Narrow", sans-serif;
  --body: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--black); color: var(--white); font: 16px/1.55 var(--body); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding: .7rem max(1.25rem, calc((100vw - 1200px) / 2));
  background: #050505;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { border-radius: 50%; }
.brand span { font: 1.3rem/1 var(--display); text-transform: uppercase; }
.brand small { display: block; margin-top: .2rem; color: var(--muted); font: 600 .7rem/1 var(--body); letter-spacing: .22em; }
.header-link { font-weight: 700; text-decoration: none; }
.header-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.header-nav { display: flex; align-items: center; gap: 1.3rem; }
.header-nav a { font-weight: 700; text-decoration: none; }
.header-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 480px;
  padding: 4.5rem max(1.25rem, calc((100vw - 1160px) / 2));
  overflow: hidden;
  background: linear-gradient(90deg, #050505 35%, rgb(5 5 5 / 75%)), repeating-linear-gradient(0deg, transparent 0 115px, #eee 116px 119px, transparent 120px 145px);
}
.hero-copy { position: relative; z-index: 1; max-width: 680px; }
.eyebrow { margin: 0 0 .7rem; color: #c4c4c4; font-size: .8rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1; text-transform: uppercase; }
h1 { max-width: 700px; font-size: clamp(3rem, 8vw, 6.3rem); }
.hero-copy > p:not(.eyebrow) { max-width: 540px; margin: 1rem 0 1.6rem; color: #ddd; font-size: 1.1rem; }
.hero-mark { width: min(27vw, 320px); border: 8px solid var(--black); border-radius: 50%; outline: 3px solid var(--white); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 2px solid var(--black);
  border-radius: 3px;
  background: var(--black);
  color: var(--white);
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}
.button:hover { background: var(--white); color: var(--black); }
.button-light { border-color: var(--white); background: var(--white); color: var(--black); }
.button-light:hover { background: transparent; color: var(--white); }

.offers { width: min(100% - 2.5rem, 1200px); margin: 0 auto; padding: 4rem 0; }
.section-heading { margin-bottom: 1.6rem; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 4px; background: var(--white); color: #090909; scroll-margin-top: 95px; }
.product-image { display: grid; aspect-ratio: 1 / 1; place-items: center; overflow: hidden; border-bottom: 1px solid #e5e5e5; background: var(--white); }
.product-image img { width: 100%; height: 100%; padding: .65rem; object-fit: contain; transition: transform .2s ease; }
.product-image:hover img { transform: scale(1.04); }
.product-info { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1rem; }
.category { margin: 0; color: #555; font-size: .82rem; font-weight: 700; }
h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.description { margin: 0; color: #444; font-size: .94rem; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .55rem; margin: auto 0 0; padding-top: .55rem; font: 1.7rem/1.15 var(--display); }
.price del { color: #666; font: .9rem var(--body); }
.price span { color: #444; font: 600 .75rem var(--body); }
.product-info .button { width: 100%; margin-top: .5rem; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.8rem max(1.25rem, calc((100vw - 1200px) / 2));
  border-top: 1px solid var(--line);
}
.site-footer > p { max-width: 650px; margin: 0; color: var(--muted); font-size: .88rem; }
.social-links { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; }
.social-links h2 { width: 100%; font: 700 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.social-links a { font-size: .9rem; font-weight: 700; text-underline-offset: .25em; }
.social-links a:hover { color: var(--muted); }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
@media (max-width: 850px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
  .hero { min-height: 400px; }
  .hero-mark { width: min(25vw, 220px); }
}
@media (max-width: 560px) {
  .site-header { min-height: 66px; padding: .55rem 1rem; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 1.05rem; }
  .header-nav { gap: .8rem; }
  .header-nav a { font-size: .82rem; }
  .hero { min-height: auto; padding: 4rem 1.25rem; background: repeating-linear-gradient(0deg, transparent 0 95px, #eee 96px 98px, transparent 99px 125px); }
  .hero-mark { display: none; }
  h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .offers { width: min(100% - 1.5rem, 1200px); padding: 2.5rem 0; }
  .product-grid { gap: .65rem; }
  .product-info { gap: .4rem; padding: .7rem; }
  h3 { font-size: 1rem; }
  .description { font-size: .84rem; }
  .price { font-size: 1.4rem; }
  .product-info .button { min-height: 42px; padding: .5rem; font-size: .8rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 1rem; padding: 1.4rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Filtros de categorias: mantém a paleta e a tipografia existentes. */
.category-filters { display:flex; flex-wrap:wrap; gap:.65rem; margin:0 0 1rem; }
.category-filters button { font:700 .9rem var(--body); color:var(--white); background:transparent; border:1px solid var(--line); border-radius:999px; padding:.7rem 1rem; cursor:pointer; }
.category-filters button:hover { border-color:var(--white); }
.category-filters button[aria-pressed="true"] { background:var(--white); color:var(--black); border-color:var(--white); }
.category-filters button:focus-visible { outline:3px solid var(--red); outline-offset:3px; }
.filter-count { color:var(--muted); font-size:.9rem; margin:0 0 1.25rem; }
.category-filters[hidden], .filter-count[hidden], .product-card[hidden] { display:none; }
