/* ═══════════════════════════════════════
   FÁTIMA FM — Estilos do miolo
   Arquivo: fatima-fm.css
═══════════════════════════════════════ */

/* Google Fonts — incluir no <head> do HTML:
   <link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap" rel="stylesheet">
*/

/* ── HERO ── */
.hero {
  --content-max-width: 1100px;
  --content-side-gap: 24px;
  background-color: #ffffff;
  background-image: url("/assets/img/fatima-player-bg.png");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  position: relative;
  overflow: hidden;
  padding: 60px max(var(--content-side-gap), calc((100vw - var(--content-max-width)) / 2 + var(--content-side-gap))) 80px;
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 420px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.15);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px; right: 60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.08);
  pointer-events: none;
}
.hero-ornament {
  position: absolute;
  top: 30px; right: 120px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
  pointer-events: none;
}
.hero-left {
  flex: 1;
  min-width: 260px;
  position: relative;
  z-index: 2;
}
.hero-right {
  width: min(420px, 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 2;
  margin-left: 0;
  margin-right: auto;
}
.hero-logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}
.logo-circle {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(201,168,76,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.logo-circle img {
  width: 90px; height: 90px;
  object-fit: contain;
}
.logo-circle.logo-circle--white {
  width: 196px;
  height: 196px;
  background: #ffffff;
  border: 10px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 28px 70px rgba(93, 70, 31, 0.14);
}
.logo-circle.logo-circle--white img {
  width: 162px;
  height: 162px;
}
.hero-name {
  font-family: 'Cinzel', serif;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: 1px;
  margin: 0;
}
.hero-name span { color: #c9a84c; }
.hero-slogan {
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  letter-spacing: 3.5px;
  text-transform: uppercase;
  margin-top: 7px;
}
.hero-insta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 8px 18px;
  border: 1px solid rgba(201,168,76,0.45);
  border-radius: 20px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-family: 'Lato', sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
}
.hero-insta:hover {
  background: rgba(201,168,76,0.15);
  color: #fff;
  border-color: #c9a84c;
}
.hero-insta svg {
  width: 16px; height: 16px;
  fill: #c9a84c;
  flex-shrink: 0;
}

/* ── PLAYER ── */
.player-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 18px;
  padding: 26px 28px;
  min-width: 280px;
  max-width: 330px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.player-card.player-card--marble {
  width: 100%;
  max-width: 390px;
  background: rgba(255, 252, 246, 0.78);
  border: 1px solid rgba(174, 143, 84, 0.34);
  box-shadow: 0 28px 70px rgba(92, 74, 39, 0.16);
  backdrop-filter: blur(12px);
}
.live-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.live-label {
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.now-label {
  font-size: 10px;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.now-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  color: #5f4722;
  line-height: 1.4;
  margin-bottom: 20px;
  min-height: 42px;
}
.player-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.btn-play {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #c9a84c;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, background 0.2s;
}
.btn-play:hover { background: #e8c96a; transform: scale(1.05); }
.btn-play svg { width: 22px; height: 22px; fill: #0a2a5e; margin-left: 3px; }
.vol-wrap { flex: 1; }
.vol-label {
  font-size: 10px;
  color: rgba(95, 71, 34, 0.58);
  margin-bottom: 5px;
}
.player-card input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  cursor: pointer;
}
.player-card input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: rgba(164, 123, 55, 0.18);
  border-radius: 999px;
}
.player-card input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border-radius: 999px;
  background: #fffaf1;
  border: 2px solid #a47b37;
}
.player-card input[type="range"]::-moz-range-track {
  height: 4px;
  background: rgba(164, 123, 55, 0.18);
  border: none;
  border-radius: 999px;
}
.player-card input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fffaf1;
  border: 2px solid #a47b37;
}
.player-status {
  min-height: 18px;
  margin-bottom: 14px;
  font-size: 12px;
  line-height: 16px;
}
.vol-bar {
  height: 3px;
  background: rgba(255,255,255,0.12);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.vol-fill {
  height: 100%;
  width: 72%;
  background: #c9a84c;
  border-radius: 2px;
}
.vol-thumb {
  position: absolute;
  top: 50%; left: 72%;
  transform: translate(-50%, -50%);
  width: 11px; height: 11px;
  border-radius: 50%;
  background: #fff;
}
.waveform {
  display: none;
}
.wb {
  flex: 1;
  background: rgba(201,168,76,0.28);
  border-radius: 1px;
  animation: wv 1.3s ease-in-out infinite;
}
.wb:nth-child(1)  { height: 25%; animation-delay: 0s; }
.wb:nth-child(2)  { height: 55%; animation-delay: .08s; }
.wb:nth-child(3)  { height: 85%; animation-delay: .16s; }
.wb:nth-child(4)  { height: 45%; animation-delay: .24s; }
.wb:nth-child(5)  { height: 70%; animation-delay: .32s; }
.wb:nth-child(6)  { height: 35%; animation-delay: .40s; }
.wb:nth-child(7)  { height: 90%; animation-delay: .48s; }
.wb:nth-child(8)  { height: 60%; animation-delay: .56s; }
.wb:nth-child(9)  { height: 40%; animation-delay: .64s; }
.wb:nth-child(10) { height: 75%; animation-delay: .72s; }
.wb:nth-child(11) { height: 50%; animation-delay: .30s; }
.wb:nth-child(12) { height: 80%; animation-delay: .12s; }
.wb:nth-child(13) { height: 30%; animation-delay: .55s; }
.wb:nth-child(14) { height: 65%; animation-delay: .20s; }
.wb:nth-child(15) { height: 45%; animation-delay: .68s; }
@keyframes wv {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.22); }
}

.player-card--marble .live-label {
  color: #5f4722;
}

.player-card--marble .btn-play {
  background: linear-gradient(135deg, #c8a45a, #9f7730);
}

.player-card--marble .btn-play:hover {
  background: linear-gradient(135deg, #d5b36d, #ac853f);
}

.player-card--marble .btn-play svg {
  fill: #fffdf8;
}

.player-card--marble .player-status {
  color: rgba(95, 71, 34, 0.7);
}

/* ── GRID PRINCIPAL ── */
.page-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
}

.page-body > section,
.sidebar {
  min-width: 0;
}

/* ── TÍTULO DE SEÇÃO ── */
.sec-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 600;
  color: #0a2a5e;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sec-title::before {
  content: '';
  width: 4px; height: 20px;
  background: #c9a84c;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── ABAS DE DIAS ── */
.day-tabs {
  display: flex;
  gap: 3px;
  background: rgba(10,42,94,0.07);
  border-radius: 8px;
  padding: 4px;
  width: fit-content;
  margin-bottom: 18px;
}
.tab {
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  color: #667;
  border: none;
  background: transparent;
  transition: all 0.18s;
}
.tab.active {
  background: #fff;
  color: #0a2a5e;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.tab:not(.active):hover { background: rgba(255,255,255,0.6); }

/* ── PROGRAMAÇÃO ── */
.sched-panel {
  --sched-row-height: 49px;
  display: none;
  flex-direction: column;
  gap: 2px;
  max-height: calc((var(--sched-row-height) * 9) + 16px);
  overflow-y: auto;
  padding-right: 8px;
  scroll-behavior: smooth;
}
.sched-panel.active { display: flex; }
.sched-panel::-webkit-scrollbar {
  width: 8px;
}
.sched-panel::-webkit-scrollbar-thumb {
  background: rgba(10, 42, 94, 0.16);
  border-radius: 999px;
}

.sched-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 16px;
  min-height: var(--sched-row-height);
  background: #fff;
  border-radius: 8px;
  border-left: 3px solid transparent;
  transition: all 0.18s;
}
.sched-row:hover {
  border-left-color: #c9a84c;
  transform: translateX(2px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.sched-row.now-on {
  border-left-color: #c9a84c;
  background: #fffceb;
}
.sched-time {
  font-size: 11px;
  font-weight: 700;
  color: #0a2a5e;
  min-width: 92px;
}
.sched-name {
  font-size: 13px;
  color: #222;
  flex: 1;
  min-width: 0;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-now {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fff4b0;
  color: #7a5f00;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ── SIDEBAR ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 98px;
}
.widget {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid rgba(10,42,94,0.08);
}
.widget-title {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  color: #0a2a5e;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(10,42,94,0.08);
}

/* Fale Conosco */
.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10,42,94,0.06);
}
.contact-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(10,42,94,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 14px; height: 14px; fill: #0a2a5e; }
.contact-label {
  font-size: 10px;
  color: #8a93a8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: -10px;
}
.contact-value { font-size: 13px; color: #222; }

/* Instagram */
.insta-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.insta-btn:hover { opacity: 0.9; }
.insta-btn svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }
.insta-btn-handle { font-size: 13px; font-weight: 700; color: #fff; display: block; }
.insta-btn-sub { font-size: 11px; color: rgba(255,255,255,0.8); display: block; }

/* ── RESPONSIVO ── */
@media (max-width: 860px) {
  .page-body { grid-template-columns: 1fr; }
  .hero { padding: 40px 24px 56px; gap: 32px; }
  .hero-name { font-size: 36px; }
  .player-card { max-width: 100%; }
  .sidebar { margin-top: 0; }
}
