/* Temas comemorativos do SITE (mesmo padrão da página de agendamento): OUTUBRO ROSA (01 a 22/10/2026) e HALLOWEEN (23 a 31/10/2026).
   Tudo aqui só vale quando o <html> tem a classe do tema (tema-rosa / tema-halloween), que é colocada por um script no <head> pela data de Brasília
   (prévia em qualquer data: ?rosa=1 e ?halloween=1). Só em português: em espanhol/inglês as classes saem e o site fica normal.
   Os elementos (fita, faixa, teia, bichos…) são criados por /tema-sazonal.js. Fora da época nada disso aparece. */

/* ---------- Outubro Rosa ---------- */
.rosa-fita,
.rosa-faixa,
.hall-faixa,
.hall-sangue,
.hall-teia,
.hall-aranha,
.hall-bichos {
  display: none;
}
html.tema-rosa .rosa-fita {
  display: flex;
  height: 6px;
}
html.tema-rosa .rosa-fita span {
  flex: 1;
}
html.tema-rosa .rosa-faixa {
  display: block;
  background: linear-gradient(135deg, #fdeef4 0%, #f7f0e3 100%);
  border-bottom: 1px solid #f3c3d6;
}
.rosa-faixa .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  text-align: center;
  padding-top: 14px;
  padding-bottom: 14px;
}
.rosa-faixa h2 {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 600;
  margin: 0;
  color: #a3154d;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rosa-faixa p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 64ch;
  line-height: 1.5;
}
.rosa-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: #c2185b;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------- Halloween: o site vira "noite de terror" ---------- */
html.tema-halloween {
  --ink: #f6e7e7;
  --ink-soft: #dbb7b7;
  --ink-faint: #a67b7e;
  --rose: #c1121f;
  --rose-deep: #ff4d58;
  --rose-wash: #2c0c11;
  --rose-line: #6a1a23;
  --gold: #ff9a2e;
  --gold-wash: #2e1809;
  --paper: #0d0507;
  --card: #1a0a0d;
  --line: #44161c;
}
html.tema-halloween body {
  background: radial-gradient(900px 520px at 50% -8%, rgba(193, 18, 31, 0.42), transparent 62%),
    radial-gradient(640px 420px at 100% 100%, rgba(120, 30, 160, 0.28), transparent 62%),
    radial-gradient(520px 360px at 0% 100%, rgba(255, 122, 0, 0.12), transparent 62%), #0d0507;
  background-attachment: fixed;
  color: var(--ink);
}
html.tema-halloween .nav {
  background: rgba(13, 5, 7, 0.9);
  border-bottom-color: #5a1520;
}
html.tema-halloween .brand-word {
  color: #fff;
}
html.tema-halloween .eyebrow,
html.tema-halloween .hero h1 em {
  color: var(--rose-deep);
}
html.tema-halloween .btn-primary {
  background: #c1121f;
  color: #fff;
  box-shadow: 0 4px 18px rgba(193, 18, 31, 0.55);
}
html.tema-halloween .btn-primary:hover {
  background: #e01626;
}
html.tema-halloween .btn-ghost {
  color: var(--ink);
}
html.tema-halloween .curso-card.featured {
  background: linear-gradient(175deg, #2a0e12 0%, #1a0a0d 100%);
}
html.tema-halloween .hero-figure .tag,
html.tema-halloween .sobre-figure .tag {
  background: rgba(13, 5, 7, 0.86);
  color: #fff;
}
html.tema-halloween .curso-badge.dupla {
  color: #ffb36b;
}
/* o sangue escorre por cima do começo da página: dá espaço pro texto do topo não ficar riscado. "body" no seletor ganha das regras
   "html.novo-aovivo .hero" do site, que vêm depois e tiravam esse espaço (o sangue cobria a 1ª linha). */
html.tema-halloween body .hero {
  padding-top: 140px;
}
/* ícone do Instagram no menu escuro (no vidro claro ele virava um quadrado cinza) */
html.tema-halloween body .nav-ig {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 110, 120, 0.35);
  box-shadow: none;
  color: #ff4d58;
}
/* mapa do Google no escuro (o iframe não aceita tema: inverte as cores e volta o tom) */
html.tema-halloween .map-wrap iframe {
  filter: invert(0.9) hue-rotate(180deg) saturate(0.6) brightness(0.9);
}
html.tema-halloween .svc-card-chip {
  background: rgba(13, 5, 7, 0.88);
  color: #fff;
}
html.tema-halloween .barra-fixa {
  background: rgba(13, 5, 7, 0.95);
  border-top-color: #5a1520;
}
html.tema-halloween .barra-wa {
  background: transparent;
  color: #6fd08c;
  border-color: #6fd08c;
}
html.tema-halloween .ao-vivo {
  background: linear-gradient(120deg, #1a0a0d 0%, #2a0e12 100%);
}
html.tema-halloween .svc-row:hover {
  background: rgba(193, 18, 31, 0.1);
}

/* "liquid glass" no escuro (quando o interruptor vidro está ligado) */
html.tema-halloween.novo-vidro .nav {
  background: linear-gradient(180deg, rgba(40, 8, 12, 0.7), rgba(13, 5, 7, 0.5));
  border-bottom-color: rgba(255, 90, 100, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 30px -22px rgba(0, 0, 0, 0.9);
}
html.tema-halloween.novo-vidro .svc-card-chip,
html.tema-halloween.novo-vidro .hero-figure .tag,
html.tema-halloween.novo-vidro .sobre-figure .tag {
  background: linear-gradient(135deg, rgba(60, 12, 18, 0.62), rgba(13, 5, 7, 0.4));
  border-color: rgba(255, 120, 130, 0.35);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 20px -10px rgba(0, 0, 0, 0.8);
}
html.tema-halloween.novo-vidro .ao-vivo {
  border-color: rgba(255, 90, 100, 0.35);
  background: radial-gradient(260px 170px at 10% 18%, rgba(193, 18, 31, 0.55), transparent 70%),
    radial-gradient(280px 200px at 92% 85%, rgba(120, 30, 160, 0.4), transparent 70%), radial-gradient(320px 220px at 58% -10%, rgba(255, 122, 0, 0.22), transparent 70%), #1a0609;
}
html.tema-halloween.novo-vidro .ao-vivo::before {
  background: linear-gradient(135deg, rgba(70, 14, 22, 0.55), rgba(18, 5, 8, 0.4));
  border-color: rgba(255, 110, 120, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
html.tema-halloween.novo-vidro .ao-vivo::after {
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0) 62%);
}
html.tema-halloween.novo-vidro .ao-vivo-dia {
  background: linear-gradient(135deg, rgba(90, 18, 28, 0.55), rgba(30, 8, 12, 0.45));
  border-color: rgba(255, 120, 130, 0.3);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
html.tema-halloween.novo-vidro .barra-fixa {
  background: linear-gradient(135deg, rgba(60, 12, 18, 0.7), rgba(13, 5, 7, 0.55));
  border-color: rgba(255, 120, 130, 0.35);
}
/* sangue escorrendo da faixa do Halloween por cima do começo da página */
html.tema-halloween .hall-sangue {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 120px;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22240%22%20height%3D%22120%22%20viewBox%3D%220%200%20240%20120%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22g%22%20gradientUnits%3D%22userSpaceOnUse%22%20x1%3D%220%22%20y1%3D%220%22%20x2%3D%220%22%20y2%3D%22120%22%3E%3Cstop%20offset%3D%220%22%20stop-color%3D%22%23c0111e%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%237a0812%22%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M0%200H240V16Q220%2027%20200%2016T160%2016T120%2016T80%2016T40%2016T0%2016Z%22%20fill%3D%22url(%23g)%22%2F%3E%3Cpath%20d%3D%22M12%2012V46A4%204%200%200%200%2020%2046V12Z%22%20fill%3D%22%23a30f1b%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2251%22%20r%3D%226.2%22%20fill%3D%22%23a30f1b%22%2F%3E%3Cpath%20d%3D%22M14.4%2014V42%22%20stroke%3D%22%23ec4652%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.75%22%2F%3E%3Cpath%20d%3D%22M46%2012V84A4%204%200%200%200%2054%2084V12Z%22%20fill%3D%22%23a30f1b%22%2F%3E%3Ccircle%20cx%3D%2250%22%20cy%3D%2289%22%20r%3D%226.2%22%20fill%3D%22%23a30f1b%22%2F%3E%3Cpath%20d%3D%22M48.4%2014V80%22%20stroke%3D%22%23ec4652%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.75%22%2F%3E%3Cpath%20d%3D%22M88%2012V36A4%204%200%200%200%2096%2036V12Z%22%20fill%3D%22%23a30f1b%22%2F%3E%3Ccircle%20cx%3D%2292%22%20cy%3D%2241%22%20r%3D%226.2%22%20fill%3D%22%23a30f1b%22%2F%3E%3Cpath%20d%3D%22M90.4%2014V32%22%20stroke%3D%22%23ec4652%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.75%22%2F%3E%3Cpath%20d%3D%22M122%2012V104A4%204%200%200%200%20130%20104V12Z%22%20fill%3D%22%23a30f1b%22%2F%3E%3Ccircle%20cx%3D%22126%22%20cy%3D%22109%22%20r%3D%226.2%22%20fill%3D%22%23a30f1b%22%2F%3E%3Cpath%20d%3D%22M124.4%2014V100%22%20stroke%3D%22%23ec4652%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.75%22%2F%3E%3Cpath%20d%3D%22M164%2012V60A4%204%200%200%200%20172%2060V12Z%22%20fill%3D%22%23a30f1b%22%2F%3E%3Ccircle%20cx%3D%22168%22%20cy%3D%2265%22%20r%3D%226.2%22%20fill%3D%22%23a30f1b%22%2F%3E%3Cpath%20d%3D%22M166.4%2014V56%22%20stroke%3D%22%23ec4652%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.75%22%2F%3E%3Cpath%20d%3D%22M204%2012V40A4%204%200%200%200%20212%2040V12Z%22%20fill%3D%22%23a30f1b%22%2F%3E%3Ccircle%20cx%3D%22208%22%20cy%3D%2245%22%20r%3D%226.2%22%20fill%3D%22%23a30f1b%22%2F%3E%3Cpath%20d%3D%22M206.4%2014V36%22%20stroke%3D%22%23ec4652%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20opacity%3D%22.75%22%2F%3E%3C%2Fsvg%3E") repeat-x top left / 240px 120px;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.7));
  pointer-events: none;
  transform-origin: top;
  animation: hall-gotejar 8s ease-in-out infinite alternate;
}
@keyframes hall-gotejar {
  from {
    transform: scaleY(0.82);
  }
  to {
    transform: scaleY(1.1);
  }
}

/* faixa do Halloween (no lugar da faixa rosa) */
html.tema-halloween .hall-faixa {
  display: block;
  position: relative;
  z-index: 30;
  background: linear-gradient(160deg, rgba(193, 18, 31, 0.34) 0%, rgba(18, 4, 7, 0.95) 100%);
  border-bottom: 1px solid #7a1520;
  box-shadow: inset 0 0 34px rgba(193, 18, 31, 0.28);
}
.hall-faixa .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  flex-wrap: wrap;
  text-align: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.hall-faixa .ico {
  font-size: 24px;
  letter-spacing: 4px;
}
.hall-faixa h2 {
  font-family: 'Fraunces', serif;
  font-size: 21px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(255, 40, 50, 0.85);
  animation: hall-pisca 9s linear infinite;
}
@keyframes hall-pisca {
  0%,
  91%,
  100% {
    opacity: 1;
  }
  92% {
    opacity: 0.5;
  }
  93% {
    opacity: 1;
  }
  95% {
    opacity: 0.35;
  }
  96% {
    opacity: 1;
  }
}
.hall-faixa p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.5;
}
.hall-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: #fff;
  background: #c1121f;
  border: 1px solid #ff4d58;
  padding: 8px 16px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(255, 40, 50, 0.5);
}
.hall-tag:hover {
  background: #e01626;
}

/* teia no canto de cima e aranha pendurada num fio (dentro do topo da página) */
html.tema-halloween .hall-teia {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  color: rgba(255, 235, 235, 0.38);
  pointer-events: none;
}
html.tema-halloween .hall-aranha {
  position: absolute;
  top: 0;
  right: clamp(16px, 6vw, 90px);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #c9a9a9;
  pointer-events: none;
  transform-origin: top center;
  animation: hall-balanca 5s ease-in-out infinite alternate;
}
.hall-aranha .fio {
  width: 1px;
  height: 46px;
  background: rgba(255, 235, 235, 0.55);
}
@keyframes hall-balanca {
  from {
    transform: rotate(-5deg);
  }
  to {
    transform: rotate(5deg);
  }
}

/* bichos que se mexem: aranha atravessando a tela e morcegos batendo asa (por cima do conteúdo, abaixo do menu) */
html.tema-halloween .hall-bichos {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 35;
  pointer-events: none;
  overflow: hidden;
}
/* a aranha anda pela tela toda e tece teia nos cantos: quem move é o tema-sazonal.js (aranhaTecela); as teias são desenhadas no canvas */
.hall-aranha-andando {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-140px, -140px);
  transform-origin: 43px 32px;
  will-change: transform;
  filter: drop-shadow(0 0 6px rgba(193, 18, 31, 0.55));
}
.hall-teias {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hall-aranha-andando.parada .patas-a,
.hall-aranha-andando.parada .patas-b {
  animation-play-state: paused;
}
.hall-aranha-andando .patas-a {
  transform-origin: 34px 24px;
  animation: hall-patas 0.2s ease-in-out infinite alternate;
}
.hall-aranha-andando .patas-b {
  transform-origin: 34px 24px;
  animation: hall-patas 0.2s ease-in-out infinite alternate-reverse;
}
@keyframes hall-patas {
  from {
    transform: rotate(-12deg);
  }
  to {
    transform: rotate(12deg);
  }
}
.hall-morcego {
  position: absolute;
  left: 0;
}
.hall-morcego.m1 {
  top: 14%;
  animation: hall-voar-ida 17s linear infinite;
}
.hall-morcego.m2 {
  top: 30%;
  animation: hall-voar-volta 23s linear infinite 6s;
}
.hall-morcego .bicho {
  animation: hall-ondular 1.7s ease-in-out infinite alternate;
}
.hall-morcego .asas {
  transform-origin: 30px 16px;
  animation: hall-bater 0.28s ease-in-out infinite alternate;
}
@keyframes hall-voar-ida {
  from {
    transform: translateX(-80px);
  }
  to {
    transform: translateX(calc(100vw + 80px));
  }
}
@keyframes hall-voar-volta {
  from {
    transform: translateX(calc(100vw + 80px));
  }
  to {
    transform: translateX(-80px);
  }
}
@keyframes hall-ondular {
  from {
    transform: translateY(-16px);
  }
  to {
    transform: translateY(16px);
  }
}
@keyframes hall-bater {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(0.45);
  }
}

/* no Halloween o logo do menu vira uma abóbora com uma vela acesa dentro (a luz tremula pelos olhos e pela boca) */
.hall-abobora {
  display: none;
}
html.tema-halloween .nav-marca img,
html.tema-halloween .brand img {
  display: none;
}
html.tema-halloween .hall-abobora {
  display: block;
  flex: none;
  width: 38px;
  height: 38px;
  overflow: visible;
  animation: hall-vela-brilho 3.1s ease-in-out infinite;
}
.hall-abobora .luz {
  animation: hall-vela 2.3s linear infinite;
}
.hall-abobora .chama {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: hall-chama 0.75s ease-in-out infinite alternate;
}
@keyframes hall-vela {
  0%, 100% { opacity: 0.86; }
  9% { opacity: 1; }
  17% { opacity: 0.74; }
  31% { opacity: 0.96; }
  44% { opacity: 0.8; }
  58% { opacity: 1; }
  71% { opacity: 0.84; }
  86% { opacity: 0.97; }
}
@keyframes hall-vela-brilho {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 140, 30, 0.45)); }
  40% { filter: drop-shadow(0 0 9px rgba(255, 150, 40, 0.75)); }
  65% { filter: drop-shadow(0 0 5px rgba(255, 130, 20, 0.5)); }
}
@keyframes hall-chama {
  from { transform: scaleY(0.82) skewX(-5deg); }
  to { transform: scaleY(1.12) skewX(5deg); }
}

/* quem pede "reduzir animações" vê tudo parado (e sem os bichos andando) */
@media (prefers-reduced-motion: reduce) {
  .hall-sangue,
  .hall-aranha,
  .hall-faixa h2,
  .hall-aranha-andando,
  .hall-aranha-andando .patas-a,
  .hall-aranha-andando .patas-b,
  .hall-morcego,
  .hall-morcego .bicho,
  .hall-morcego .asas,
  .hall-abobora,
  .hall-abobora .luz,
  .hall-abobora .chama {
    animation: none !important;
  }
  html.tema-halloween .hall-bichos {
    display: none;
  }
}
@media (max-width: 560px) {
  .rosa-faixa h2,
  .hall-faixa h2 {
    font-size: 17px;
  }
  html.tema-halloween .hall-teia {
    width: 76px;
    height: 76px;
  }
  html.tema-halloween .hall-abobora {
    width: 34px;
    height: 34px;
  }
}
