/* Black Friday 2026 — faixa no topo, pop-up com vídeo + formulário, banner acima do rodapé.
   Tudo é injetado por js/black-friday.js, que não faz nada depois do fim do dia 27/11 (Winnipeg).
   Para tirar de vez: remover o <link> e o <script> das páginas e estes dois arquivos. */

:root {
  --bf-red: #B91918;      /* CHAMPIONS RED */
  --bf-red-hover: #9E1514;
  --bf-black: #1D1D1D;    /* BLACK BELT */
  --bf-ink: #141414;
  --bf-field: #262626;
  --bf-line: #3D3D3D;
  --bf-off: #E6E6E6;      /* OFF WHITE */
  --bf-white: #FFFFFF;    /* WHITE BELT */
  --bf-title: Rajdhani, "Arial Narrow", sans-serif;
  --bf-text: Satoshi, Arial, sans-serif;
}

/* ───────── Faixa no topo ───────── */
.bf-bar {
  position: relative;
  z-index: 1001;
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: var(--bf-black);
  color: var(--bf-white);
  cursor: pointer;
  font-family: var(--bf-title);
  font-size: 14px;
  font-weight: 600;
  line-height: 40px;
  letter-spacing: .14em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}
.bf-bar:focus-visible { outline: 2px solid var(--bf-red); outline-offset: -2px; }
.bf-bar__track {
  display: flex;
  width: max-content;
  animation: bf-marquee var(--bf-speed, 60s) linear infinite;
  will-change: transform;
}
.bf-bar:hover .bf-bar__track,
.bf-bar:focus-visible .bf-bar__track { animation-play-state: paused; }
.bf-bar__group { display: flex; flex-shrink: 0; align-items: center; }
.bf-bar__item { padding: 0 18px; white-space: nowrap; }
.bf-bar__item--chip {
  margin: 0 18px;
  padding: 0 10px;
  background: var(--bf-red);
  line-height: 26px;
}
.bf-bar__sep {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--bf-red);
  transform: rotate(45deg);
}
@keyframes bf-marquee { to { transform: translate3d(-50%, 0, 0); } }
/* O menu do site é absolute no topo do documento: desce junto com a faixa. */
.bf-has-bar .nav_wrapper { top: 40px; }
@media (prefers-reduced-motion: reduce) {
  .bf-bar__track { animation: none; }
}

/* ───────── Pop-up ───────── */
.bf-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.bf-modal.is-open { display: flex; }
.bf-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  animation: bf-fade .25s ease-out;
}
.bf-modal__dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bf-black);
  color: var(--bf-white);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
  animation: bf-rise .3s cubic-bezier(.2, .8, .2, 1);
}
@keyframes bf-fade { from { opacity: 0; } }
@keyframes bf-rise { from { opacity: 0; transform: translateY(16px); } }
@media (prefers-reduced-motion: reduce) {
  .bf-modal__overlay, .bf-modal__dialog { animation: none; }
}

.bf-modal__media {
  position: relative;
  aspect-ratio: 848 / 480;
  background: #000;
}
.bf-modal__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bf-modal__close,
.bf-modal__sound {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: var(--bf-white);
  cursor: pointer;
  transition: background-color .2s;
}
.bf-modal__close { top: 10px; right: 10px; }
.bf-modal__sound { right: 10px; bottom: 10px; }
.bf-modal__close:hover,
.bf-modal__sound:hover { background: var(--bf-red); }
.bf-modal__close:focus-visible,
.bf-modal__sound:focus-visible { outline: 2px solid var(--bf-white); outline-offset: 2px; }
.bf-modal__close svg,
.bf-modal__sound svg { width: 20px; height: 20px; }
.bf-modal__sound .bf-icon-on { display: none; }
.bf-modal__sound.is-on .bf-icon-on { display: block; }
.bf-modal__sound.is-on .bf-icon-off { display: none; }

/* ───────── Formulário ───────── */
.bf-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  padding: 22px 24px 24px;
  border-top: 4px solid var(--bf-red);
}
.bf-field { min-width: 0; }
.bf-field--full,
.bf-form__submit,
.bf-form__error { grid-column: 1 / -1; }
.bf-field label {
  display: block;
  margin: 0 0 6px;
  color: var(--bf-off);
  font-family: var(--bf-title);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.bf-field input,
.bf-field select {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--bf-line);
  border-radius: 0;
  background-color: var(--bf-field);
  color: var(--bf-white);
  font-family: var(--bf-text);
  font-size: 16px; /* 16px evita o zoom automático do iOS */
  line-height: 46px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .2s;
}
.bf-field select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23E6E6E6' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.bf-field select:invalid { color: #9A9A9A; }
.bf-field select option { background: var(--bf-black); color: var(--bf-white); }
.bf-field input::placeholder { color: #8A8A8A; opacity: 1; }
.bf-field input:focus,
.bf-field select:focus {
  border-color: var(--bf-red);
  outline: 2px solid rgba(185, 25, 24, .35);
  outline-offset: 0;
}
.bf-form__submit {
  height: 54px;
  margin: 6px 0 0;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: var(--bf-red);
  color: var(--bf-white);
  cursor: pointer;
  font-family: var(--bf-title);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background-color .2s;
}
.bf-form__submit:hover { background: var(--bf-red-hover); }
.bf-form__submit:focus-visible { outline: 2px solid var(--bf-white); outline-offset: 2px; }
.bf-form__submit[disabled] { cursor: progress; opacity: .7; }
.bf-form__error {
  display: none;
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid var(--bf-red);
  color: var(--bf-off);
  font-family: var(--bf-text);
  font-size: 14px;
}
.bf-form__error.is-visible { display: block; }

@media (max-width: 560px) {
  .bf-modal { padding: 12px; }
  .bf-modal__dialog { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .bf-form { gap: 12px; padding: 18px 16px 20px; }
  .bf-field--half-mobile-full { grid-column: 1 / -1; }
}

/* ───────── Banner acima do rodapé ─────────
   position + z-index 2: na home o rodapé é "revelado" (margem negativa + sticky) e as seções de
   conteúdo ficam por cima dele com fundo branco; o banner segue o mesmo padrão. */
.bf-banner-section {
  position: relative;
  z-index: 2;
  padding: 64px 16px;
  background: #FFFFFF;
}
.bf-banner {
  display: block;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: var(--bf-ink);
  cursor: pointer;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s;
}
.bf-banner:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0, 0, 0, .22); }
.bf-banner:focus-visible { outline: 3px solid var(--bf-red); outline-offset: 4px; }
.bf-banner picture,
.bf-banner img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 600px) {
  .bf-banner-section { padding: 40px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-banner, .bf-banner:hover { transition: none; transform: none; }
}

/* ───────── Contact: arte da Black no lugar da foto ───────── */
.bf-on .contact_img .img-cover:not(.bf-swapped) { visibility: hidden; }
.bf-contact-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0 16px 32px;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.bf-contact-hit:focus-visible { outline: 3px solid var(--bf-white); outline-offset: -6px; }
.bf-contact-cta {
  display: inline-block;
  padding: 0 26px;
  background: var(--bf-white);
  color: var(--bf-black);
  font-family: var(--bf-title);
  font-size: 17px;
  font-weight: 700;
  line-height: 50px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background-color .2s, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.bf-contact-hit:hover .bf-contact-cta { background: var(--bf-red); color: var(--bf-white); transform: translateY(-2px); }
@media (max-width: 600px) {
  .bf-contact-hit { padding-bottom: 14px; }
  .bf-contact-cta { font-size: 14px; line-height: 40px; padding: 0 18px; }
}

/* ───────── Botão fixo no canto ───────── */
.bf-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin: 0;
  padding: 0 6px 0 6px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 0;
  background: var(--bf-black);
  color: var(--bf-white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
  cursor: pointer;
  font-family: var(--bf-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .3s;
}
.bf-fab.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s, transform .3s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
.bf-lock .bf-fab { opacity: 0; visibility: hidden; }
.bf-fab:hover { border-color: var(--bf-red); }
.bf-fab:focus-visible { outline: 2px solid var(--bf-red); outline-offset: 3px; }
.bf-fab__play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--bf-red);
}
.bf-fab__play svg { width: 12px; height: 12px; margin-left: 2px; }
.bf-fab__text { padding-left: 2px; white-space: nowrap; }
.bf-fab__chip {
  margin-right: 4px;
  padding: 0 8px;
  background: var(--bf-white);
  color: var(--bf-black);
  line-height: 26px;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .bf-fab { right: 12px; bottom: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 44px; gap: 8px; font-size: 13px; }
  .bf-fab__play { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-fab, .bf-fab.is-visible { transform: none; transition: opacity .2s, visibility 0s; }
}

/* ───────── Página de obrigado: pagamento direto (só pra quem veio do pop-up) ───────── */
.bf-pay {
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  margin: 36px auto 44px;
  padding: 28px 24px 32px;
  border-top: 4px solid var(--bf-red);
  background: var(--bf-black);
  color: var(--bf-white);
  text-align: center;
}
.bf-pay__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--bf-title);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 26px;
  text-transform: uppercase;
}
.bf-pay__chip { padding: 0 8px; background: var(--bf-red); letter-spacing: .08em; }
.bf-pay__title {
  margin: 0 0 22px;
  color: var(--bf-white);
  font-family: var(--bf-title);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.bf-pay__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  height: 54px;
  padding: 0 32px;
  background: var(--bf-red);
  color: var(--bf-white);
  font-family: var(--bf-title);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color .2s;
}
.bf-pay__btn:hover { background: var(--bf-red-hover); color: var(--bf-white); }
.bf-pay__btn:focus-visible { outline: 2px solid var(--bf-white); outline-offset: 3px; }
@media (max-width: 600px) {
  .bf-pay { margin: 24px auto 32px; padding: 24px 18px 26px; }
  .bf-pay__title { font-size: 30px; }
  .bf-pay__btn { width: 100%; min-width: 0; }
}

/* Trava a rolagem da página com o pop-up aberto */
html.bf-lock, html.bf-lock body { overflow: hidden !important; }
