@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap");

/* ============================================================
   BLACK NOVEMBER DA COMUNIDADE — Comunidade Revalida
   Seção hero "BLACK NOVEMBER" (BLACK sólido + NOVEMBER vazado)
   com a foto das médicas no topo e holofote neon, acima do hero
   atual + detalhes de Black Friday na seção de planos (#planos).
   Baseado nos modelos da campanha. Preview isolado.
   ============================================================ */

:root {
  --bf-neon: #7fb3ff;        /* azul claro neon (letras vazadas) */
  --bf-neon-2: #33d1ff;      /* ciano neon (brilhos/holofote) */
  --bf-ink-1: #0a1324;
  --bf-ink-2: #0d1b33;
  --bf-ink-3: #101d38;
}

/* ============================================================
   SEÇÃO HERO
   ============================================================ */
.bf-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 13vh, 150px) 0 clamp(50px, 7vh, 80px);
  text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.016) 0 2px, transparent 2px 28px),
    radial-gradient(75% 70% at 50% 0%, rgba(51, 209, 255, 0.16), transparent 55%),
    radial-gradient(120% 120% at 50% 120%, rgba(91, 140, 255, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bf-ink-1) 0%, var(--bf-ink-2) 55%, var(--bf-ink-3) 100%);
  border-bottom: 1px solid rgba(51, 209, 255, 0.22);
}

/* holofote suave descendo do topo */
.bf-hero__spot {
  position: absolute;
  top: -12%;
  left: 50%;
  width: min(640px, 92vw);
  height: 620px;
  transform: translateX(-50%);
  /* brilho radial sem bordas — não forma quadrado ao animar */
  background: radial-gradient(ellipse 44% 58% at 50% 16%,
    rgba(190, 225, 255, 0.22) 0%,
    rgba(51, 209, 255, 0.06) 42%,
    transparent 70%);
  filter: blur(6px);
  mix-blend-mode: screen;
  animation: bf-glow 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes bf-glow {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.04); }
}

/* pílula de data (1º a 30/11) */
.bf-hero__pill {
  position: absolute;
  top: 96px;
  right: max(24px, 4vw);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #04121f;
  background: linear-gradient(90deg, #eaf4ff, #c4def8);
  box-shadow: 0 0 20px rgba(51, 209, 255, 0.4);
}

/* ---------- PÔSTER: foto + letras ---------- */
.bf-hero__poster {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bf-rise 1.3s ease 0.15s both;
}
@keyframes bf-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bf-hero__media {
  position: relative;
  width: min(330px, 62vw);
}
.bf-hero__media::before {
  content: "";
  position: absolute;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 209, 255, 0.32), rgba(127, 179, 255, 0.12) 46%, transparent 70%);
  filter: blur(10px);
  animation: bf-halo 5s ease-in-out infinite;
  z-index: -1;
}
@keyframes bf-halo {
  0%, 100% { transform: translateX(-50%) scale(0.96); opacity: 0.8; }
  50%      { transform: translateX(-50%) scale(1.05); opacity: 1; }
}
.bf-hero__photo {
  width: 100%;
  display: block;
  filter: drop-shadow(0 16px 38px rgba(0, 0, 0, 0.5));
}

/* traços neon decorativos sobre a foto */
.bf-hero__stroke {
  position: absolute;
  border-radius: 999px;
  z-index: 2;
  pointer-events: none;
}
.bf-hero__stroke--a {
  width: 190px; height: 12px;
  top: 24%; left: -4%;
  background: linear-gradient(90deg, transparent, var(--bf-neon-2));
  box-shadow: 0 0 18px rgba(51, 209, 255, 0.7);
  transform: rotate(-22deg);
}
.bf-hero__stroke--b {
  width: 150px; height: 9px;
  top: 46%; right: -3%;
  background: linear-gradient(90deg, var(--bf-neon), transparent);
  box-shadow: 0 0 16px rgba(127, 179, 255, 0.7);
  transform: rotate(15deg);
}

/* letras BLACK NOVEMBER sobrepostas à base da foto */
.bf-hero__title {
  position: relative;
  z-index: 4;
  margin: clamp(-200px, -13vw, -120px) 0 0;
  font-family: "Archivo Black", "Inter Tight", sans-serif;
  font-weight: 400;   /* Archivo Black já é um peso único bem encorpado */
  font-size: clamp(54px, 12vw, 158px);
  line-height: 0.82;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.bf-hero__title .solid {
  display: block;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5), 0 0 30px rgba(51, 209, 255, 0.25);
}
.bf-hero__title .outline {
  display: inline-block;
  position: relative;
  -webkit-text-stroke: 2px var(--bf-neon);
  text-shadow: 0 0 22px rgba(127, 179, 255, 0.55), 0 0 50px rgba(51, 209, 255, 0.25);
  /* luz neon passando pelas letras (sem duplicar o texto) */
  color: transparent;
  background-image: linear-gradient(110deg,
    transparent 43%,
    rgba(127, 230, 255, 0.95) 50%,
    transparent 57%);
  background-size: 300% 100%;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  animation: bf-sweep-fill 3.4s linear infinite;
}
@keyframes bf-sweep-fill {
  from { background-position: 150% 0; }
  to   { background-position: -150% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-hero__title .outline { animation: none; }
}

/* ---------- AÇÕES ---------- */
.bf-hero__sub {
  margin: 20px 0 0;
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 500;
  color: #c6d3ef;
}
.bf-hero__sub strong { color: #fff; font-weight: 800; }

.bf-hero__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}
.bf-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 16px;
  color: #04121f;
  background: linear-gradient(180deg, #cfe6ff 0%, #8fc0f5 100%);
  padding: 16px 30px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 12px 30px rgba(51, 209, 255, 0.3), 0 0 26px rgba(51, 209, 255, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bf-hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 16px 36px rgba(51, 209, 255, 0.4), 0 0 38px rgba(51, 209, 255, 0.6);
}
.bf-hero__cta svg { width: 18px; height: 18px; }
.bf-hero__deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: #aebfe4;
}
.bf-hero__deadline::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--bf-neon-2);
  box-shadow: 0 0 10px var(--bf-neon-2);
  animation: bf-blink 1.4s ease-in-out infinite;
}
@keyframes bf-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

@media (max-width: 760px) {
  .bf-hero__pill { top: 80px; right: 16px; font-size: 12px; }
  .bf-hero__title { margin-top: -14%; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-hero__spot, .bf-hero__poster, .bf-hero__media::before, .bf-hero__deadline::before { animation: none; }
}

/* ============================================================
   DETALHES BLACK FRIDAY NA SEÇÃO DE PLANOS (#planos)
   ============================================================ */
.bf-plans-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #04121f;
  background: linear-gradient(90deg, #cfe6ff, #8fc0f5);
  box-shadow: 0 0 18px rgba(51, 209, 255, 0.5);
}
.bf-plans-flag::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: #04121f;
}

.bf-price { margin: 4px 0 6px; }
.bf-price__old {
  display: block;
  font-size: 14px;
  color: #8ea3c9;
  margin-bottom: 2px;
}
.bf-price__old s { color: #8ea3c9; }
.bf-price__new {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-weight: 900;
  font-size: 42px;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 22px rgba(51, 209, 255, 0.4);
}
.bf-price__new span { font-size: 22px; vertical-align: 7px; margin-right: 3px; color: var(--bf-neon); }
.bf-price__note {
  display: block;
  font-size: 13px;
  color: #aebfe4;
  margin-top: 4px;
}

/* card em promoção: borda de luz neon animada + fita no canto */
@property --bf-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.bf-card-glow {
  border-color: rgba(51, 209, 255, 0.3) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(51, 209, 255, 0.18) !important;
}
/* anel de luz girando na borda */
.bf-card-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  border-radius: inherit;
  padding: 2px;
  background: conic-gradient(from var(--bf-angle),
    rgba(51, 209, 255, 0) 0deg,
    rgba(51, 209, 255, 0) 190deg,
    #33d1ff 270deg,
    #9becff 315deg,
    rgba(51, 209, 255, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  animation: bf-border-rot 4s linear infinite;
  pointer-events: none;
}
@keyframes bf-border-rot { to { --bf-angle: 360deg; } }

/* fita diagonal no canto superior esquerdo (recortada pelo overflow do card) */
.bf-ribbon {
  position: absolute;
  top: 26px;
  left: -60px;
  z-index: 6;
  width: 220px;
  text-align: center;
  transform: rotate(-45deg);
  font-family: "Inter Tight", sans-serif;
  font-weight: 800;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #04121f;
  background: linear-gradient(90deg, #33d1ff, #9becff);
  padding: 7px 0;
  box-shadow: 0 2px 16px rgba(51, 209, 255, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .bf-card-glow::before { animation: none; }
}
