/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f8f9fa;
    color: #333;
}


/* --- NOVOS ESTILOS FVS PARA O BANNER E NAVEGAÇÃO --- */

/* Variáveis de Cores FVS */
:root {
    --fvs-text-white: #fff;
    --fvs-medium-green: #2B6D5E;
    --fvs-button-green: #5CB85C;
    
}

/* Ajusta a barra superior (logo/ícones) para ficar sobre o banner */
.top-bar-fvs-ajustada {
    position: absolute;
    top: 10px;
    left: 20px;
    width: calc(100% - 40px); /* Ajusta a largura com margem */
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3; /* Fica acima do overlay */
    box-shadow: none;
}

.logo {
margin-top: 15px;
margin-left: 20px;

}
/* Estilos dos botões */
    .pg-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        text-decoration: none;
        color: #555; /* Cor do número */
        background-color: #ffffff; /* Fundo Branco */
        border: 1px solid #ddd; /* Borda cinza clara */
        border-radius: 6px;
        font-weight: bold;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    /* Efeito ao passar o mouse (Hover) */
    .pg-btn:hover {
        background-color: #28a745 !important; /* Fica Verde */
        color: #ffffff !important; /* Número fica branco */
        border-color: #28a745 !important;
    }

    /* Estilo da página atual (já ativa) */
    .pg-btn.active {
        background-color: #f8f9fa;
        color: #28a745;
        border: 2px solid #28a745; /* Destaque na borda para a atual */
        cursor: default;
    }
.container-icones {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icone img {
    height: 35px;
    vertical-align: middle;
    border-radius: 50%;

}

.icone img:hover {
    opacity: 0.7;
}

.language-text, .user-text {
    color:white;
    margin-left: 5px;
    font-size: 16px;
    text-decoration: none;
    
}

.container-icones a {
    text-decoration: none; /* Remove o sublinhado */
}

/* Banner Principal */
.fvs-main-banner {
    height: 350px;
    background: url('../imagens/predio-fvs2.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Camada de Sobreposição (Overlay) */
.fvs-main-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   background-color: rgba(26, 128, 70, 0.8);
    z-index: 2; /* Fica abaixo da barra superior, mas acima da imagem */
}

/* Conteúdo do Overlay (Título CEAD) */
.banner-overlay-content {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
}

.main-title-fvs {
    color: var(--fvs-text-white);
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    z-index: 3; /* Fica acima do overlay */
}

/* Seção de Cursos */
.conteiner-cursos {
    max-width: 1200px;
    margin: 60px auto 60px;
    padding: 40px 50px;
}

.barra-pesquisa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 2px solid #142F3F;
    margin-bottom: 8px;
}

.cursos-disponiveis {
    color: #1a8046;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
}

.botoes-filtro {
    display: flex;
    align-items: center;
    margin: 0 !important;
}

.botoes-filtro input[type="text"] {
    height: 44px;
    padding: 0 16px;
    border: 2px solid #1a8046;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.95rem;
    width: 260px;
    outline: none;
    background: #fff;
    color: #333;
    transition: border-color 0.2s;
}

.botoes-filtro input[type="text"]:hover {
    border-color: #142F3F;
}

.botoes-filtro input[type="text"]:focus {
    border-color: #1a8046;
}

.botoes-filtro button {
    height: 44px;
    padding: 0 20px;
    background-color: #1a8046;
    color: #fff;
    border: 2px solid #1a8046;
    border-left: none;
    border-radius: 0 4px 4px 0;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.5px;
    transition: background-color 0.2s, border-color 0.2s;
}

.botoes-filtro button:hover {
    background-color: #142F3F;
    border-color: #142F3F;
}
/* Grid de Cursos - Ajustado para Tutores */
.grade-cursos {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}


.curso-cartao-fora {
    background-color: #fff !important;
    border: 1px solid #e9ecef !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 380px !important; /* Altura fixa que você deseja */
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    
    /* Transição suave */
    transition: all 0.3s ease-in-out !important;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.curso-cartao-fora:hover {
    transform: translateY(-12px) !important; /* Move para cima */
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important; /* Sombra profunda */
    z-index: 10;
}


.curso-cartao-interno {
    width: 100% !important;
    height: 140px !important;
    object-fit: cover !important;
    flex-shrink: 0;
}

.container-letras-interno {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Importante para a barrinha interna funcionar */
}

/* Nova classe para a área de rolagem da biografia */
.scroll-biografia {
    flex: 1;
    overflow-y: auto;
    margin: 8px 0;
    padding-right: 5px;
}

/* Estilização da barrinha lateral discreta */
.scroll-biografia::-webkit-scrollbar {
    width: 4px;
}
.scroll-biografia::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 10px;
}


.curso-cartao-fora {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    height: 380px !important; /* Mantém sua altura fixa */
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    
    /* Ativa a transição suave */
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.curso-cartao-fora:hover {
    transform: translateY(-12px) !important;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2) !important;
    z-index: 10;
}

.container-letras-interno {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.ver-mais{
display: inline-block;
    padding: 10px 20px;
    color: #1c8534;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    padding-top: 26px;
    margin-left: -20px;
    font-size: 12px;


}

.titulo {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.descricao {
    font-size: 14px;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 55px;
    gap: 5px;
}

.pagination a {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.pagination a:hover {
    background-color: #28a745;
    color: #fff;
}

/* Footer (mantém o estilo original para home.html) */
footer {
    background-color: #142F3F;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 100px;
}

.social-icones {
    margin-bottom: 35px;
    margin-top: 20px;
}

.social-icones img {
    height: 25px;
    margin: 0 10px;
}

.informacao-rodape {
    font-size: 15px;
}

/* Estilos específicos para a página de detalhes */

/* Responsivo */
@media (max-width: 1024px) {
    .grade-cursos {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grade-cursos {
        grid-template-columns: repeat(2, 1fr);
    }
    .barra-pesquisa {
        flex-direction: column;
    }
    .botoes-filtro {
        margin-top: 10px;
    }
}

/* Estilização da barrinha lateral interna do card */
.container-letras-interno div::-webkit-scrollbar {
    width: 4px; /* Barrinha bem fininha */
}

.container-letras-interno div::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Cor discreta */
    border-radius: 10px;
}

.container-letras-interno div::-webkit-scrollbar-track {
    background: transparent; /* Fundo invisível */
}

/* Container que limita o texto dentro do card */
.descricao-scroll-container {
    height: 70px;           /* Altura fixa para manter os cards alinhados */
    overflow-y: auto;        /* Ativa o scroll apenas se o texto for longo */
    margin: 10px 0;         /* Espaçamento superior e inferior */
    padding-right: 5px;      /* Espaço para a barra não cobrir as letras */
}

/* Estilização da barra de rolagem (Scrollbar) */
.descricao-scroll-container::-webkit-scrollbar {
    width: 4px;              /* Barra fininha para não poluir o card */
}

.descricao-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;     /* Fundo da barra */
    border-radius: 10px;
}

.descricao-scroll-container::-webkit-scrollbar-thumb {
    background: #28a745;     /* Cor verde dos seus botões */
    border-radius: 10px;
}

/* Garante que o texto da descrição esteja legível */
.descricao {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
    word-wrap: break-word;   /* Quebra palavras longas para não bugar o scroll */
}
/* --- FOOTER ESTILIZADO (ATUALIZADO) --- */
footer {
    background-color: #142F3F; /* Mantendo a sua cor institucional original */
    color: var(--fvs-text-white);
    padding: 40px 20px;
    text-align: center;
    margin-top: 100px;
    width: 100%;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.social-icons a i {
    font-size: 28px;
    color: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons a:hover i {
    transform: scale(1.15);
    opacity: 0.8;
}

footer p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8); /* Branco levemente transparente para suavizar */
}

footer a {
    color: var(--fvs-text-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}


