/* =====================
   REDE MEIO NORTE FM
   style.css
   ===================== */

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

:root {
  --amarelo: #f5a623;
  --amarelo-dark: #d4891a;
  --bg-dark: #0f0f1a;
  --bg-card: #1a1a2e;
  --bg-card2: #16213e;
  --text: #e8e8f0;
  --text-muted: #8888aa;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- HEADER ---- */
.site-header {
  background: rgba(10,10,25,0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(245,166,35,0.15);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon { font-size: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-rede { font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 600; color: var(--amarelo); letter-spacing: 3px; text-transform: uppercase; }
.logo-nome { font-family: 'Montserrat', sans-serif; font-size: 18px; font-weight: 900; color: #fff; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--amarelo); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0a0a1e 0%, #1a0a30 50%, #0f1535 100%);
  padding: 80px 20px 100px;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}
.hero p {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.search-form { display: flex; justify-content: center; }
.search-box {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(245,166,35,0.3);
  border-radius: 50px;
  overflow: hidden;
  width: 100%;
  max-width: 560px;
  transition: border-color 0.2s;
}
.search-box:focus-within { border-color: var(--amarelo); }
.search-icon { padding: 0 14px; font-size: 18px; }
.search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 15px;
  padding: 14px 0;
  font-family: 'Open Sans', sans-serif;
}
.search-box input::placeholder { color: rgba(255,255,255,0.35); }
.search-box button {
  background: var(--amarelo);
  border: none;
  color: #111;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s;
}
.search-box button:hover { background: var(--amarelo-dark); }
.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; }
.hero-wave svg { display: block; width: 100%; height: 60px; }

/* ---- MAIN CONTAINER ---- */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 60px;
}

/* ---- SECTION TITLE ---- */
.section-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.section-title h2 em { color: var(--amarelo); font-style: normal; }
.badge {
  background: rgba(245,166,35,0.15);
  color: var(--amarelo);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
}
.clear-search {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 5px 14px;
  border-radius: 20px;
  transition: all 0.2s;
}
.clear-search:hover { color: #fff; border-color: rgba(255,255,255,0.4); }

/* ---- RADIO GRID ---- */
.radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.radio-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}
.radio-card:hover {
  transform: translateY(-4px);
  border-color: var(--cor, var(--amarelo));
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.card-logo {
  aspect-ratio: 1;
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
}
.destaque-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 16px;
}
.card-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.card-info strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
.card-info .frequencia {
  font-size: 11px;
  color: var(--cor, var(--amarelo));
  font-weight: 600;
}
.card-info .cidade {
  font-size: 11px;
  color: var(--text-muted);
}
.card-play {
  background: var(--cor, var(--amarelo));
  color: #111;
  text-align: center;
  padding: 8px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.2s;
}
.radio-card:hover .card-play { opacity: 1; }

/* ---- EMPTY STATE ---- */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}
.empty-state span { font-size: 56px; display: block; margin-bottom: 16px; }
.empty-state p { font-size: 16px; margin-bottom: 20px; }
.empty-state a {
  background: var(--amarelo);
  color: #111;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 14px;
}

/* ---- FOOTER ---- */
.site-footer {
  background: #080812;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 30px 20px;
  text-align: center;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  margin-bottom: 8px;
}
.site-footer p { font-size: 13px; color: var(--text-muted); }

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .radio-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .nav-links { display: none; }
  .hero { padding: 50px 16px 80px; }
}
@media (max-width: 380px) {
  .radio-grid { grid-template-columns: repeat(2, 1fr); }
}
