/* Baixada Viva — azul & branco (Baixada Fluminense) */
:root {
  --rio-deep: #0b4f8c;
  --rio-mid: #1565b0;
  --rio-sky: #4aa3e0;
  --rio-foam: #e8f4fc;
  --rio-sand: #f7fbfe;
  --rio-ink: #0c2744;
  --lime: #1565b0;
  --lime-deep: #0b4f8c;
  --lime-dim: #0a3d6d;
  --bg0: #f4f8fc;
  --bg1: #ffffff;
  --bg2: #e8f1f9;
  --line: #c5d6e8;
  --text: #0c2744;
  --muted: #5a7390;
  --on-accent: #ffffff;
  --font-display: "Syne", "Barlow Condensed", sans-serif;
  --font-ui: "Barlow", sans-serif;
  --font-cond: "Barlow Condensed", sans-serif;
  --header-h: 4.75rem;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --max: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 500;
  background:
    radial-gradient(ellipse 90% 48% at 50% -10%, rgba(74, 163, 224, 0.28), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(11, 79, 140, 0.08), transparent 50%),
    linear-gradient(180deg, #f7fbfe 0%, #eef5fb 42%, #e4eef8 100%);
  background-attachment: fixed;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: var(--rio-mid); text-decoration: none; }
a:hover { color: var(--rio-deep); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--rio-deep);
  color: var(--on-accent);
  padding: 0.5rem 0.75rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ── Header + player persistente ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(11, 79, 140, 0.14);
  padding-top: var(--safe-top);
}

.site-header-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.55rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem 1rem;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  min-width: 0;
}
.brand:hover { color: inherit; }
.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rio-deep);
  background: radial-gradient(circle, rgba(74, 163, 224, 0.35), transparent 65%), var(--rio-foam);
  box-shadow: 0 0 0 2px rgba(11, 79, 140, 0.35);
  flex: 0 0 auto;
}
.brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: calc(var(--header-h) - 0.55rem);
  max-width: min(4.6rem, 18vw);
  object-fit: contain;
  object-position: left center;
  flex: 0 1 auto;
  border-radius: 0.35rem;
  background: #fff;
  box-shadow: none;
}
.brand-logo-full {
  /* Logo quadrada (ícone + nome) no header */
  max-height: calc(var(--header-h) - 0.45rem);
  max-width: min(4.85rem, 20vw);
}
.brand-text { min-width: 0; line-height: 1.05; }
.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav { justify-self: center; }
.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  background: var(--bg2);
  color: var(--text);
  cursor: pointer;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-list a {
  display: inline-block;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-list a:hover,
.nav-list a.is-active {
  color: var(--on-accent);
  background: var(--rio-deep);
}

.header-player {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-self: end;
  padding: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(165deg, #ffffff, var(--rio-foam));
  border: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(11, 79, 140, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hp-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--rio-foam);
  color: var(--text);
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hp-btn i { font-size: 0.85rem; }
.hp-btn:hover { filter: brightness(1.08); }
.hp-play.is-playing,
.hp-play.is-active {
  color: var(--on-accent);
  background: var(--rio-deep);
  animation: hpOnAir 1.4s ease-in-out infinite;
}
.hp-play.is-loading { animation: hpPulse 0.7s ease-in-out infinite; }
.hp-mute.is-muted { color: #f0c000; }
.hp-mute[hidden] { display: none !important; }

.hp-vol {
  width: 5.5rem;
  padding: 0 0.35rem;
}
.hp-vol input {
  width: 100%;
  accent-color: var(--lime);
  cursor: pointer;
}

.hp-live {
  font-family: var(--font-cond);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  margin-right: 0.15rem;
}
.hp-live.is-live {
  color: var(--on-accent);
  background: var(--rio-deep);
}
.hp-live.is-offline {
  color: var(--muted);
  background: var(--bg2);
}

@keyframes hpOnAir {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 163, 224, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(11, 79, 140, 0.12); }
}
@keyframes hpPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* ── Main ── */
.page-main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 3.5rem;
  min-height: calc(100dvh - var(--header-h) - 5rem);
}

.page-home .page-main {
  max-width: none;
  padding: 0;
}

/* Home hero — full bleed, brand first */
.hero {
  position: relative;
  min-height: clamp(18rem, 42vh, 26rem);
  display: grid;
  align-items: center;
  padding:
    2.25rem 1.25rem
    calc(2.25rem + var(--safe-bottom));
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(11, 79, 140, 0.12) 0%, rgba(11, 79, 140, 0.55) 48%, rgba(8, 48, 88, 0.92) 100%),
    radial-gradient(ellipse 70% 55% at 72% 28%, rgba(74, 163, 224, 0.45), transparent 60%),
    linear-gradient(135deg, #1a6bb5 0%, #0b4f8c 48%, #083058 100%);
  background-size: cover, cover, cover;
  animation: heroIn 0.9s ease both;
}

.hero::after {
  content: "";
  position: absolute;
  inset: -8% -4% -10% 18%;
  background: url("/assets/img/baixada-map-watermark.jpg") right center / contain no-repeat;
  opacity: 0.42;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 12vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: #fff;
  text-shadow: 0 8px 40px rgba(8, 48, 88, 0.35);
  animation: rise 0.8s 0.1s ease both;
}

.hero-brand em {
  font-style: normal;
  color: var(--lime);
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-cond);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #cfe8ff;
  animation: rise 0.8s ease both;
}

.hero-lead {
  max-width: 40rem;
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: #e7f3ff;
  line-height: 1.45;
  animation: rise 0.8s 0.2s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.1rem;
  padding: 0.7rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--rio-deep);
  font-family: var(--font-cond);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  animation: rise 0.8s 0.3s ease both;
}
.hero-cta:hover { filter: brightness(1.04); color: var(--rio-deep); }
.hero-cta i { font-size: 0.95rem; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.hero-secondary {
  display: inline-flex;
  align-items: center;
  min-height: 3.1rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-family: var(--font-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: rise 0.8s 0.35s ease both;
}
.hero-secondary:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,0.12); }

.now-playing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.65rem;
  margin: 0;
  max-width: 36rem;
  color: #d9ecff;
  font-size: 0.95rem;
  animation: rise 0.8s 0.4s ease both;
}
.now-playing[hidden] { display: none !important; }
.np-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7fd0ff;
  box-shadow: 0 0 0 0 rgba(127, 208, 255, 0.45);
  animation: hpOnAir 1.4s ease-in-out infinite;
  flex: 0 0 auto;
  position: relative;
  top: -0.05rem;
}
.np-label {
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9fd4ff;
  font-size: 0.82rem;
}

.home-block {
  padding: 3.25rem 1.25rem;
  border-top: 1px solid var(--line);
}
.home-studio {
  background: rgba(232, 244, 252, 0.65);
}
.home-inner {
  max-width: var(--max);
  margin: 0 auto;
}
.home-block h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.home-intro { max-width: 44rem; margin-bottom: 1.75rem; }

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pillars li {
  padding: 1.25rem 1.2rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, var(--rio-foam));
  box-shadow: 0 10px 28px rgba(11, 79, 140, 0.08);
}
.pillar-icon {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  border-radius: 0.7rem;
  color: var(--rio-deep);
  background: rgba(74, 163, 224, 0.18);
}
.pillars h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-cond);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pillars p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.98rem;
}

.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.home-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-cond);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.92rem;
}
.home-links a:hover {
  color: var(--on-accent);
  background: var(--rio-deep);
  border-color: var(--rio-deep);
}

@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .hero {
    min-height: clamp(16.5rem, 46vh, 24rem);
  }
  .hero::after {
    inset: -6% -18% -8% 8%;
    opacity: 0.32;
  }
}

@keyframes heroIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Inner pages */
.page-head {
  padding: 2.5rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.75rem;
}
.page-head h1 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}
.page-head p {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.prose {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
}
.prose p { margin: 0 0 1rem; }
.prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-cond);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rio-deep);
}

.schedule-music-note {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 1.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  line-height: 1.45;
}
.schedule-music-note i {
  margin-top: 0.2rem;
  color: var(--rio-mid);
}
.schedule-week {
  display: grid;
  gap: 1.5rem;
}
.schedule-day h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-cond);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rio-deep);
}
.schedule-day.is-empty h2 { color: var(--muted); }
.schedule-day-empty {
  margin: 0;
  padding: 0.65rem 0 0.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}
.schedule {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.schedule li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.schedule time {
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--lime);
}
.schedule strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.schedule span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}
.schedule-presenter {
  margin-top: 0.2rem;
  color: var(--rio-mid) !important;
  font-weight: 600;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.contact-list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-list i {
  color: var(--lime);
  width: 1.1rem;
}
.contact-list a { color: var(--text); }
.contact-list a:hover { color: var(--lime); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 1rem calc(1.25rem + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.72);
}
.site-footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-brand strong { color: var(--text); }
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--lime); }

/* Mobile */
@media (max-width: 860px) {
  .site-header-inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand toggle"
      "player player"
      "nav nav";
  }
  .brand { grid-area: brand; }
  .site-nav { grid-area: nav; justify-self: stretch; }
  .nav-toggle { display: inline-grid; place-items: center; grid-area: toggle; }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.35rem 0 0.15rem;
  }
  .site-nav.is-open .nav-list { display: flex; }
  .nav-list a { border-radius: 0.45rem; }
  .header-player {
    grid-area: player;
    justify-self: stretch;
    justify-content: space-between;
  }
  .hp-vol { flex: 1; max-width: 8rem; }
  .hp-mute-label { display: none; }
}

@media (max-width: 520px) {
  .hp-vol { display: none; }
  .schedule li { grid-template-columns: 1fr; gap: 0.25rem; }
}
