/* Estilos Gerais */

:root {
    --cor-primaria: #0091da;
    --cor-borda-circulos: #16a8f1;
    --cor-primaria-escura: #0056b3;
    --cor-secundaria: #005a8d;
    --cor-texto: #333;
    --cinza-claro: #f8f8f8;
    --cor-borda: #e0e0e0;
    --azul-claro: #e6f4fa;
    --cor-contato: #0382c7;
    --cor-hover: linear-gradient(to bottom right, var(--cor-primaria-escura), var(--cor-primaria));
}

/* BOTÕES DE ACESSO RÁPIDO */

.acesso-rapido {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding: 10px;
}

button {
    border: none;
}

.acesso-rapido button {
    background-color: #e4e4e4;
    color: rgb(167, 167, 167);
    border: none;
    border-radius: 5px;
    padding: 10px 10px;
    cursor: pointer;
    font-size: 1em;
    flex-grow: 1;
    text-align: center;
    transition: background-color 0.3s ease;
}

.acesso-rapido button:hover {
    background-color: #007ab3;
    background-image: var(--cor-hover);
    color: #d4eaff;
}

.acesso-rapido button a {
    display: block;
    text-decoration: none;
    color: inherit;

}

.button-secoes-title button {
    margin-left: 13px;
    background-color: #e4e4e4;
    color: rgb(167, 167, 167);
    border: none;
    border-radius: 5px;
    padding: 10px 10px;
    cursor: pointer;
    font-size: 1em;
    flex-grow: 0.05;
    text-align: center;
    transition: background-color 0.3s ease;
}

.button-secoes-title button:hover {
    background-color: #007ab3;
    background-image: var(--cor-hover);
    color: #d4eaff;
}

.button-secoes-title button a {
    display: block;
    text-decoration: none;
    color: inherit;

}

@media (max-width: 600px) {
    .acesso-rapido {
        flex-direction: column;
        gap: 5px;
    }

    .acesso-rapido button {
        width: 100%;
    }
}


/*Conteudo geral da página */
.conteudo-pagina-institucionalsemad {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr 2fr;
    grid-auto-columns: min-content;
    column-gap: 3cap;
}


/* Para múltiplas linhas/itens, ajuste grid-row conforme necessário */

/* Seção de Boas-Vindas */
.secao-boas-vindas {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.titulo-boas-vindas {
    margin-bottom: 30px;
}

.titulo-boas-vindas h1 {
    font-size: 24px;
    font-weight: 400;
    color: var(--cor-primaria);
    margin-bottom: 5px;
}

.titulo-boas-vindas h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--cor-primaria);
    margin: 0;
    position: relative;
}

.titulo-boas-vindas h2::after {
    content: '';
    display: block;
    width: 180px;
    height: 4px;
    background-color: var(--cor-secundaria);
    margin-top: 5px;
}

.conteudo-boas-vindas {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 30px;
}

/* Cartões */
.cartao {
    background-image: linear-gradient(to bottom right, var(--cinza-claro), var(--azul-claro));
    border-radius: 30px;
    box-shadow: 5px 10px 17px rgb(0 0 0 / 19%);
    padding: 25px;
    height: 1fr;
    max-width: 1fr;
    height: 1fr;
    max-height: 1fr;
    padding-top: 32px;
    padding-bottom: 6px;
}

.cartao:hover {
    background-color: #00578a;
    background-image: var(--cor-hover);
    color: white;
}

.cartao h2 {
    color: var(--cor-primaria);
    line-height: 2rem;
    text-align: left;
}

.cartao:hover h2 {
    color: white;
}

.cartao h3 {
    color: var(--cor-secundaria);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.cartao:hover h3 {
    color: white;

}

.cartao:hover h4 {
    color: white;
}

.cartao p {
    color: var(--cor-texto);
    font-size: 14px;
    line-height: 1.4;
    text-align: justify;
}

.cartao:hover p {
    color: white;
}

.cartao li {
    color: var(--cor-texto);
    font-size: 14px;
    line-height: 1.3;
    text-align: justify;
}

.cartao:hover li {
    color: white;
}

.cartao li::before {
    color: var(--cor-primaria);
}

.cartao:hover li::before {
    color: white;
}

.cartao:hover details p,
.cartao:hover details a {
    color: white;
}

.cartao details summary {
    text-align: center;
    margin-bottom: 1.0fr;
}

.cartao ul {
    list-style-type: none;
    padding-left: 0;
}

/* Seção de Objetivos */
.secao-objetivos {
    background-color: var(--cinza-claro);
    border-radius: 25px;
    box-shadow: 5px 10px 17px rgb(0 0 0 / 19%);
    padding: 30px;
}

.cabecalho-objetivos {
    margin-bottom: 25px;
}

.cabecalho-objetivos h3 {
    color: var(--cor-secundaria);
    font-size: 24px;
    font-weight: 600;
}

.conteudo-objetivos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.texto-objetivo {
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: justify;
}

/* Lista de Áreas com Ícones */
.lista-areas li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #444;
    font-size: 14px;
}

.lista-areas i {
    color: var(--cor-primaria);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Círculos de Seleção */
.container-circulos {
    display: flex;
    gap: 10px 20px;
    justify-content: start;
    margin-top: 20px;
    position: relative;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.botao-circulo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    border: none;
    color: #666;
    cursor: pointer;
    transition: all 0.1s ease;
    font-size: 24px;
}

.botao-circulo:hover {
    background-color: #d4eaff;
    color: var(--cor-primaria);
    border: 5px solid #0091da;
}

.botao-circulo.ativo {
    background-color: var(--cor-primaria);
    color: white;
    border: 5px solid #0091da;
}

.botao-circulo:focus {
    outline: none;
    border: 5px solid var(--cor-borda-circulos);
}

/* Seção de Citações */
.container-citacao {
    margin-top: 30px;
    position: relative;
    min-height: 120px;
}

.secao-citacao {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    padding-left: 20px;
    margin-bottom: 30px;
}

.secao-citacao.ativo {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.secao-citacao::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: var(--cor-primaria);
    border-radius: 4px;
}

.conteudo-citacao {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.atribuicao-citacao {
    text-align: right;
    font-style: italic;
    color: #666;
    font-size: 13px;
}

/* Botão */
.secao-botao {
    text-align: center;
}

.botao {
    background-color: var(--cor-primaria);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.botao:hover {
    background-image: var(--cor-hover);
}

.botao:active {
    transform: scale(0.98);
}

.container-secao {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    justify-content: center;
    display: block;
    box-sizing: border-box;
    display: grid;
    gap: 30px;
}

/* Seção de Missão, Visão e Valores */
.secao-mvv {
    background-color: var(--cinza-claro);
    border-radius: 25px;
    box-shadow: 5px 10px 17px rgb(0 0 0 / 19%);
    padding: 30px;
}

/* Carrossel Missão, Visão e Valores */
.carrossel-mvv-novo-wrapper {
    perspective: 1000px;
    min-height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    height: 320px;
    overflow: hidden;
}

.carrossel-mvv-novo-item {
    position: absolute;
    top: 0;
    left: 50%;
    opacity: 0;
    z-index: 1;
    transform: translateX(-50%) scale(0.85);
    transition:
        opacity 0.5s cubic-bezier(.4, 0, .2, 1),
        transform 0.5s cubic-bezier(.4, 0, .2, 1),
        filter 0.5s cubic-bezier(.4, 0, .2, 1);
    filter: blur(2px) grayscale(30%);
    pointer-events: none;
}

.carrossel-mvv-novo-item.central {
    opacity: 1;
    z-index: 3;
    transform: translateX(-50%) scale(1.05);
    filter: none;
    pointer-events: auto;
}

.carrossel-mvv-novo-item.left {
    opacity: 0.7;
    z-index: 2;
    transform: translateX(-170%) scale(0.92) rotateY(18deg);
    filter: blur(1.5px) grayscale(40%);
}

.carrossel-mvv-novo-item.right {
    opacity: 0.7;
    z-index: 2;
    transform: translateX(70%) scale(0.92) rotateY(-18deg);
    filter: blur(1.5px) grayscale(40%);
}

.carrossel-mvv-novo-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 2rem;
    color: #137eb0;
    cursor: pointer;
    z-index: 10;
}

.carrossel-mvv-novo-anterior {
    left: -40px;
}

.carrossel-mvv-novo-proximo {
    right: -40px;
}

.carrossel-mvv-novo-indicadores {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carrossel-mvv-novo-indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #b3d8ee;
    display: inline-block;
    cursor: pointer;
    transition: background 0.3s;
}

.carrossel-mvv-novo-indicador.ativo {
    background: #137eb0;
}

.coluna-missao,
.coluna-visao,
.coluna-valores {
    background: #eaf6fb;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(19, 126, 176, 0.08);
    padding: 2rem 1.5rem;
    min-width: 250px;
    max-width: 350px;
    margin: 0 auto;
}

.coluna-visao {
    background: #f2fafd;
}

.coluna-missao h3,
.coluna-valores h3 {
    color: #137eb0;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.coluna-visao h3 {
    color: #137eb0;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.coluna-missao p,
.coluna-visao p {
    color: #333;
    font-size: 1.05rem;
    text-align: center;
}

.lista-valores {
    list-style: none;
    padding: 0;
    color: #333;
    font-size: 1.05rem;
}

.lista-valores li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.lista-valores i {
    color: #1fb1e6;
    margin-right: 0.5rem;
}

/* Seção de Estrutura Organizacional */
.secao-estrutura {
    text-align: center;
    margin-top: 2.3cap;
    padding-top: 20px;
}

.caixa-estrutura {
    display: inline-block;
    background-color: var(--azul-claro);
    border: 1px solid var(--cor-primaria);
    border-radius: 5px;
    padding: 10px 15px;
    margin: 5px;
    font-size: 13px;
    color: #333;
    text-align: center;
    min-width: 150px;
}

.caixa-estrutura.principal {
    background-color: var(--azul-claro);
    font-weight: 600;
    min-width: 300px;
}

.caixa-estrutura.secundario {
    background-color: var(--azul-claro);
    min-width: 200px;
}

.nivel {
    display: flex;
    justify-content: center;
    margin: 15px 0;
    flex-wrap: wrap;
}

.conector {
    width: 2px;
    height: 20px;
    background-color: #999;
    margin: 0 auto;
}

.conector-horizontal {
    height: 2px;
    background-color: #999;
    margin: 0 auto;
    width: 80%;
    max-width: 600px;
}

/* Seção de Contato */
.secao-contato {
    position: relative;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.conteudo-contato {
    display: flex;
    background-color: var(--cor-contato);
    color: white;
    min-height: 400px;
}

.imagem-contato {
    display: flex;
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.imagem-contato iframe {
    width: 85%;
    height: 85%;
    object-fit: cover;
    border-radius: 70px 10px 70px 10px;
    position: relative;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.informacoes-contato {
    flex: 0 0 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.informacoes-contato h3 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

.detalhes-contato {
    margin-bottom: 30px;
}

.item-contato {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 16px;
}

.item-contato i {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.botoes-contato {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.botao-contato {
    background-color: rgb(75, 159, 255);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.botao-contato:hover {
    background-color: var(--cor-primaria-escura);
    color: white;
}

.nota-contato {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-top: 10px;
}

.nota-contato i {
    margin-right: 10px;
    font-size: 16px;
}

/* Responsividade */

@media (max-width: 992px) {

    .conteudo-pagina-institucionalsemad {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .conteudo-contato {
        flex-direction: column;
    }

    .imagem-contato {
        flex: 0 0 200px;
        width: 200px;
        height: 200px;
        margin: 30px auto 0;
        border-radius: 50%;
        overflow: hidden;
    }

    .imagem-contato iframe {
        position: static;
        transform: none;
        border-radius: 0;
    }

    .imagem-contato img {
        position: static;
        transform: none;
        border-radius: 0;
    }

    .informacoes-contato {
        flex: 1;
        padding: 30px;
    }
}

@media (max-width: 768px) {

    .conteudo-boas-vindas,
    .conteudo-objetivos {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .titulo-boas-vindas h2 {
        font-size: 32px;
    }

    .imagem-cidade {
        margin: 20px auto;
        max-width: 250px;
    }

    .container-circulos {
        justify-content: center;
    }

    .caixa-estrutura {
        min-width: 120px;
        font-size: 12px;
        padding: 8px;
    }

    .caixa-estrutura.principal {
        min-width: 200px;
    }

    .caixa-estrutura.secundario {
        min-width: 150px;
    }

    .botoes-contato {
        flex-direction: column;
        gap: 10px;
    }

    .cartao,
    .secao-objetivos,
    .secao-estrutura,
    .secao-secretarios {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .titulo-boas-vindas h2 {
        font-size: 28px;
    }

    .cartao,
    .secao-objetivos,
    .secao-estrutura,
    .secao-secretarios {
        padding: 15px;
    }

    .botao-circulo {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .informacoes-contato {
        padding: 20px;
    }

    .informacoes-contato h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}


/* ESTILO DO ORGANOGRAMA */
.highcharts-figure,
.highcharts-data-table table {
    min-width: 300px;
    max-width: 1000px;
    margin: 1em auto;
}



.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    flex-wrap: wrap;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 700;
    padding: 1em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

#org h4 {
    text-transform: none;
    font-size: 13px;
    font-weight: bold;
}

#org p {
    font-size: 10px;
    line-height: 10px;
}

@media screen and (max-width: 600px) {
    #org h4 {
        font-size: 2.3vw;
        line-height: 3vw;
    }

    #org p {
        font-size: 2.3vw;
        line-height: 3vw;
    }
}

.highcharts-description {
    margin: 0.3rem 10px;
    font-size: 8pt;
    text-align: center;
}


/* ESTILO PARA NOVA SSESSÃO COM SECRETÁRIOS */
/* Estilo específico para a seção de secretários */

.cabecalho-secretarios {
    margin-bottom: 25px;
}

.cabecalho-secretarios h3 {
    color: var(--cor-secundaria);
    font-size: 24px;
    font-weight: 600;
}

.perfil-secretario {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.perfil-secretario.ativo {
    display: block;
    opacity: 1;
    transform: translateY(0);
    justify-items: center;
    text-align: justify;
    margin: 0px 0px 25px 0px;
}

.foto-perfil {
    width: 130px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    margin: 20px 20px 30px 20px;
}


/* ======================================================= */
/* ====== ESTILOS PARA A SEÇÃO DE CONTATO (SEM TAILWIND) ====== */
/* ======================================================= */

.informacoes-contato .contato-titulo {
    color: #ffffff;
    margin-bottom: 1rem; /* Equivalente a mb-4 */
}

.informacoes-contato .item-contato {
    margin-bottom: 0.75rem; /* Equivalente a mb-3 */
    display: flex;
    align-items: center;
}

.informacoes-contato .item-contato span,
.informacoes-contato .nota-contato span {
    color: #ffffff; /* Equivalente a text-white */
}

.informacoes-contato .nota-contato {
    margin-top: 0.75rem; /* Equivalente a mt-3 */
    display: flex;
    align-items: center;
}

/* Estilo para os ícones */
.informacoes-contato i {
    color: #ffffff;
    margin-right: 0.75rem; /* Espaçamento entre o ícone e o texto */
}

/* Os estilos para .botoes-contato, .botao-contato, .btn, .rounded-pill 
   provavelmente vêm de outro lugar (como Bootstrap) e foram mantidos. */