/* ============================================================
   Campanha Black Friday — só a seção de planos da LP
   Para desligar depois: remover o <link> deste arquivo e o
   bloco .bf-* do HTML. Nada fora da seção #planos depende dele.
   ============================================================ */

.plans-sec {
  --bf-gold: #f0cd86;
  --bf-gold-soft: #ffe6ae;
  --bf-gold-deep: #c9a25c;
  --bf-ink: #08090f;
}

/* ---------- faixa da campanha ---------- */
.bf-band {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.2vw, 28px);
  max-width: 940px;
  margin: 26px auto 20px;
  padding: 15px clamp(16px, 2.4vw, 26px);
  border-radius: 18px;
  background:
    radial-gradient(120% 160% at 12% 0%, #1d1710 0%, transparent 55%),
    linear-gradient(140deg, #0b0c12 0%, #131019 52%, #090a0f 100%);
  border: 1px solid #f0cd8638;
  box-shadow:
    0 30px 70px -40px #000,
    0 2px 0 #00000080,
    inset 0 1px 0 #ffe9b820,
    inset 0 -30px 46px -34px #f0cd8630;
  transform: perspective(1200px) rotateX(1.3deg);
  transform-origin: 50% 100%;
  overflow: hidden;
  isolation: isolate;
}

/* brilho que atravessa a tarja de tempos em tempos */
.bf-band::before {
  content: "";
  position: absolute;
  inset: -40% -60%;
  z-index: -1;
  background: linear-gradient(105deg,
    transparent 38%,
    #f7dfa81a 45%,
    #fff6df45 50%,
    #f7dfa81a 55%,
    transparent 62%);
  transform: translateX(-60%);
  animation: bfSheen 7.5s cubic-bezier(.45, 0, .2, 1) infinite;
}
@keyframes bfSheen {
  0%, 58% { transform: translateX(-62%) }
  88%, 100% { transform: translateX(62%) }
}

/* filete dourado no rodapé da faixa */
.bf-band::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #f0cd86a6, transparent);
}

/* ---------- selo Black Friday ---------- */
.bf-seal {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 9px 13px 10px;
  border-radius: 12px;
  background: linear-gradient(160deg, #1c1508 0%, #0a0806 100%);
  border: 1px solid #f0cd8659;
  box-shadow:
    0 12px 26px -16px #000,
    0 2px 0 #00000090,
    inset 0 1px 0 #ffe9b826;
  transform: rotate(-4deg);
  flex: none;
}
.bf-seal .ico {
  width: 15px;
  height: 15px;
  color: var(--bf-gold);
  filter: drop-shadow(0 0 6px #f0cd8673);
}
.bf-seal b {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1;
  color: var(--bf-gold-soft);
}
.bf-seal b + b {
  color: #fff;
}
.bf-seal i {
  font-style: normal;
  font-size: 7.5px;
  letter-spacing: .22em;
  color: var(--bf-gold-deep);
  margin-top: 2px;
}

/* ---------- texto da faixa ---------- */
.bf-copy b {
  display: block;
  font-size: clamp(14px, 1.55vw, 17px);
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #fff;
}
.bf-copy span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.45;
  color: #a2aec2;
}
.bf-copy em {
  font-style: normal;
  font-weight: 700;
  color: var(--bf-gold);
}
/* linha de preço: original riscado e valor da campanha em destaque */
.bf-copy .bf-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
  font-size: 13px;
  line-height: 1.5;
  color: #b3c0d1;
}
.bf-tag {
  font-style: normal;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #d8c39a;
  background: #f0cd8612;
  border: 1px solid #f0cd8640;
}
.bf-line s {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: #aebdd0;
  text-decoration: none;
  white-space: nowrap;
}
.bf-line s::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 53%;
  height: 1px;
  border-radius: 2px;
  background: #f0a996;
  opacity: .85;
}
.bf-arrow {
  font-style: normal;
  font-size: 14px;
  color: var(--bf-gold);
  opacity: .9;
}
.bf-now {
  white-space: nowrap;
}
.bf-from {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: #c3cede;
}
.bf-line strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: #ffe6ae;
  text-shadow: 0 0 20px rgba(240, 205, 134, .35);
}

/* linha de tranquilidade: preço travado */
.bf-copy .bf-lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 11px;
  padding: 7px 13px 7px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #241a08;
  background: linear-gradient(180deg, #ffe9b8 0%, #e8c078 100%);
  box-shadow:
    0 2px 0 #8a6a2c,
    0 14px 26px -18px #f0cd86b3,
    inset 0 1px 0 #fff8e6cc;
}
.bf-copy .bf-lock i {
  font-style: normal;
}
.bf-copy .bf-lock .ico {
  width: 14px;
  height: 14px;
  flex: none;
  color: #241a08;
}

/* ---------- urgência: ampulheta ---------- */
.bf-rush {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 15px 9px 9px;
  border-radius: 12px;
  flex: none;
  background: linear-gradient(180deg, #1b1307 0%, #0b0806 100%);
  border: 1px solid #f0cd8642;
  box-shadow: inset 0 1px 0 #ffe9b81c, 0 2px 0 #00000090, 0 14px 30px -22px #f0cd86b3;
}
.bf-glass {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex: none;
  color: #191106;
  background: radial-gradient(circle at 32% 26%, #ffe9b8 0%, #e2b96c 58%, #a97f3c 100%);
  box-shadow: 0 0 0 1px #ffe9b833, 0 0 18px -2px #f0cd8680;
}
.bf-glass::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid #f0cd8640;
  animation: bfRing 2.8s ease-out infinite;
}
@keyframes bfRing {
  0% { transform: scale(.92); opacity: .75 }
  70% { transform: scale(1.18); opacity: 0 }
  100% { opacity: 0 }
}
.bf-glass svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: none;
}
.bf-sand {
  animation: bfSand 3.6s ease-in-out infinite;
}
@keyframes bfSand {
  0%, 100% { opacity: .12; transform: translateY(-2px) }
  45% { opacity: 1; transform: translateY(3px) }
}
.bf-rush-txt b {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.1;
  color: #ffe6ae;
}
.bf-rush-txt small {
  display: block;
  margin-top: 3px;
  max-width: 172px;
  font-size: 10.5px;
  line-height: 1.4;
  color: #9aa6b8;
}

/* ---------- preços ---------- */
.bf-old {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  font-size: 12.5px;
  color: #8ea4c0;
}
.bf-old > span:first-child {
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7f93ab;
}
.bf-old s {
  font-size: 15px;
  font-weight: 600;
  color: #a6b6cb;
  text-decoration: none;
  position: relative;
}
.bf-old s::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -2px;
  top: 54%;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e88a7a, #f0cd86);
  opacity: .85;
  transform: rotate(-1.2deg);
}
.bf-old + .price {
  margin-top: 1px;
}

.bf-on .price b {
  color: #fff;
  text-shadow: 0 2px 30px rgba(240, 205, 134, .22);
}
.bf-off {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #14100a;
  background: linear-gradient(180deg, #ffe9b8 0%, #e6bd72 100%);
  box-shadow: 0 1px 0 #8a6a2c, 0 8px 16px -10px #f0cd86b3;
}
.bf-save {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 9px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #14100a;
  background: linear-gradient(180deg, #ffe6ae 0%, #e5bd72 100%);
  box-shadow: 0 2px 0 #8a6a2c, 0 12px 22px -14px #f0cd86b3;
}
.bf-save .ico {
  width: 12px;
  height: 12px;
  color: #3a2a08;
}

/* ---------- card Expert: halo dourado e inclinação 3D ---------- */
.bf-on .plan.pro {
  box-shadow:
    0 38px 90px -50px rgba(240, 205, 134, .55),
    0 30px 70px -50px #000,
    inset 0 1px 0 #ffe9b81f;
  border-color: #f0cd8652;
  transition: transform .18s ease-out, box-shadow .35s, border-color .35s;
}
.bf-on .plan.pro::before {
  background: linear-gradient(150deg, #f5d79ad9 0%, #b98f4a3d 45%, #f0cd868c 100%);
}

.js .plan.pro.rv.in {
  transform:
    perspective(950px)
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg))
    translateY(var(--ty, 0px));
}
.plan.pro:hover {
  --ty: -3px;
}

/* brilho que acompanha o mouse no card Expert */
.plan.pro::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  pointer-events: none;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 232, 180, .12), transparent 68%);
  opacity: 0;
  transition: opacity .3s;
}
.bf-on .plan.pro:hover::after {
  opacity: 1;
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .bf-band {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 12px;
    padding: 16px 14px 15px;
    transform: none;
    margin-top: 20px;
  }
  .bf-copy b {
    font-size: 14.5px;
  }
  .bf-copy span {
    font-size: 11.5px;
  }
  .bf-copy .bf-line {
    justify-content: center;
    gap: 7px;
    font-size: 12.5px;
  }
  .bf-line strong {
    font-size: 15.5px;
  }
  .bf-copy .bf-lock {
    justify-content: center;
    font-size: 11.5px;
    text-align: left;
  }
  .bf-seal {
    transform: rotate(-3deg);
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
  }
  .bf-seal b {
    font-size: 12.5px;
  }
  .bf-seal i {
    display: none;
  }
  .bf-rush {
    padding: 8px 14px 8px 8px;
  }
  .bf-rush-txt small {
    max-width: none;
  }
  .bf-old {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-band { transform: none; }
  .bf-band::before { animation: none; opacity: .35; }
  .js .plan.pro.rv.in { transform: none; }
  .plan.pro::after { display: none; }
}
