/* ===================================================================
   SITE PÚBLICO — Header, Hero, Ofertas, Categorias, Benefícios, Footer
   =================================================================== */

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,13,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha);
}
.header__in { display: flex; align-items: center; gap: 28px; height: var(--topo); }
.nav { display: flex; align-items: center; gap: 26px; margin-inline: auto; }
.nav a { font-size: 14px; font-weight: 500; color: var(--texto-2); transition: .15s; position: relative; }
.nav a:hover { color: var(--texto); }
.nav a.is-active { color: var(--branco); }
.nav a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -24px; height: 2px;
  background: var(--ouro); border-radius: 2px;
}
.header__actions { display: flex; align-items: center; gap: 14px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  color: var(--texto-2); position: relative; transition: .15s;
}
.icon-btn:hover { background: rgba(255,255,255,.06); color: var(--branco); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn__count {
  position: absolute; top: 4px; right: 4px; min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--ouro); color: #000; font-size: 10px; font-weight: 800;
  border-radius: 100px; display: grid; place-items: center; border: 2px solid var(--preto);
}
.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(13,13,13,.97) 0%, rgba(13,13,13,.86) 42%, rgba(13,13,13,.35) 100%),
    linear-gradient(0deg, rgba(13,13,13,.9), transparent 55%);
}
.hero__in { position: relative; z-index: 2; padding: clamp(48px, 8vw, 96px) 0 40px; }
.hero__content { max-width: 640px; }
.hero h1 {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -1.5px; line-height: .98;
  font-size: clamp(38px, 6vw, 68px); text-transform: uppercase; margin-bottom: 8px;
}
.hero h1 .gold { color: var(--ouro); }
.hero__sub { font-size: clamp(15px, 1.6vw, 18px); color: var(--texto-2); max-width: 460px; margin: 18px 0 30px; }

/* barra de busca */
.searchbar {
  display: flex; align-items: center; gap: 8px; background: var(--card);
  border: 1px solid var(--linha-2); border-radius: 14px; padding: 8px; max-width: 620px;
  box-shadow: var(--sombra);
}
.searchbar__field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.searchbar__field svg { width: 18px; height: 18px; color: var(--texto-3); flex-shrink: 0; }
.searchbar__field input { flex: 1; background: none; border: none; outline: none; color: var(--texto); font-size: 14px; height: 40px; }
.searchbar__field input::placeholder { color: var(--texto-3); }
.searchbar__sel {
  background: var(--grafite); border: 1px solid var(--linha); color: var(--texto-2);
  border-radius: 10px; padding: 0 14px; height: 42px; font-size: 13px; outline: none; cursor: pointer;
}
.searchbar .btn { height: 42px; }

/* barra de garantias */
.trust {
  display: flex; flex-wrap: wrap; gap: 34px; padding: 20px 0; margin-top: 34px;
  border-top: 1px solid var(--linha);
}
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item svg { width: 26px; height: 26px; color: var(--ouro); flex-shrink: 0; }
.trust__item b { display: block; font-size: 13px; font-weight: 700; color: var(--branco); }
.trust__item span { font-size: 12px; color: var(--texto-3); }

/* ---------- Seções ---------- */
section { padding: 44px 0; }
.section--dark { background: var(--preto-2); }

/* Ofertas grid */
.offers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.product {
  background: var(--card); border: 1px solid var(--linha); border-radius: var(--r-lg);
  overflow: hidden; transition: .18s ease; position: relative; display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-4px); border-color: rgba(245,180,0,.4); box-shadow: var(--sombra); }
.product__off { position: absolute; top: 10px; left: 10px; z-index: 2; }
.product__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px); border-radius: 8px; display: grid; place-items: center;
  color: var(--texto-2); transition: .15s;
}
.product__fav:hover { color: var(--ouro); background: rgba(0,0,0,.7); }
.product__fav svg { width: 16px; height: 16px; }
.product__img { aspect-ratio: 1; background: #fff; display: grid; place-items: center; padding: 16px; }
.product__img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.product__body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.product__brand { font-size: 11px; font-weight: 700; color: var(--ouro); text-transform: uppercase; letter-spacing: .5px; }
.product__name { font-size: 13px; color: var(--texto); margin: 3px 0 10px; line-height: 1.35; min-height: 34px; }
.product__price { margin-top: auto; }
.product__price b { font-size: 19px; font-weight: 800; color: var(--branco); }
.product__price s { font-size: 12px; color: var(--texto-3); margin-left: 6px; }
.product .btn { margin-top: 12px; }

/* Categorias */
.cats { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.cat {
  background: var(--card); border: 1px solid var(--linha); border-radius: var(--r-lg);
  overflow: hidden; transition: .18s; text-align: center;
}
.cat:hover { transform: translateY(-4px); border-color: rgba(245,180,0,.4); }
.cat__img { aspect-ratio: 1.15; background: #fff; display: grid; place-items: center; padding: 14px; }
.cat__img img { max-height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat__name { padding: 12px; font-size: 13px; font-weight: 600; }

/* Benefícios */
.benes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bene {
  background: linear-gradient(160deg, var(--card), var(--grafite-2)); border: 1px solid var(--linha);
  border-radius: var(--r-lg); padding: 26px; display: flex; gap: 16px; align-items: flex-start;
}
.bene__ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ouro-soft); display: grid; place-items: center; flex-shrink: 0; }
.bene__ic svg { width: 24px; height: 24px; color: var(--ouro); }
.bene h3 { font-family: var(--f-display); font-size: 16px; font-weight: 800; margin-bottom: 6px; }
.bene p { font-size: 13px; color: var(--texto-2); line-height: 1.55; }

/* Footer */
.footer { background: var(--preto-2); border-top: 1px solid var(--linha); padding: 54px 0 26px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 34px; }
.footer__about p { font-size: 13px; color: var(--texto-2); margin: 16px 0; max-width: 300px; line-height: 1.6; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.05); display: grid; place-items: center; color: var(--texto-2); transition: .15s; }
.footer__social a:hover { background: var(--ouro); color: #000; }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { font-size: 13px; font-weight: 700; color: var(--branco); margin-bottom: 16px; text-transform: uppercase; letter-spacing: .5px; }
.footer__col a { display: block; font-size: 13px; color: var(--texto-2); padding: 6px 0; transition: .15s; }
.footer__col a:hover { color: var(--ouro); }
.footer__credits { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--linha); font-size: 12px; color: var(--texto-3); }
.footer__credits a { color: var(--ouro); font-weight: 600; transition: .15s; }
.footer__credits a:hover { color: var(--ouro-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--linha); font-size: 12px; color: var(--texto-3); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .offers { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
  .benes { grid-template-columns: 1fr; }
  .trust { gap: 20px; }
  .trust__item { flex: 1 1 42%; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .searchbar { flex-wrap: wrap; }
  .searchbar__sel, .searchbar .btn { flex: 1; }
  .footer__bottom { flex-direction: column; gap: 10px; }
}
