.hero-gradiente { position: relative; overflow: hidden; } .hero-gradiente::before { content: ""; position: absolute; inset: 0; background: linear-gradient( 90deg, rgba(8, 15, 25, 0.98) 0%, rgba(8, 15, 25, 0.88) 30%, rgba(8, 15, 25, 0.55) 55%, rgba(8, 15, 25, 0.05) 85%, transparent 100% ); pointer-events: none; z-index: 1; } .hero-gradiente > * { position: relative; z-index: 2; }