/* CONFIGURAÇÕES GERAIS E CORES */
:root { 
    --primary: #4169E1; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Poppins', sans-serif; 
    background: #f4f4f4; 
    overflow-x: hidden;
}

/* FIXOS: PLAYER E NAV */
.top-player { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    height: 65px; 
    z-index: 1000; 
    background: #000; 
    border: none;
}

.main-nav { 
    position: fixed; 
    top: 65px; 
    width: 100%; 
    height: 70px; 
    background: var(--primary); 
    z-index: 999; 
    display: flex; 
    align-items: center; 
    color: white; 
}

.main-nav .container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav-links { 
    display: flex; 
    list-style: none; 
}

.nav-links li { 
    margin-left: 20px; 
}

.nav-links a { 
    color: white; 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
}

/* CARROSSEL */
.main-content { 
    padding-top: 135px; 
}

.carousel-container { 
    position: relative; 
    width: 100%; 
    height: 450px; 
    background: #222; 
    overflow: hidden; 
}

.slide { 
    position: absolute; 
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat; /* Evita repetição da imagem */
    opacity: 0; 
    transition: opacity 1s ease; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

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

.carousel-caption { 
    color: white; 
    text-align: center; 
}

.carousel-caption h2 { 
    font-size: 3rem; 
}

.btn-primary { 
    padding: 12px 30px; 
    background: var(--primary); 
    color: white; 
    text-decoration: none; 
    border-radius: 50px; 
    font-weight: bold; 
    border: 2px solid white; 
    display: inline-block; 
    margin-top: 15px; 
}

/* CONTROLES DO CARROSSEL */
.nav-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(0,0,0,0.4); 
    color: white; 
    border: none; 
    padding: 20px; 
    cursor: pointer; 
    z-index: 10; 
    font-size: 20px; 
}

.prev { left: 0; } 
.next { right: 0; }

.dots-container { 
    position: absolute; 
    bottom: 20px; 
    width: 100%; 
    text-align: center; 
    z-index: 10; 
}

.dot { 
    height: 12px; 
    width: 12px; 
    margin: 5px; 
    background: rgba(255,255,255,0.4); 
    border-radius: 50%; 
    display: inline-block; 
    cursor: pointer; 
}

.dot.active { 
    background: white; 
    width: 25px; 
    border-radius: 10px; 
}

/* CONTEUDO: ESTRUTURA EM COLUNAS */
.content-container { 
    width: 90%; 
    max-width: 1200px; 
    margin: 40px auto; 
    display: flex; 
    gap: 30px; 
}

.main-column { flex: 3; } 
.sidebar-column { flex: 1; }

.title-session { 
    border-left: 5px solid var(--primary); 
    padding-left: 15px; 
    margin-bottom: 20px; 
    font-size: 1.2rem;
    color: #333;
    text-transform: uppercase;
}

/* CARD: PALAVRA DO DIA */
.card-palavra { 
    background: #fff; 
    padding: 30px; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

.versiculo-ref { 
    background: var(--primary); 
    color: #fff; 
    padding: 4px 12px; 
    border-radius: 4px; 
    font-size: 12px; 
    font-weight: bold; 
}

.palavra-body p { 
    font-size: 1.6rem; 
    color: #333; 
    font-style: italic; 
    margin: 20px 0; 
    line-height: 1.4; 
}

.palavra-body small { color: #777; }

/* GRID DE NOTÍCIAS (3 COLUNAS) */
.news-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.news-card-small {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

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

.news-content {
    padding: 15px;
    flex-grow: 1;
}

.news-content h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
}

.news-content p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

/* CARD: DJ ONLINE */
.card-dj { 
    background: #fff; 
    border-radius: 8px; 
    padding: 20px; 
    text-align: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.05); 
}

.status-live { 
    background: #ff0000; 
    color: #fff; 
    display: inline-block; 
    padding: 4px 12px; 
    border-radius: 4px; 
    font-size: 11px; 
    font-weight: bold; 
    margin-bottom: 15px; 
}

.blink-dot { 
    height: 8px; 
    width: 8px; 
    background-color: #fff; 
    border-radius: 50%; 
    display: inline-block; 
    margin-right: 5px; 
    animation: blinker 1s linear infinite; 
}

@keyframes blinker { 50% { opacity: 0; } }

.dj-img img { 
    width: 110px; 
    height: 110px; 
    border-radius: 50%; 
    border: 3px solid var(--primary); 
    object-fit: cover; 
    margin-bottom: 15px; 
}

.dj-info strong { display: block; font-size: 1.1rem; color: #333; }
.dj-info p { color: #777; font-size: 0.9rem; margin-bottom: 15px; }

/* CARD: TOP 5 */
.card-top5 {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.top-list {
    list-style: none;
}

.top-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.top-list li:last-child { border: none; }

.rank {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-right: 15px;
    min-width: 25px;
}

.song-info strong {
    display: block;
    font-size: 0.9rem;
    color: #333;
}

.song-info span {
    font-size: 0.75rem;
    color: #777;
}

/* BOTÕES GERAIS */
.wa-button { 
    display: block; 
    background: #25d366; 
    color: white; 
    text-align: center; 
    padding: 12px; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: bold; 
    transition: 0.3s; 
}

.wa-button:hover { 
    background: #1ebd5b; 
}

/* FOOTER */
.footer-site { 
    background: #1a1a1a; 
    color: #777; 
    padding: 30px; 
    text-align: center; 
}

/* RESPONSIVIDADE CORRIGIDA */
@media (max-width: 850px) {
    .content-container { flex-direction: column; }
    
    /* Ajuste de altura do carrossel no mobile para não cortar */
    .carousel-container { 
        height: 200px !important; 
    }
    
    /* Garante que a imagem se ajuste ao espaço sem cortar as laterais */
    .slide {
        background-size: contain !important;
        background-color: #222; 
    }

    /* AJUSTE DAS SETAS NO MOBILE - NOVO */
    .nav-btn {
        padding: 10px !important;
        font-size: 16px !important;
    }
    .prev { left: 5px !important; }
    .next { right: 5px !important; }

    .carousel-caption h2 { font-size: 1.5rem; }
    .main-column, .sidebar-column { width: 100%; }
}

/* ESTILOS VÍDEOS */
.video-card { background: #000; border-radius: 8px; overflow: hidden; }
.video-card span { display: block; padding: 8px; color: #fff; font-size: 0.8rem; text-align: center; background: #222; }

/* ESTILOS VISITANTES */
.visitantes-container {
    background: #1e2227; 
    border-radius: 8px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.visitantes-content { display: flex; justify-content: space-around; align-items: center; }
.stat-box { text-align: center; }
.stat-box i { display: block; font-size: 2rem; margin-bottom: 5px; opacity: 0.7; }
.stat-box strong { display: block; font-size: 1.5rem; margin-bottom: 2px; }
.stat-box span { font-size: 0.8rem; text-transform: uppercase; color: #abb2bf; }

/* MURAL DE RECADOS */
.card-mural {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.form-mural {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.form-mural input, .form-mural textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    outline: none;
}

.btn-enviar-mural {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-enviar-mural:hover { background: #3359c1; }

.recados-lista {
    max-height: 300px;
    overflow-y: auto;
}

.item-recado {
    background: #f9f9f9;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary);
}

.item-recado strong {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
}

.item-recado p {
    font-size: 0.8rem;
    color: #444;
    margin: 0;
    line-height: 1.3;
}

/* TÍTULOS VÍDEOS */
.video-title {
    display: block;
    padding: 10px;
    color: #ffffff !important; 
    font-size: 0.85rem;
    text-align: center;
    background: #000000;
    font-weight: 600;
}

/* PARCEIROS */
.marquee-fixed-container {
    inline-size: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    height: 100px; 
    display: block;
}

.marquee-content {
    display: flex;
    width: max-content;
    position: absolute; 
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation: slide-marquee 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.marquee-logo {
    width: 180px; 
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
}

.marquee-logo img {
    height: 70px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
}

@keyframes slide-marquee {
    from { transform: translateY(-50%) translateX(0); }
    to { transform: translateY(-50%) translateX(-50%); }
}