/* ---- GERAL E VARIÁVEIS DE TEMA ---- */
:root {
    /* Tema Claro (Padrão) */
    --bg-primary: #ffffff;
    --bg-secondary: #f0f2f5;
    --bg-card: #ffffff;
    --text-primary: #1c1e21;
    --text-secondary: #65676B;
    --border-color: #e4e6eb;
    --shadow-color: #24417a14;
    --bg-banner-live: #ecf2ff; /* COR ADICIONADA PARA O BANNER */
    --bg-live-now: #FFFDF9;
    --border-live-now: #ffe2a9;
    --border-vod-btn: #ebdddd;
    --live-card-shadow: #f8f7f4;
    --card-shadow: #f4f6f8;
    --live-red-shadow: #f5dede;
    --vod-txt-btn: #d93025;
    --vod-shadow-btn: #f3f3f3;
    --vod-bg-btn: #FFF;
    --card-border: #d9e4f8;

    /* Cores de Destaque (Accent) */
    --accent-cyan: #008c8c;
    --accent-purple: #7a00d4;
    --live-red: #d93025;
}

body.dark-mode {
    /* Tema Escuro */
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-card: #282828;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --border-color: #3a3a3a;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --bg-banner-live: #2c3340; /* COR DO BANNER PARA O TEMA ESCURO */
    --bg-live-now: #3d382f;
    --border-live-now: #806b42;
    --border-vod-btn: none;
    --live-card-shadow: #20201e;
    --card-shadow: #1e2020;
    --live-red-shadow: none;
    --vod-txt-btn: #FFF;
    --vod-shadow-btn: none;
    --vod-bg-btn: #2c3340;
    --card-border: #3a3d42;
    
    /* Cores de Destaque para o tema escuro */
    --accent-cyan: #00d1d1;
    --accent-purple: #8f00ff;
    --live-red: #c43131;
}

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

html { height: 100%; }

body { 
    min-height: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary); 
    color: var(--text-primary); 
    font-family: 'Sen', sans-serif; 
    line-height: 1.6; 
    transition: background-color 0.3s ease, color 0.3s ease; 
}

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

main.container { flex-grow: 1; }

/* ---- CABEÇALHO E NAVEGAÇÃO (MODIFICADO) ---- */
.main-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; }

.header-left { display: flex; align-items: center; gap: 40px; }
.header-right { display: flex; align-items: center; gap: 20px; }

.logo h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; margin: 0; color: var(--text-primary); }
.gradient-text { animation: pulsar 2s infinite; }

@keyframes pulsar {
    0%      { color: transparent; }
    50%     { color: var(--live-red); }
    100%    { color: transparent; }
}

.main-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--text-secondary); text-decoration: none; font-size: 1rem; font-weight: 600; transition: color 0.3s ease; padding-bottom: 5px; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--text-primary); }

#theme-toggle { background: none; border: none; color: var(--text-secondary); font-size: 1.2rem; cursor: pointer; transition: color 0.3s ease, transform 0.3s ease; padding: 5px; }
#theme-toggle:hover { color: var(--accent-cyan); }


/* ---- TÍTULOS DE SEÇÃO ---- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagina-agenda .section-header { /* Aplica apenas na pagina agenda.html */
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-direction: column;
    align-items: start;
}

/* Estilo padrão para seções sem o botão "Ver todos" */
.section-header h2 {
    border-bottom: none; /* Remove a borda duplicada do h2 dentro do header */
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 30px;
}
.see-all-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.see-all-btn:hover {
    color: var(--accent-cyan);
}
.see-all-btn i {
    margin-left: 5px;
    transition: transform 0.2s ease;
}
.see-all-btn:hover i {
    transform: translateX(3px);
}

.live-indicator::before { content: ''; position: absolute; width: 100%; height: 100%; background-color: var(--live-red); border-radius: 50%; animation: ping 1.5s ease-out infinite; }

/* ==== LAYOUT PRINCIPAL E SIDEBAR (NOVO) ==== */
.main-content-wrapper {
    display: grid;
    grid-template-columns: minmax(790px, 1fr) 300px; /* Coluna principal flexível e sidebar com largura fixa */
    gap: 70px;
    align-items: flex-start; /* Esta propriedade agora não vai mais atrapalhar */
}

.sidebar-column {
    display: grid;
    gap: 30px;
}

.sidebar-column h2 { font-size: 18px; display: flex; align-items: center; height: 48px;}

/* ==== ESTILOS DA AGENDA NA SIDEBAR ==== */
.upcoming-list-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 20px 0;
}

/* Quando a lista de agenda está na sidebar, removemos a margem grande */
.sidebar-column .upcoming-list {
    margin: 20px 0;
    gap: 20px; /* Reduz o espaçamento entre os itens */
}

/* O seletor .sidebar-column .upcoming-item garante que este estilo SÓ se aplica
   quando o item está dentro da sidebar. */
.sidebar-column .upcoming-item {
    /* Muda o layout para empilhado e remove o skew */
    flex-direction: column;
    align-items: flex-start; /* Alinha tudo à esquerda */
    transform: none; /* Remove o efeito de skew que não cabe na sidebar */
    padding: 20px; /* Reduz o padding interno */
    gap: 15px;
    box-shadow: -7px 7px 0 1px var(--card-shadow);
}

/* Oculta a logo do canal na sidebar para economizar espaço */
.sidebar-column .upcoming-item .channel-logo-circle {
    display: none;
}

/* Ajusta o espaçamento e o alinhamento da data/horário */
.sidebar-column .upcoming-item .item-schedule {
    margin-left: 0; /* Remove a margem automática */
    padding-left: 0; /* Remove o padding */
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

/* Deixa o título do episódio menor na sidebar */
.sidebar-column .upcoming-item .item-info h3 {
    font-size: 1rem; /* Tamanho do título reduzido */
    line-height: 1.4;
}

/* Ajusta o título da seção na sidebar */
.sidebar-column #upcoming-section .section-header h2 {
    font-size: 18px; /* Mantém o mesmo tamanho dos outros títulos da sidebar */
    padding-bottom: 5px;
}

/* ============================================== */
/* ==== ESTILOS DOS COMPONENTES ==== */
/* ============================================== */

/* 1. SEÇÃO BANNER AO VIVO */
#live-section-banner { margin: 40px 0; }
#live-section-banner h2 { border-bottom: none; padding-bottom: 0; font-size: 1rem; letter-spacing: 1px; }
.live-banner { background-color: var(--bg-banner-live); border-radius: 25px; height: 300px; }
.side-ad { margin: 30px 0; background-color: var(--bg-banner-live); height: 300px; }
/* 2. LISTAS (AO VIVO) */
.live-list { display: grid; grid-template-columns: 1fr; gap: 35px;  margin: 40px 0; }
.live-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 35px 45px;
    border: 1px solid var(--border-live-now);
    background-color: var(--bg-live-now);
    box-shadow: -7px 7px 0 1px var(--live-card-shadow);
}

.channel-logo-circle { 
    width: 60px; 
    height: 60px; 
    background-color: var(--bg-secondary); 
    border: 2px solid var(--card-border);
    border-radius: 50%; 
    overflow: hidden;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-shrink: 0;
}

.channel-logo-circle img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover;
    display: block;
}

.watch-live-btn { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-left: auto; 
    background-color: var(--live-red); 
    color: #FFF; 
    padding: 8px 16px; 
    text-decoration: none; 
    font-size: 0.7rem; 
    font-weight: 700; 
    white-space: nowrap; 
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: -3px 3px 0 1px var(--live-red-shadow);
    animation: pulseGlow 1.7s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
      box-shadow: 0;
    }
    50% {
      box-shadow: 0 0 10px var(--live-red), 0 0 20px var(--live-red);
    }
  }

.watch-live-btn:active { 
    transform: translate(-3px, 3px);
    box-shadow: 0 0 0 transparent; 
}

.watch-live-btn i { font-size: 0.6rem; animation: ping 1.5s ease-out infinite; }
.watch-vod-btn { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    margin-left: auto; 
    border: 1px solid var(--border-vod-btn); 
    background-color: var(--vod-bg-btn); 
    color: var(--vod-txt-btn); 
    padding: 8px 16px; 
    text-decoration: none; 
    font-size: 0.7rem; 
    font-weight: 700; 
    white-space: nowrap; 
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: -3px 3px 0 1px var(--vod-shadow-btn);
}

.watch-vod-btn:active { 
    transform: translate(-3px, 3px);
    box-shadow: 0 0 0 transparent; 
}

.upcoming-item img { width: 120px; object-fit: cover; display: block; border-radius: 8px; }
.item-info { flex-grow: 1; }
.item-info h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); line-height: 1.4;}
.item-schedule { display: flex; align-items: center; gap: 10px; text-transform: uppercase; font-weight: 600; font-size: 1.1rem; color: var(--accent-cyan); white-space: nowrap; margin-left: auto; }

/* ============================================== */
/* ==== LISTA AGENDA (ESTILOS SEPARADOS) ==== */
/* ============================================== */
.upcoming-list, .completed-list { display: grid; grid-template-columns: 1fr;}

.upcoming-list {margin: 40px 0; gap: 40px;}
.completed-list {margin: 20px 0; gap: 20px;}

#upcoming-section h2 { font-size: 30px; }

.upcoming-item {box-shadow: -7px 7px 0 1px var(--card-shadow); padding: 35px 45px; gap: 40px;}
.completed-item {padding: 20px; transition: transform 0.1s ease;gap: 20px;}

.completed-item:active { box-shadow: 0 0 0 transparent; transform: translate(-7px, 7px); }
.completed-item:hover { background-color: var(--bg-banner-live); border: 1px solid var(--bg-banner-live);}

.upcoming-item, .completed-item {
    display: flex;
    align-items: center;
    background-color: var(--bg-card);
    border: 1px solid var(--card-border);
    text-decoration: none;
    color: var(--text-primary);
}

.item-schedule {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}
.item-schedule i {
    color: var(--accent-cyan);
}

/* ---- ESTILOS DO FILTRO DROPDOWN CUSTOMIZADO ---- */
.filter-container {
    position: relative; /* Necessário para posicionar o menu dropdown */
    display: flex;
    gap: 15px;
}

.custom-dropdown {
    position: relative;
    width: 250px; /* Largura do dropdown */
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--card-border);
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-primary);
    text-align: left;
    font-family: 'Sen', sans-serif;
    box-shadow: -5px 5px 0 1px var(--card-shadow);
    transition: background-color 0.2s;
}

.dropdown-toggle:hover, .dropdown-toggle:focus {
    background-color: var(--bg-banner-live);
    border: 1px solid var(--bg-banner-live);
}

.dropdown-toggle .dropdown-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-toggle i { transition: transform 0.2s ease; }

/* Gira a seta quando o menu está aberto */
.custom-dropdown.is-open .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 5px); /* Posiciona logo abaixo do botão */
    left: 0;
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--card-border);
    list-style: none;
    padding: 5px 0;
    margin: 0;
    z-index: 10;
    max-height: 250px;
    overflow-y: auto;

    /* Lógica de visibilidade */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

/* Mostra o menu quando a classe .is-open é adicionada */
.custom-dropdown.is-open .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 12px 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.dropdown-menu li:hover {
    background-color: var(--bg-secondary);
}

.dropdown-menu li.active {
    background-color: var(--bg-banner-live);
    color: var(--text-primary);
}

/* 3. SEÇÃO POPULARES */
.popular-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 20px; margin: 20px 0;}

.popular-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    text-decoration: none;
    min-height: 150px;
    color: #46526a;
    background-color: var(--bg-card);
    border: 1px solid var(--card-border);
    transition: transform 0.1s ease;
}

.popular-card:active { box-shadow: 0 0 0 transparent; transform: translate(-7px, 7px); }
.popular-card:hover { background-color: var(--bg-banner-live); border: 1px solid var(--bg-banner-live);}

.popular-grid .popular-card-container { position: relative; z-index: 1; }
.completed-list .popular-card-container { position: relative; z-index: 1; }
.popular-card-shadow { transform: translate(-7px, 7px); width: 100%; height: 100%; background-color: var(--card-shadow); position: absolute; z-index: -1;}

.logo-circle { width: 60px; height: 60px; background-color: var(--bg-secondary); overflow: hidden; display: flex; justify-content: center; align-items: center; margin-bottom: 15px; border-radius: 50%; border: 2px solid var(--card-border);}
.logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.podcast-name { color: var(--text-primary); font-weight: 600; font-size: 0.9rem; text-align: center; height: 2.5em;}

/* ============================================== */
/* ==== ESTILOS PARA PÁGINAS DE TEXTO (LEGAL) ==== */
/* ============================================== */
.text-page-container {
    padding: 35px 45px;
    background-color: var(--bg-card);
    box-shadow: -7px 7px 0 1px var(--card-shadow);
    border: 1px solid var(--card-border);
    margin: 40px 0;
}

.text-page-container h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--accent-cyan);
    padding-bottom: 10px;
    display: inline-block;
}

.text-page-container h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.text-page-container p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.text-page-container a {
    color: var(--accent-cyan);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px dotted var(--accent-cyan);
    transition: color 0.2s, border-bottom-color 0.2s;
}

.text-page-container a:hover {
    color: var(--live-red);
    border-bottom-color: var(--live-red);
}

/* ---- ESTILO DO SELETOR DE IDIOMAS LOCAL ---- */
.local-lang-switch {
    background-color: var(--bg-secondary);
    padding: 5px;
    margin-bottom: 25px;
    display: inline-flex;
    gap: 5px;
}

.local-lang-switch button {
    background: none;
    border: none;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    color: var(--text-secondary);
    transition: background-color 0.2s, color 0.2s;
    font-family: 'Sen', sans-serif;
}

.local-lang-switch button.active {
    background-color: var(--accent-cyan);
    color: #fff;
}

/* Classe para esconder o idioma inativo (mesma de antes) */
[data-lang-section]:not(.lang-active) {
    display: none;
}

/* 4. LISTA DE CATEGORIAS (SIDEBAR) */
#categories-section {
    padding: 22px 20px;
    background-color: var(--bg-card);
    margin: 30px 0;
    border: 1px solid var(--card-border);
    box-shadow: -7px 7px 0 1px var(--card-shadow);
}

.category-list { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.category-list a:hover {background-color: var(--bg-banner-live);}

.category-list a span {
    display: flex;
    align-items: center;
    gap: 15px;
}
.category-list i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}
.category-arrow {
    font-size: 0.8rem;
    color: var(--text-primary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.main-footer-container {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 50px 0;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 5px 0;
}

.footer-copyright {
    font-size: 0.85rem;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.footer-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--text-secondary);
    font-size: 1.3rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
    color: var(--accent-cyan);
    transform: translateY(-2px);
}

.logo-fallback {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #e0e0e0; /* Cor de fundo do círculo */
    color: #555; /* Cor do texto */
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    /* Remove a seleção de texto para uma melhor aparência */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ---- ESTILOS PARA MENSAGEM "SEM LIVES" ---- */
.no-live-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 45px;
    text-align: center;
    background-color: var(--bg-card);
    border: 1px solid var(--card-border);
    min-height: 200px;
}

.no-live-icon {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-live-message h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.no-live-message p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    max-width: 600px;
}

.no-episodes-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 45px;
    text-align: center;
    background-color: var(--bg-card);
    border: 1px solid var(--card-border);
    min-height: 200px;
}

.no-episodes-icon {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-episodes-message h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.no-episodes-message p {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.5;
    max-width: 600px;
}

/* Estilo específico para mensagem de erro */
.no-live-message.error-message .no-live-icon {
    color: var(--live-red);
}

.no-live-message.error-message h3 {
    color: var(--live-red);
}

/* --- ESTILO PARA A TAG DE CATEGORIA --- */

/* Container para alinhar nome do canal e categoria */
.item-info .info-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* A tag da categoria em si */
.category-tag {
    display: inline-block;
    margin-top: 2px;
    padding: 3px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--accent-cyan);
    background-color: rgba(0, 140, 140, 0.1);
    border-radius: 12px;
    text-transform: uppercase;
}

/* Responsividade para a mensagem */
@media (max-width: 768px) {
    .no-live-message {
        padding: 40px 20px;
        min-height: 150px;
    }
    
    .no-live-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .no-live-message h3 {
        font-size: 1.2rem;
    }
    
    .no-live-message p {
        font-size: 0.9rem;
    }
}

/* ---- RESPONSIVIDADE ---- */
@media (max-width: 992px) {
    /* Desfaz o layout de grid, empilhando as colunas */
    .main-content-wrapper {
        grid-template-columns: 1fr;
    }
    .sidebar-column section {
        position: static; /* Remove o 'sticky' em telas menores */
    }
}

@media (max-width: 768px) {
    .main-header { flex-direction: column; gap: 20px; padding: 20px; }
    .logo h1 { font-size: 2.8rem; }
    .live-banner { display: none; }
    .live-item {text-align: center; flex-direction: column;}
    .live-item, .completed-item { align-items: center; padding: 25px; }
    .item-schedule, .watch-live-btn, .watch-vod-btn { margin-left: 0; }

    .upcoming-item .channel-logo-circle {width: 50px; height: 50px;}
    .upcoming-item .item-info {text-align: center;}
    .upcoming-item {flex-direction: column; padding: 20px; gap: 10px;}

    .item-schedule {
        padding-top: 10px; 
        display: flex; 
        gap: 8px;
        border-top: 1px solid var(--card-border); 
        font-size: 0.8rem;
        color: var(--text-secondary);
        width: 100%;
        justify-content: center;
    }

    .item-info h3 { font-size: 0.9rem; }
    .item-info p { font-size: 0.8rem; }

    .item-info .info-meta {justify-content: center;}

    .category-tag {margin-top: -1px;}

    .sidebar-column h2, .popular-section h2, .section-header h2 {font-size: 30px; text-align: center; height: auto;}
    .sidebar-column .upcoming-item {align-items: center;}

    .main-header { 
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 20px; 
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .header-left {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .section-header {
        transform: none;
        flex-direction: column; 
        align-items: center;
        gap: 10px;
    }

    .agenda-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .agenda-header h2 { width: 100%; text-align: center; }

    .agenda-header .filter-container {
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        align-items: center; 
        text-align: center;
        gap: 40px; 
    }

    .footer-right {
        flex-direction: column;
        gap: 30px; 
    }

    .footer-nav ul {
    flex-direction: column;
    gap: 15px;
    }
}

/* ---- ESTILOS DO SKELETON LOADER ---- */
.shimmer-bg {
    animation: shimmer 2s infinite linear;
    background: linear-gradient(to right, 
        var(--bg-secondary) 4%, 
        var(--border-color) 25%, 
        var(--bg-secondary) 36%);
    background-size: 1200px 100%;
}

@keyframes shimmer {
    0% { background-position: -1200px 0; }
    100% { background-position: 1200px 0; }
}

.skeleton-item {
    border-color: var(--border-color) !important;
    background-color: var(--bg-card) !important;
    box-shadow: -7px 7px 0 1px var(--bg-secondary) !important;
}

.sidebar-column .completed-item .skeleton-logo { display: none; }
.sidebar-column .completed-item .skeleton-button { display: none; }

.skeleton-logo { width: 60px; height: 60px; border-radius: 50%; flex-shrink: 0; }
.skeleton-text { height: 20px; width: 90%; border-radius: 4px; margin-bottom: 10px; }
.skeleton-text-short { width: 60%; height: 16px; margin-bottom: 0; }
.skeleton-button { height: 35px; width: 90px; border-radius: 4px; margin-left: auto; }
.skeleton-title { display: inline-block; width: 220px; height: 30px; border-radius: 6px; vertical-align: middle; }
.skeleton-button-small { display: inline-block; width: 85px; height: 22px; border-radius: 4px; vertical-align: middle; }