/* Black November - ultima semana (24/11 a 30/11).
   Faixa dourada de urgencia: abaixo do slider na home e no lugar da faixa "Chegou." nas paginas internas. */

.hhus {
  --gold: #FDB848;
  --gold-deep: #F29A1D;
  --ink: #07060a;
  --display: Archivo, Montserrat, sans-serif;
  --mono: "JetBrains Mono", Consolas, monospace;
  position: relative; overflow: hidden; isolation: isolate; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
  min-height: 78px; padding: 12px max(20px, calc(50% - 600px));
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 45%, #ffd27a 70%, var(--gold));
  color: #120c02; font-family: Montserrat, system-ui, sans-serif; line-height: 1.2;
  border-top: 2px solid #000; border-bottom: 2px solid #000;
}
.hhus *, .hhus *::before, .hhus *::after { box-sizing: border-box; }
.hhus p { margin: 0; }
/* listras de alerta correndo bem de leve atras do conteudo */
.hhus::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.07) 0 14px, transparent 14px 28px);
  background-size: 40px 40px; animation: hhus-stripes 1.6s linear infinite;
}
/* brilho passando */
.hhus::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -30%; width: 22%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); animation: hhus-sweep 4.5s 1s ease-in-out infinite;
}

.hhus-head { display: flex; align-items: center; gap: 14px; }
.hhus-alert {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #120c02; color: var(--gold); font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1;
  box-shadow: 0 0 0 0 rgba(18,12,2,.55); animation: hhus-pulse 1.6s infinite;
}
.hhus-title { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 30px; line-height: .9; letter-spacing: -.01em; text-transform: uppercase; }
.hhus-title small { display: block; margin-top: 5px; font-family: Montserrat, sans-serif; font-stretch: 100%; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: none; }

.hhus-count { display: flex; align-items: center; gap: 12px; }
.hhus-count > span { font: 700 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.hhus-boxes { display: flex; gap: 6px; font-variant-numeric: tabular-nums; }
.hhus-boxes div { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 6px 5px; border-radius: 6px; background: #120c02; }
.hhus-boxes strong { font: 700 22px/1 var(--mono); color: var(--gold); }
.hhus-boxes small { margin-top: 3px; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #cfc2a6; }

.hhus .hhus-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 99px;
  background: #120c02; color: var(--gold); text-decoration: none; white-space: nowrap;
  font-family: Poppins, Montserrat, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .03em; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .2s, box-shadow .2s;
}
.hhus .hhus-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.35); }

/* home: a faixa fica logo abaixo do slider, por cima da secao seguinte */
.hhus--home { z-index: 2; }
/* paginas internas: a faixa da Black ("Chegou.") sai durante a ultima semana */
.hhus-on .hhbn-band { display: none !important; }


@keyframes hhus-stripes { to { background-position: 40px 0; } }
@keyframes hhus-sweep { 0%, 60% { left: -30%; } 100% { left: 120%; } }
@keyframes hhus-pulse { 0% { box-shadow: 0 0 0 0 rgba(18,12,2,.55); } 80%, 100% { box-shadow: 0 0 0 12px rgba(18,12,2,0); } }
@media (prefers-reduced-motion: reduce) { .hhus::before, .hhus::after, .hhus-alert { animation: none; } }

@media (max-width: 1100px) { .hhus-count > span { display: none; } }
@media (max-width: 849px) {
  .hhus { gap: 10px; padding: 12px 16px 14px; justify-content: center; text-align: center; }
  .hhus-head { justify-content: center; }
  .hhus-alert { width: 34px; height: 34px; font-size: 19px; }
  .hhus-title { font-size: 22px; }
  .hhus-title small { font-size: 11.5px; }
  .hhus-count { width: 100%; justify-content: center; }
  .hhus-boxes div { min-width: 0; flex: 1; max-width: 76px; }
  .hhus-boxes strong { font-size: 18px; }
  .hhus .hhus-btn { width: 100%; justify-content: center; padding: 12px 18px; font-size: 13px; }
}
