/* css/views.css - Estilos das Páginas Internas e Rodapé */

/* Banner Principal da Home */
.hero-banner {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 24px;
  background: #1f2937;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-banner img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

/* Grid Principal da Home (2/3 esquerda + 1/3 direita) */
.home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

/* Cards e Caixas */
.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #10b981;
}

/* Abas (Vídeos / Fotos) */
.tabs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #e5e7eb;
  margin-bottom: 16px;
  padding-bottom: 8px;
}

.tabs-buttons {
  display: flex;
  gap: 8px;
}

.tab-btn {
  background: #e5e7eb;
  color: #374151;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.tab-btn.active {
  background: #10b981;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Vídeo Responsivo (16:9) */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Grade de Fotos Destaque */
.fotos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.fotos-grid img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

/* Lista Top 5 */
.top5-list {
  list-style: none;
  counter-reset: top5;
}

.top5-list li {
  counter-increment: top5;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.top5-list li::before {
  content: counter(top5);
  background: #10b981;
  color: #fff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Anunciantes */
.anunciantes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.anunciante-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.anunciante-card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 4px;
}

.anunciante-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}

.anunciante-card a {
  color: #10b981;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* Página A Rádio */
.static-content {
  line-height: 1.7;
  color: #374151;
}

.static-content p {
  margin-bottom: 14px;
}

/* Rodapé Global */
#site-footer {
  background: #111827;
  color: #d1d5db;
  margin-top: 48px;
  padding: 32px 16px;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  color: #10b981;
}

/* Página Programação */
.prog-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.prog-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prog-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #9ca3af;
  border-radius: 8px;
}

.prog-item.is-live {
  background: #ecfdf5;
  border-color: #a7f3d0;
  border-left-color: #10b981;
}

.prog-time {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  min-width: 110px;
}

.prog-details {
  flex: 1;
}

.prog-details h3 {
  font-size: 16px;
  color: #111827;
  margin-bottom: 4px;
}

.prog-details p {
  font-size: 13px;
  color: #6b7280;
}

.badge-live {
  background: #ef4444;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

/* Página Equipe */
.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.membro-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.membro-foto {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  border: 3px solid #10b981;
}

.membro-card h3 {
  font-size: 17px;
  color: #111827;
  margin-bottom: 4px;
}

.membro-cargo {
  font-size: 13px;
  font-weight: 600;
  color: #10b981;
  margin-bottom: 10px;
}

.membro-bio {
  font-size: 13px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Página Galeria + Lightbox Nativo */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.galeria-item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #111827;
  aspect-ratio: 4 / 3;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-modal img {
  max-width: 92vw;
  max-height: 85vh;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: #ef4444;
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
}

/* Página Blog */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-post {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 20px;
}

.blog-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-meta {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}

.blog-post h2 {
  font-size: 20px;
  color: #111827;
  margin-bottom: 10px;
}

.blog-post p {
  font-size: 15px;
  line-height: 1.65;
  color: #374151;
}

/* Página Contato */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid #10b981;
  border-color: transparent;
}

.btn-submit {
  background: #10b981;
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
}

.btn-submit:hover {
  background: #059669;
}

.form-feedback {
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
}

/* Responsivo para Celulares */
@media (max-width: 768px) {
  .home-grid {
    grid-template-columns: 1fr;
  }

  .prog-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
