/* Locutores — home + /locutores */

.hosts-hero {
  padding: clamp(1.4rem, 3vw, 2.2rem) 0 0.4rem;
  color: var(--color-text, #1a1a1a);
}

.hosts-hero--embed {
  padding-top: 0.35rem;
  background: var(--color-background, #fff8f3);
}

.hosts-hero__back {
  display: inline-flex;
  margin-bottom: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary, #ff6b00);
  text-decoration: none;
}

.hosts-hero__back:hover,
.hosts-hero__back:focus {
  text-decoration: none;
  opacity: 0.85;
}

.hosts-hero__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--color-text, #1a1a1a);
}

.hosts-hero__lead {
  margin: 0;
  opacity: 0.75;
  color: var(--color-text, #1a1a1a);
}

.hosts-page {
  padding: 1.15rem 0 2.4rem;
  background: var(--color-background, #fff8f3);
  color: var(--color-text, #1a1a1a);
}

.section.section-presenters.hosts-page {
  padding: 0.35rem 0 2.4rem;
  background: transparent;
}

.hosts-board {
  background: var(--color-surface, #fff);
  border-radius: var(--theme-box-radius, 16px);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
  padding: 1.15rem 1.2rem 1.25rem;
  overflow: hidden;
}

.hosts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.host-card {
  position: relative;
  text-align: center;
  background: color-mix(in srgb, var(--color-text, #1a1a1a) 7%, var(--color-surface, #fff));
  border: 1px solid var(--color-border, rgba(128, 128, 128, 0.12));
  border-radius: var(--theme-box-radius, 16px);
  padding: 1.15rem 1rem 1.25rem;
  color: var(--color-text, #1a1a1a);
}

.host-card__hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

a.host-card {
  display: block;
  color: inherit;
  text-decoration: none;
}

a.host-card:hover,
a.host-card:focus {
  text-decoration: none;
}

.host-card.is-live {
  background: color-mix(in srgb, #16a34a 16%, var(--color-surface, #fff));
  border-color: rgba(22, 163, 74, 0.35);
}

.host-card.is-clickable {
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.host-card.is-clickable:hover,
.host-card.is-clickable:has(.host-card__hit:focus-visible) {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.18);
  border-color: rgba(22, 163, 74, 0.55);
  outline: none;
}

.host-card__photo {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  overflow: visible;
  background: linear-gradient(145deg, var(--color-primary, #ff6b00), #ffb347);
}

.host-card__live {
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  z-index: 2;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.14rem 0.55rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
}

.host-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
}

.host-card__photo.is-empty {
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  font-size: 2.2rem;
  font-weight: 800;
}

.host-card__name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text, #1a1a1a);
}

.host-card__show {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-primary, #ff6b00);
}

.host-card__bio {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.45;
  opacity: 0.78;
  color: var(--color-text, #1a1a1a);
}

.host-card__social {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0.75rem 0 0;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.social-icon svg {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
}

.social-icon:hover,
.social-icon:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  text-decoration: none;
  outline: none;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
}

.social-icon--facebook { background: #1877f2; }
.social-icon--instagram { background: linear-gradient(45deg, #f58529, #dd2a7b 52%, #8134af); }
.social-icon--youtube { background: #ff0000; }
.social-icon--twitter { background: #0f1419; }
.social-icon--tiktok { background: #010101; }
.social-icon--whatsapp { background: #25d366; }
.social-icon--linkedin { background: #0a66c2; }

.home-split .hosts-grid,
.hosts-page .hosts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hosts-rail-section {
  padding: 0 0 1.65rem;
}

/* Home — box igual à Programação */
.hosts-home-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hosts-home-board__head .schedule-board__title {
  flex: 1;
  min-width: 0;
}

.hosts-home-board .hosts-rail__more {
  margin-left: 0;
  flex-shrink: 0;
}

.hosts-home-board .hosts-rail {
  min-width: 0;
}

.hosts-rail__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.95rem;
}

.hosts-rail__title {
  flex: 1;
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hosts-rail__more {
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary, #ff6b00);
  text-decoration: none;
  white-space: nowrap;
}

.hosts-rail__more:hover {
  text-decoration: underline;
}

.hosts-rail {
  min-width: 0;
}

.hosts-rail__viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: clip;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.hosts-rail__viewport::-webkit-scrollbar {
  display: none;
}

.hosts-rail.is-animated .hosts-rail__viewport {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-snap-type: none;
}

.hosts-rail__track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
  translate: 0;
  will-change: transform;
}

.host-card--rail {
  flex: 0 0 148px;
  width: 148px;
  padding: 0.95rem 0.7rem 1rem;
  scroll-snap-align: start;
}

.host-card--rail .host-card__photo {
  width: 104px;
  height: 104px;
}

.host-card--rail .host-card__live {
  bottom: 0.2rem;
  font-size: 0.62rem;
  padding: 0.1rem 0.42rem;
}

.host-card--rail .host-card__show {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hosts-page .empty-state {
  color: color-mix(in srgb, var(--color-text, #1a1a1a) 55%, transparent);
}

html[data-theme-mode="dark"] .hosts-board {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

@media (max-width: 860px) {
  .hosts-grid,
  .home-split .hosts-grid,
  .hosts-page .hosts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hosts-grid,
  .home-split .hosts-grid,
  .hosts-page .hosts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hosts-board,
  .hosts-home-board {
    padding: 0.9rem 0.75rem 1rem;
  }

  .host-card__photo {
    width: 96px;
    height: 96px;
  }

  .host-card--rail {
    flex-basis: 132px;
    width: 132px;
  }
}

/* Popup — locutor no ar (página dedicada) */
.host-live-page {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--color-text, #1a1a1a);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 107, 0, 0.12), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(91, 44, 222, 0.14), transparent 42%),
    linear-gradient(160deg, #0b1220, #1a2744 55%, #243556);
}

.host-live-page__wrap {
  width: min(100%, calc(var(--host-live-panel-w, 592) * 1px));
}

.host-live-page .host-live-modal__panel {
  width: 100%;
  max-width: none;
}

.host-live-page__panel {
  animation: host-live-modal-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.host-live-page__audio {
  display: none;
}

/* Estilos herdados do modal (painel) */
body.host-live-modal-open {
  overflow: hidden;
}

.host-live-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.host-live-modal[hidden] {
  display: none;
}

.host-live-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(8, 16, 32, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.host-live-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  box-shadow:
    0 28px 80px rgba(8, 16, 32, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: host-live-modal-in 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.host-live-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 3;
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.host-live-modal__close:hover {
  background: rgba(255, 255, 255, 0.34);
  transform: scale(1.04);
}

.host-live-modal__hero {
  position: relative;
  padding: 2rem 1.35rem 1.35rem;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(145deg, var(--host-player-bar, #5b2cde), var(--host-player-bar-end, #3d1aa8));
}

.host-live-modal__glow {
  position: absolute;
  inset: auto 10% -40%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.host-live-modal__photo-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 0.85rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  background: linear-gradient(145deg, var(--color-primary, #ff6b00), #ffb347);
}

.host-live-modal__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.host-live-modal__photo-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 2.4rem;
  font-weight: 800;
}

.host-live-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  animation: host-live-pulse 2s ease infinite;
}

.host-live-modal__badge::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #fff;
}

.host-live-modal__name {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 4vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.host-live-modal__program {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0.92;
}

.host-live-modal__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 0.9rem 0 0;
}

.host-live-modal__social .social-icon {
  width: 2.35rem;
  height: 2.35rem;
}

.host-live-modal__social .social-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.host-live-modal__player {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0.95rem 1.1rem;
  background: linear-gradient(90deg, var(--host-player-bar, #5b2cde), var(--host-player-bar-end, #3d1aa8));
  color: #fff;
}

.host-live-modal__play {
  flex: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--host-player-play, #e02020);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.host-live-modal__play:hover {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.host-live-modal__play.is-playing {
  transform: scale(1.02);
}

.host-live-modal__play-icon {
  display: block;
  font-size: 0.95rem;
  line-height: 1;
}

.host-live-modal__meta {
  flex: 1;
  min-width: 0;
}

.host-live-modal__track {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-live-modal__artist {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.8rem;
  opacity: 0.88;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-live-modal__volume {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  min-width: 88px;
}

.host-live-modal__volume-range {
  width: 72px;
  accent-color: #fff;
}

.host-live-modal__ad {
  padding: 0.85rem 1rem 1rem;
  background: #f7f7fa;
}

.host-live-modal__ad .banner-carousel {
  box-shadow: none;
}

@keyframes host-live-modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes host-live-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0);
  }
}

@media (max-width: 640px) {
  .host-live-modal__player {
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .host-live-modal__volume {
    width: 100%;
    min-width: 0;
  }

  .host-live-modal__volume-range {
    flex: 1;
    width: auto;
  }
}
