/* 🔧 Reset seguro para o body */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 20px;
  display: block !important; /* neutraliza flex do pesquisa.css */
}

/* 🔧 Corrige largura do conteúdo principal */
main#content {
  max-width: 1200px !important;
  width: 100%;
}

/* 🔧 Busca de rádios */
.clima-busca {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.clima-busca input[type="text"],
.clima-busca button {
  width: 100%;
  max-width: 500px;
  box-sizing: border-box;
  padding: 10px !important;
  font-size: 14px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  background-color: #fff !important;
  color: #333 !important;
}

.clima-busca button {
  background-color: #222 !important;
  font-weight: bold;
  cursor: pointer;
  border: none;
  padding: 12px !important;
  transition: background-color 0.3s ease;
}

.clima-busca button:hover {
  background-color: #444 !important;
}

#botaoBuscaUnificada {
  align-self: center;
  type: button;
}

#botaoBuscaUnificada {
  align-self: center;
  type: button;
  color: white !important;
  background-color: #222 !important;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#botaoBuscaUnificada:hover {
  background-color: #444 !important;
}


/* 🔧 Imagem do estado */
.clima-icon {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
}

/* 🔧 Container de municípios */
.municipio {
  margin-bottom: 20px;
}

.municipio-header {
  background: #0077cc;
  color: white;
  padding: 10px 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  margin-top: 10px;
  text-align: center;
}

.municipio-content {
  transition: height 0.3s ease;
  overflow: hidden;
  padding: 10px 0;
}

/* 🔧 Player de rádio */
.player-wrapper {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.player-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.player-header img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

.player-info {
  margin-left: 20px;
  flex: 1;
}

.player-info h1 {
  font-size: 18px;
  margin-bottom: 4px;
}

.player-info h2 {
  font-size: 13px;
  margin: 2px 0;
  color: #666;
}

audio {
  width: 100%;
  margin-top: 10px;
}

.player-status {
  font-size: 14px;
  margin: 8px 0;
}

.player-status.loading {
  color: #007BFF;
  animation: pulse 1.5s infinite;
}

.player-status.online {
  color: #000;
  font-weight: bold;
}

.player-status.offline {
  color: #D8000C;
  font-weight: bold;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* 🔧 Botões */
.btn-coupon {
  display: inline-block;
  background-color: #2e7d32;
  color: white;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: white;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  margin-right: 8px;
  transition: background-color 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
}

.icon-whats {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.btn-fechar {
  display: inline-block;
  background-color: #222;
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-voltar {
  display: block;
  width: 100%;
  max-width: 500px;
  text-align: center;
  background-color: #c62828;
  color: #fff;
  border: none;
  padding: 10px 0;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  margin-top: 12px;
}

/* 🔧 Texto promocional */
.coupon-texto {
  font-size: 14px;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* 🔧 Destaque visual */
.destaque {
  border: 2px solid #0077cc;
  box-shadow: 0 0 10px rgba(0,119,204,0.3);
}

/* 🔧 Grid de estados */
#gridEstados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  padding: 20px;
  justify-items: center;
  align-items: center;
}

.estado-item {
  text-align: center;
  background-color: transparent;
}

.estado-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.estado-item p {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* 🔧 Responsividade para título */
@media (min-width: 1080px) {
  .clima-wrapper h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .clima-wrapper span {
    font-weight: bold;
    font-size: 1.2rem;
  }
}

#gridEstados {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* força 6 ícones por linha */
  gap: 15px;
  padding: 20px;
  justify-items: center;
  align-items: center;
}

.estado-item {
  text-align: center;
  background-color: transparent;
}

.estado-item img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}


.estado-item p {
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff; /* texto claro para fundo escuro */
}


/* 🔧 Restaura responsividade lateral do acordeão */
.acordeao {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

/* 🔧 Garante que o conteúdo principal fique centralizado */
main#content {
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

/* 🔧 Corrige campos de busca em telas pequenas */
@media (max-width: 600px) {
  .clima-busca input[type="text"],
  .clima-busca button {
    width: 100% !important;
    max-width: none !important;
  }
}

.player-info {
  color: #333 !important;
}
.player-info h1,
.player-info h2 {
  color: #333 !important;
}

#header {
  display: flex;
  justify-content: center;
  padding: 10px 0;
}

#header > * {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

}
#footer {
  display: flex;
  justify-content: center;
  padding: 20px 0;
  background-color: #111; /* opcional para destaque */
  color: #fff;
}

.container-footer {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
main {
  margin-bottom: 0;
}

/* 🔧 Bloco alinhado com os demais */
.bloco-retorno {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 16px auto;
}

/* 🔧 Botão estilizado como os de cidade */
.btn-radios-brasileiras {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background-color: #111;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  padding: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.btn-radios-brasileiras:hover {
  background-color: #222;
}

/* 🔧 Ícone de música */
.icone-musica {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}

.bloco-retorno {
  width: 100%;
  max-width: 1126px;
  margin: 0 auto 20px auto;
  text-align: center;
}

.banner-radios {
  width: 100%;
  height: auto;
  aspect-ratio: 1126 / 320;
  object-fit: cover;
  border-radius: 6px;
}

/* 🔗 Botão de Compartilhamento de Rádio */
.compartilhar-wrapper {
  margin-top: 14px;
  text-align: center;
}

.btn-compartilhar-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #0077cc;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-compartilhar-radio:hover {
  background-color: #005fa3;
}

.icone-compartilhar {
  width: 22px;
  height: 22px;
  vertical-align: middle;
}

/* ✨ Destaque visual ao acessar rádio via link */
.player-wrapper.destaque {
  border: 2px solid #0077cc;
  box-shadow: 0 0 10px rgba(0, 119, 204, 0.4);
  animation: destaqueFade 1.5s ease-in-out;
}

@keyframes destaqueFade {
  0% { transform: scale(1.02); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1.02); }
}

/* 🔧 Mural de recados */
.mural-wrapper {
  margin-top: 20px;
  padding: 12px;
  background-color: #f1f1f1;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.mural-recados {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mural-recados li {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 10px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.mural-recados li strong {
  color: #000;
  font-weight: bold;
}

.mural-recados li br + span,
.mural-recados li span.avaliacao {
  display: block;
  margin-top: 6px;
  font-weight: bold;
  color: #444;
}
