/* ==========================================================================
   Natal da Solute 2026 — camada de Natal sobre o kit da campanha
   Carregar DEPOIS de bf/black-friday.css. Só troca a identidade visual
   (cores, enfeites) das classes .bf-* e adiciona as peças .nt-*.
   Layout e ajustes específicos de cada página continuam no black-friday.css dela.
   Paleta chapada (sem degradês): vinho escuro, dourado, vermelho natalino, verde do CTA.
   ========================================================================== */

:root {
  /* Nomes "orange/blue/black" mantidos por compatibilidade com o CSS das páginas. */
  --bf-orange: #f2c14e;
  --bf-orange-soft: rgba(242, 193, 78, .12);
  --bf-orange-line: rgba(242, 193, 78, .42);
  --bf-blue: #17924b;
  --bf-black: #12080a;
  --bf-surface: #1e0f13;
  --bf-text: #f6efe6;
  --bf-muted: #c9b8b0;

  --nt-gold: #f2c14e;
  --nt-gold-2: #ffe08a;
  --nt-red: #b3122a;
  --nt-red-deep: #8e0e1a;
  --nt-green: #17924b;
  --nt-wine: #12080a;
  --nt-wine-2: #1e0f13;
  --nt-wine-3: #2a151a;
  /* Mantidas como cor sólida para quem ainda referencia os nomes antigos */
  --nt-gold-grad: #f2c14e;
  --nt-red-grad: #b3122a;
}

/* 1. Faixa superior: vermelha com fio de luzinhas */
.bf-bar {
  background: var(--nt-red-deep) !important;
  color: #fff !important;
  padding-bottom: 21px !important;
  border-bottom: 1px solid var(--nt-gold);
}
.bf-bar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 3px; height: 10px; pointer-events: none;
  background:
    radial-gradient(circle at 12px 5px, #ffe08a 0 3px, transparent 4px) 0 0 / 96px 10px,
    radial-gradient(circle at 36px 5px, #4ade80 0 3px, transparent 4px) 0 0 / 96px 10px,
    radial-gradient(circle at 60px 5px, #fff 0 3px, transparent 4px) 0 0 / 96px 10px,
    radial-gradient(circle at 84px 5px, #ff6b6b 0 3px, transparent 4px) 0 0 / 96px 10px;
  animation: nt-twinkle 1.6s steps(2, jump-none) infinite;
}

/* 2. Selo 30% OFF: etiqueta vermelha com borda dourada */
.bf-hero__logo { filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .45)); }
.bf-off {
  background: var(--nt-red) !important;
  color: #fff !important;
  border: 2px solid var(--nt-gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35) !important;
}
.bf-off strong { color: var(--nt-gold-2) !important; text-shadow: none !important; }
.bf-off small { color: #fff !important; }

/* 3. Fitas: vinho escuro com texto creme, e champanhe fosco com texto vinho */
.bf-tape--dark {
  background: #3d0a13 !important;
  color: #f1e4c8 !important;
  border-block: 1px solid rgba(242, 193, 78, .7) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4) !important;
}
.bf-tape--dark .o { color: var(--nt-gold) !important; }
.bf-tape--orange {
  background: #dcc48a !important;
  color: #3d0a13 !important;
  border-block: 1px solid rgba(61, 10, 19, .25) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .4) !important;
}
.bf-tape--orange .o { color: #7a1020 !important; }

/* 4. CTA: verde sólido com borda dourada e pulso discreto */
.bf-cta {
  border: 2px solid var(--nt-gold) !important;
  background: var(--nt-green) !important;
  background-size: auto !important;
  color: #fff !important;
  text-shadow: none !important;
  animation: bf-cta-pulse 2s ease-out infinite !important;
}
.bf-cta:hover { background: #1aa555 !important; }
.bf-cta::after { display: none !important; }
@keyframes bf-cta-pulse { 0% { box-shadow: 0 0 0 0 rgba(23, 146, 75, .45); } 100% { box-shadow: 0 0 0 14px rgba(23, 146, 75, 0); } }

/* 5. Bloco de preço */
.bf-price {
  background: var(--bf-surface) !important;
  border-color: var(--bf-orange-line) !important;
  color: var(--bf-text);
  box-shadow: none !important;
}
.bf-price::before { /* presente (imagem) no canto do bloco de preço */
  content: ''; position: absolute; top: -34px; right: -10px; width: 64px; height: 70px;
  background: url(natal/presente-240.webp) center / contain no-repeat;
  transform: rotate(10deg); filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .45)); pointer-events: none;
}
@media (max-width: 480px) { .bf-price::before { width: 50px; height: 55px; top: -28px; right: -6px; } }
.bf-price__tag { background: var(--nt-red) !important; color: #fff !important; border: 2px solid var(--nt-gold); }
.bf-price__from s { color: #ff8a8a; }
.bf-price__inst strong { color: var(--bf-orange) !important; text-shadow: none !important; }
.bf-price__save { background: rgba(23, 146, 75, .16) !important; border-color: rgba(74, 222, 128, .45) !important; color: #7ee2a4 !important; }
.bf-price__coupon b { color: var(--bf-orange); }

/* 6. CTA fixo */
.bf-sticky { background: rgba(18, 8, 10, .96) !important; border-top: 1px solid var(--nt-gold) !important; }
.bf-sticky__txt strong:not(.bf-sticky__off) { color: var(--bf-orange); }
.bf-sticky__off { background: var(--nt-red) !important; color: var(--nt-gold-2) !important; border: 1px solid var(--nt-gold); box-shadow: none !important; }

/* 7. Rodapé da campanha */
.bf-foot {
  background: var(--nt-red-deep) !important;
  color: #fff !important;
  border-top: 1px solid var(--nt-gold);
}

@keyframes nt-twinkle { 50% { opacity: .35; } }

/* ==========================================================================
   Peças exclusivas do Natal (.nt-*)
   ========================================================================== */

/* Logo "Feliz Natal" (imagem 3D). Ajuste a largura com --nt-logo-w. */
.nt-logo { display: block; width: min(100%, var(--nt-logo-w, 320px)); height: auto; margin-inline: auto; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .5)); }

/* Papai Noel que espia pelo canto ao rolar (criado pelo natal.js) */
.nt-peek {
  position: fixed; z-index: 85; left: clamp(16px, 5vw, 72px); bottom: calc(120px + env(safe-area-inset-bottom));
  width: clamp(118px, 13vw, 210px); line-height: 0; cursor: pointer;
  transform: translateX(calc(-100% - 90px)) rotate(-14deg); transform-origin: 30% 100%;
  transition: transform .6s cubic-bezier(.34, 1.4, .5, 1);
  pointer-events: none; -webkit-tap-highlight-color: transparent;
}
.nt-peek img { width: 100%; height: auto; display: block; filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .55)); transform-origin: 30% 100%; }
.nt-peek.is-on { transform: translateX(0) rotate(0deg); pointer-events: auto; }
.nt-peek.is-on img { animation: nt-peek-wave 1.1s ease-in-out .55s 3; }
.nt-peek:hover img { filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .55)) brightness(1.06); }
@keyframes nt-peek-wave { 0%, 100% { rotate: 0deg; } 25% { rotate: -6deg; } 75% { rotate: 5deg; } }
@media (max-width: 759px) { .nt-peek { bottom: calc(96px + env(safe-area-inset-bottom)); } }

/* Neve (canvas criado pelo natal.js) */
.nt-snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 80; }

/* Bloco do Papai Noel em vídeo
   <section class="nt-santa"><div class="nt-santa__card">
     <div class="nt-santa__media"><video ...></video></div>
     <div class="nt-santa__body"> título, texto, preço, botão </div>
   </div></section> */
.nt-santa { position: relative; padding: clamp(48px, 7vw, 88px) 16px; background: var(--nt-wine); color: var(--bf-text); }
.nt-santa::before { display: none; }
.nt-santa::after { /* enfeite de pinheiro com laço pendurado no topo do card */
  content: ''; position: absolute; z-index: 3; left: 50%; top: calc(clamp(48px, 7vw, 88px) - 52px);
  width: clamp(220px, 34vw, 360px); aspect-ratio: 960 / 381; transform: translateX(-50%);
  background: url(natal/enfeite-960.webp) center / contain no-repeat;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .5)); pointer-events: none;
}
.nt-santa__card {
  position: relative; max-width: 1080px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; overflow: hidden;
  border-radius: 28px; border: 1px solid var(--bf-orange-line);
  background: var(--nt-wine-2);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.nt-santa__media { position: relative; aspect-ratio: 16 / 10; background: #2a0d12 30% 30% / cover no-repeat; }
.nt-santa__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; display: block; }
.nt-santa__body { position: relative; padding: 26px 22px 30px; text-align: center; }
.nt-santa__title { margin: 0 0 12px; font: 400 clamp(1.9rem, 1.3rem + 2.6vw, 3rem)/1.04 var(--bf-display, Impact, sans-serif); text-transform: uppercase; letter-spacing: .01em; color: #fff; }
.nt-santa__title em { font-style: normal; color: var(--nt-gold); }
.nt-santa__text { margin: 0 auto 18px; max-width: 46ch; color: var(--bf-muted); font-size: 1.02rem; line-height: 1.55; }
.nt-santa__price { margin: 0 0 18px; font-size: 1rem; color: var(--bf-muted); }
.nt-santa__price s { color: #ff8a8a; }
.nt-santa__price strong { display: block; margin: 4px 0 2px; font: 400 clamp(2.2rem, 1.7rem + 2vw, 3rem)/1 var(--bf-display, Impact, sans-serif); color: var(--bf-orange); }
.nt-santa .bf-cta { min-height: 56px; padding: 14px 28px; font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); width: 100%; max-width: 420px; }
@media (min-width: 860px) {
  .nt-santa__card { grid-template-columns: 1.05fr 1fr; align-items: stretch; }
  .nt-santa::after { left: calc(50% - min(1080px, 100% - 32px) * .244); } /* centro da coluna do vídeo */
  .nt-santa__media { aspect-ratio: auto; min-height: 440px; }
  .nt-santa__body { padding: 44px 40px; text-align: left; align-self: center; }
  .nt-santa__text { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .bf-bar::after, .bf-cta { animation: none !important; }
  .nt-snow { display: none; }
}
