/* SYLPHI — tema BLACK FRIDAY. Para retirar: apague as linhas marcadas "BLACK FRIDAY" em
   layouts/layout.html, pages/index.html e pages/package.html; sem este arquivo o site volta ao vermelho sozinho. */
:root {
  --bf-gold: #ffcf4a;
  --bf-gold-2: #fff0a8;
  --bf-foil: linear-gradient(120deg, #fff3b8 0%, #ffcf4a 26%, #a9740b 50%, #ffe27a 72%, #b8860b 100%);
  --bf-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- faixa do topo ---------- */
.bf-bar {
  position: relative;
  z-index: 41;
  display: flex;
  align-items: center;
  flex: none;
  height: 44px;
  overflow: hidden;
  color: #fff;
  background: #050403;
  border-bottom: 1px solid rgba(255, 207, 74, 0.55);
  box-shadow: 0 6px 24px -10px rgba(255, 207, 74, 0.55);
}
.bf-bar__view { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent); }
.bf-bar__track { display: flex; width: max-content; animation: bf-marq 46s linear infinite; }
.bf-bar:hover .bf-bar__track { animation-play-state: paused; }
.bf-bar__group { display: flex; align-items: center; flex: none; }
.bf-bar__item { display: inline-flex; align-items: center; gap: 12px; padding-right: 34px; font-size: 12.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.bf-bar__item b { font-weight: 900; letter-spacing: 0.14em; background: var(--bf-foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-bar__item em { font-style: normal; padding: 2px 8px; border: 1px dashed rgba(255, 207, 74, 0.7); border-radius: 6px; color: var(--bf-gold); }
.bf-bar__item svg { width: 12px; height: 12px; fill: var(--bf-gold); flex: none; }
@keyframes bf-marq { to { transform: translate3d(-50%, 0, 0); } }


/* ---------- botão copiar ---------- */
.bf-copy {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  color: #140c00;
  background: linear-gradient(135deg, #fff0a8, #ffcf4a 50%, #e0a51e);
  box-shadow: 0 8px 22px -10px rgba(255, 207, 74, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: transform 0.3s var(--bf-ease);
}
.bf-copy:hover { transform: translateY(-2px); }
.bf-copy:active { transform: scale(0.96); }
.bf-copy:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.bf-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bf-copy [data-l="ok"], .bf-copy [data-i="ok"] { display: none; }
.bf-copy.is-ok { color: #fff; background: linear-gradient(135deg, #10b981, #047857); box-shadow: 0 8px 22px -10px rgba(16, 185, 129, 0.9); }
.bf-copy.is-ok [data-l="ok"], .bf-copy.is-ok [data-i="ok"] { display: inline; }
.bf-copy.is-ok [data-l="copy"], .bf-copy.is-ok [data-i="copy"] { display: none; }

/* botão da faixa: compacto, com área de toque de 44px pelo ::after */
.bf-copy.bf-bar__copy { flex: none; gap: 6px; margin: 0 8px; min-height: 28px; padding: 0 11px; border-radius: 8px; font-size: 12px; font-weight: 800; box-shadow: none; }
.bf-copy.bf-bar__copy::after { content: ""; position: absolute; inset: -8px -6px; }
.bf-copy.bf-bar__copy svg { width: 13px; height: 13px; }

/* ---------- ingresso da home ---------- */
.bf-ticket {
  --nx: calc(100% - 196px);
  --ny: 0px;
  --r: 12px;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 640px;
  filter: drop-shadow(0 14px 34px rgba(255, 207, 74, 0.28)) drop-shadow(0 0 2px rgba(255, 207, 74, 0.6));
}
.bf-ticket::before, .bf-ticket__in {
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--nx) 0, transparent 97%, #000), radial-gradient(circle var(--r) at var(--nx) 100%, transparent 97%, #000);
  mask-image: radial-gradient(circle var(--r) at var(--nx) 0, transparent 97%, #000), radial-gradient(circle var(--r) at var(--nx) 100%, transparent 97%, #000);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.bf-ticket::before { content: ""; position: absolute; inset: 0; border-radius: 22px; background: var(--bf-foil); }
.bf-ticket__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 196px;
  margin: 2px;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(90% 130% at 0% 0%, rgba(255, 207, 74, 0.16), transparent 60%),
    radial-gradient(70% 120% at 100% 100%, rgba(225, 29, 42, 0.22), transparent 65%),
    #070504;
}
.bf-ticket__sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 42%, rgba(255, 240, 168, 0.22) 50%, transparent 58%);
  transform: translate3d(-105%, 0, 0);
  animation: bf-sweep 6s var(--bf-ease) 1.4s infinite;
}
@keyframes bf-sweep { 0% { transform: translate3d(-105%, 0, 0); } 30%, 100% { transform: translate3d(105%, 0, 0); } }
.bf-ticket__main { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 18px 16px 18px 22px; min-width: 0; text-align: left; }
.bf-lock { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 900; line-height: 1; letter-spacing: -0.02em; }
.bf-lock__b { color: #0b0a09; -webkit-text-stroke: 1.5px var(--bf-gold); paint-order: stroke fill; text-shadow: 0 0 18px rgba(255, 207, 74, 0.35); }
.bf-lock__f { background: var(--bf-foil); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bf-ticket__offer { margin: 0; font-size: 14.5px; font-weight: 600; line-height: 1.35; color: rgba(255, 255, 255, 0.78); }
.bf-ticket__offer b { font-weight: 900; color: var(--bf-gold); }
.bf-ticket__stub { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 8px; padding: 14px 16px 14px 18px; text-align: center; }
.bf-ticket__stub::before { content: ""; position: absolute; left: -1px; top: 16px; bottom: 16px; border-left: 2px dashed rgba(255, 207, 74, 0.45); }
.bf-ticket__label { font-size: 10.5px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.bf-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 27px; font-weight: 900; line-height: 1; letter-spacing: 0.12em; color: #fff; user-select: all; }

/* confete dourado ao copiar */
.bf-spark { position: fixed; z-index: 2147483000; width: 8px; height: 8px; pointer-events: none; background: var(--bf-gold); border-radius: 2px; animation: bf-spark 0.9s var(--bf-ease) forwards; }
@keyframes bf-spark { to { transform: translate3d(var(--x), var(--y), 0) rotate(var(--rot)); opacity: 0; } }

/* ---------- aviso na página do produto ---------- */
.bf-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 12px;
  padding: 12px 12px 12px 14px;
  border: 1px dashed rgba(255, 207, 74, 0.6);
  border-radius: 14px;
  background: linear-gradient(100deg, rgba(255, 207, 74, 0.12), rgba(255, 207, 74, 0.02));
}
.bf-strip__txt { flex: 1 1 150px; min-width: 0; font-size: 13.5px; font-weight: 600; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.bf-strip__txt strong { display: block; font-size: 11px; font-weight: 900; letter-spacing: 0.16em; color: var(--bf-gold); }
.bf-strip__txt code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 900; color: #fff; }
.bf-strip .bf-copy { min-height: 44px; padding: 0 14px; font-size: 13px; }

/* ---------- checkout: aplicar com um toque ---------- */
.bf-apply { margin-bottom: 10px; }
.bf-apply[hidden] { display: none; }

/* ---------- clima do site ---------- */
.sya-bar { background: linear-gradient(90deg, #a9740b, #ffcf4a 60%, #fff0a8) !important; box-shadow: 0 0 12px rgba(255, 207, 74, 0.75) !important; }
.sya-atmos .a1 { background: radial-gradient(ellipse 80% 55% at 50% -5%, rgba(225, 29, 42, 0.2), transparent 70%), radial-gradient(ellipse 45% 40% at 85% 0%, rgba(255, 207, 74, 0.13), transparent 70%), radial-gradient(ellipse 40% 40% at 0% 60%, rgba(170, 12, 28, 0.1), transparent 70%) !important; }
.sy-hero-glow { filter: saturate(0.9); }
.sy-pirate-bubble b { color: var(--bf-gold) !important; }
.sy-pirate-ring { border-color: rgba(255, 207, 74, 0.35) !important; }
.sy-off { color: #140c00 !important; background: linear-gradient(135deg, #fff0a8, #ffcf4a) !important; border-color: transparent !important; }
header.sticky > div { border-color: rgba(255, 207, 74, 0.22) !important; }

/* ingresso compacto */
.bf-ticket { --nx: calc(100% - 136px); --r: 8px; max-width: 500px; filter: drop-shadow(0 8px 20px rgba(255, 207, 74, 0.2)) drop-shadow(0 0 1px rgba(255, 207, 74, 0.6)); }
.bf-ticket::before { border-radius: 16px; }
.bf-ticket__in { grid-template-columns: minmax(0, 1fr) 136px; border-radius: 14px; }
.bf-ticket__main { gap: 3px; padding: 10px 10px 10px 16px; }
.bf-lock { gap: 0 6px; font-size: clamp(19px, 5.4vw, 25px); }
.bf-lock__b { -webkit-text-stroke-width: 1px; }
.bf-ticket__offer { font-size: 12.5px; }
.bf-ticket__stub { gap: 5px; padding: 8px 10px 8px 12px; }
.bf-ticket__stub::before { top: 10px; bottom: 10px; }
.bf-ticket__label { display: none; }
.bf-code { font-size: 16px; }
.bf-ticket .bf-copy { min-height: 32px; padding: 0 8px; gap: 5px; border-radius: 8px; font-size: 12px; font-weight: 800; box-shadow: none; }
.bf-ticket .bf-copy svg { width: 13px; height: 13px; }
.bf-ticket .bf-copy::after { content: ""; position: absolute; inset: -6px 0; }

/* posição do ingresso na grade do hero */
@media (min-width: 1200px) {
  .sy-hero-inner > .sy-pirate { grid-row: 1 / span 6 !important; }
}
@media (max-width: 1199px) {
  .sy-hero-inner > .bf-ticket { grid-column: 1 / -1; grid-row: 3; justify-self: center; }
  .sy-hero-inner > .sy-cta-row { grid-row: 4 !important; }
  .sy-hero-inner > .sy-stats { grid-row: 5 !important; }
  .sy-hero-inner > .sy-pirate { grid-row: 4 / span 2 !important; }
}
@media (max-width: 560px) {
  .bf-bar__item { font-size: 11.5px; padding-right: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-bar__track, .bf-ticket__sweep { animation: none; }
  .bf-spark { display: none; }
}

/* ==========================================================================
   SITE INTEIRO: os CSS do site usam rgb(var(--bfa, vermelho original)).
   Enquanto este arquivo estiver ligado, todo o vermelho vira dourado; sem ele, volta sozinho.
   ========================================================================== */
:root {
  --bfl: 255, 233, 168;
  --bfa: 255, 207, 74;
  --bfd: 224, 165, 30;
  --bfe: 122, 84, 12;
  --bfk: 46, 33, 10;
  --bf-ink: #140c00;
  --bf-sale: #e11d2a;
  --primary: 44 100% 64%;
  --price: #ffcf4a;
}
html body.min-h-screen { background-color: #030302; }
.bg-primary { color: var(--bf-ink); }

/* botões dourados pedem texto escuro */
html body .sy-key { color: var(--bf-ink); }
html body .sy-key--add, html body .sy-key--pts, html body .sy-key.is-added { color: #fff; }
html body .sy-key-spin { border-color: rgba(20, 12, 0, 0.3); border-top-color: var(--bf-ink); }
html body .sy-key--add .sy-key-spin, html body .sy-key--pts .sy-key-spin { border-color: rgba(255, 255, 255, 0.3); border-top-color: #fff; }

/* títulos em folha de ouro */
html body .sy-h2, html body .fb-title { color: #ffe27a; }

/* ---------- cartazes de produto ---------- */
html body .sy-card-face { background: var(--bf-foil); }
html body .sy-card-ring { opacity: 0.9; }
html body .sy-card-ring i { background: conic-gradient(from 0deg, transparent 0 62%, rgba(255, 255, 255, 0.25) 70%, #fff 76%, rgba(255, 255, 255, 0.25) 82%, transparent 90%); }
html body .sy-card-in { background: radial-gradient(120% 45% at 50% 100%, rgba(255, 207, 74, 0.13), transparent 62%), #050403; }
html body .sy-card-media::before { background: linear-gradient(0deg, #050403, rgba(5, 4, 3, 0)); }

/* faixa diagonal no canto do cartaz */
.sy-card-in::after, .sy-cat-in::after {
  content: "BLACK FRIDAY";
  position: absolute;
  z-index: 4;
  top: 27px;
  right: -39px;
  width: 150px;
  padding: 4px 0;
  pointer-events: none;
  text-align: center;
  font-family: var(--sy-card-font, inherit);
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--bf-ink);
  background: linear-gradient(90deg, #c8921a, #ffe27a 30%, #fff3b8 50%, #ffcf4a 72%, #c8921a);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transform: rotate(45deg);
}

/* etiqueta de desconto: o único vermelho do cartaz */
html body .sy-card-off {
  padding: 5px 9px 5px 15px;
  border-radius: 0 6px 6px 0;
  color: #fff;
  background: var(--bf-sale);
  box-shadow: none;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
}
html body .sy-card-off::before { inset: 50% auto auto 7px; width: 4px; height: 4px; margin-top: -2px; border: 0; border-radius: 50%; background: #050403; opacity: 1; animation: none; }
html body .sy-card-hot { color: #ffe27a; background: #050403; box-shadow: inset 0 0 0 1px rgba(255, 207, 74, 0.75); }

/* preço */
html body .sy-card-pricebox { background: linear-gradient(180deg, rgba(255, 207, 74, 0.09), rgba(255, 207, 74, 0.02)); box-shadow: inset 0 0 0 1px rgba(255, 207, 74, 0.3); }
html body .sy-card-price { color: transparent; text-shadow: none; background: linear-gradient(100deg, #fff3b8, #ffcf4a 45%, #e8ae2a 75%, #ffe27a); -webkit-background-clip: text; background-clip: text; }
html body .sy-card-save { color: #ffe27a; background: rgba(255, 207, 74, 0.12); box-shadow: inset 0 0 0 1px rgba(255, 207, 74, 0.35); }
html body .sy-card-old { text-decoration-color: var(--bf-sale); }
html body .sy-card-pts { color: rgba(255, 255, 255, 0.7); }
html body .sy-card-pts svg { fill: var(--bf-gold); filter: none; }
.sy-card-pricebox::after {
  content: "Cupom BLACK: +5% OFF";
  display: block;
  margin-top: 2px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 207, 74, 0.42);
  font-family: var(--sy-card-font, inherit);
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  color: #ffe27a;
}
.sy-card.is-soldout .sy-card-pricebox::after { content: none; }

/* ---------- cartazes de categoria ---------- */
html body .sy-cat-in { box-shadow: 0 0 0 1.5px rgba(255, 207, 74, 0.7), 0 18px 40px -22px rgba(0, 0, 0, 0.95); }
.sy-cat-in::after { top: 34px; right: -54px; width: 200px; padding: 6px 0; font-size: 12px; }

/* ---------- fita entre as seções ---------- */
.bf-tape { position: relative; z-index: 3; overflow: hidden; padding: 18px 0; }
.bf-tape__band { width: 104%; margin-left: -2%; overflow: hidden; background: var(--bf-foil); box-shadow: 0 10px 26px -12px rgba(255, 207, 74, 0.7); transform: rotate(-1.1deg); }
.bf-tape__track { display: flex; width: max-content; animation: bf-marq 60s linear infinite; }
.bf-tape__track span { flex: none; padding: 7px 0; font-size: 13px; font-weight: 900; line-height: 1; letter-spacing: 0.14em; white-space: nowrap; color: var(--bf-ink); }
.bf-tape__track i { margin: 0 12px; font-style: normal; }

/* ---------- classes do Tailwind com vermelho nas páginas institucionais ---------- */
main:not(:has(a[href="/account/orders"], #checkout)) .text-red-500,
main:not(:has(a[href="/account/orders"], #checkout)) .text-red-400,
main:not(:has(a[href="/account/orders"], #checkout)) .text-red-500\/80 { color: var(--bf-gold); }
main:not(:has(a[href="/account/orders"], #checkout)) [class*="border-red-"] { border-color: rgba(255, 207, 74, 0.32); }
main:not(:has(a[href="/account/orders"], #checkout)) .bg-red-500\/10 { background-color: rgba(255, 207, 74, 0.1); }
.bg-red-600\/10, .bg-red-600\/15, .bg-red-600\/25 { background-color: rgba(255, 207, 74, 0.1); }
.bg-\[\#8b0000\] { color: var(--bf-ink); background: linear-gradient(135deg, #fff0a8, #ffcf4a 50%, #e0a51e); }
.hover\:bg-\[\#a30000\]:hover, .hover\:bg-\[\#8b0000\]:hover { color: var(--bf-ink); background: #ffe27a; }
.bg-\[\#8b0000\]\/20, .bg-\[\#8b0000\]\/25 { background-color: rgba(255, 207, 74, 0.14); }
.from-\[\#8b0000\]\/20 { --tw-gradient-from: rgba(255, 207, 74, 0.14) var(--tw-gradient-from-position); }
[class*="rgba(139,0,0"] { --tw-shadow: 0 0 18px rgba(255, 207, 74, 0.16); }

@media (max-width: 640px) {
  .sy-card-in::after { top: 19px; right: -29px; width: 110px; padding: 3px 0; font-size: 7.5px; letter-spacing: 0.05em; }
  html body .sy-card-off { padding: 4px 7px 4px 13px; }
  .sy-card-pricebox::after { padding-top: 5px; font-size: 9.5px; }
  .sy-cat-in::after { top: 32px; right: -43px; width: 170px; padding: 5px 0; font-size: 10.5px; }
  .bf-tape { padding: 12px 0; }
  .bf-tape__track span { padding: 6px 0; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-tape__track { animation: none; }
}

/* fundo sem resto de vermelho */
.sya-atmos .a1 { background: radial-gradient(ellipse 80% 55% at 50% -5%, rgba(255, 207, 74, 0.1), transparent 70%), radial-gradient(ellipse 45% 40% at 85% 0%, rgba(255, 207, 74, 0.08), transparent 70%) !important; }
.bf-ticket__in { background: radial-gradient(90% 130% at 0% 0%, rgba(255, 207, 74, 0.16), transparent 60%), #070504; }

/* texto escuro sobre o dourado */
html body .sy-sub-tab.active { color: var(--bf-ink); text-shadow: none; }
html body .sy-sub-tab.active .sy-sub-n { color: #ffe27a; background: rgba(0, 0, 0, 0.78); }
html body .sy-more-count, html body .sy-cf-cta, html body .sy-cf-rank, html body .pontos-btn-tutorial, html body .pontos-btn-tutorial:hover,
html body .pontos-saldo-icon, html body .pontos-motivational-icon { color: var(--bf-ink); }
.bg-\[\#8b0000\], .bg-\[\#8b0000\] * { color: var(--bf-ink) !important; }
header [class*="border-red-"] { border-color: rgba(20, 12, 0, 0.3); }
main:not(:has(a[href="/account/orders"], #checkout)) .bg-red-500 { background-color: var(--bf-gold); }
[class*="_#ef4444"] { --tw-shadow: 0 0 12px rgba(255, 207, 74, 0.6); }
html body #checkout .syo-pay:not(.syo-pay--pts) { color: var(--bf-ink); }
html body .syo-count, html body .syo-step.is-active .syo-step-n { color: var(--bf-ink); }
html body .sy-cat-reveal span { background: rgba(255, 207, 74, 0.18); border-color: rgba(255, 207, 74, 0.65); }
.fb-s3:not([style]) { --acc: 255 207 74; }

/* títulos com brilho: mesmo problema em todas as páginas */
html body [data-sy-shine].sya-shine { color: #ffe27a; background: none; animation: none; }
html body [data-sy-shine].sya-shine .sya-line > span {
  color: transparent;
  background: linear-gradient(100deg, #ffe27a 0 40%, #fff8d6 47%, #c98f12 50%, #fff8d6 53%, #ffe27a 60% 100%) 100% 0 / 320% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: bf-shine 6.5s ease-in-out 2;
}
@keyframes bf-shine { 0%, 62% { background-position: 100% 0; } 88%, 100% { background-position: 0 0; } }
html body .sy-hl-title { color: #ffe27a; }
@media (prefers-reduced-motion: reduce) {
  html body [data-sy-shine].sya-shine .sya-line > span { animation: none; }
}
.fb-s3[style*="255 59 69"] { --acc: 255 207 74 !important; }
html body .sy-cf-card { outline: 1.5px solid rgba(255, 207, 74, 0.75); outline-offset: -1.5px; }
html body .sy-hl-title.is-shine { background-image: linear-gradient(100deg, #ffe27a 0 42%, #fff8d6 48%, #c98f12 50%, #fff8d6 52%, #ffe27a 58% 100%); }

/* celular: sem repintura contínua nos títulos e no ingresso */
@media (hover: none), (max-width: 767px) {
  html body [data-sy-shine].sya-shine .sya-line > span { animation: none; background-position: 0 0; }
  .bf-ticket { filter: none; }
  .bf-ticket__sweep { display: none; }
}
