/* Estilos modernos para o layout principal */

/* Variáveis globais */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    
    /* Cores padronizadas para header e footer */
    --topheader-bg: #2c3e50;
    --topheader-text: #ffffff;
    --topheader-accent: rgba(255, 255, 255, 0.2);
    --header-bg: #ffffff;
    --header-text: #333333;
    --header-accent: #e0e0e0;
    --footer-bg: #2c3e50;
    --footer-text: #ffffff;
    --footer-accent: rgba(255, 255, 255, 0.2);
    --footer-bottom-bg: #1a252f;
}

/* Estilos gerais */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f9f9f9;
}

a {
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Header superior */
.modern-header {
    background-color: var(--header-bg);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1000;
}

.blt-super-top {
    background-color: var(--topheader-bg);
    padding: 8px 0;
    color: var(--topheader-text);
}

.blt-super-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blt-super-top .left-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.blt-super-top .left-links .nav-link {
    color: var(--topheader-text);
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.blt-super-top .left-links .nav-link i {
    margin-right: 5px;
    font-size: 16px;
}

.blt-super-top .left-links .nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.blt-super-top .left-links .accessibility-link {
    background-color: var(--topheader-accent);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.blt-super-top .left-links .accessibility-link:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.blt-super-top .social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.blt-super-top .social-icons a {
    color: var(--topheader-text);
    font-size: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--topheader-accent);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.blt-super-top .social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Estilos responsivos */
@media (max-width: 767px) {
    .blt-super-top .left-links {
        gap: 10px;
    }
    
    .blt-super-top .left-links .nav-link {
        font-size: 12px;
    }
    
    .blt-super-top .social-icons {
        gap: 10px;
    }
    
    .blt-super-top .social-icons a {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .blt-super-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .blt-super-top .left-links {
        justify-content: center;
        width: 100%;
    }
    
    .blt-super-top .social-icons {
        justify-content: center;
        width: 100%;
    }
}

/* Seção do logo e pesquisa */
.section-header {
    padding: 20px 0;
    background-color: var(--header-bg);
}

.section-header .logo {
    display: flex;
    align-items: center;
}

.section-header .logo img {
    max-height: 80px;
    transition: var(--transition);
}

.section-header .logo img:hover {
    opacity: 0.9;
}

/* Footer modernizado */
.modern-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 0;
    margin-top: 50px;
}

.modern-footer h4.title {
    color: var(--footer-text);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.modern-footer h4.title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
}

.modern-footer h5.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 20px;
}

.modern-footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.modern-footer .logo-camara {
    margin-bottom: 30px;
}

.modern-footer .logo-camara img {
    max-width: 250px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
}

.modern-footer .contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer .contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.modern-footer .contact-info li i {
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-top: 3px;
}

.modern-footer .contact-info li span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

.modern-footer .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modern-footer .footer-links li {
    margin-bottom: 10px;
}

.modern-footer .footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.modern-footer .footer-links li a:hover {
    color: #fff;
    padding-left: 5px;
}

.modern-footer .footer-links li a i {
    margin-right: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.modern-footer .social-media {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modern-footer .social-media a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--footer-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.modern-footer .social-media a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom h5 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin: 0;
}

#blit-logo {
    opacity: 0.7;
    transition: var(--transition);
}

#blit-logo:hover {
    opacity: 1;
}

#blit-logo img {
    max-height: 30px;
}

/* Responsividade */
@media (max-width: 991px) {
    .section-header {
        padding: 15px 0;
    }
    
    .section-header .logo img {
        max-height: 60px;
    }
    
    .modern-footer {
        padding: 40px 0 0;
    }
    
    .modern-footer .logo-camara,
    .modern-footer .hours,
    .modern-footer .contact {
        margin-bottom: 30px;
    }
}

@media (max-width: 767px) {
    .blt-super-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-header .logo {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Breadcrumbs modernizados */
.modern-breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin: 0;
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--text-light);
    font-size: 18px;
    line-height: 1;
    padding: 0 10px;
}

.breadcrumb-item.active {
    color: var(--text-color);
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--primary-color);
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb-item a i {
    margin-right: 5px;
    font-size: 12px;
}

/* Página de conteúdo modernizada */
.modern-page-header {
    margin-bottom: 30px;
    position: relative;
}

.modern-page-header h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.header-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 30px;
}

.modern-page-content {
    margin-bottom: 50px;
    line-height: 1.7;
}

.modern-page-content p {
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--text-color);
}

.modern-page-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
}

.modern-page-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 30px 0 15px;
}

.modern-page-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.modern-page-content ul, 
.modern-page-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.modern-page-content li {
    margin-bottom: 10px;
}

.modern-page-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-color);
    transition: var(--transition);
}

.modern-page-content a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.modern-page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
}

.modern-page-content table th {
    background-color: #f8f9fa;
    color: var(--primary-color);
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    border-bottom: 2px solid var(--border-color);
}

.modern-page-content table td {
    padding: 10px 15px;
    border-bottom: 1px solid var(--border-color);
}

.modern-page-content table tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Responsividade para páginas de conteúdo */
@media (max-width: 767px) {
    .modern-page-header h1 {
        font-size: 28px;
    }
    
    .modern-page-content h2 {
        font-size: 22px;
    }
    
    .modern-page-content h3 {
        font-size: 18px;
    }
    
    .modern-page-content p {
        font-size: 15px;
    }
}

/* Botão de contraste */
#toggle-contrast {
    display: flex;
    align-items: center;
}

#toggle-contrast:before {
    content: "\f042";
    font-family: FontAwesome;
    margin-right: 5px;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
