/* ==========================================================================
   UROPED — Tema de Natal (vermelho)
   Ativado automaticamente por js/natal.js de 1º/dez a 6/jan (classe html.natal).
   Fora dessa época nada aqui tem efeito. Para desligar antes: remova as duas
   linhas "natal" das páginas, ou abra o site com ?natal=0 para testar.
   ========================================================================== */

html.natal {
  --primary: #A8192C;
  --primary-dark: #73101D;
  --primary-light: #FDEDEF;
  --primary-accent: #D0384B;

  --coral: #8C1D40;
  --coral-dark: #62122C;
  --coral-light: #FBEAF0;

  --border-light: #F1DFE2;
  --bg-page: #FFFBFA;
  --bg-surface: #FBF3F2;

  --shadow-subtle: 0 2px 10px rgba(168, 25, 44, 0.05);
  --shadow-card: 0 8px 24px rgba(168, 25, 44, 0.08);
  --shadow-hover: 0 14px 34px rgba(168, 25, 44, 0.14);

  --natal-ouro: #D9A520;
  --natal-verde: #1E6B40;
}

/* Faixas e destaques com cor fixa no CSS original */
html.natal .hero-wrapper,
html.natal .hero-wrapper[style] {
  background: linear-gradient(135deg, #5E0C17 0%, #A8192C 55%, #C4283C 100%) !important;
}
html.natal .spec-card-header.urologia { background: linear-gradient(135deg, #73101D 0%, #A8192C 100%); }
html.natal .spec-card-header.pediatria { background: linear-gradient(135deg, #62122C 0%, #8C1D40 100%); }
html.natal .topbar,
html.natal .topbar[style] { background-color: #5E0C17 !important; }
html.natal .hero-wrapper [style*="#D6F1F5"],
html.natal .hero-wrapper [style*="#FCE8E2"] { color: #FFE3E7 !important; }

/* Assistente e perguntas frequentes */
html.natal .ia-root { --ia-navy: #8E1526; }
html.natal .faq { background: #FBF3F2; }
html.natal .faq h2,
html.natal .faq summary { color: #73101D; }
html.natal .faq summary::after { color: #A8192C; }
html.natal .faq details { border-color: #F1DFE2; }
html.natal .faq-perguntar { background: #A8192C; }
html.natal .faq-perguntar:hover { background: #73101D; }

/* ---------- Varal de luzes no topo ---------- */
.natal-luzes {
  position: relative;
  height: 22px;
  overflow: hidden;
  background: #5E0C17;
  pointer-events: none;
}
.natal-luzes::before {            /* o fio */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 4px;
  border-top: 2px solid #2b0a0f;
}
.natal-luzes ul {
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 0 6px;
  list-style: none;
}
.natal-luzes li {
  position: relative;
  width: 8px; height: 13px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--cor);
  box-shadow: 0 2px 10px 2px var(--cor);
  animation: natal-piscar 1.6s ease-in-out infinite;
}
.natal-luzes li::before {          /* bocal */
  content: "";
  position: absolute;
  top: -3px; left: 1px;
  width: 6px; height: 4px;
  border-radius: 2px;
  background: #3a3a3a;
}
.natal-luzes li:nth-child(4n+1) { --cor: #FF3B3B; }
.natal-luzes li:nth-child(4n+2) { --cor: #FFD23F; animation-delay: .4s; }
.natal-luzes li:nth-child(4n+3) { --cor: #3BD16F; animation-delay: .8s; }
.natal-luzes li:nth-child(4n+4) { --cor: #4FA3FF; animation-delay: 1.2s; }
@keyframes natal-piscar {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; box-shadow: 0 2px 4px 0 var(--cor); }
}

/* ---------- Faixa de Boas Festas ---------- */
.natal-faixa {
  display: block;
  padding: 10px 44px 10px 44px;
  position: relative;
  background: linear-gradient(90deg, #73101D, #A8192C, #73101D);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  border-bottom: 3px solid var(--natal-ouro);
}
.natal-faixa span { color: #FFE9A8; }
.natal-faixa button {
  position: absolute;
  right: 10px; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.natal-faixa button:hover { background: rgba(255,255,255,.3); }

/* ---------- Neve leve ---------- */
.natal-neve {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 2147482000;
}
.natal-neve i {
  position: absolute;
  top: -20px;
  color: #fff;
  font-style: normal;
  text-shadow: 0 0 3px rgba(150, 20, 40, .45);
  user-select: none;
  animation: natal-cair linear infinite;
}
@keyframes natal-cair {
  0%   { transform: translate(0, -20px) rotate(0deg); opacity: 0; }
  10%  { opacity: .9; }
  100% { transform: translate(var(--deriva, 30px), 105vh) rotate(240deg); opacity: .2; }
}

@media (max-width: 640px) {
  .natal-faixa { font-size: 13px; }
  .natal-luzes li:nth-child(n+19) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .natal-neve { display: none; }
  .natal-luzes li { animation: none; }
}
