/* ================= SECTION ================= */

.announcement-section{
  padding:60px 16px;
  background:linear-gradient(to bottom,#f9fafb,#ffffff,#f9fafb);
  display:flex;
  justify-content:center;
}

.announcement-section .container{
  width:100%;
  max-width:900px;
  margin:auto;
  position:relative; /* para que os botões fiquem dentro do container */
}

/* ================= HEADER ================= */

.announcement-header{
  text-align:center;
  margin-bottom:32px;
}

.announcement-header h2{
  font-size:34px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:linear-gradient(90deg,#2563eb,#4f46e5);
  -webkit-background-clip:text;
  color:transparent;
}

.announcement-header p{
  color:#6b7280;
  font-size:15px;
  margin-top:6px;
}

/* ================= BUTTON ================= */

.announcement-action{
  display:flex;
  justify-content:center;
  margin-bottom:24px;
}

.btn-primary{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:#2563eb;
  color:white;
  border:none;
  padding:8px 14px;
  font-size:14px;
  font-weight:600;
  border-radius:10px;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,0.12);
  transition:all .25s;
}

.btn-primary:hover{
  background:#1d4ed8;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

/* ================= FORM ================= */

.message-form{
  display:flex;
  justify-content:center;
  margin-bottom:28px;
}

.hidden{
  display:none;
}

.card{
  width:100%;
  max-width:520px;
  background:#fff;
  padding:22px;
  border-radius:18px;
  border:1px solid #e0e7ff;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.card h3{
  font-size:17px;
  font-weight:700;
  color:#2563eb;
  margin-bottom:14px;
}

.card input,
.card textarea{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:10px;
  padding:10px 12px;
  font-size:14px;
  margin-bottom:12px;
  outline:none;
  transition:all .2s;
}

.card input:focus,
.card textarea:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 2px rgba(37,99,235,0.15);
}

.card button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  background:#2563eb;
  color:white;
  border:none;
  padding:10px;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
  transition:.2s;
}

.card button:hover{
  background:#1d4ed8;
}

/* ================= CAROUSEL ================= */

.carousel{
  position:relative;
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  max-width:760px;  
  margin:auto;
  /* overflow:hidden; REMOVIDO para não cortar botões */
}

/* ================= MESSAGE SLIDE ================= */

.carousel-item{
  position:absolute;
  width:100%;
  max-width:600px; /* largura do card */
  left:50%;
  transform:translateX(-50%) translateX(40px) scale(0.96);
  opacity:0;
  transition: all 0.55s cubic-bezier(.4,.2,.2,1);
  padding:0 10px;
}

.carousel-item.active{
  opacity:1;
  transform:translateX(-50%) translateX(0) scale(1);
}

.message-card{
  margin:0 auto; /* centraliza dentro do carousel-item */
  background:linear-gradient(135deg,#ffffff,#eff6ff);
  border:1px solid #dbeafe;
  border-radius:18px;
  padding:26px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

/* ================= TEXT ================= */

.message-text{
  font-size:18px;
  color:#374151;
  font-style:italic;
  line-height:1.5;
  margin-bottom:10px;
}

.message-author{
  font-size:14px;
  font-weight:600;
  color:#2563eb;
}

/* ================= NAVIGATION ================= */

.nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:white;
  border:none;
  width:34px;
  height:34px;
  border-radius:50%;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
  font-size:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s;
  z-index:10;
}

.nav:hover{
  background:#f3f4f6;
  transform:translateY(-50%) scale(1.05);
}

.prev{
  left:-36px; /* fora do container, sem cortar */
}

.next{
  right:-36px;
}

/* ================= EMPTY ================= */

.empty{
  text-align:center;
  color:#6b7280;
  font-size:15px;
}

/* ================= RESPONSIVE ================= */

@media (max-width:768px){
  .announcement-header h2{
    font-size:28px;
  }

  .carousel{
    height:160px;
  }

  .message-card{
    padding:20px;
  }

  .message-text{
    font-size:16px;
  }

  .prev{
    left:-24px;
  }

  .next{
    right:-24px;
  }
}
/* ================= 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; }
}
