/* ==========================================================================
   BLACK FRIDAY 2026 - tema temporário da página inicial (index.php)
   Carregado SOMENTE na index, depois de todos os outros CSS.
   Para remover: veja COMO-REMOVER-BLACK-FRIDAY.txt
   ========================================================================== */

:root {
  --bf-preto: #0a0a0a;
  --bf-preto-2: #161616;
  --bf-dourado: #FFC107;
  --bf-vermelho: #E53935;
  --bf-branco: #ffffff;

  /* Textos dos selos dos cards de "Pacotes & Promoções" (edite aqui).
     Ex.: para usar desconto, troque por "ATÉ 20% OFF" (sempre entre aspas). */
  --bf-selo-a: "BLACK FRIDAY";
  --bf-selo-b: "OFERTA";

  /* Texto do selo acima do título do banner principal */
  --bf-selo-hero: "BLACK FRIDAY";
}

/* --------------------------------------------------------------------------
   1. Faixa do topo + contador
   -------------------------------------------------------------------------- */
.bf-faixa {
  background: var(--bf-preto);
  color: var(--bf-dourado);
  border-bottom: 1px solid rgba(255, 193, 7, .35);
  font-family: inherit;
  position: relative;
  z-index: 50;
}

.bf-faixa__inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 8px 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  text-align: center;
}

.bf-faixa__texto {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--bf-dourado);
  letter-spacing: .3px;
}

.bf-faixa__texto strong {
  color: var(--bf-preto);
  background: var(--bf-dourado);
  padding: 2px 8px;
  margin-right: 4px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
}

.bf-faixa__sep {
  color: var(--bf-vermelho);
  margin: 0 4px;
}

.bf-faixa__nota {
  margin-left: 8px;
  font-size: 11px;
  color: var(--bf-branco);
  opacity: .7;
  white-space: nowrap;
}

.bf-contador {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--bf-branco);
}

.bf-contador[hidden] {
  display: none;
}

.bf-contador__label {
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--bf-branco);
  opacity: .85;
}

.bf-contador__bloco {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 38px;
  padding: 2px 4px;
  border: 1px solid rgba(255, 193, 7, .6);
  background: var(--bf-preto-2);
  line-height: 1.1;
}

.bf-contador__bloco b {
  font-size: 15px;
  font-weight: 700;
  color: var(--bf-dourado);
  font-variant-numeric: tabular-nums;
}

.bf-contador__bloco small {
  font-size: 9px;
  text-transform: uppercase;
  color: var(--bf-branco);
  opacity: .75;
}

@media (max-width: 698px) {
  .bf-faixa__inner {
    padding: 7px 10px;
  }

  .bf-faixa__texto {
    font-size: 12px;
  }

  .bf-faixa__texto strong {
    display: inline-block;
    margin-bottom: 3px;
  }

  .bf-faixa__nota {
    display: block;
    margin: 2px 0 0;
    font-size: 10px;
  }

  .bf-contador__bloco {
    min-width: 34px;
  }
}

/* --------------------------------------------------------------------------
   2. Barra do topo (telefones) e item "ORÇAMENTO" do menu
   -------------------------------------------------------------------------- */
.site-top-panel {
  background: var(--bf-preto);
  border-bottom: 1px solid rgba(255, 193, 7, .35);
}

.site-top-panel .top-left-wrap a,
.site-top-panel .top-right-wrap a {
  color: var(--bf-branco);
}

.site-top-panel .top-left-wrap a i,
.site-top-panel .top-right-wrap a i {
  color: var(--bf-dourado);
}

.site-top-panel .top-left-wrap a:hover,
.site-top-panel .top-right-wrap a:hover {
  color: var(--bf-dourado);
}

.main-nav li.search:after {
  background: var(--bf-preto);
  box-shadow: inset 0 0 0 2px var(--bf-dourado);
}

/* faixa que continua o "ORÇAMENTO" até a borda direita da tela */
.inner-nav:after {
  background: var(--bf-preto);
}

.main-nav li.search a,
.main-nav li.search a:hover {
  color: var(--bf-dourado);
}

.main-nav .mobile_nav li.search a {
  color: var(--bf-preto);
  background: var(--bf-dourado);
}

/* --------------------------------------------------------------------------
   3. Banner principal (slider): overlay escuro + selo acima do título
   -------------------------------------------------------------------------- */
.tp-banner-container .slotholder:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, .45) 60%, rgba(10, 10, 10, .65) 100%);
  pointer-events: none;
  z-index: 1;
}

.tp-caption .sl-title.titulo_slide:before {
  content: var(--bf-selo-hero);
  display: table;
  margin: 0 auto 14px;
  padding: 6px 14px;
  background: var(--bf-preto);
  color: var(--bf-dourado);
  border: 2px solid var(--bf-dourado);
  font-size: 18px !important;
  line-height: 1.2 !important;
  letter-spacing: 3px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .45);
}

@media (max-width: 698px) {
  .tp-caption .sl-title.titulo_slide:before {
    font-size: 12px !important;
    padding: 4px 10px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
}

/* --------------------------------------------------------------------------
   4. Botões amarelos -> preto com dourado (hover invertido)
   -------------------------------------------------------------------------- */
.content-body .cws-button.alt.bt_reservar_ingressos {
  background: var(--bf-preto) !important;
  border: 2px solid var(--bf-dourado) !important;
  color: var(--bf-dourado) !important;
  transition: background-color .25s, color .25s;
}

.content-body .cws-button.alt.bt_reservar_ingressos:hover,
.content-body .cws-button.alt.bt_reservar_ingressos:focus-visible {
  background: var(--bf-dourado) !important;
  border-color: var(--bf-dourado) !important;
  color: var(--bf-preto) !important;
}

/* "Conheça" (cards de hospedagens e parques) */
.content-body .testimonial-item .testimonial-body .testimonial-button {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bf-preto);
  color: var(--bf-dourado);
  border: 2px solid var(--bf-dourado);
}

.content-body .testimonial-item .testimonial-body .testimonial-button:before {
  display: none;
}

.content-body .testimonial-item .testimonial-body .testimonial-button:hover,
.content-body .testimonial-item .testimonial-body .testimonial-button:focus-visible {
  background: var(--bf-dourado);
  color: var(--bf-preto);
}

/* --------------------------------------------------------------------------
   5. Pacotes & Promoções: selo nos cards, borda dourada e hover
   -------------------------------------------------------------------------- */
.features-tours-full-width .features-tours-wrap .features-tours-item .features-media {
  border: 2px solid rgba(255, 193, 7, .55);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.features-tours-full-width .features-tours-wrap .features-tours-item:hover .features-media {
  border-color: var(--bf-dourado);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35), 0 0 0 1px var(--bf-dourado);
  z-index: 2;
}

.features-tours-full-width .features-tours-wrap .features-tours-item .features-media:after {
  content: var(--bf-selo-a);
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  background: var(--bf-preto);
  color: var(--bf-dourado);
  border: 1px solid var(--bf-dourado);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
}

.features-tours-full-width .features-tours-wrap .features-tours-item:nth-child(even) .features-media:after {
  content: var(--bf-selo-b);
  background: var(--bf-vermelho);
  color: var(--bf-branco);
  border-color: var(--bf-vermelho);
}

/* --------------------------------------------------------------------------
   6. Raio + etiqueta "BF" ao lado do título "Pacotes & Promoções"
   -------------------------------------------------------------------------- */
section:has(.features-tours-full-width) .title-section:after {
  content: "\26A1 BF";
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 3px 8px;
  background: var(--bf-preto);
  color: var(--bf-dourado);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.3;
  border: 1px solid var(--bf-dourado);
}

/* --------------------------------------------------------------------------
   7. Seção "Ingressos On-line" (desktop): fundo preto com confete dourado
   -------------------------------------------------------------------------- */
.content-body > section.page-section.pb-0:not(:has(.features-tours-full-width)):not(:has(.espaco_bt_mobile)) {
  background-color: var(--bf-preto);
  background-image:
    radial-gradient(circle, rgba(255, 193, 7, .35) 1.5px, transparent 2px),
    radial-gradient(circle, rgba(255, 193, 7, .2) 1px, transparent 1.5px),
    radial-gradient(circle, rgba(229, 57, 53, .25) 1px, transparent 1.5px);
  background-size: 90px 90px, 55px 55px, 130px 130px;
  background-position: 0 0, 25px 35px, 60px 10px;
  margin-top: 30px;
  padding-top: 50px;
  padding-bottom: 30px;
  color: var(--bf-branco);
}

/* o botão "Comprar ingressos" é flutuante: mantém ele dentro do fundo preto */
.content-body > section.page-section.pb-0:not(:has(.features-tours-full-width)):not(:has(.espaco_bt_mobile)):after {
  content: "";
  display: table;
  clear: both;
}

.content-body > section.page-section.pb-0:not(:has(.features-tours-full-width)):not(:has(.espaco_bt_mobile)) h2,
.content-body > section.page-section.pb-0:not(:has(.features-tours-full-width)):not(:has(.espaco_bt_mobile)) h5,
.content-body > section.page-section.pb-0:not(:has(.features-tours-full-width)):not(:has(.espaco_bt_mobile)) h6 {
  color: var(--bf-branco);
}

.content-body > section.page-section.pb-0:not(:has(.features-tours-full-width)):not(:has(.espaco_bt_mobile)) .title-section span,
.content-body > section.page-section.pb-0:not(:has(.features-tours-full-width)):not(:has(.espaco_bt_mobile)) .title-section-top {
  color: var(--bf-dourado);
}

/* --------------------------------------------------------------------------
   8. Botão flutuante do WhatsApp: pulso suave
   -------------------------------------------------------------------------- */
.whatsapp-chat {
  animation: bf-pulso 2.4s ease-in-out infinite;
}

@keyframes bf-pulso {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(255, 193, 7, 0));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 8px rgba(255, 193, 7, .65));
  }
}

/* --------------------------------------------------------------------------
   9. Acessibilidade: sem animações para quem prefere movimento reduzido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .whatsapp-chat {
    animation: none;
  }

  .features-tours-full-width .features-tours-wrap .features-tours-item .features-media,
  .content-body .cws-button.alt.bt_reservar_ingressos {
    transition: none;
  }

  .features-tours-full-width .features-tours-wrap .features-tours-item:hover .features-media {
    transform: none;
  }
}
