/* ================= VIDEO SECTION ================= */

.video-section{
padding:80px 0;
background:#f8fafc;
}

.video-section .container{
max-width:1200px;
margin:auto;
padding:0 18px;
}

/* HEADER */

.video-header{
text-align:center;
margin-bottom:50px;
}

.video-header h2{
font-size:38px;
font-weight:800;
color:#0f172a;
margin-bottom:10px;
letter-spacing:-0.5px;
}

.video-header p{
color:#64748b;
font-size:18px;
max-width:600px;
margin:auto;
}

/* LAYOUT */

.video-layout{
display:flex;
gap:30px;
align-items:flex-start;
}

/* GRID */

.video-grid{
flex:1;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:26px;
}

/* CARD */

.video-card{
background:#ffffff;
border-radius:14px;
overflow:hidden;
box-shadow:0 8px 25px rgba(0,0,0,0.08);
transition:all .35s ease;
border:1px solid #e2e8f0;
}

.video-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 35px rgba(0,0,0,0.15);
}

/* THUMB */

.video-thumb{
position:relative;
aspect-ratio:16/9;
cursor:pointer;
overflow:hidden;
}

.video-thumb img{
width:100%;
height:100%;
object-fit:cover;
transition:transform .4s ease;
}

.video-card:hover .video-thumb img{
transform:scale(1.08);
}

/* PLAY BUTTON */

.video-play{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
background:rgba(0,0,0,0.75);
color:#fff;
width:60px;
height:60px;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:26px;
transition:.3s;
backdrop-filter:blur(6px);
}

.video-card:hover .video-play{
background:#ef4444;
transform:translate(-50%,-50%) scale(1.1);
}

/* CATEGORY BADGE */

.video-badge{
position:absolute;
top:12px;
left:12px;
background:#2563eb;
color:white;
font-size:11px;
padding:5px 10px;
border-radius:6px;
font-weight:600;
letter-spacing:.5px;
}

/* INFO */

.video-info{
padding:18px;
}

.video-info h3{
font-size:17px;
font-weight:700;
margin-bottom:8px;
color:#0f172a;
line-height:1.3;
}

.video-info p{
font-size:14px;
color:#64748b;
margin-bottom:12px;
line-height:1.5;
}

/* META */

.video-date{
font-size:12px;
color:#94a3b8;
display:block;
margin-bottom:12px;
}

/* WATCH BUTTON */

.video-watch-btn{
background:linear-gradient(135deg,#2563eb,#1d4ed8);
color:#fff;
border:none;
padding:8px 14px;
border-radius:8px;
font-size:13px;
font-weight:600;
cursor:pointer;
display:inline-flex;
align-items:center;
gap:6px;
transition:all .25s ease;
box-shadow:0 4px 10px rgba(37,99,235,0.25);
}

.video-watch-btn:hover{
background:linear-gradient(135deg,#1d4ed8,#1e40af);
transform:translateY(-2px);
box-shadow:0 6px 16px rgba(37,99,235,0.35);
}

/* ================= MODAL ================= */

.video-modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.9);
align-items:center;
justify-content:center;
z-index:9999;
padding:20px;
}

.video-modal-content{
background:#0f172a;
border-radius:14px;
max-width:900px;
width:100%;
padding:20px;
position:relative;
box-shadow:0 20px 60px rgba(0,0,0,0.5);
animation:videoModal .3s ease;
}

@keyframes videoModal{
from{
opacity:0;
transform:scale(.9);
}
to{
opacity:1;
transform:scale(1);
}
}

.video-close{
position:absolute;
top:10px;
right:14px;
font-size:26px;
cursor:pointer;
color:white;
opacity:.8;
transition:.2s;
}

.video-close:hover{
opacity:1;
transform:scale(1.1);
}

.video-iframe-container{
width:100%;
aspect-ratio:16/9;
margin-bottom:14px;
}

.video-iframe-container iframe,
.video-iframe-container video{
width:100%;
height:100%;
border:none;
border-radius:10px;
}

#videoModalTitle{
color:white;
font-size:18px;
font-weight:600;
}

/* ================= BANNERS ================= */

.video-banners{
width:300px;
display:flex;
flex-direction:column;
gap:22px;
}

.video-banner{
display:block;
border-radius:12px;
overflow:hidden;
box-shadow:0 10px 20px rgba(0,0,0,0.15);
transition:all .3s ease;
}

.video-banner img{
width:100%;
display:block;
}

.video-banner:hover{
transform:translateY(-4px) scale(1.02);
box-shadow:0 16px 30px rgba(0,0,0,0.2);
}

/* ================= RESPONSIVO ================= */

@media(max-width:1100px){

.video-layout{
flex-direction:column;
}

.video-banners{
width:100%;
flex-direction:row;
flex-wrap:wrap;
}

.video-banner{
width:48%;
}

}

@media(max-width:900px){

.video-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:600px){

.video-grid{
grid-template-columns:1fr;
}

.video-header h2{
font-size:30px;
}

.video-banner{
width:100%;
}

.video-watch-btn{
width:100%;
justify-content:center;
}

}