/* ==========================================================================
   Black da Solute 2026 — kit comum das landing pages de curso
   Mesma linguagem do Esquenta (MetodoRHBlack) e da captura da Black:
   fundo preto, laranja #f2c14e, CTA azul pulsante, Anton/Archivo.
   Carregar DEPOIS do CSS da página. Tudo prefixado com .bf- para não colidir.
   ========================================================================== */

@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url(fonts/anton-400-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url(fonts/anton-400-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-weight: 900; font-stretch: 75%; font-display: swap; src: url(fonts/archivo-900-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: 'Archivo'; font-weight: 900; font-stretch: 75%; font-display: swap; src: url(fonts/archivo-900-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bf-orange: #f2c14e;
  --bf-orange-soft: rgba(242, 193, 78, .12);
  --bf-orange-line: rgba(242, 193, 78, .4);
  --bf-blue: #1f9d55;
  --bf-black: #000;
  --bf-surface: #121212;
  --bf-text: #efefef;
  --bf-muted: #b3b3b3;
  --bf-display: 'Anton', Impact, 'Arial Narrow', sans-serif;
  --bf-condensed: 'Archivo', 'Arial Narrow', sans-serif;
}

/* Fitas giradas não podem gerar rolagem lateral no celular */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }

/* 1. Faixa superior rolante ================================================ */
.bf-bar {
  position: relative; z-index: 50;
  background: var(--bf-orange); color: #170b0e;
  font: 900 13px/1 var(--bf-condensed); font-stretch: 75%;
  letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; padding: 11px 0;
}
.bf-bar__track { display: inline-block; animation: bf-marquee 40s linear infinite; }
.bf-bar__track span { padding-inline: 18px; }
@media (min-width: 760px) { .bf-bar { font-size: 15px; } }

/* 2. Selo do hero (logo + 30% OFF) ========================================= */
.bf-hero {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 22px;
}
.bf-hero__logo { width: clamp(110px, 22vw, 170px); height: auto; display: block; }
.bf-off {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bf-orange); color: #170b0e;
  border-radius: 14px; padding: 10px 16px 8px;
  transform: rotate(-4deg);
  box-shadow: 0 0 40px rgba(242, 193, 78, .35);
  font-family: var(--bf-display); line-height: .9; text-transform: uppercase;
}
.bf-off strong { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); font-weight: 400; }
.bf-off small { font-family: var(--bf-condensed); font-weight: 900; font-stretch: 75%; font-size: .85rem; letter-spacing: .06em; margin-top: 4px; }
/* Selo colado no canto do card do hero */
.hero-card { position: relative; }
.bf-off--sticker {
  position: absolute; top: -26px; right: -18px; z-index: 2;
  transform: rotate(6deg);
}
.bf-off--sticker strong { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); }
@media (max-width: 560px) { .bf-off--sticker { top: -22px; right: -6px; } }
/* Selo de canto das seções (adesivo) */
.bf-off--corner { position: absolute; top: 20px; right: 28px; z-index: 2; transform: rotate(5deg); padding: 9px 14px 7px; }
.bf-off--corner strong { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.bf-off--corner small { font-size: .72rem; }
@media (max-width: 899px) {
  .bf-off--corner { position: relative; top: auto; right: auto; display: flex; width: fit-content; margin: -64px auto 26px; transform: rotate(-3deg); }
}

/* Etiqueta Black abaixo do título das seções */
.bf-chip {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  padding: 9px 18px; border-radius: 999px;
  background: rgba(242, 193, 78, .1); border: 1px solid rgba(242, 193, 78, .45);
  color: #f3f4f6; font-size: .95rem; line-height: 1.3;
  box-shadow: 0 0 30px -8px rgba(242, 193, 78, .45);
}
.bf-chip b {
  background: var(--bf-orange); color: #170b0e; border-radius: 999px; padding: 4px 10px 3px; white-space: nowrap;
  font: 400 .95rem/1 var(--bf-display); letter-spacing: .05em; text-transform: uppercase;
}
.bf-chip strong { color: var(--bf-orange); }
@media (max-width: 680px) {
  .bf-chip { gap: 9px; padding: 6px 14px 6px 6px; font-size: .86rem; white-space: nowrap; max-width: 100%; }
  .bf-chip b { font-size: .85rem; padding: 5px 9px 4px; }
  .bf-chip strong { font-weight: 700; }
  .bf-hide-m { display: none; }
}
@media (max-width: 400px) {
  .bf-chip { gap: 7px; padding-right: 12px; font-size: .8rem; }
  .bf-chip b { font-size: .8rem; padding: 5px 8px 4px; }
}
.bf-hero__note { flex-basis: 100%; margin: 0; color: var(--bf-muted); font-size: .92rem; }
.bf-hero__note b { color: var(--bf-orange); }
.bf-hero--center { justify-content: center; }
@media (max-width: 759px) { .bf-hero--center-m { justify-content: center; } }

/* 3. Fitas cruzadas (divisor entre seções) ================================ */
.bf-tapes { position: relative; height: 112px; margin: -40px 0 -40px; z-index: 5; pointer-events: none; overflow-x: clip; overflow-y: visible; }
.bf-tape {
  position: absolute; left: -10%; width: 120%; padding: 10px 0;
  font-family: var(--bf-display); font-size: 1.4rem; letter-spacing: .06em; line-height: 1;
  white-space: nowrap; overflow: hidden; text-transform: uppercase;
}
.bf-tape--dark { top: 6px; background: #12080a; color: #fff; transform: rotate(-3deg); border-block: 2px solid var(--bf-orange); }
.bf-tape--dark .o { color: var(--bf-orange); }
.bf-tape--orange { top: 58px; background: var(--bf-orange); color: #12080a; transform: rotate(2.4deg); box-shadow: 0 0 40px rgba(242, 193, 78, .35); }
.bf-tape__track { display: inline-block; animation: bf-marquee 110s linear infinite; }
.bf-tape--orange .bf-tape__track { animation-direction: reverse; }
@media (min-width: 760px) { .bf-tape { font-size: 1.9rem; } .bf-tapes { height: 128px; } .bf-tape--orange { top: 70px; } }
/* Seção logo abaixo das fitas: afasta da fita inclinada e enxuga o respiro interno */
.bf-tapes + section { margin-top: 72px; padding-top: 64px; }
section:has(+ .bf-tapes) { margin-bottom: 72px; }
/* Hero no mobile: menos respiro em cima/embaixo e números numa linha só */
@media (max-width: 680px) {
  section { padding: 56px 0; }
  .bf-tapes + section { padding-top: 56px; }
  .bf-off--corner { margin-top: -30px; }
  .hero { padding: 28px 0 36px; }
  .hero.hero { margin-bottom: 40px; }
  .hero .trust { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 12px; margin-top: 4px; }
  .hero .trust div { padding-left: 10px; }
  .hero .trust b { font-size: 20px; }
  .hero .trust span { font-size: 11.5px; line-height: 1.3; display: block; margin-top: 2px; }
}
@media (min-width: 1200px) { .bf-tapes + section { margin-top: 96px; } section:has(+ .bf-tapes) { margin-bottom: 96px; } }

/* 4. Botão CTA azul pulsante (adicionar .bf-cta ao botão existente) ======== */
.bf-cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  color: #fff !important; text-decoration: none; text-align: center;
  border-radius: 999px !important;
  border: 1.5px solid rgba(170, 180, 255, .75) !important;
  background: linear-gradient(100deg, #0d6b36 0%, #1f9d55 30%, #26b462 50%, #1f9d55 70%, #0d6b36 100%) !important;
  background-size: 220% 100% !important;
  font-family: var(--bf-display) !important; font-weight: 400 !important;
  text-transform: uppercase; letter-spacing: .03em;
  text-shadow: 0 1px 0 rgba(0, 0, 60, .35);
  animation: bf-cta-color 5s ease-in-out infinite, bf-cta-pulse 1.8s ease-out infinite;
  transition: filter .2s, translate .2s;
}
.bf-cta:hover { filter: brightness(1.12); translate: 0 -2px; }
.bf-cta::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .4) 48%, transparent 62%);
  transform: translateX(-120%); animation: bf-cta-shine 3.2s ease-in-out infinite;
}
@keyframes bf-cta-color { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes bf-cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(38, 180, 98, .55), 0 10px 30px -10px rgba(38, 180, 98, .8); } 100% { box-shadow: 0 0 0 16px rgba(38, 180, 98, 0), 0 10px 30px -10px rgba(38, 180, 98, .8); } }
@keyframes bf-cta-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* 5. Bloco de preço Black =================================================== */
.bf-price {
  position: relative; text-align: center;
  background: radial-gradient(ellipse 90% 70% at 50% 0%, rgba(242, 193, 78, .16), transparent 70%), var(--bf-surface);
  border: 2px solid var(--bf-orange-line); border-radius: 24px;
  padding: 34px 22px 26px; color: var(--bf-text);
}
.bf-price__tag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%) rotate(-2deg);
  background: var(--bf-orange); color: #170b0e; white-space: nowrap;
  font: 400 1.05rem/1 var(--bf-display); letter-spacing: .05em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 8px;
}
.bf-price__from { margin: 0 0 4px; color: var(--bf-muted); font-size: 1rem; }
.bf-price__from s { color: #ff6b6b; }
.bf-price__inst { margin: 0; font-family: var(--bf-display); text-transform: uppercase; line-height: 1; }
.bf-price__inst span { display: block; font-size: 1.15rem; color: var(--bf-muted); margin-bottom: 6px; }
.bf-price__inst strong { font-weight: 400; font-size: clamp(3rem, 2.2rem + 3.4vw, 4.6rem); color: var(--bf-orange); text-shadow: 0 0 30px rgba(242, 193, 78, .35); }
.bf-price__cash { margin: 10px 0 0; font-size: 1.05rem; }
.bf-price__cash strong { color: #fff; }
.bf-price__save { display: inline-block; margin: 14px 0 0; padding: 6px 12px; border-radius: 999px; background: var(--bf-orange-soft); border: 1px solid var(--bf-orange-line); color: var(--bf-orange); font-weight: 700; font-size: .9rem; }
.bf-price__coupon { margin: 12px 0 0; color: var(--bf-muted); font-size: .85rem; }
.bf-price__coupon b { color: var(--bf-orange); letter-spacing: .05em; }
.bf-price .bf-cta { width: 100%; margin-top: 20px; min-height: 60px; padding: 16px 22px; font-size: clamp(1.15rem, 1rem + .8vw, 1.45rem); }

/* 6. CTA fixo no rodapé (mobile e desktop) ================================= */
.bf-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, .92); backdrop-filter: blur(8px);
  border-top: 2px solid var(--bf-orange);
  transform: translateY(110%); transition: transform .35s ease;
}
.bf-sticky.is-on { transform: none; }
.bf-sticky__txt {
  display: inline-flex; flex-direction: column; align-items: center; flex-shrink: 0;
  background: var(--bf-orange); color: #170b0e;
  border-radius: 10px; padding: 7px 12px 6px;
  transform: rotate(-4deg);
  box-shadow: 0 0 26px rgba(242, 193, 78, .45);
  font: 900 .62rem/1 var(--bf-condensed); font-stretch: 75%; letter-spacing: .08em; text-transform: uppercase;
}
.bf-sticky__txt strong { order: -1; font: 400 1.5rem/.95 var(--bf-display); letter-spacing: .02em; margin-bottom: 3px; }
.bf-sticky .bf-cta { padding: 12px 18px; font-size: 1rem; min-height: 46px; white-space: nowrap; }
@media (min-width: 760px) { .bf-sticky { justify-content: center; gap: 28px; } }

/* 7. Rodapé da campanha ===================================================== */
.footer-logo { margin-bottom: 18px; }
.footer-logo img { display: block; width: 178px; height: auto; margin: 0 auto; }
.bf-foot { background: var(--bf-orange); color: #12080a; text-align: center; padding: 10px 0; overflow: hidden; white-space: nowrap; font: 400 1.2rem/1 var(--bf-display); letter-spacing: .06em; text-transform: uppercase; }

/* 8. Pop-up de captura antes do checkout ==================================== */
html.bf-lock { overflow: hidden; }
.bf-lead {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.bf-lead.is-open { opacity: 1; visibility: visible; }
.bf-lead__box {
  position: relative; width: 100%; max-width: 660px; max-height: calc(100vh - 32px); overflow-y: auto;
  background: #fff; color: #261418; border-radius: 26px; padding: 40px 40px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
  transform: translateY(16px) scale(.98); transition: transform .25s;
}
.bf-lead.is-open .bf-lead__box { transform: none; }
.bf-lead__close {
  position: absolute; top: 18px; right: 18px; width: 50px; height: 50px; border: 0; border-radius: 50%;
  background: #eee; color: #c62828; font-size: 2rem; line-height: 1; cursor: pointer;
}
.bf-lead__close:hover { background: #e2e2e2; }
.bf-lead h2 { margin: 0 0 8px; text-align: center; font: 800 clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem)/1.15 'Montserrat', sans-serif; color: #111; }
.bf-lead__sub { margin: 0 auto 24px; max-width: 520px; text-align: center; color: #666; font-size: 1.1rem; line-height: 1.5; }
.bf-lead form { display: grid; gap: 16px; }
.bf-lead label { display: grid; gap: 8px; font-weight: 700; font-size: 1.05rem; color: #222; }
.bf-lead input {
  width: 100%; box-sizing: border-box; padding: 18px 20px; border: 2px solid #ddd; border-radius: 14px;
  font-family: inherit; font-size: 1.15rem; line-height: 1.2; color: #1b0d10; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.bf-lead input::placeholder { color: #999; }
.bf-lead input:focus { outline: none; border-color: #22b14c; box-shadow: 0 0 0 4px rgba(34, 177, 76, .15); }
.bf-lead__err { margin: -4px 0 0; min-height: 1.2em; color: #c62828; font-size: .95rem; font-weight: 600; }
.bf-lead__err:empty { display: none; }
.bf-lead__go {
  margin-top: 6px; padding: 22px 20px; border: 0; border-radius: 14px; cursor: pointer;
  background: linear-gradient(180deg, #23b84f, #1aa047); color: #fff;
  font: 800 1.2rem/1 'Montserrat', sans-serif; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 14px 30px -10px rgba(26, 160, 71, .7); transition: filter .2s, translate .2s;
}
.bf-lead__go:hover { filter: brightness(1.06); translate: 0 -1px; }
.bf-lead__go:disabled { opacity: .75; cursor: progress; translate: none; }
.bf-lead__safe { margin: 4px 0 0; text-align: center; color: #777; font-size: .95rem; }
@media (max-width: 560px) {
  .bf-lead__box { padding: 30px 20px 24px; border-radius: 20px; }
  .bf-lead__close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 1.6rem; }
  .bf-lead h2 { padding: 0 34px; }
  .bf-lead__sub { font-size: 1rem; margin-bottom: 18px; }
  .bf-lead input { padding: 15px 16px; font-size: 1.05rem; }
  .bf-lead__go { padding: 19px 16px; font-size: 1.05rem; }
}

@keyframes bf-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .bf-bar__track, .bf-tape__track, .bf-cta, .bf-cta::after { animation: none !important; }
}
