/**
 * Site público — visual índigo (todas as páginas .pub-site).
 */

.pub-site .pub-main {
  background:
    radial-gradient(ellipse 90% 55% at 100% -10%, var(--cp-bg-accent), transparent 55%),
    radial-gradient(ellipse 70% 45% at 0% 100%, rgba(124, 58, 237, 0.06), transparent 50%),
    var(--cp-bg);
}

.pub-site .pub-sidebar {
  background: linear-gradient(180deg, var(--cp-surface) 0%, var(--cp-surface-raised) 100%);
  border-color: var(--cp-border-soft);
}

@media (min-width: 900px) {
  .pub-site .pub-sidebar {
    border-right: 1px solid var(--cp-border-soft);
    box-shadow: 4px 0 24px rgba(49, 46, 129, 0.04);
  }
}

.pub-site .pub-brand-app {
  color: var(--cp-accent);
  font-weight: 800;
}

.pub-site .pub-nav-link.is-active {
  font-weight: 700;
}

.pub-site .card,
.pub-site .consulta-calendar-section.card,
.pub-site .escala-paroquial-viewport.card {
  border-radius: 1rem !important;
  border: 1px solid var(--cp-border-soft) !important;
  box-shadow: var(--cp-card-shadow) !important;
}

/* ——— Hero (todas as páginas) ——— */
.pub-site .pub-hero {
  position: relative;
  margin: -0.25rem 0 1.25rem;
  padding: 1.35rem 1.2rem 1.15rem;
  border-radius: 1.25rem;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
  box-shadow: 0 16px 40px rgba(67, 56, 202, 0.28);
}

.pub-site .pub-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.2), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}

.pub-site .pub-hero__inner {
  position: relative;
  z-index: 1;
}

.pub-site .pub-hero__kicker {
  display: inline-flex;
  margin: 0 0 0.45rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.18);
}

.pub-site .pub-hero__title {
  margin: 0;
  font-size: clamp(1.45rem, 4.5vw, 1.95rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pub-site .pub-hero__sub,
.pub-site .pub-hero__period,
.pub-site .consulta-hero-period {
  margin: 0.45rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
}

.pub-site .pub-hero .consulta-hero-period.hidden,
.pub-site .pub-hero__period.hidden {
  display: none;
}

.pub-site .pub-hero__controls {
  position: relative;
  z-index: 1;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.pub-site .pub-hero__controls .label {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
}

.pub-site .pub-hero__controls .input,
.pub-site .pub-hero__controls .pub-cal-period-btn {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
}

.pub-site .pub-hero__controls .input option {
  color: #1e1b4b;
  background: #fff;
}

.pub-site .pub-hero__controls .pub-cal-period-btn:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}

.pub-site .pub-hero__controls .btn-secondary {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pub-site .pub-hero__controls .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

.pub-site .pub-page-main--calendar-only {
  max-width: 46rem;
}

.pub-site .consulta-calendar-section {
  padding: 1.1rem 1.15rem !important;
}

.pub-site .pub-cal-day {
  border-radius: 0.65rem;
}

.pub-site .pub-cal-day:not(:disabled):hover {
  transform: translateY(-1px);
}

.pub-site .btn-primary {
  border-radius: 0.65rem;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.pub-site .pub-footer {
  color: var(--cp-text-subtle);
}
