:root {
    --primary-cyan: #16b8b8;
    --dark-green: #034d45;
    --accent-blue: #0055d4;
    --accent-green: #a7d129;
    --text-color: #333;
    --dark: #000;
    --cyan: #00ffff;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    overflow-x: hidden;
}

/* Header & Nav */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: white;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: conic-gradient(var(--primary-cyan), var(--dark-green), var(--accent-green));
    border-radius: 50%;
    position: relative;
}

.logo-container h1 {
    font-size: 22px;
    color: var(--dark-green);
    margin: 0;
}

.logo-container span { color: var(--primary-cyan); }

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

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: bold;
    font-size: 14px;
}

.nav-links a.active {
    color: var(--primary-cyan);
    border-bottom: 2px solid var(--primary-cyan);
}

/* Hero & Graphics */
.hero-container {
    position: relative;
    height: 600px;
    padding: 20px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #eef1f1;
}

.overlay-graphic-v {
    position: absolute;
    width: 60px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-cyan), var(--accent-green));
    opacity: 0.5;
    z-index: 1;
}

.overlay-graphic-h {
    position: absolute;
    width: 100%;
    height: 60px;
    background: linear-gradient(to right, var(--accent-blue), var(--dark-green));
    opacity: 0.5;
    z-index: 1;
}

.central-circle {
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--primary-cyan), transparent);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 50px rgba(0,0,0,0.1);
}

/* Grid layout based on the image */
.grid-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    width: 100%;
    max-width: 1100px;
    z-index: 10;
}

.card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-bottom: 10px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.label {
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(3, 77, 69, 0.85);
    color: white;
    padding: 10px 15px;
    width: 100%;
    font-size: 14px;
    font-weight: bold;
}

.card-label {
    color: white; 
    padding: 10px 15px;
    width: 100%;
    
}

.large-card { grid-row: span 2; }

/* Bottom Sections */
.bottom-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 40px 5%;
    gap: 30px;
}

.bottom-sections h3 {
    font-size: 18px;
    color: var(--accent-blue);
    margin-bottom: 15px;
}

.thumb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.thumb-item img { width: 100%; border-radius: 5px; }
.thumb-item p { font-size: 10px; margin-top: 2px; }

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-btn {
    width: 40px;
    height: 40px;
    background: white;
    clip-path: polygon(20% 10%, 90% 50%, 20% 90%);
}

.live-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    color: red;
    font-size: 10px;
    font-weight: bold;
}

/* Footer */
.footer {
    padding: 20px 5%;
    border-top: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.social-icons { display: flex; gap: 15px; font-size: 20px; color: var(--dark-green); }

.watch-online {
    width: 100%;
    max-width: 500px; /* Limita a largura máxima para não esticar demais no desktop */
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.live-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 0, 0, 0.8);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10; /* Garante que o selo fique acima do vídeo */
    pointer-events: none; /* Permite clicar no player através do selo */
    animation: blink 1.5s infinite;
}

.page-content {
    position: relative;
    z-index: 10;
    width: 90%;
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    margin-top: 20px;
}

.page-title {
    color: var(--dark);
    border-left: 5px solid var(--cyan);
    padding-left: 15px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Estilo da Tabela de Programação */
.schedule-table { width: 90%; border-collapse: collapse; }
.schedule-table th { background: var(--dark); color: white; padding: 12px; text-align: left; }
.schedule-table td { padding: 12px; border-bottom: 1px solid #ddd; }

/* Estilo do Feed de Notícias */
.news-item { margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.badge { background: var(--cyan); color: white; padding: 3px 8px; font-size: 10px; border-radius: 3px; }

/* Scoreboard Esportes */
.scoreboard { background: #eee; padding: 20px; border-radius: 8px; margin-bottom: 20px; text-align: center; }
.live-status { color: red; font-size: 12px; font-weight: bold; margin-left: 10px; }

/* Efeito de piscar para o AO VIVO */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Container do Sitemap */
.sitemap-container {
    max-width: 1100px;
    margin: 40px auto;
}

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

.sitemap-column h3 {
    color: var(--dark);
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-column h3 i {
    color: var(--cyan);
}

/* Links do Sitemap */
.sitemap-column ul {
    list-style: none;
    padding: 0;
}

.sitemap-column ul li {
    margin-bottom: 12px;
}

.sitemap-column ul li a {
    text-decoration: none;
    color: #666;
    transition: 0.3s;
}

.sitemap-column ul li a:hover {
    color: var(--cyan);
    padding-left: 5px;
}

/* Textos Legais */
.legal-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: var(--blue);
    text-decoration: none;
    font-weight: bold;
}

.contact-box {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

/* Responsividade */
@media (max-width: 768px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    
    .sitemap-column {
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
    }
}

/* Estilo específico para a página de contato */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.contact-form-wrapper h3, .contact-info h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Formulário */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
}

.input-group input, .input-group select, .input-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 5px rgba(22, 184, 184, 0.3);
}

.btn-send {
    background: var(--cyan);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-send:hover {
    background: var(--dark);
}

/* Cards de Informação */
.info-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.info-card p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.info-card i {
    color: var(--cyan);
    width: 20px;
}

.social-links-contact {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}

.social-links-contact a {
    color: var(--dark);
    transition: 0.3s;
}

.social-links-contact a:hover {
    color: var(--cyan);
}

.map-placeholder {
    height: 150px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ccc;
    color: #999;
}

/* Layout Principal */
.player-layout {
    display: flex;
    flex-direction: row; /* Lado a lado no desktop */
    gap: 15px;
    margin-top: 15px;
    width: 180%;
}

.video-container {
    flex: 3; /* O player ocupa mais espaço */
    position: relative;
    padding-bottom: 42.18%; /* Mantém proporção 16:9 ajustada para o layout */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Barra Lateral de Botões */
.player-sidebar {
    flex: 1; /* Largura menor que o player */
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mode-btn {
    width: 100%;
    padding: 15px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-btn i {
    width: 20px;
    text-align: center;
}

.mode-btn:hover {
    background-color: #34495e;
    transform: translateX(5px);
}

.mode-btn.active {
    background-color: #e74c3c; /* Cor de destaque para o selecionado */
    border-left: 5px solid #fff;
}

/* Ajuste para Celular (Mobile) */
@media (max-width: 768px) {
    .player-layout {
        flex-direction: column; /* Botões vão para baixo */
    }
    
    .video-container {
        padding-bottom: 56.25%; /* 16:9 padrão no mobile */
    }

    .mode-btn:hover {
        transform: none; /* Remove efeito lateral no touch */
    }
}

/* Responsividade */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .bottom-sections { grid-template-columns: 1fr; margin-top: 840px; }
    .grid-content { grid-template-columns: 1fr; margin-top: 840px;}
    .large-card { grid-row: auto; }
    .page-content { width: 80%; }
    .schedule-table {width: 80%; }
    .player-layout { width: 100%;}

}

/* 1. Esconde o botão hambúrguer no Desktop */
.menu-toggle {
    display: none; 
}

/* 2. Configurações para Mobile (Máximo de 768px) */
@media screen and (max-width: 768px) {
    
    /* Esconde a lista de links horizontal */
    .nav-links {
        display: none; /* Isso remove os links que estão aparecendo na sua foto */
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 90%;
        background-color: white;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* Mostra a lista apenas quando o JS adicionar a classe 'active' */
    .nav-links.active {
        display: flex;
    }

    /* Mostra o botão hambúrguer que deve ficar ao lado do logo */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1100;
    }

    .bar {
        width: 100%;
        height: 3px;
        background-color: #034d45; /* Cor do seu logo */
        transition: 0.4s;
    }
}