/* ═══════════════════════════════════════════════════════════════════════════
   Ebenézer Music — Stylesheet
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
  --primary:        #2563eb;
  --primary-light:  #3b82f6;
  --primary-dark:   #1d4ed8;
  --bg-dark:        #0f172a;
  --bg-card:        #1e293b;
  --bg-card-hover:  #243044;
  --border:         #263244;
  --border-light:   #334155;
  --text:           #e2e8f0;
  --text-muted:     #94a3b8;
  --success:        #22c55e;
  --danger:         #ef4444;
  --navbar-h:       64px;
  --player-h:       72px;
  --radius:         12px;
  --radius-sm:      8px;
  --shadow:         0 4px 6px -1px rgba(0,0,0,.4), 0 2px 4px -1px rgba(0,0,0,.2);
  --shadow-lg:      0 10px 15px -3px rgba(0,0,0,.4), 0 4px 6px -2px rgba(0,0,0,.2);
}

/* ── Reset ──────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  /* Considera o notch (topo) e a barra de gestos (base) em iPhones */
  padding-top: calc(var(--navbar-h) + env(safe-area-inset-top));
  padding-bottom: calc(var(--player-h) + env(safe-area-inset-bottom));
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
button { font-family: inherit; }
a { color: inherit; }
ul { list-style: none; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ── Utilities ──────────────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--primary); color: #fff;
  padding: .5rem 1rem; border-radius: var(--radius-sm);
  z-index: 9999; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: max(1.5rem, env(safe-area-inset-left));
  padding-right: max(1.5rem, env(safe-area-inset-right));
}

/* ── Navbar ─────────────────────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: calc(var(--navbar-h) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgba(15,23,42,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex; align-items: center; gap: .625rem;
  text-decoration: none; color: var(--text);
}
.logo-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
}
.footer-brand .logo-icon { width: 32px; height: 32px; }
.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: 1.1rem;
}
.logo-text em { font-style: normal; color: var(--primary-light); }

.nav-menu {
  display: flex; gap: .25rem;
}
.nav-link {
  display: block; padding: .5rem .875rem;
  color: var(--text-muted); text-decoration: none;
  font-size: .9rem; font-weight: 500;
  border-radius: var(--radius-sm);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); background: var(--bg-card); }
.nav-link.active { color: var(--primary-light); background: rgba(37,99,235,.1); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: var(--radius-sm);
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); transition: all .3s; border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Sections ───────────────────────────────────────────────────────────────── */
.section { display: none; min-height: calc(100vh - var(--navbar-h) - var(--player-h)); }
.section.active { display: block; }

.section-content { padding: 3rem 1.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800; margin-bottom: .75rem;
}
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1a2744 50%, #0f172a 100%);
  padding: 5rem 0 3rem;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40%; right: -15%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(59,130,246,.3);
  color: var(--primary-light);
  padding: .375rem .875rem; border-radius: 100px;
  font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem;
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800; line-height: 1.1; margin-bottom: .5rem;
}
.hero-title em { font-style: normal; color: var(--primary-light); }

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-muted); margin-bottom: 1rem; font-style: italic;
}
.hero-desc {
  color: var(--text-muted); font-size: .95rem;
  max-width: 480px; margin-bottom: 2rem; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Vinyl */
.hero-visual { position: relative; flex-shrink: 0; }

.vinyl {
  width: 240px; height: 240px; border-radius: 50%;
  background: #111827;
  box-shadow: 0 0 60px rgba(37,99,235,.25), 0 20px 40px rgba(0,0,0,.7),
              inset 0 0 30px rgba(0,0,0,.5);
  position: relative;
}
.vinyl.spinning { animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.vinyl-grooves {
  position: absolute; inset: 10px; border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    #1a1a2e 0px, #1a1a2e 2px,
    #111827 2px, #111827 4px
  );
  display: flex; align-items: center; justify-content: center;
}

.vinyl-label {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
}
.vinyl-hole {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--primary-light);
}

.vinyl-glow {
  position: absolute; inset: -24px; border-radius: 50%;
  background: radial-gradient(circle, transparent 45%, transparent 70%);
  pointer-events: none; transition: background .5s;
}
.vinyl-glow.active {
  background: radial-gradient(circle, rgba(37,99,235,.18) 45%, transparent 70%);
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: .6; }
  50%       { opacity: 1; }
}

/* ── Buttons ────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border: none; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; cursor: pointer;
  transition: all .2s; min-height: 46px; text-decoration: none;
  white-space: nowrap;
}
.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
}
.btn-secondary { background: var(--bg-card); color: var(--text); border: 1px solid var(--border-light); }
.btn-secondary:hover {
  background: var(--bg-card-hover); border-color: var(--primary);
  transform: translateY(-1px);
}
.btn-full { width: 100%; justify-content: center; }

/* ── Stats bar ──────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1rem; text-align: center;
}
.stat-item { display: flex; flex-direction: column; gap: .25rem; }
.stat-icon { font-size: 1.4rem; line-height: 1; margin-bottom: .15rem; }
.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; color: var(--primary-light);
}
.stat-label {
  font-size: .75rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .06em; font-weight: 500;
}

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted); margin-bottom: 1.25rem;
}

/* ── Home grid ──────────────────────────────────────────────────────────────── */
.home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.last-played-card { grid-column: 1 / -1; }

/* Now playing */
.now-playing-info { text-align: center; padding: .5rem 0 .25rem; }
.now-playing-art {
  width: 120px; height: 120px; border-radius: var(--radius-sm);
  object-fit: cover; margin: 0 auto .875rem;
  border: 1px solid var(--border-light); box-shadow: var(--shadow);
}

/* Capa do álbum no player (substitui o emoji quando há) */
.player-channel-icon.has-art { padding: 0; overflow: hidden; }
.player-channel-icon.has-art img { width: 100%; height: 100%; object-fit: cover; }
.channel-badge {
  display: inline-block;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(59,130,246,.25);
  color: var(--primary-light);
  padding: .25rem .75rem; border-radius: 100px;
  font-size: .8rem; font-weight: 600; margin-bottom: .875rem;
}
.now-playing-song  { font-size: 1.05rem; font-weight: 600; margin-bottom: .25rem; }
.now-playing-artist { color: var(--text-muted); font-size: .875rem; }

/* Quick channels */
.quick-channels { display: flex; flex-wrap: wrap; gap: .5rem; }
.quick-channel-btn {
  display: flex; align-items: center; gap: .375rem;
  background: var(--bg-dark); border: 1px solid var(--border-light);
  color: var(--text-muted); padding: .375rem .75rem; border-radius: 100px;
  font-size: .8rem; cursor: pointer; transition: all .2s; min-height: 36px;
}
.quick-channel-btn:hover,
.quick-channel-btn.active {
  background: rgba(37,99,235,.15);
  border-color: var(--primary); color: var(--primary-light);
}

/* Last played */
.last-played-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .75rem;
}
.last-played-item {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem; background: var(--bg-dark);
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.last-played-num  { font-size: .7rem; color: var(--text-muted); min-width: 18px; font-weight: 600; }
.last-played-icon { font-size: 1.25rem; flex-shrink: 0; }
.last-played-info { flex: 1; min-width: 0; }
.last-played-title {
  font-size: .875rem; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.last-played-meta { font-size: .75rem; color: var(--text-muted); }
.last-played-time { font-size: .75rem; color: var(--text-muted); flex-shrink: 0; }

/* ── Channels grid ──────────────────────────────────────────────────────────── */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.channel-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  cursor: pointer; transition: all .2s;
  position: relative; overflow: hidden;
}
.channel-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--channel-color, var(--primary));
  opacity: 0; transition: opacity .2s;
}
.channel-card:hover::before,
.channel-card.active::before { opacity: 1; }
.channel-card:hover {
  border-color: var(--channel-color, var(--primary));
  transform: translateY(-3px); box-shadow: var(--shadow-lg);
}
.channel-card.active {
  border-color: var(--channel-color, var(--primary));
  background: var(--bg-card-hover);
}
.channel-card:focus-visible {
  outline: 2px solid var(--primary-light); outline-offset: 2px;
}
.channel-card-icon  { font-size: 2rem; margin-bottom: .75rem; display: block; }
.channel-card-name  { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; margin-bottom: .375rem; }
.channel-card-desc  { font-size: .82rem; color: var(--text-muted); margin-bottom: 1rem; }

.channel-card-footer {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.channel-listeners { font-size: .75rem; color: var(--text-muted); }

.channel-listen-btn {
  background: var(--bg-dark); border: 1px solid var(--border-light);
  color: var(--text-muted); padding: .35rem .75rem;
  border-radius: var(--radius-sm); font-size: .8rem; font-weight: 500;
  cursor: pointer; transition: all .2s; min-height: 32px; white-space: nowrap;
}
.channel-card:hover .channel-listen-btn {
  background: var(--channel-color, var(--primary));
  border-color: var(--channel-color, var(--primary)); color: #fff;
}
.channel-card.active .channel-listen-btn {
  background: var(--channel-color, var(--primary));
  border-color: var(--channel-color, var(--primary)); color: #fff;
}

.now-playing-badge {
  display: flex; align-items: center; gap: .375rem;
  font-size: .78rem; font-weight: 600;
  color: var(--channel-color, var(--primary));
}
.now-playing-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--channel-color, var(--primary));
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.25} }

/* ── Schedule ───────────────────────────────────────────────────────────────── */
.schedule-wrap {
  display: flex; flex-direction: column; gap: 1rem;
  max-width: 760px; margin: 0 auto;
}
.schedule-item {
  display: grid; grid-template-columns: 160px 1fr;
  gap: 1.25rem; align-items: center;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color .2s;
}
.schedule-item.current {
  border-color: var(--primary);
  background: rgba(37,99,235,.07);
}
.schedule-time { text-align: center; }
.schedule-time-range {
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem; font-weight: 700; color: var(--text-muted); white-space: nowrap;
}
.schedule-item.current .schedule-time-range { color: var(--primary-light); }

.schedule-info { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.schedule-name { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; font-weight: 700; }
.schedule-presenter { font-size: .85rem; color: var(--text-muted); margin-top: .2rem; }

.on-air-badge {
  display: inline-flex; align-items: center; gap: .375rem;
  background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3);
  color: #f87171; padding: .25rem .625rem; border-radius: 100px;
  font-size: .75rem; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.on-air-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #f87171; animation: blink 1s ease-in-out infinite;
}

/* ── About ──────────────────────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.about-history p {
  color: var(--text-muted); font-size: .95rem;
  line-height: 1.75; margin-bottom: 1rem;
}
.about-history strong { color: var(--primary-light); }

.quote {
  border-left: 3px solid var(--primary);
  padding: .75rem 1rem;
  background: rgba(37,99,235,.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted); font-style: italic; margin-top: 1.25rem;
}

.about-team-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.4rem; font-weight: 800; margin-bottom: 1.5rem;
}
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  text-align: center; transition: all .2s;
}
.team-card:hover { border-color: var(--primary); transform: translateY(-2px); }

.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 700; color: #fff;
}
.team-name { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: .25rem; }
.team-role { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.team-whatsapp {
  display: inline-flex; align-items: center; gap: .375rem;
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3);
  color: #4ade80; padding: .4rem .875rem; border-radius: var(--radius-sm);
  font-size: .8rem; font-weight: 600; text-decoration: none; transition: all .2s;
}
.team-whatsapp:hover { background: rgba(34,197,94,.22); }

/* ── Contact ────────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail { color: var(--text-muted); font-size: .95rem; }

.whatsapp-links { display: flex; flex-direction: column; gap: .75rem; }
.whatsapp-btn {
  display: flex; align-items: center; gap: .875rem;
  background: rgba(34,197,94,.07);
  border: 1px solid rgba(34,197,94,.2);
  border-radius: var(--radius-sm); padding: .875rem 1rem;
  text-decoration: none; transition: all .2s;
}
.whatsapp-btn:hover { background: rgba(34,197,94,.15); border-color: rgba(34,197,94,.4); }
.whatsapp-icon { font-size: 1.5rem; flex-shrink: 0; }
.whatsapp-btn strong { display: block; color: var(--text); font-size: .9rem; }
.whatsapp-btn span   { color: var(--text-muted); font-size: .8rem; }

.social-links { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.social-btn {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--bg-dark); border: 1px solid var(--border-light);
  color: var(--text-muted); padding: .625rem;
  border-radius: var(--radius-sm); text-decoration: none;
  font-size: .85rem; font-weight: 500; transition: all .2s; min-height: 42px;
}
.social-btn svg { flex-shrink: 0; }
.social-btn:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(37,99,235,.1); }
/* Cor da marca no hover */
.social-btn.ig:hover { color: #e1306c; border-color: #e1306c; background: rgba(225,48,108,.12); }
.social-btn.fb:hover { color: #1877f2; border-color: #1877f2; background: rgba(24,119,242,.12); }
.social-btn.yt:hover { color: #ff0000; border-color: #ff0000; background: rgba(255,0,0,.10); }
.social-btn.tt:hover { color: #e2e8f0; border-color: #69c9d0; background: rgba(105,201,208,.12); }

/* ── Form ───────────────────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-muted); margin-bottom: .5rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm); color: var(--text);
  padding: .75rem 1rem; font-family: 'Inter', sans-serif; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: var(--danger); }

.field-error { display: block; font-size: .78rem; color: #f87171; margin-top: .35rem; min-height: 1.1rem; }

.form-success {
  margin-top: 1rem; padding: .875rem 1rem;
  background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3);
  border-radius: var(--radius-sm); color: #4ade80;
  font-size: .9rem; font-weight: 500; display: none;
}
.form-success.visible { display: block; }

/* ── Player bar ─────────────────────────────────────────────────────────────── */
.player-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: calc(var(--player-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(11,18,33,.97);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 1000;
}
.player-container {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 1.25rem;
  height: var(--player-h);
}
.player-info { display: flex; align-items: center; gap: .875rem; min-width: 0; }

.player-channel-icon {
  width: 42px; height: 42px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0; transition: background .3s, border-color .3s;
}
.player-text { display: flex; flex-direction: column; min-width: 0; }
.player-channel-name { font-size: .875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-song         { font-size: .78rem;  color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.player-controls { display: flex; align-items: center; }
.player-btn {
  background: var(--primary); border: none; border-radius: 50%;
  width: 46px; height: 46px; cursor: pointer; font-size: .95rem; color: #fff;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.player-btn:hover:not(:disabled) { background: var(--primary-dark); transform: scale(1.07); }
.player-btn:disabled { background: var(--border-light); color: var(--text-muted); cursor: not-allowed; }
.player-btn.loading { animation: spin .9s linear infinite; }

.player-volume { display: flex; align-items: center; gap: .5rem; }
.volume-icon   { font-size: .9rem; flex-shrink: 0; }
.volume-slider {
  width: 90px; height: 4px; border-radius: 2px;
  background: var(--border-light); -webkit-appearance: none; cursor: pointer;
  accent-color: var(--primary);
}
.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 14px; height: 14px;
  border-radius: 50%; background: var(--primary); cursor: pointer;
}

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: .5rem; text-align: center;
}
.footer-brand {
  display: flex; align-items: center; gap: .5rem;
  font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem;
}
.footer-tagline { color: var(--text-muted); font-size: .875rem; }
.footer-copy    { color: var(--border-light); font-size: .78rem; }

/* ═══════════════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .about-grid   { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed; top: calc(var(--navbar-h) + env(safe-area-inset-top)); left: 0; right: 0;
    background: rgba(15,23,42,.98); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: .75rem; gap: .25rem;
    transform: translateY(-110%); transition: transform .3s ease;
    z-index: 999;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-link { padding: .75rem 1rem; font-size: .95rem; }

  .hero { padding: 3rem 0 2rem; }
  .hero-content {
    grid-template-columns: 1fr; text-align: center;
  }
  .hero-visual { display: flex; justify-content: center; order: -1; }
  .vinyl { width: 180px; height: 180px; }
  .hero-buttons { justify-content: center; }
  .hero-desc { margin: 0 auto 2rem; }

  .stats-grid { grid-template-columns: repeat(2,1fr); }

  .home-grid { grid-template-columns: 1fr; }
  .last-played-card { grid-column: 1; }

  .schedule-item { grid-template-columns: 1fr; gap: .5rem; }
  .schedule-time { text-align: left; }

  .team-grid { grid-template-columns: 1fr 1fr; }

  .player-container { grid-template-columns: 1fr auto; }
  .player-volume { display: none; }

  /* Evita o zoom automático do iOS ao focar campos (fonte precisa ser ≥16px) */
  .form-group input,
  .form-group select,
  .form-group textarea { font-size: 16px; }
}

@media (max-width: 480px) {
  .channels-grid { grid-template-columns: 1fr 1fr; }
  .channel-card  { padding: 1rem; }
  .channel-card-icon { font-size: 1.5rem; margin-bottom: .5rem; }

  .last-played-list { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 2.25rem; }
  .vinyl { width: 150px; height: 150px; }
}
