/* Black Friday — site "em preto".
   Carregado só com BLACK_FRIDAY=true (src/config/features.ts). O Layout força data-theme="dark"
   e adiciona html.black-friday; aqui trocamos as superfícies azul-marinho do dark.css por preto
   e escondemos o botão claro/escuro durante a campanha. */

html.black-friday[data-theme="dark"] {
  --lh-bg: #000;
  --lh-bg-alt: #0a0a0a;
  --lh-surface: #121212;
  --lh-surface-2: #1a1a1a;
  --lh-border: #262626;
  --lh-text: #d4d4d4;
  --lh-heading: #fff;
  --lh-muted: #9a9a9a;
  background: #000;
}

/* Sem alternância de tema durante a campanha */
html.black-friday .theme-toggle { display: none !important; }

/* Fundos "escuros" do tema (azul-marinho/roxo) → preto */
html.black-friday .bg-dark,
html.black-friday .footer-dark,
html.black-friday .jumbotron.bg-dark { background-color: #000 !important; }
html.black-friday .footer-dark { border-top: 1px solid var(--lh-border); }
html.black-friday .bg-dark-50-transparent { background-color: transparent !important; }
html.black-friday .infra { background: radial-gradient(ellipse at 50% 55%, #1c1c1c 0%, #050505 62%, #000 100%) !important; }

/* Overlay dos slides do hero: roxo → preto */
html.black-friday .swiper-container.banners .swiper-slide:not(.bf-slide)::before {
  background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.2) 100%) !important;
}
html.black-friday .swiper-container.banners .swiper-pagination-bullet-active { background: #a58bff; }

/* Cartões e blocos */
html.black-friday .card { background-color: var(--lh-surface); border-color: var(--lh-border); }
/* O preloader.gif original tem fundo branco sólido (não transparente); aqui usamos a versão
   renderizada sobre preto (mesmo símbolo e animação). */
html.black-friday body > div.preloader { background-color: #000; background-image: url(../imgs/preloader-bf.gif); }

/* Faixa fina no topo (todas as páginas). A navbar do tema é position:fixed, então a faixa
   também fica fixa e empurra navbar e página para baixo pela sua altura. */
html.black-friday { --bf-bar-h: 36px; }
html.black-friday body { padding-top: var(--bf-bar-h); }
html.black-friday .lh-header { top: var(--bf-bar-h) !important; }
.bf-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; height: var(--bf-bar-h, 36px);
  display: flex; align-items: center; justify-content: center; gap: .75rem; overflow: hidden; white-space: nowrap;
  background: #000; border-bottom: 1px solid #1f1f1f; color: #e6e6e6 !important; font-size: .85rem;
  padding: 0 1rem; text-decoration: none !important; }
.bf-bar:hover .bf-bar-cta { color: #fff !important; }
.bf-bar-tag { background: #481FA0; color: #fff; font-weight: 800; font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; border-radius: 999px; padding: .15rem .6rem; }
.bf-bar-text { color: #e6e6e6; overflow: hidden; text-overflow: ellipsis; }
.bf-bar-cta { color: #a58bff !important; font-weight: 700; }
@media (max-width: 767.98px) { .bf-bar { font-size: .75rem; gap: .5rem; padding: 0 .6rem; } .bf-bar-cta { display: none; } }
