/* Página de vídeos (layout premium) */

.content-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1rem, 2.2vw, 2rem);
}

.content-title {
  margin: 0 0 0.35rem 0;
  text-align: center;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.content-text {
  margin: 0 auto 1.4rem auto;
  text-align: center;
  color: var(--color-neutral-700);
  max-width: 72ch;
  line-height: 1.6;
}

.videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

@media (min-width: 760px) {
  .videos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .videos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.video-block {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.video-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.youtube-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1220;
  cursor: pointer;
}

.youtube-wrapper:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(0, 87, 179, 0.25);
}

.youtube-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.play-button {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.play-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.play-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 20px solid rgba(255, 255, 255, 0.92);
}

.youtube-wrapper:hover .play-button::before {
  background: rgba(227, 30, 35, 0.68);
}

.video-meta {
  padding: var(--space-md);
}

.video-title {
  margin: 0 0 0.35rem 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text-color);
}

.video-description {
  margin: 0;
  color: var(--color-neutral-700);
  font-size: 0.95rem;
  line-height: 1.55;
}

.videos-cta {
  margin-top: var(--space-2xl);
  text-align: center;
}

.videos-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-color);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.videos-cta a:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}


