/* Banner de contagem do Black November (componente para o site).
   hhbn--slide: celula do slider da home. hhbn-band: faixa das paginas internas (formato da faixa da Chypps).
   Tudo prefixado com hhbn para nao brigar com o CSS do Flatsome/Elementor. */

.hhbn {
  --gold: #FDB848;
  --gold-deep: #F29A1D;
  --ink: #07060a;
  --text: #f4efe6;
  --muted: #b8ad99;
  --line: rgba(253, 184, 72, .28);
  --display: Archivo, "Montserrat", sans-serif;
  position: relative; overflow: hidden; isolation: isolate;
  width: 100%; box-sizing: border-box;
  display: flex; align-items: center;
  background: var(--ink); color: var(--text);
  font-family: Montserrat, system-ui, sans-serif; line-height: 1.4; text-align: left;
  -webkit-font-smoothing: antialiased;
}
.hhbn *, .hhbn *::before, .hhbn *::after { box-sizing: border-box; }
.hhbn p, .hhbn ol, .hhbn li { margin: 0; padding: 0; }
.hhbn ol { list-style: none; }
.hhbn a { text-decoration: none; }

/* Camadas: fundo da campanha (cobre tudo, e textura), sombra para o texto, urso e brasas.
   O urso (PNG transparente com "ate 50% OFF") fica sempre inteiro: a caixa tem a proporcao
   da imagem (1297x1080) e cabe na altura do banner. */
.hhbn-bg {
  position: absolute; inset: 0; z-index: -5;
  background: var(--hhbn-bg) center / cover no-repeat;
  transform-origin: 60% 50%;
  animation: hhbn-drift 18s ease-in-out infinite alternate;
}
.hhbn-shade {
  position: absolute; inset: 0; z-index: -4; pointer-events: none;
  background: linear-gradient(90deg, rgba(7,6,10,.9) 0%, rgba(7,6,10,.62) 34%, rgba(7,6,10,.12) 58%, rgba(7,6,10,0) 72%);
}
.hhbn-bear {
  /* em tela larga o urso acompanha a largura do conteudo (1230px) em vez de colar na borda */
  position: absolute; z-index: -2; top: 0; right: max(3%, calc((100% - 1230px) / 2));
  height: 100%; aspect-ratio: 1297 / 1080; max-width: 60%;
  pointer-events: none;
}
.hhbn-bear-img {
  position: absolute; inset: 0;
  background: var(--hhbn-bear) center / contain no-repeat;
  animation: hhbn-float 5s ease-in-out infinite;
}
.hhbn-glow {
  position: absolute; left: 50%; top: 52%; width: 70%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,170,60,.35) 0%, rgba(255,140,30,.08) 45%, transparent 70%);
  animation: hhbn-pulse 4.2s ease-in-out infinite;
}
.hhbn-embers { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
/* .bg vazio so para o parallax do Flatsome contar a celula da contagem (ver countdown-banner.js) */
.hhbn .hhbn-pbg { display: none !important; }

/* Bolinhas douradas tambem no rodape: o canvas fica atras do conteudo do card preto */
.hhbn-embers-host { position: relative; isolation: isolate; overflow: hidden; }
.hhbn-embers-host > .hhbn-embers { z-index: 0; }
.hhbn-embers-host > :not(.hhbn-embers) { position: relative; z-index: 1; }

.hhbn-hud span { position: absolute; width: 30px; height: 30px; border: 0 solid var(--gold); opacity: .8; animation: hhbn-hud-in .9s cubic-bezier(.2,.8,.2,1) both; }
.hhbn-hud span:nth-child(1) { top: 16px; left: 16px; border-top-width: 2px; border-left-width: 2px; --hx: -12px; --hy: -12px; }
.hhbn-hud span:nth-child(2) { top: 16px; right: 16px; border-top-width: 2px; border-right-width: 2px; --hx: 12px; --hy: -12px; }
.hhbn-hud span:nth-child(3) { bottom: 16px; left: 16px; border-bottom-width: 2px; border-left-width: 2px; --hx: -12px; --hy: 12px; }
.hhbn-hud span:nth-child(4) { bottom: 16px; right: 16px; border-bottom-width: 2px; border-right-width: 2px; --hx: 12px; --hy: 12px; }

.hhbn-inner { width: 100%; max-width: 1230px; margin: 0 auto; padding: 36px 30px; }
.hhbn-copy { width: min(560px, 50%); }

.hhbn-eyebrow {
  min-height: 1.2em; margin-bottom: 8px !important;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}
.hhbn-caret { display: inline-block; width: .55em; height: .95em; margin-left: 4px; vertical-align: -2px; background: var(--gold); animation: hhbn-blink .8s steps(1) infinite; }

.hhbn-title { line-height: .9; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; }
.hhbn-black {
  display: block; font-size: clamp(56px, 6vw, 92px); letter-spacing: -.01em;
  background: linear-gradient(100deg, #fff 0%, #fff 38%, #9c9c9c 46%, #fff 54%, #fff 100%) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.6));
  animation: hhbn-title-in 1s .5s cubic-bezier(.2,.8,.2,1) both, hhbn-shine 6s 2.4s ease-in-out infinite;
}
.hhbn-nov { display: block; margin-top: 6px; font-size: clamp(20px, 2.05vw, 30px); letter-spacing: .06em; color: #e9e4da; animation: hhbn-title-in 1s .7s cubic-bezier(.2,.8,.2,1) both; }

.hhbn-counter { display: flex; align-items: center; gap: 22px; margin: 22px 0 26px; }
.hhbn-target { position: relative; flex: none; width: 168px; aspect-ratio: 1; display: grid; place-items: center; }
.hhbn-reticle { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hhbn-reticle .lock { transform-origin: 50% 50%; animation: hhbn-lock 1.1s 1.1s cubic-bezier(.2,.9,.25,1) both; }
.hhbn-reticle .spin { transform-origin: 50% 50%; animation: hhbn-spin 14s linear infinite; }
.hhbn-digits {
  position: relative; display: flex;
  font-family: var(--display); font-stretch: 112%; font-weight: 900;
  font-size: 88px; line-height: 1; letter-spacing: -.02em; color: #fff;
  font-variant-numeric: tabular-nums; text-shadow: 0 8px 30px rgba(0,0,0,.65);
}
.hhbn-col { height: 1em; overflow: hidden; }
.hhbn-col > span { display: flex; flex-direction: column; transition: transform 1.4s cubic-bezier(.6,0,.15,1); }
.hhbn-col > span > b { height: 1em; display: block; font-weight: inherit; }
.hhbn-col:last-child > span { transition-delay: .12s; }

.hhbn-side { min-width: 0; }
.hhbn-pre { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.hhbn-unit {
  display: inline-block; padding: .14em .42em .1em;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 34px; line-height: 1;
  text-transform: uppercase; color: #120c02; background: var(--gold);
  box-shadow: 0 0 0 2px rgba(253,184,72,.25), 0 10px 30px rgba(242,154,29,.35);
  transform-origin: left center; animation: hhbn-stamp .5s 2.2s cubic-bezier(.3,1.6,.5,1) both;
}
.hhbn-clock { display: flex; gap: 8px; margin-top: 12px; font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.hhbn-clock div { display: flex; flex-direction: column; align-items: center; min-width: 44px; padding: 5px 4px 4px; border: 1px solid var(--line); background: rgba(7,6,10,.55); }
.hhbn-clock strong { font-size: 18px; line-height: 1; color: #fff; }
.hhbn-clock small { margin-top: 3px; font-family: Montserrat, sans-serif; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }


.hhbn-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.hhbn .hhbn-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 8px; background: var(--gold); color: #020226;
  font-family: Poppins, Montserrat, sans-serif; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; line-height: 1;
  box-shadow: 0 10px 30px rgba(242,154,29,.35); transition: transform .2s ease, box-shadow .2s ease;
}
.hhbn .hhbn-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: hhbn-sweep 3.6s 3s ease-in-out infinite; }
.hhbn .hhbn-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(242,154,29,.5); color: #020226; }
.hhbn-btn svg { width: 17px; height: 17px; flex: none; }
.hhbn[data-state="live"] .hhbn-btn svg { display: none; }
.hhbn .hhbn-link { color: var(--text); font-size: 13px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.hhbn .hhbn-link:hover { color: var(--gold); border-color: var(--gold); }

.hhbn-rise { animation: hhbn-rise .8s cubic-bezier(.2,.8,.2,1) both; }

/* Estado "chegou" (a partir de 03/11) */
.hhbn[data-state="live"] .hhbn-counter { display: none !important; }
.hhbn-live { display: none; margin: 16px 0 22px; }
.hhbn[data-state="live"] .hhbn-live { display: block; }
.hhbn-live strong { display: inline-block; padding: .12em .4em .08em; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 52px; line-height: 1; text-transform: uppercase; color: #120c02; background: var(--gold); animation: hhbn-stamp .5s 1.5s cubic-bezier(.3,1.6,.5,1) both; }
.hhbn-live p { margin-top: 12px !important; font-size: 16px; line-height: 1.5; max-width: 440px; color: var(--text); }

/* ---------- Slide do slider da home: mesma altura dos outros banners ---------- */
.hhbn--slide { height: var(--hhbn-h, 550px); }



/* ---------- Faixa das paginas internas: mesmo formato da faixa da Chypps, nas cores da HostHunter ---------- */
.hhbn-band {
  --gold: #FDB848;
  --mono: "JetBrains Mono", Consolas, monospace;
  position: relative; overflow: hidden; box-sizing: border-box;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px;
  min-height: 70px; padding: 12px max(20px, calc(50% - 600px));
  background:
    radial-gradient(60% 160% at 62% 50%, rgba(253,184,72,.22), transparent 60%),
    linear-gradient(90deg, #000, #150e03 55%, #000);
  border-bottom: 1px solid rgba(253,184,72,.28);
  font-family: Montserrat, system-ui, sans-serif; line-height: 1.3; color: #f4efe6;
  -webkit-font-smoothing: antialiased;
}
.hhbn-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(253,184,72,.06) 0 1px, transparent 1px 44px); pointer-events: none; }
.hhbn-band > * { position: relative; }
.hhbn-band *, .hhbn-band *::before, .hhbn-band *::after { box-sizing: border-box; }

.hhbn-band-logo { display: flex; flex-direction: column; line-height: .86; font-family: Archivo, Montserrat, sans-serif; font-stretch: 125%; text-transform: uppercase; filter: drop-shadow(0 0 14px rgba(253,184,72,.3)); }
.hhbn-band-logo b {
  font-size: 30px; font-weight: 900; letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 0%, #fff 45%, #b9b9b9 55%, #fff 78%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hhbn-band-logo span { margin-top: 2px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; color: var(--gold); }

.hhbn-band-mid { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hhbn-band-label { font: 700 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.hhbn-band-label small { display: block; font: 500 12px/1.3 Montserrat, sans-serif; letter-spacing: 0; text-transform: none; color: #e4dccd; }
.hhbn-band-boxes { display: flex; gap: 6px; font-variant-numeric: tabular-nums; }
.hhbn-band-boxes div { display: flex; flex-direction: column; align-items: center; min-width: 52px; padding: 6px 6px 5px; border: 1px solid rgba(253,184,72,.28); border-radius: 4px; background: rgba(0,0,0,.55); }
.hhbn-band-boxes strong { font: 700 20px/1 var(--mono); color: #fff; }
.hhbn-band-boxes .d strong { color: #ffd27a; text-shadow: 0 0 10px rgba(253,184,72,.6); }
.hhbn-band-boxes small { margin-top: 3px; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #a99f8c; }
.hhbn-band-live { display: none; padding: .14em .45em .1em; font-family: Archivo, Montserrat, sans-serif; font-stretch: 125%; font-weight: 900; font-size: 22px; line-height: 1; text-transform: uppercase; color: #120c02; background: var(--gold); }
.hhbn-band[data-state="live"] .hhbn-band-boxes { display: none; }
.hhbn-band[data-state="live"] .hhbn-band-live { display: inline-block; }

.hhbn-band .hhbn-band-btn {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 99px;
  background: linear-gradient(180deg, #ffd27a, #f2a21d); color: #1a1205; text-decoration: none;
  font-family: Poppins, Montserrat, sans-serif; font-weight: 700; font-size: 14px; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(242,154,29,.35), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .2s, box-shadow .2s;
}
.hhbn-band .hhbn-band-btn:hover { color: #1a1205; transform: translateY(-2px); box-shadow: 0 12px 32px rgba(242,154,29,.5); }
.hhbn-band .hhbn-band-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: hhbn-sweep 3.6s 2s ease-in-out infinite; }
.hhbn-band-btn svg { width: 17px; height: 17px; flex: none; }
.hhbn-band[data-state="live"] .hhbn-band-btn svg { display: none; }
/* tablet: sem o texto do meio, logo + contagem + botao cabem numa linha */
@media (max-width: 1100px) { .hhbn-band-label { display: none; } }

/* ---------- Animacoes ---------- */
@keyframes hhbn-drift { from { transform: scale(1); } to { transform: scale(1.04); } }
@keyframes hhbn-pulse { 0%,100% { opacity: .65; transform: translate(-50%,-50%) scale(.94); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.06); } }
@keyframes hhbn-hud-in { from { opacity: 0; transform: translate(var(--hx), var(--hy)); } }
@keyframes hhbn-blink { 50% { opacity: 0; } }
@keyframes hhbn-title-in { from { opacity: 0; filter: blur(14px); letter-spacing: .3em; } }
@keyframes hhbn-shine { 0%, 60% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
@keyframes hhbn-lock { from { opacity: 0; transform: scale(1.9) rotate(-60deg); } 70% { opacity: 1; transform: scale(.94) rotate(4deg); } to { transform: none; } }
@keyframes hhbn-spin { to { transform: rotate(360deg); } }
@keyframes hhbn-stamp { from { opacity: 0; transform: scale(1.6) rotate(-4deg); } }
@keyframes hhbn-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hhbn-sweep { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes hhbn-rise { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  .hhbn *, .hhbn *::before, .hhbn *::after, .hhbn-band *, .hhbn-band *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ---------- Celular ---------- */
@media (max-width: 849px) {
  .hhbn { align-items: flex-end; }
  /* celular: a arte inteira fica no alto, a direita, e o texto vem embaixo */
  .hhbn-bg { animation: none; }
  .hhbn-bear { top: 6px; right: 2%; height: auto; width: 56%; max-width: none; }
  .hhbn-shade { background: linear-gradient(0deg, rgba(7,6,10,.94) 0%, rgba(7,6,10,.8) 48%, rgba(7,6,10,.15) 68%, rgba(7,6,10,0) 80%); }
  .hhbn-hud span:nth-child(n+3) { display: none; }
  .hhbn-inner { padding: 18px 16px 20px; }
  .hhbn-copy { width: 100%; }
  .hhbn-eyebrow { font-size: 11px; }
  .hhbn-black { font-size: 12vw; }
  .hhbn-nov { font-size: 5vw; }
  .hhbn-counter { gap: 14px; margin: 12px 0; }
  .hhbn-target { width: 26vw; max-width: 112px; }
  .hhbn-digits { font-size: 13vw; }
  .hhbn-unit { font-size: 7vw; }
  .hhbn-clock div { min-width: 0; flex: 1; }
  .hhbn .hhbn-btn { width: 100%; justify-content: center; }
  .hhbn-link { display: none; }
  .hhbn-live strong { font-size: 10vw; }

  /* faixa no celular: logo e contagem na mesma linha, botao embaixo */
  .hhbn-band { gap: 10px 12px; padding: 10px 16px 12px; min-height: 108px; }
  .hhbn-band-logo b { font-size: 20px; }
  .hhbn-band-logo span { font-size: 8px; }
  .hhbn-band-label { display: none; }
  .hhbn-band-boxes { gap: 4px; }
  .hhbn-band-boxes div { min-width: 40px; padding: 5px 4px 4px; }
  .hhbn-band-boxes strong { font-size: 15px; }
  .hhbn-band-boxes small { font-size: 8px; }
  .hhbn-band .hhbn-band-btn { width: 100%; padding-block: 10px; font-size: 13px; }
}
