/* global styles */

* {
  box-sizing: border-box;
}

:root {
  --bf-bg: #040809;
  --bf-panel: #0c1514;
  --bf-panel-soft: rgba(16, 32, 30, 0.85);
  --bf-green: var(--bs-primary);
  --bf-green-soft: rgba(69, 214, 142, 0.2);
  --bf-text: #f3fff6;
}

html {
  font-size: 15px;
}

body {
  font-family: "Manrope", sans-serif;
  line-height: var(--bs-body-line-height);
  color: var(--bs-white);
  background-color: var(--bs-dark);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  padding-left: 1.2rem;
}

ul li {
  margin-bottom: 0.5rem;
}

.letter-spacing {
  letter-spacing: 0.35rem;
}

/* Page sections */

.text-dark-red {
  color: #250009;
}
.bg-dark-red {
  background: #250009;
}

.rounded-t-4 {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.rounded-b-4 {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

span.p,
b.p {
  color: var(--bs-primary);
}

span.r,
b.r {
  color: var(--bs-danger);
}

span.y,
b.y {
  color: #d6c005;
}

span.w,
b.w {
  color: #fff;
}

.mt-neg-6 {
  margin-top: -6rem;
}

.mt-neg-7 {
  margin-top: -7rem;
}

.mt-neg-20 {
  margin-top: -20rem;
}

.mt-neg-25 {
  margin-top: -20rem;
}

.mt-neg-30 {
  margin-top: -30rem;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #66c395;
  --bs-btn-border-color: #66c395;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #7dcca5;
  --bs-btn-hover-border-color: #75c9a0;
  --bs-btn-focus-shadow-rgb: 87, 166, 127;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #85cfaa;
  --bs-btn-active-border-color: #75c9a0;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #66c395;
  --bs-btn-disabled-border-color: #66c395;
}

.text-muted {
  color: rgb(184, 184, 184) !important;
}

.tilt-left {
  transform: skewy(-3deg);
}

.tilt-right {
  transform: skewy(3deg);
}

.splide.tag,
.splide.tag2 {
  border-top: 5px solid #1d2f2a;
  background: linear-gradient(to bottom, #0a100e, #20342f);
  padding: 1rem 0;
}

.splide.tag.red,
.splide.tag2.red {
  border-top: 5px solid #411d1d;
  background: linear-gradient(to bottom, #120808, #381919);
  padding: 1rem 0;
}

.display-9 {
  font-size: 9rem;
}

.text-grad {
  background: linear-gradient(to bottom, #7fe7c6, #6ddaa7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.bf-page {
  background: url("../images/background.png") no-repeat top left;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  padding-bottom: 0;
}

.bg-ss {
  background: url("../images/background.png") no-repeat top left;
  background-size: cover;
  background-attachment: fixed;
}

.bf-page.red {
  background: linear-gradient(to right, #131112, #232121);
}

.bf-hero {
  background: linear-gradient(
    145deg,
    rgba(3, 10, 12, 0.95),
    rgba(8, 26, 22, 0)
  );
  border-radius: 32px;
  margin: 2rem auto 0;
  max-width: 1200px;
  box-shadow: 0 30px 120px rgba(4, 255, 173, 0.1);
}

.bf-hero-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(69, 214, 142, 0.4), transparent 30%);
  opacity: 0.7;
}

.bf-logo {
  font-size: 1.25rem;
  letter-spacing: 0.2rem;
}

.bf-highlight {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.bf-percentage {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--bf-green);
}

.bf-code-display {
  display: inline-flex;
  padding: 0.1rem 4rem;
  border-radius: 0.5rem;
  border: 3px solid #6aab89;
  background: linear-gradient(60deg, #55b985, #3e9467);
  font-weight: 700;
  letter-spacing: 0.2rem;
  color: var(--bs-dark);
  font-size: 3.5rem;
}

.bf-code-display.red {
  border: 3px solid #b9405e;
  background: linear-gradient(to right, #7f0220, #ad0830, #860323);
}

.bf-hero-visual {
  position: relative;
  max-width: 420px;
}

.bf-hero-visual img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.bf-vertical-tag {
  position: absolute;
  top: 50%;
  right: -3.5rem;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
  letter-spacing: 0.35rem;
  color: rgba(255, 255, 255, 0.5);
}

.bf-ribbon {
  border-radius: 999px;
  padding: 0.9rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}

.bf-included {
  margin-top: 3rem;
}

.bf-plan-card {
  background: var(--bf-panel-soft);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.bf-plan-card .badge {
  background: var(--bf-green-soft);
  border: 1px solid rgba(69, 214, 142, 0.4);
}

.bf-icon-check {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(69, 214, 142, 0.15);
  color: var(--bf-green);
}

.bf-mentor {
  margin-top: 4rem;
}

.bf-mentor-photo {
  position: relative;
  max-width: 420px;
  margin-inline: auto;
}

.bf-mentor-photo img {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.bf-mentor-photo .bf-ribbon {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .bf-vertical-tag {
    display: none;
  }

  .bf-code-display {
    width: 100%;
    padding: 0.5rem;
    justify-content: center;
    font-size: 1.5rem;
  }

  .mt-neg-6 {
    margin-top: auto;
  }

  .mt-neg-7 {
    margin-top: auto;
  }

  .mt-neg-20 {
    margin-top: -10rem;
  }

  .mt-neg-25 {
    margin-top: auto;
  }

  .mt-neg-30 {
    margin-top: auto;
  }

  .display-9 {
    font-size: 7rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .col-img {
    width: 60%;
  }
}

@media (max-width: 576px) {
}
/* Forçar a BF Page a ignorar restrições do Elementor */
.elementor-widget-html .bf-page {
    width: 100vw !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw !important;
}

/* Reset de Box Sizing para garantir que o Bootstrap funciona bem */
.bf-page, .bf-page *, .bf-page *:before, .bf-page *:after {
    box-sizing: border-box;
}

/* Remover margens estranhas que o tema possa injetar nos headings */
.bf-page h1, .bf-page h2, .bf-page h3, .bf-page p {
    margin-top: 0;
    margin-bottom: 1rem; /* Padrão do Bootstrap */
}

/* Garantir que as imagens não sofrem com regras globais do WP */
.bf-page img {
    max-width: 100%;
    height: auto;
    border-radius: 0; /* Alguns temas forçam bordas arredondadas */
    box-shadow: none; /* Alguns temas forçam sombras */
    display: inline;
}