#s5 {
  position: relative;
  background: var(--bg);
}

.s5-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../assets/xadrez.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

.s5-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 8, 0.82);
  z-index: 1;
}

#s5 .section-inner {
  position: relative;
  z-index: 2;
}

.s5-cols {
  display: flex;
  align-items: center;
  gap: 8vw;
  width: 100%;
}

.s5-col-a {
  flex: 0 0 42%;
}

.s5-col-b {
  flex: 1;
  min-width: 0;
}

/* =====================
   LABEL
   ===================== */
.s5-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 1.4rem;
}

/* =====================
   CITAÇÃO
   ===================== */
.s5-quote {
  border-left: 3px solid var(--accent);
  padding: 0 0 0 28px;
  margin: 0;
  font-size: clamp(16px, 1.6vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--fg);
  font-style: italic;
}

/* =====================
   PLAYER
   ===================== */
.s5-player {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

.s5-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.s5-player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: background 0.3s;
}

.s5-player-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.s5-play-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.s5-player-overlay:hover .s5-play-icon {
  transform: scale(1.08);
}

.s5-play-icon .material-icons {
  font-size: 36px;
  color: #fff;
  margin-left: 4px;
}

.s5-player-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

.s5-ctrl-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.s5-ctrl-btn:hover {
  opacity: 1;
}

.s5-ctrl-btn .material-icons {
  font-size: 22px;
}

.s5-progress-wrap {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.s5-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 2px;
  pointer-events: none;
}

.s5-time {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .s5-cols {
    flex-direction: column;
    gap: 3rem;
  }

  .s5-col-a {
    flex: none;
    width: 100%;
  }

  .s5-quote {
    font-size: clamp(18px, 5.5vw, 28px);
    padding-left: 20px;
  }

  .s5-col-b {
    width: 100vw;
    margin-left: calc(-1 * var(--pad-x));
    margin-right: calc(-1 * var(--pad-x));
  }

  .s5-player {
    border-radius: 0;
  }
}
