/* Tema sazonal Black Friday: identidade dourada sem substituir catálogo ou conteúdo dinâmico. */
body[data-site-theme="black-friday"] {
  --bf-gold: #f3d078;
  --bf-gold-light: #ffe9a6;
  --bf-gold-dark: #a97622;
  background-color: #08090b;
  background-image:
    radial-gradient(ellipse at 12% 16%, rgba(229, 185, 92, .12), transparent 34%),
    radial-gradient(ellipse at 91% 38%, rgba(229, 185, 92, .065), transparent 35%);
  background-attachment: fixed;
}

body[data-site-theme="black-friday"] header {
  border-bottom-color: rgba(229, 185, 92, .34) !important;
  background-color: rgba(8, 9, 11, .74) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

body[data-site-theme="black-friday"] #site-header-content { border-bottom-color: rgba(229, 185, 92, .18); }
body[data-site-theme="black-friday"] header nav a:hover,
body[data-site-theme="black-friday"] header nav a:focus-visible { color: var(--bf-gold-light) !important; }
body[data-site-theme="black-friday"] .logo-frame img { filter: drop-shadow(0 0 12px rgba(243, 208, 120, .2)); }

.bf-campaign-bar {
  display: flex;
  width: 100%;
  min-height: 66px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(229, 185, 92, .34);
  color: #f4e3b5;
  background: linear-gradient(90deg, rgba(30, 23, 12, .96), rgba(9, 11, 13, .97) 50%, rgba(30, 23, 12, .96));
  box-shadow: inset 0 -1px rgba(255, 255, 255, .035), 0 5px 20px rgba(0, 0, 0, .2);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: .045em;
  text-align: center;
}
.bf-campaign-bar strong { color: var(--bf-gold-light); font-size: 16px; }
.bf-campaign-bar time { color: #fff0c5; font-size: clamp(19px, 2.3vw, 27px); font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 0 18px rgba(243, 208, 120, .28); }
.bf-campaign-spark { color: var(--bf-gold); text-shadow: 0 0 12px rgba(243, 208, 120, .6); }

body[data-site-theme="black-friday"] #inicio {
  background-color: #08090b !important;
  background-image: radial-gradient(ellipse at 78% 12%, rgba(169, 118, 34, .13), transparent 38%);
}
body[data-site-theme="black-friday"] .hero-video-bg { filter: saturate(.86) sepia(.12) brightness(.67); }
body[data-site-theme="black-friday"] .hero-video-scrim {
  background: linear-gradient(90deg, rgba(5, 6, 8, .78), rgba(7, 8, 10, .34) 58%, rgba(5, 6, 8, .58)),
    linear-gradient(0deg, rgba(5, 6, 8, .58), transparent 60%) !important;
}
body[data-site-theme="black-friday"] .hero-layout { position: relative; padding-top: 42px; }
body[data-site-theme="black-friday"] .hero-layout::before {
  position: absolute;
  z-index: 2;
  top: -2px;
  left: 43%;
  width: 57%;
  content: "BLACK\A FRIDAY";
  color: transparent;
  background: linear-gradient(105deg, #fff4ce 0%, #e6bb61 28%, #fff0b7 49%, #c18b30 70%, #ffe8a0 100%);
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(46px, 6.3vw, 88px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: .78;
  text-align: center;
  white-space: pre;
  filter: drop-shadow(0 5px 16px rgba(189, 139, 45, .32));
  animation: bf-gold-text-reflection 1.5s linear infinite;
  pointer-events: none;
}
body[data-site-theme="black-friday"] #inicio .hero-layout > div:first-child > div:first-child {
  border-color: rgba(229, 185, 92, .5) !important;
  background: rgba(30, 24, 13, .68) !important;
  color: var(--bf-gold-light) !important;
}
body[data-site-theme="black-friday"] #inicio h1 span {
  background-image: linear-gradient(105deg, #fff1c1 0%, #e4b95c 48%, #ffe7a1 100%) !important;
}
body[data-site-theme="black-friday"] #inicio .hero-layout > div:first-child > .grid {
  border-top-color: rgba(229, 185, 92, .3) !important;
}

body[data-site-theme="black-friday"] .featured-product-card,
body[data-site-theme="black-friday"] .hero-promotion-card,
body[data-site-theme="black-friday"] .sim-panel,
body[data-site-theme="black-friday"] .sim-cinematic-hero,
body[data-site-theme="black-friday"] .sim-model-comparison,
body[data-site-theme="black-friday"] #vantagens article,
body[data-site-theme="black-friday"] #localizacao article,
body[data-site-theme="black-friday"] #contato article {
  border-color: rgba(229, 185, 92, .34) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .36), 0 0 30px rgba(229, 185, 92, .055), inset 0 1px rgba(255, 237, 191, .08) !important;
}
body[data-site-theme="black-friday"] #featured-product-price {
  color: #171208 !important;
  background: linear-gradient(135deg, #ffe9a6, #d7a844) !important;
  box-shadow: 0 6px 20px rgba(210, 160, 65, .25);
}
body[data-site-theme="black-friday"] .featured-product-card > div:first-of-type {
  background-color: rgba(229, 185, 92, .1) !important;
}
body[data-site-theme="black-friday"] .hero-promotion-heading strong,
body[data-site-theme="black-friday"] #inicio .hero-feature-card > .featured-product-card > div:first-of-type span:first-child {
  color: var(--bf-gold-light) !important;
}
body[data-site-theme="black-friday"] #produtos .product-card,
body[data-site-theme="black-friday"] #produtos article {
  border-color: rgba(229, 185, 92, .22) !important;
}
body[data-site-theme="black-friday"] #simulador {
  background-color: #090b0d !important;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(168, 116, 32, .13), transparent 52%);
}
body[data-site-theme="black-friday"] #simulador .sim-eyebrow,
body[data-site-theme="black-friday"] #vantagens .text-emerald-600,
body[data-site-theme="black-friday"] #localizacao .text-emerald-600,
body[data-site-theme="black-friday"] #contato .text-emerald-600 { color: var(--bf-gold-light) !important; }
body[data-site-theme="black-friday"] footer { border-top-color: rgba(229, 185, 92, .24) !important; }

@keyframes bf-gold-reflection-sweep {
  0%, 15% { transform: translateX(-180%) skewX(-22deg); opacity: 0; }
  27% { opacity: .8; }
  58% { transform: translateX(390%) skewX(-22deg); opacity: .58; }
  59%, 100% { transform: translateX(390%) skewX(-22deg); opacity: 0; }
}
@keyframes bf-gold-text-reflection {
  0% { background-position: 150% 50%; }
  100% { background-position: -80% 50%; }
}

body[data-site-theme="black-friday"] .simulator-reflection::after {
  background: linear-gradient(90deg, transparent, rgba(255, 225, 153, .96), rgba(255, 248, 220, .76), transparent) !important;
  animation: bf-gold-reflection-sweep 1.5s ease-in-out infinite !important;
}
body[data-site-theme="black-friday"] .sim-hero-number::before,
body[data-site-theme="black-friday"] .sim-save-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -35%;
  bottom: -35%;
  left: -38%;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 220, 137, .1) 18%, rgba(255, 236, 185, .72) 50%, rgba(255, 218, 124, .18) 78%, transparent);
  filter: blur(2px);
  transform: translateX(-180%) skewX(-22deg);
  animation: bf-gold-reflection-sweep 1.5s ease-in-out infinite;
}
body[data-site-theme="black-friday"] #sim-hero-annual,
body[data-site-theme="black-friday"] #sim-monthly-savings,
body[data-site-theme="black-friday"] #res-yearly-savings {
  color: #f3d078 !important;
  background: linear-gradient(105deg, #d4a33f 0%, #fff1bd 24%, #e7bd64 43%, #fff8df 54%, #c5902e 74%, #ffe8a0 100%);
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(243, 208, 120, .2) !important;
  animation: bf-gold-text-reflection 1.5s linear infinite;
}

@media (max-width: 640px) {
  .bf-campaign-bar { min-height: 58px; gap: 7px; padding: 9px 7px; font-size: 10px; letter-spacing: .01em; }
  .bf-campaign-bar strong { font-size: 11px; }
  .bf-campaign-bar time { font-size: 16px; }
  body[data-site-theme="black-friday"] .hero-layout { padding-top: 96px; }
  body[data-site-theme="black-friday"] .hero-layout::before { top: 0; left: 0; width: 100%; font-size: clamp(43px, 12vw, 62px); }
}
@media (prefers-reduced-motion: reduce) {
  .bf-campaign-bar, .bf-campaign-bar * { scroll-behavior: auto !important; }
  body[data-site-theme="black-friday"] .simulator-reflection::after,
  body[data-site-theme="black-friday"] .sim-hero-number::before,
  body[data-site-theme="black-friday"] .sim-save-card::before,
  body[data-site-theme="black-friday"] #sim-hero-annual,
  body[data-site-theme="black-friday"] #sim-monthly-savings,
  body[data-site-theme="black-friday"] #res-yearly-savings { animation: none !important; }
}

/* No tema Black Friday, o dourado substitui o verde nos elementos da interface. */
body[data-site-theme="black-friday"] [class*="text-emerald-"],
body[data-site-theme="black-friday"] [class*="text-lime-"] { color: var(--bf-gold-light) !important; }
body[data-site-theme="black-friday"] [class*="hover:text-emerald-"]:hover,
body[data-site-theme="black-friday"] [class*="hover:text-lime-"]:hover { color: #fff1c1 !important; }

body[data-site-theme="black-friday"] [class~="bg-emerald-400"],
body[data-site-theme="black-friday"] [class~="bg-emerald-500"],
body[data-site-theme="black-friday"] [class~="bg-emerald-600"],
body[data-site-theme="black-friday"] [class~="bg-emerald-700"] {
  background-color: #d4aa50 !important;
}
body[data-site-theme="black-friday"] [class*="hover:bg-emerald-"]:hover,
body[data-site-theme="black-friday"] [class*="hover:bg-lime-"]:hover { background-color: #efca72 !important; }
body[data-site-theme="black-friday"] [class*="bg-emerald-500/"],
body[data-site-theme="black-friday"] [class*="bg-emerald-600/"],
body[data-site-theme="black-friday"] [class*="bg-emerald-400/"] { background-color: rgba(212, 170, 80, .13) !important; }

body[data-site-theme="black-friday"] [class*="border-emerald-"] { border-color: rgba(229, 185, 92, .48) !important; }
body[data-site-theme="black-friday"] [class*="hover:border-emerald-"]:hover { border-color: #f3d078 !important; }
body[data-site-theme="black-friday"] [class*="shadow-emerald-"] { --tw-shadow-color: rgba(210, 164, 66, .24) !important; }
body[data-site-theme="black-friday"] [class*="from-emerald-"] { --tw-gradient-from: #d4aa50 var(--tw-gradient-from-position) !important; --tw-gradient-to: rgb(212 170 80 / 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
body[data-site-theme="black-friday"] [class*="to-emerald-"],
body[data-site-theme="black-friday"] [class*="to-lime-"] { --tw-gradient-to: #f3d078 var(--tw-gradient-to-position) !important; }

body[data-site-theme="black-friday"] .logo-frame img {
  filter: sepia(.82) saturate(1.65) hue-rotate(350deg) drop-shadow(0 0 12px rgba(243, 208, 120, .24));
}
body[data-site-theme="black-friday"] .sim-cinematic-hero:before {
  background: linear-gradient(90deg, transparent, rgba(229, 185, 92, .18), #d4aa50, rgba(255, 231, 161, .55), transparent) !important;
  filter: drop-shadow(0 0 12px rgba(229, 185, 92, .7)) !important;
}
body[data-site-theme="black-friday"] .sim-hero-number {
  border-color: rgba(229, 185, 92, .42) !important;
  background: linear-gradient(145deg, rgba(48, 36, 16, .74), rgba(14, 17, 22, .94)) !important;
  box-shadow: inset 0 0 36px rgba(229, 185, 92, .09), 0 18px 55px rgba(0, 0, 0, .4) !important;
}
body[data-site-theme="black-friday"] .sim-hero-number span,
body[data-site-theme="black-friday"] .sim-panel-title i,
body[data-site-theme="black-friday"] .sim-control-head strong:not(.sim-gas-value),
body[data-site-theme="black-friday"] .sim-save-label,
body[data-site-theme="black-friday"] .sim-cost-electric strong,
body[data-site-theme="black-friday"] .sim-annual-cost-heading strong i,
body[data-site-theme="black-friday"] .sim-annual-cost-total span,
body[data-site-theme="black-friday"] .sim-annual-cost-total strong,
body[data-site-theme="black-friday"] .sim-spend-electric-dot,
body[data-site-theme="black-friday"] .sim-spend-electric-fill { color: var(--bf-gold-light) !important; }
body[data-site-theme="black-friday"] .sim-orbit {
  border-color: rgba(229, 185, 92, .3) !important;
  box-shadow: 0 0 0 13px rgba(229, 185, 92, .07), 0 0 0 27px rgba(229, 185, 92, .035) !important;
}
body[data-site-theme="black-friday"] .sim-orbit:before,
body[data-site-theme="black-friday"] .sim-orbit:after { border-color: rgba(229, 185, 92, .42) !important; }
body[data-site-theme="black-friday"] .sim-orbit i,
body[data-site-theme="black-friday"] .sim-live-dot { color: #ffe7a1 !important; background-color: #d4aa50 !important; box-shadow: 0 0 13px rgba(229, 185, 92, .78) !important; }
body[data-site-theme="black-friday"] .sim-range:not(#sim-gas-slider) {
  background: linear-gradient(90deg, #d4aa50 0%, #d4aa50 var(--sim-fill,40%), #33445a var(--sim-fill,40%), #33445a 100%) !important;
}
body[data-site-theme="black-friday"] .sim-range:not(#sim-gas-slider)::-webkit-slider-thumb {
  border-color: #d4aa50 !important;
  box-shadow: 0 0 0 5px rgba(229, 185, 92, .18) !important;
}
body[data-site-theme="black-friday"] .sim-save-card {
  border-color: rgba(229, 185, 92, .55) !important;
  background: radial-gradient(ellipse at 10% 0, rgba(169, 118, 34, .36), transparent 68%), linear-gradient(145deg, #282112, #0a1118) !important;
  box-shadow: inset 0 0 40px rgba(229, 185, 92, .08) !important;
}
body[data-site-theme="black-friday"] .sim-save-annual { border-top-color: rgba(229, 185, 92, .38) !important; }
body[data-site-theme="black-friday"] .sim-annual-cost-card,
body[data-site-theme="black-friday"] .sim-annual-cost-total {
  border-color: rgba(229, 185, 92, .38) !important;
  background: linear-gradient(135deg, rgba(83, 61, 23, .34), rgba(10, 22, 36, .82)) !important;
}
body[data-site-theme="black-friday"] .sim-spend-electric-dot,
body[data-site-theme="black-friday"] .sim-spend-electric-fill { background: linear-gradient(90deg, #c69334, #ffe29a) !important; box-shadow: 0 0 12px rgba(229, 185, 92, .55) !important; }
body[data-site-theme="black-friday"] .whatsapp-header-pulse,
body[data-site-theme="black-friday"] .social-header-pulse,
body[data-site-theme="black-friday"] .payment-option-pulse { animation: none !important; }
body[data-site-theme="black-friday"] .footer-lightning-mark { background: linear-gradient(135deg, #f3d078, #a97622) !important; color: #171208 !important; }

@media (prefers-reduced-motion: reduce) {
  body[data-site-theme="black-friday"] .sim-cinematic-hero:before { animation: none !important; }
}
