/* ================= GLOBAL ================= */
body {
    font-family: 'Inter', sans-serif;
    background: #f9fafb;
    margin: 0;
    padding: 0;
    color: #374151;
}

/* ================= POLLS ================= */
.poll-section {
    padding: 60px 16px;
}

.poll-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start; /* padrão */
    max-width: 1200px;
    margin: 40px auto 0 auto; /* espaço superior e centralização */
}

/* ================= POLL CARD ================= */
.poll-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;

    width: calc(50% - 12px);
    min-width: 280px;
    flex: 1 1 300px;
}

.poll-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2563eb;
    margin: 0;
}

.poll-description {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.poll-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.option-info input[type="checkbox"] {
    pointer-events: none;
}

.radio-circle {
    width: 14px;
    height: 14px;
    border: 2px solid #2563eb;
    border-radius: 50%;
}

.option-info span {
    font-weight: 500;
    font-size: 14px;
}

.option-votes {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
}

.progress-bar {
    background: #e5e7eb;
    border-radius: 6px;
    height: 6px;
    width: 100%;
    overflow: hidden;
}

.progress-bar .progress {
    background: #2563eb;
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.poll-stats span {
    font-size: 12px;
    color: #6b7280;
    margin-right: 12px;
}

.vote-btn {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.vote-btn:hover {
    background: #1d4ed8;
}

.voted-msg {
    font-size: 13px;
    font-weight: 600;
    color: #10b981;
}

/* ================= CENTRALIZA SE TIVER APENAS UM ================= */
.poll-wrapper:only-child,
.poll-wrapper > .poll-card:only-child {
    justify-content: center; /* centraliza o wrapper */
}

.poll-wrapper > .poll-card:only-child {
    width: 60%; /* aumenta tamanho do card único */
    margin: 0 auto;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .poll-card {
        width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .poll-wrapper {
        justify-content: center;
    }

    .poll-card {
        width: 100%;
        padding: 16px;
    }

    .poll-header h3 {
        font-size: 16px;
    }

    .option-info span {
        font-size: 13px;
    }

    .vote-btn {
        width: 100%;
    }
}
/* ================= 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;
}

}
/* ================= 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;
}

}
/* ================= PREMIUM BANNER ================= */

.premium-banner-section{
display:flex;
justify-content:center;
padding:20px 12px;
}

.premium-banner-container{
position:relative;
width:100%;
max-width:1100px;
height:246px;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* SLIDES */

.premium-banner-slide{
position:absolute;
inset:0;
opacity:0;
transition:opacity 1s ease;
background-size:contain;
background-position:center;
background-repeat:no-repeat;
display:flex;
align-items:center;
justify-content:center;
}

.premium-banner-slide.active{
opacity:1;
z-index:2;
}

/* OVERLAY */

.premium-banner-overlay{
position:absolute;
inset:0;
background:linear-gradient(to top,
rgba(0,0,0,0.7),
rgba(0,0,0,0.4),
transparent);
display:flex;
align-items:center;
justify-content:center;
padding:20px;
}

/* TEXTO */

.premium-banner-content{
text-align:center;
color:white;
max-width:600px;
}

.premium-banner-content h2{
font-size:28px;
font-weight:700;
margin-bottom:8px;
}

.premium-banner-content p{
font-size:16px;
opacity:.9;
}

/* INDICADORES */

.premium-banner-dots{
position:absolute;
bottom:12px;
left:50%;
transform:translateX(-50%);
display:flex;
gap:8px;
}

.banner-dot{
width:10px;
height:10px;
border-radius:50%;
background:rgba(255,255,255,.5);
cursor:pointer;
transition:.3s;
}

.banner-dot.active{
background:white;
transform:scale(1.3);
}

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

@media(max-width:768px){

.premium-banner-container{
height:calc(100vw * 0.35);
}

.premium-banner-content h2{
font-size:20px;
}

.premium-banner-content p{
font-size:14px;
}

}

@media(max-width:480px){

.premium-banner-content h2{
font-size:18px;
}

}
:root {
      --primary: <?= $primaryColor ?>;
      --secondary: <?= $secondaryColor ?>;
      --accent: <?= $accentColor ?>;
      --gradient: <?= $titleGradient ?>;
    }

    .news-container {
      max-width: 1200px;
      margin: auto;
      padding: 40px 20px;
    }

    .gradient-text {
      background: var(--gradient);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }

    .news-featured {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      margin-bottom: 30px;
    }

    .news-featured img {
      width: 100%;
      height: 420px;
      object-fit: cover;
    }

    .news-featured-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 30px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
      color: #fff;
    }

    .news-featured-title {
      font-size: 28px;
      background: var(--gradient);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: 800;
      margin-bottom: 10px;
    }

    .news-featured-meta {
      font-size: 13px;
      opacity: 0.9;
    }

    .news-layout {
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }

    .news-sidebar {
      width: 260px;
    }

    .news-sidebar-item {
      display: flex;
      gap: 10px;
      background: #fff;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 10px;
    }

    .news-sidebar-item img {
      width: 60px;
      height: 60px;
      object-fit: cover;
      border-radius: 6px;
    }

    .news-sidebar-title {
      font-size: 13px;
      font-weight: 600;
    }

    .news-cards {
      flex: 1;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .news-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
      transition: .2s;
    }

    .news-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    }

    .news-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .news-card-body {
      padding: 15px;
    }

    .news-category {
      font-size: 11px;
      font-weight: 700;
      margin-bottom: 6px;
      background: var(--gradient);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .news-card-title {
      font-size: 15px;
      font-weight: 700;
      margin-bottom: 6px;
    }

    .news-card-excerpt {
      font-size: 13px;
      color: #666;
      margin-bottom: 8px;
    }

    .news-meta {
      font-size: 12px;
      color: #888;
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
    }

    .news-pagination {
      display: flex;
      justify-content: center;
      margin-top: 40px;
      gap: 6px;
      flex-wrap: wrap;
    }

    .news-pagination a {
      padding: 8px 12px;
      border-radius: 6px;
      background: #fff;
      border: 1px solid #ddd;
      text-decoration: none;
      color: #333;
      font-size: 14px;
    }

    .news-pagination a.active {
      background: var(--gradient);
      color: #fff;
      border: none;
    }

    .news-pagination a:hover {
      background: #f2f2f2;
    }

    @media(max-width:900px) {
      .news-layout {
        flex-direction: column;
      }

      .news-sidebar {
        width: 100%;
      }

      .news-cards {
        grid-template-columns: 1fr;
      }
    }