/* Estilos específicos da página O Projeto (Em Construção) */

.project-hero {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  max-width: 1100px;
  margin-top: 40px;
  padding: 20px;
}

.project-text-content {
  flex: 1.1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.project-badge {
  background: var(--site-tint-badge);
  color: var(--site-primary);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 8px 16px;
  border-radius: var(--site-radius-pill);
  margin-bottom: 20px;
  letter-spacing: 1px;
  display: inline-block;
}

.project-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--site-text);
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.project-desc {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--site-text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: justify;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--site-surface);
  padding: 12px 20px;
  border-radius: var(--site-radius-sm);
  box-shadow: var(--site-shadow-sm);
  border-left: var(--site-border-spec);
  margin-bottom: 20px;
}

.status-dot {
  width: 12px;
  height: 12px;
  background-color: var(--site-accent-blue);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.status-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid var(--site-accent-blue);
  border-radius: 50%;
  box-sizing: border-box;
  transform-origin: center;
  animation: pulse-ring 1.8s cubic-bezier(0.215, 0.610, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0; }
  50% { transform: scale(1.75); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.status-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--site-text);
  text-transform: uppercase;
}

.project-image-wrapper {
  flex: 1.2;
  min-width: 300px;
  position: relative;
  display: flex;
  justify-content: center;
}

.project-image {
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: var(--site-radius-md);
  box-shadow: var(--site-shadow-lg);
  border: 1px solid rgba(var(--site-primary-rgb), 0.1);
  transition: transform 0.4s var(--site-ease-smooth), box-shadow 0.4s ease;
  object-fit: contain;
}

.project-image-wrapper:hover .project-image {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(var(--site-primary-rgb), 0.25);
}

@media (max-width: 900px) {
  .project-hero {
    flex-direction: column-reverse;
    text-align: center;
    gap: 30px;
    padding: 10px 5px;
  }
  
  .project-text-content,
  .project-image-wrapper {
    min-width: 0;
    width: 100%;
    align-items: center;
    text-align: center;
  }
  
  .project-image {
    max-width: 95%;
  }

  .project-desc {
    text-align: center;
  }
}

/* Seção de Mídia e Notícias */
.midia-section {
  width: 100%;
  max-width: 1100px;
  margin-top: 80px;
  padding: 20px;
  border-top: 1px solid rgba(var(--site-primary-rgb), 0.1);
  padding-top: 60px;
  scroll-margin-top: 110px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--site-text);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--site-text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Layout Grid para Notícias */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.news-card {
  background: var(--site-surface);
  border-radius: var(--site-radius-md);
  box-shadow: var(--site-shadow-sm);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: var(--site-border-accent);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transition-delay: 0s;
}

.news-card:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: var(--site-shadow-lg);
}


.news-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.news-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.news-logo.logo-square {
  max-height: 80px;
}

.news-logo.logo-wide {
  max-height: 22px;
}

.news-date {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--site-text-muted-2);
  white-space: nowrap;
}

.news-body {
  flex-grow: 1;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--site-text-dark);
  line-height: 1.4;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-align: justify;
}

.news-excerpt {
  font-size: 0.95rem;
  color: var(--site-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: justify;
}

.news-link {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--site-accent-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, gap 0.2s ease;
}

.news-link:hover {
  color: var(--site-primary);
  gap: 12px;
}

/* Área de Vídeos */
.videos-container {
  margin-top: 60px;
  width: 100%;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
  
  .video-card .news-card-header {
    height: 55px;
  }
  
  .video-card img[src*="cr.png"] {
    max-height: 24px;
  }

  .video-card img[src*="record.webp"],
  .video-card img[src*="band.png"] {
    max-height: 44px;
  }

  /* Ajustes preventivos para evitar overflow com meses longos */
  .news-card {
    padding: 20px;
  }
  
  .news-date {
    font-size: 0.78rem;
  }
}

.video-card {
  background: var(--site-surface);
  border-radius: var(--site-radius-md);
  box-shadow: var(--site-shadow-sm);
  padding: 15px;
  display: flex;
  flex-direction: column;
  border-bottom: var(--site-border-accent);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  transition-delay: 0s;
}

.video-card:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: var(--site-shadow-lg);
}


.video-card .news-card-header {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.video-card .news-logo {
  width: auto;
}

.video-card img[src*="cr.png"] {
  max-height: 30px;
}

.video-card img[src*="record.webp"],
.video-card img[src*="band.png"] {
  max-height: 58px;
}

.video-iframe-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* Aspect ratio 16:9 */
  border-radius: var(--site-radius-sm);
  overflow: hidden;
  box-shadow: var(--site-shadow-spec);
  background: #000;
}

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

.video-info {
  margin-top: 15px;
  padding: 5px 10px;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--site-text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  text-align: justify;
}

.video-desc {
  font-size: 0.9rem;
  color: var(--site-text-muted);
  line-height: 1.5;
  text-align: justify;
}

