/* ================= TV PLAYER ================= */

.tv-section{
padding:40px 0;
display:flex;
justify-content:center;
}

.container{
width:100%;
max-width:1200px;
margin:auto;
padding:0 16px;
}

/* ================= GRID DESKTOP ================= */

.tv-grid-desktop{
display:flex;
gap:24px;
align-items:flex-start;
}

/* PLAYER CARD */

.tv-player-card{
flex:1;
background:#fff;
border-radius:14px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.15);
border:1px solid #e5e7eb;
}

/* PLAYER */

.tv-player-wrapper{
position:relative;
width:100%;
padding-bottom: 60.25%; /* 16:9 */
height:0;
overflow:hidden;
}

.tv-player-iframe{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

/* ================= BANNERS LATERAIS ================= */

.tv-side-banners{
display:flex;
flex-direction:column;
gap:20px;
width:320px;
}

/* ================= BANNERS ABAIXO ================= */

.tv-bottom-banners{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin-top:20px;
}

/* ================= AD BOX ================= */

.tv-ad-box{
height:120px;
background:#fff;
border-radius:10px;
box-shadow:0 6px 15px rgba(0,0,0,0.1);
display:flex;
align-items:center;
justify-content:center;
transition:.3s;
overflow:hidden;
}

.tv-ad-box:hover{
transform:translateY(-3px);
box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

.tv-ad-box img{
width:100%;
height:100%;
object-fit:contain;
display:block;
}

/* ================= MOBILE LAYOUT ================= */

.tv-mobile{
display:none;
}

/* ================= RESPONSIVO ================= */

@media(max-width:900px){

/* ESCONDE COMPLETAMENTE O LAYOUT DESKTOP */

.tv-grid-desktop{
display:none !important;
}

.tv-side-banners{
display:none !important;
}

.tv-bottom-banners{
display:none !important;
}

/* MOSTRA LAYOUT MOBILE */

.tv-mobile{
display:block;
width:100%;
max-width:100%;
margin:auto;
}

/* PLAYER FULL WIDTH */

.tv-mobile .tv-player-card{
width:100%;
}

/* GRID BANNERS MOBILE */

.tv-mobile-banners{
display:grid;
grid-template-columns:1fr 1fr;
gap:14px;
margin-top:20px;
}

/* BANNERS */

.tv-ad-box{
height:110px;
}

}

/* ================= MOBILE PEQUENO ================= */

@media(max-width:500px){

.tv-mobile-banners{
grid-template-columns:1fr;
gap:12px;
}

.tv-ad-box{
height:100px;
}

}

/* ================= MOBILE MUITO PEQUENO ================= */

@media(max-width:360px){

.tv-ad-box{
height:90px;
}

}
/* ── BANNER DESTAQUE (carrossel fullwidth, 1 por vez) ── */
.premium-banner-section {
    display: flex;
    justify-content: center;
    padding: 18px;
}
.premium-banner-container {
    position: relative;
    width: 100%;
    max-width: 1164px;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.premium-banner-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .9s ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    text-decoration: none;
}
.premium-banner-slide.active { opacity: 1; z-index: 2; }

.premium-banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 3;
}
.banner-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .3s;
}
.banner-dot.active {
    background: #fff;
    width: 22px;
    border-radius: 4px;
}

/* mini-banners substituídos por pub-banners */

@media(max-width: 768px) {
    .premium-banner-container { height: calc(100vw * .38); border-radius: 10px; }
    .mini-banner-item { width: 180px; height: 66px; }
}

/* Transição nos grupos do carrossel de mini-banners */




/* ── PUB BANNERS (publicidade/secundários) — maiores, slide individual ── */
.pub-banners-wrap {
    background: #fff;
    border-top: 1px solid #f1f5f9;
    padding: 16px 0;
}

.pub-banners-viewport {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
    overflow: hidden;         /* Esconde o que sai pela esquerda */
    position: relative;
}

.pub-banners-track {
    display: flex;
    gap: 14px;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}

.pub-banner-item {
    flex: 0 0 calc(25% - 11px);  /* 4 visíveis, descontando gap */
    min-width: calc(25% - 11px);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/6;           /* Altura proporcional e maior */
    box-shadow: 0 4px 16px rgba(0,0,0,.1);
    transition: transform .2s;
}

.pub-banner-item:hover { transform: translateY(-2px); }
.pub-banner-item a    { display: block; height: 100%; }
.pub-banner-item img  { width: 100%; height: 100%; object-fit: cover; display: block; }

@media(max-width: 900px) {
    .pub-banner-item { flex: 0 0 calc(50% - 7px); min-width: calc(50% - 7px); }
}
@media(max-width: 580px) {
    .pub-banner-item { flex: 0 0 calc(100%); min-width: 100%; }
    .pub-banners-wrap { padding: 12px 0; }
}
