/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 5 de mai. de 2025, 19:20:34
    Author     : italo
*/

/* styles.css */
/* Exemplo de uso */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    /* === CORES PRIMÁRIAS === */
    --primary: #007BFF;    /* Azul principal - usado em links, botões principais */
    --primary-dark: #0056b3; /* Versão escura do azul */
    --primary-light: #e6f1ff; /* Versão clara/destaque */

    /* === CORES FAIXAS === */

    --bandeira-amerelo: #FFD700;
    --bandeira-verde: #007A33;
    --bandeira-azul: #0033A0;
    --bandeira-vermelho: #FFD700;

    /* === OPÇÕRES FAIXAS === */

    --faixa-01: #1E3A5F; /*AZUL PETROLEO*/
    --faixa-menu: #044b2bff;/*#32475B; /*CINZA ESCURO AZULADO*/
    --faixa-menu-s: #00a64fff;
    --botao-op1: #1976D2;
    --botao-op2: #4FC3F7;


    /* === CORES SECUNDÁRIAS (APOIO) === */
    --secondary: #6c757d;   /* Cinza neutro - usado em textos secundários ou elementos discretos */
    --success: #28a745;     /* Verde - sucesso, confirmação */
    --warning: #ffc107;     /* Amarelo/Laranja - alertas, atenção */
    --danger: #dc3545;      /* Vermelho - erros, ações perigosas */

    /* === CORES DE FUNDO E TEXTO === */
    --background: #f8f9fa;  /* Fundo claro geral (bege/branco suave) */
    --background-light: #ffffff;
    --text-color: #212529;  /* Cor principal do texto (preto suave) */
    --text-muted: #6c757d;  /* Texto secundário, cinza claro */

    /* === BORDAS E SEPARADORES === */
    --border-color: #dee2e6; /* Linhas leves, separadores */
}

/* Estilo base para o corpo da página */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem; /* 16px */
    line-height: 1.6; /* Espaçamento entre linhas */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: var(--text-color);
    top: 0!important;
}

/* Classe CSS para os painéis */
.panel {
    box-sizing: border-box;
    padding: 0;
    background-color: #ffffff;
    border: var(--borda, 1px solid #ccc);
    margin: var(--acima, 10px) auto;
    width: var(--largura, 100%); /* Valor padrão é 100% */
    height: var(--altura, auto); /* Valor padrão é 100% */
    overflow: hidden; /* Evita problemas com elementos flutuantes */
}

.col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permite que os links se ajustem em telas menores */
    gap: 10px; /* Espaçamento entre os links */
}

.link-esquerda,
.link-direita {
    white-space: nowrap;
}

.link-esquerda a,
.link-direita a {
    text-decoration: none;
    color: var(--cor, --text-color);
}

.link-esquerda {
    margin-right: auto; /* Empurra os links à esquerda */
}

.link-direita {
    margin-left: auto; /* Empurra os links à direita */
}

#acessibilidade-btn {
    position: fixed;
    top: 3px;          /* Distância do topo */
    left: 10px;         /* Distância da esquerda */
    background-color: var(--botao-op2);
    color: white;
    border: none;
    border-radius: 25%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8999;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.acessibilidade-menu {
    display: none;
    position: fixed;
    top: 48px;          /* Abaixo do botão */
    left: 10px;         /* Alinhado à esquerda */
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 8998;
    font-family: sans-serif;
    font-size: 14px;
    max-width: 200px;
}

.acessibilidade-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.acessibilidade-menu li {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.acessibilidade-menu li:hover {
    background-color: #f0f0f0;
}

.acessibilidade-menu li:last-child {
    border-bottom: none;
}

/* Estilizando o select do Google Tradutor */
#translator-bar select.goog-te-combo {
    padding: 6px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover e foco */
#translator-bar select.goog-te-combo:hover,
#translator-bar select.goog-te-combo:focus {
    border-color: #888;
    background-color: #fff;
}

.od{
    display: none;
}


/* Responsividade */
@media (max-width: 768px) {
    .panel {
        width: 100% !important; /* Sobrescreve o width inline */
    }
    .oc{
        display: none;
    }
    .od{
        display: inline;
    }
    .link-direita {
        margin-left: 5px; /* Alinha à esquerda */
        text-align: left; /* Opcional: se quiser texto também à esquerda */
    }
}


.card-container {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.75rem;
    padding: 2rem;
    max-width: 80%;
    margin: auto;
}

.card-item {
    background-color: var(--faixa-menu-s) /*#009688*/;/*#3b82f6;*/
    color: white;
    text-align: center;
    padding: 0.5rem 0.25rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
}

.card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.card-icon-circle {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 10px;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
}

.card-icon-circle i {
    font-size: 28px;
}

.card-text {
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 1100px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .card-container {
        grid-template-columns: 1fr;
    }
}
.card-h1 {
    text-align: center;
    color: var(--faixa-menu-s) /*#009688*/;
    padding: 5px;
    font-size: 2rem;
}

.card-ver-todos {
    text-align: center;
    margin: 1rem auto;
}

.card-btn-ver-mais {
    background-color: var(--faixa-menu-s) /*#009688*/;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.card-btn-ver-mais:hover {
    background-color: #00796b;
    transform: translateY(-2px);
}

/*tradutor*/

#translator-bar{
    visibility: hidden;
    position: fixed;
    top: -50px;          /* Distância do topo */
    display: flex;
}
#\:1\.container{
    display: none;
    float: bottom;
}

/*Expediente*/

.exp-painel {
    background: white;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
}

.exp-titulo {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--faixa-menu-s) /*#009688*/;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 8px;
}

.exp-painel-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.exp-painel-item {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-start;
    margin: 10px;
}

.exp-icon-container {
    background-color: #e3eaf7;
    border-radius: 50%;
    padding: 12px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-icon-container i {
    font-size: 18px;
    color: #2a3b5f;
}

.exp-painel-text {
    font-size: 14px;
    color: #2a2a2a;
}

.exp-painel-text strong {
    display: block;
    margin-bottom: 4px;
    color: #000;
}

@media (max-width: 768px) {
    .exp-painel-container {
        flex-direction: column;
    }

    .exp-painel-item {
        margin: 10px 0;
    }
}

/*Botão topo*/

#btnTop {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 50px;
    height: 50px;
    display: none;
    background-color: var(--faixa-01);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: opacity 0.3s ease-in-out, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#btnTop:hover {
    background-color: #002244;
    transform: scale(1.1);
}

/*roda pe*/
footer.rp-footer {
    width: 100%;
    padding: 20px 0;
    background-color: var(--faixa-menu);
    color: #ffffff;
}

.rp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rp-logo-section {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.rp-logo,
.rp-logo-prefeitura,
.rp-logo-outro {
    max-height: 75px;
    width: auto;
}

.rp-info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
    width: 100%;
    margin-bottom: 30px;
}

.rp-coluna h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.rp-coluna ul {
    list-style: none;
    padding: 0;
}

.rp-coluna ul li {
    margin-bottom: 8px;
    font-size: 14px;
}

.rp-coluna ul li i {
    margin-right: 8px;
    color: #ffffff; /* Ícones em dourado */
}

.rp-social-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.rp-icons {
    display: flex;
    gap: 15px;
}

.rp-icons a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.rp-icons a:hover {
    color: #ffffff;
}

.rp-copyright {
    font-size: 14px;
    text-align: center;
}

/* Responsividade */
@media (max-width: 768px) {
    .rp-info-section {
        grid-template-columns: 1fr;
    }
    .rp-logo,
    .rp-logo-prefeitura,
    .rp-logo-outro {
        max-height: 55px;
        width: auto;   /* Força que os elementos subsequentes comecem abaixo */
    }
    .rp-logo-section {
        justify-content: center;
    }
}

/*Painel Erro*/
.error-box {
    max-width: 80%;
    background: #fff;
    padding: 10px 10px 30px 10px;
    border-radius: 4px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 5px auto;
    text-align: center;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    color: #1b365d;
    text-align: center;
}

.error-message {
    font-size: 1.2rem;
    color: #3366aa;
    margin: 20px 0 40px;
    line-height: 1.6;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    background: linear-gradient(90deg, #34d399, #3cbec9);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
    transition: all 0.3s ease;
}

.btn-home i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-home:hover {
    box-shadow: 0 0 30px rgba(52, 211, 153, 0.6);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .error-code {
        font-size: 80px;
    }

    .error-box {
        text-align: justify;
        max-width: 90%;
    }

    .error-message {
        font-size: 1rem;
    }

    .btn-home {
        width: 100%;
        max-width: 150px;
        font-size: 1rem;
    }
}



/*formularios*/


.frm-container {
    max-width: 80%;
    margin: 0 auto;
}

.frm-cards-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.frm-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 250px;
    transition: transform 0.3s ease;
}

.frm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.frm-card-header {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.frm-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.frm-card-footer {
    background-color: #f8f9fa;
    padding: 15px;
    display: flex;
    justify-content: space-around;
    border-top: 1px solid #eee;
}

.frm-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

.frm-icon-item:hover {
    color: #4285f4;
}

.frm-icon-item a:hover {
    color: #4285f4;
}

.frm-icon-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.frm-icon-title {
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .frm-cards-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .frm-cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .frm-cards-container {
        grid-template-columns: 1fr;
    }
}


.text-limit {
    max-width: 200px; /* ou qualquer largura */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}