/* Reset e configurações básicas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Variáveis de cores - Tema Cinza, Amarelo e Preto */
:root {
    --primary-gray: #2c3e50;
    --secondary-gray: #34495e;
    --light-gray: #ecf0f1;
    --dark-gray: #1a252f;
    --primary-yellow: #f39c12;
    --secondary-yellow: #f1c40f;
    --accent-yellow: #e67e22;
    --black: #000000;
    --white: #ffffff;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 37, 47, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid var(--primary-yellow);
    overflow: visible;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    overflow: visible;
}

.nav-logo {
    position: relative;
    z-index: 1001;
}

.nav-logo img {
    height: 55px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(243, 156, 18, 0.3));
    transition: all 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(243, 156, 18, 0.5));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    overflow: visible;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    height: 44px;
    box-sizing: border-box;
}

.nav-link:hover {
    color: var(--black);
    background: var(--primary-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 80%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-link.active {
    color: var(--primary-yellow);
}

.nav-link.active::after {
    width: 100%;
}

.admin-nav-link {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
    color: var(--black) !important;
    border-radius: 8px;
    padding: 10px 20px !important;
    margin-left: 15px;
    font-weight: 700;
    font-size: 16px;
    border: 2px solid var(--primary-yellow);
    position: relative;
    overflow: hidden;
    z-index: 1001;
    display: flex;
    align-items: center;
    height: 44px;
    box-sizing: border-box;
}

/* Removido o efeito de gradiente deslizante que pode ser confundido com sombra */

.admin-nav-link:hover {
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--accent-yellow) 100%);
    transform: translateY(-2px);
    border-color: var(--secondary-yellow);
}

/* Garantir que o dropdown não seja afetado pelo efeito do admin */
.dropdown:hover .dropdown-toggle {
    z-index: 1004;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-gray) 0%, var(--dark-gray) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 110px 20px 50px;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--secondary-yellow);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
}

.btn-secondary:hover {
    background: var(--primary-yellow);
    color: var(--black);
    transform: translateY(-3px);
}

.hero-image {
    font-size: 8rem;
    opacity: 0.1;
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.section-header h2 i {
    margin-right: 15px;
    color: var(--primary-yellow);
}

.section-header p {
    color: #5a6c7d;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-actions {
    margin-top: 20px;
    text-align: center;
}

.section-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.section-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(243, 156, 18, 0.4);
}

/* News Section */
.news-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    background: #ff6b35;
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.news-date .day {
    font-size: 1.5rem;
    line-height: 1;
}

.news-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 1.2rem;
    font-weight: 600;
}

.news-content p {
    color: #34495e;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.news-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.news-tag.novidade {
    background: #1976d2;
    color: white;
}

.news-tag.evento {
    background: #f57c00;
    color: white;
}

.news-tag.atualizacao {
    background: #388e3c;
    color: white;
}

.news-tag.sistema {
    background: #1976d2;
    color: white;
}

.news-tag.comunicado {
    background: #f57c00;
    color: white;
}

.news-tag.tecnologia {
    background: #388e3c;
    color: white;
}

.news-tag.geral {
    background: #7b1fa2;
    color: white;
}

.news-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
}

.news-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.news-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-placeholder small {
    opacity: 0.7;
}

/* Events Section */
.events-section {
    padding: 60px 0;
    background: #1a252f;
    color: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.event-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.event-header {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    background: #ff6b35;
    border-radius: 8px;
    padding: 10px;
    color: white;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.event-date .day {
    font-size: 1.5rem;
    line-height: 1;
}

.event-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.event-info {
    flex: 1;
}

.event-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.event-type {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.event-type.reuniao {
    background: #ff6b35;
    color: white;
}

.event-type.treinamento {
    background: #28a745;
    color: white;
}

.event-type.comemoracao {
    background: #dc3545;
    color: white;
}

.event-type.workshop {
    background: #17a2b8;
    color: white;
}

.event-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.event-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.event-detail i {
    color: #ff6b35;
    font-size: 1rem;
}

.events-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.events-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.events-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.events-placeholder small {
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card,
    .event-card {
        padding: 20px;
    }
    
    .news-card {
        flex-direction: column;
        text-align: center;
    }
    
    .event-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Contacts Section */
.contacts-section {
    padding: 60px 0;
    background: #1a252f;
    color: white;
}

.contacts-section .section-header h2 {
    color: white;
}

.contacts-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.contacts-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-search,
.contact-department-filter,
.contact-area-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}

.contact-search input,
.contact-department-filter select,
.contact-area-filter select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Estilos específicos para dropdown */
.contact-department-filter select,
.contact-area-filter select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    font-weight: 500;
}

.contact-department-filter select option,
.contact-area-filter select option {
    background: #2c3e50;
    color: white;
    font-weight: 500;
    padding: 12px 16px;
    border: none;
    outline: none;
}

.contact-department-filter select option:checked,
.contact-area-filter select option:checked {
    background: #ff6b35;
    color: white;
}

.contact-department-filter select option:hover,
.contact-area-filter select option:hover {
    background: #ff6b35;
    color: white;
}

/* Estilo para o dropdown aberto */
.contact-department-filter select:focus,
.contact-area-filter select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Melhorar contraste do texto */
.contact-department-filter select,
.contact-area-filter select {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-department-filter select option,
.contact-area-filter select option {
    color: white !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.contact-search input:focus,
.contact-department-filter select:focus,
.contact-area-filter select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.contact-search input:hover,
.contact-department-filter select:hover,
.contact-area-filter select:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #ff6b35;
    backdrop-filter: blur(10px);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.contact-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.contact-info {
    flex: 1;
}

.contact-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 5px;
    line-height: 1.3;
}

.contact-position {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.contact-department {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-department i {
    color: #ff6b35;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
}

.contact-item i {
    color: #ff6b35;
    width: 16px;
    text-align: center;
}

.contact-item small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-left: 5px;
}

.contact-area {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.area-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.contacts-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.contacts-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
    color: rgba(255, 255, 255, 0.3);
}

.contacts-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.9);
}

.contacts-placeholder small {
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive adjustments for contacts */
@media (max-width: 768px) {
    .contacts-filters {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    .contact-search,
    .contact-department-filter,
    .contact-area-filter {
        width: 100%;
        max-width: 300px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-name {
        font-size: 1.1rem;
    }
}

/* Systems Section */
.systems-section {
    background: linear-gradient(135deg, var(--primary-gray) 0%, var(--secondary-gray) 100%);
    padding: 80px 0;
    color: white;
}

.systems-section .section-header h2 {
    color: white;
}

.systems-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

/* System Cards */
.system-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.system-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

.system-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--accent-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.card-icon i {
    font-size: 24px;
    color: white;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
}

.card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.card-arrow {
    color: var(--primary-yellow);
    font-size: 18px;
    transition: transform 0.3s ease;
}

.system-card:hover .card-arrow {
    transform: translateX(4px);
}



/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-yellow);
    color: var(--black);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-yellow);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

.admin-link {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(243, 156, 18, 0.2);
    backdrop-filter: blur(10px);
}

.admin-link:hover {
    background: rgba(243, 156, 18, 0.3);
    color: var(--primary-yellow) !important;
    transform: translateY(-1px);
}

/* Documents Section */
.documents-section {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.documents-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="documents-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(243, 156, 18, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23documents-pattern)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.documents-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.documents-section .section-header h2 {
    color: var(--dark-gray);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.documents-section .section-header h2 i {
    color: var(--primary-yellow);
    margin-right: 15px;
    font-size: 2.2rem;
}

.documents-section .section-header p {
    color: var(--medium-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}



.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
    align-items: start;
}

.document-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 2px solid rgba(243, 156, 18, 0.4);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(243, 156, 18, 0.3);
    border-color: var(--primary-yellow);
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.document-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.document-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--black);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.document-title {
    color: var(--dark-gray);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.document-category {
    display: inline-block;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.4) 0%, rgba(243, 156, 18, 0.2) 100%);
    color: var(--primary-yellow);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    border: 2px solid rgba(243, 156, 18, 0.5);
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.document-description {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.document-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.document-date {
    color: var(--medium-gray);
    font-size: 0.85rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.document-download {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
    color: var(--black);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
    border: 2px solid var(--primary-yellow);
}

.document-download:hover {
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--accent-yellow) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
    color: var(--black);
    text-decoration: none;
    border-color: var(--secondary-yellow);
}

.document-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.document-search {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.document-search input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-search input::placeholder {
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

.document-search input:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-yellow);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
    transform: translateY(-1px);
}

.document-category-filter {
    min-width: 180px;
}

.document-category-filter select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.document-category-filter select:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 1);
    border-color: var(--primary-yellow);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.3);
    transform: translateY(-1px);
}

.document-category-filter select option {
    background: var(--white);
    color: var(--dark-gray);
    font-weight: 600;
    padding: 8px;
}

/* Responsive styles for documents section */
@media (max-width: 768px) {
    .documents-section {
        padding: 60px 0;
    }
    
    .documents-section .section-header h2 {
        font-size: 2rem;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .document-card {
        padding: 20px;
    }
    
    .document-filters {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .document-search,
    .document-category-filter {
        min-width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .documents-section .section-header h2 {
        font-size: 1.8rem;
    }
    
    .documents-section .section-header h2 i {
        font-size: 1.6rem;
        margin-right: 10px;
    }
    
    .document-card {
        padding: 15px;
    }
    
    .document-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        align-items: center;
    }
    
    .document-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .document-meta {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        align-items: center;
    }
    
    .document-search input,
    .document-category-filter select {
        background: rgba(255, 255, 255, 0.95);
        color: var(--dark-gray);
        font-size: 16px;
        padding: 16px 18px;
        border: 2px solid rgba(0, 0, 0, 0.3);
        font-weight: 600;
    }
    
    .document-search input::placeholder {
        color: rgba(0, 0, 0, 0.6);
        font-weight: 500;
    }
    
    .document-search input:focus,
    .document-category-filter select:focus {
        background: rgba(255, 255, 255, 1);
        border-color: var(--primary-yellow);
    }
    
    .document-actions {
        text-align: center;
    }
}

/* Responsividade */
@media (max-width: 768px) {
    /* Navigation */
    .nav-container {
        height: 70px;
    }
    
    .nav-logo img {
        height: 45px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 37, 47, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 2.5rem 0;
    }

    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-link {
        color: var(--white);
        font-size: 18px;
        padding: 12px 20px;
        margin: 5px 20px;
        border-radius: 8px;
        background: rgba(243, 156, 18, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(243, 156, 18, 0.2);
        transform: translateY(-1px);
    }
    
    .admin-nav-link {
        margin: 10px 20px;
        padding: 12px 24px !important;
        font-size: 18px;
        background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%) !important;
        color: var(--black) !important;
        border-radius: 8px;
        font-weight: 700;
        border: 2px solid var(--primary-yellow);
        position: relative;
        overflow: hidden;
    }
    
    .admin-nav-link:hover {
        background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--accent-yellow) 100%) !important;
        transform: translateY(-2px);
        border-color: var(--secondary-yellow);
    }
    
    /* Dropdown no mobile */
    .dropdown-menu {
        position: static;
        background: rgba(243, 156, 18, 0.1);
        border: 1px solid rgba(243, 156, 18, 0.3);
        border-radius: 8px;
        margin: 10px 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    
    .dropdown-item {
        padding: 8px 20px;
        font-size: 14px;
        border-bottom: 1px solid rgba(243, 156, 18, 0.1);
    }
    
    .dropdown-item:hover {
        background: var(--primary-yellow);
        color: var(--black);
        padding-left: 25px;
    }
    
    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 20px;
    }
    
    .hero-content {
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* News Section */
    .news-section {
        padding: 60px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        padding: 20px;
    }
    
    .news-date {
        min-width: 50px;
        padding: 10px;
    }
    
    .news-date .day {
        font-size: 1.3rem;
    }
    
    .news-date .month {
        font-size: 0.7rem;
    }
    
    .news-content h3 {
        font-size: 1rem;
    }
    
    .news-content p {
        font-size: 0.85rem;
    }
    
    /* Systems Section */
    .systems-section {
        padding: 60px 0;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .system-card {
        padding: 25px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .card-icon i {
        font-size: 20px;
    }
    
    .card-content h3 {
        font-size: 1.1rem;
    }
    

    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 1.8rem;
    }
    
    /* Admin button mobile styles */
    .admin-nav-link {
        margin: 8px 15px;
        padding: 10px 20px !important;
        font-size: 16px;
        background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%) !important;
        color: var(--black) !important;
        border-radius: 8px;
        font-weight: 700;
        border: 2px solid var(--primary-yellow);
        box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
        position: relative;
        overflow: hidden;
    }
    
    .admin-nav-link:hover {
        background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--accent-yellow) 100%) !important;
        transform: translateY(-2px);
        border-color: var(--secondary-yellow);
    }
    
    .system-card {
        padding: 16px;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }
    
    .card-icon i {
        font-size: 18px;
    }
    
    .card-content h3 {
        font-size: 1rem;
    }
    
    .card-content p {
        font-size: 0.8rem;
    }
    
    /* Events Section Mobile */
    .events-section {
        padding: 40px 0;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .event-card {
        padding: 16px;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .event-date {
        min-width: 60px;
        padding: 8px 10px;
    }
    
    .event-date .day {
        font-size: 1.2rem;
    }
    
    .event-date .month {
        font-size: 0.7rem;
    }
    
    .event-info {
        margin-left: 0;
    }
    
    .event-title {
        font-size: 1rem;
    }
    
    .event-description {
        font-size: 0.9rem;
    }
    
    .event-details {
        flex-direction: column;
        gap: 8px;
    }
    
                .event-detail {
                font-size: 0.8rem;
            }

            /* Contacts Section Mobile */
            .contacts-section {
                padding: 40px 0;
            }

            .contacts-filters {
                flex-direction: column;
                gap: 15px;
            }

            .filter-group {
                min-width: auto;
            }

            .contacts-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .contact-card {
                padding: 16px;
            }

            .contact-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }

            .contact-info h3 {
                font-size: 1.1rem;
            }

            .contact-department {
                font-size: 0.75rem;
                padding: 4px 10px;
            }

            .contact-area {
                font-size: 0.8rem;
                padding: 6px 10px;
            }

            .contact-details {
                margin-bottom: 12px;
            }

            .contact-detail {
                font-size: 0.8rem;
                margin-bottom: 8px;
            }

            /* Melhorar visibilidade dos campos de pesquisa em mobile */
            .search-input,
            .filter-select {
                background: rgba(255, 255, 255, 0.35);
                color: var(--black);
                font-size: 16px; /* Evitar zoom no iOS */
                padding: 14px 16px;
                border: 2px solid rgba(255, 255, 255, 0.4);
            }

            .search-input::placeholder {
                color: rgba(0, 0, 0, 0.8);
                font-weight: 500;
            }

            .search-input:focus,
            .filter-select:focus {
                background: rgba(255, 255, 255, 0.45);
                border-color: var(--primary-yellow);
                box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
            }

            .filter-select option {
                background: var(--white);
                color: var(--black);
                font-weight: 500;
                font-size: 14px;
            }
        }

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

.system-card {
    animation: fadeInUp 0.6s ease forwards;
}

.system-card:nth-child(1) { animation-delay: 0.1s; }
.system-card:nth-child(2) { animation-delay: 0.2s; }
.system-card:nth-child(3) { animation-delay: 0.3s; }
.system-card:nth-child(4) { animation-delay: 0.4s; }
.system-card:nth-child(5) { animation-delay: 0.5s; }
.system-card:nth-child(6) { animation-delay: 0.6s; }
.system-card:nth-child(7) { animation-delay: 0.7s; }
.system-card:nth-child(8) { animation-delay: 0.8s; }
.system-card:nth-child(9) { animation-delay: 0.9s; }
.system-card:nth-child(10) { animation-delay: 1s; }
.system-card:nth-child(11) { animation-delay: 1.1s; }

/* Estados de foco para acessibilidade */
.system-card:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

/* Loading state */
.system-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.system-card.loading .card-arrow {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
} 

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-spinner {
    text-align: center;
    color: var(--white);
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    display: block;
}

.loading-spinner p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

/* Meetings Section */
.meetings-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.meetings-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.meeting-date-filter,
.meeting-room-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.meeting-date-filter input,
.meeting-room-filter select {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #495057;
    transition: border-color 0.3s ease;
}

.meeting-date-filter input:focus,
.meeting-room-filter select:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.meetings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.meeting-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #ff6b35;
}

.meeting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.meeting-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.meeting-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
}

.meeting-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.meeting-status.agendada,
.meeting-status.scheduled {
    background: #28a745;
    color: white;
}

.meeting-status.cancelada,
.meeting-status.cancelled {
    background: #dc3545;
    color: white;
}

.meeting-status.em-andamento,
.meeting-status.in_progress {
    background: #ffc107;
    color: #212529;
}

.meeting-status.concluida,
.meeting-status.completed {
    background: #6c757d;
    color: white;
}

.meeting-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.meeting-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #495057;
}

.meeting-info i {
    color: #ff6b35;
    width: 16px;
    text-align: center;
}

.meeting-description {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

.meeting-participants {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.meeting-participants h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meeting-participants h4 i {
    color: #ff6b35;
}

.meeting-participants p {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.4;
}

.meetings-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.meetings-placeholder i {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.5;
    color: #dee2e6;
}

.meetings-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #495057;
}

.meetings-placeholder small {
    opacity: 0.7;
    color: #6c757d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .meetings-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .meeting-date-filter,
    .meeting-room-filter {
        width: 100%;
        max-width: 300px;
    }
    
    .meetings-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .meeting-card {
        padding: 20px;
    }
    
    .meeting-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .meeting-title {
        font-size: 1.1rem;
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: flex;
    align-items: center;
    overflow: visible;
    z-index: 1000;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1002;
    background: rgba(243, 156, 18, 0.1);
    border: 1px solid transparent;
    border-radius: 6px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 16px;
    color: var(--white);
    text-decoration: none;
    height: 44px;
    box-sizing: border-box;
}

.dropdown-toggle:hover {
    color: var(--black);
    background: var(--primary-yellow);
    transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(26, 37, 47, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid var(--primary-yellow);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1003;
    padding: 8px 0;
    margin-top: 5px;
    display: block;
}

.dropdown.active .dropdown-menu,
.dropdown-menu.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(243, 156, 18, 0.1);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: var(--primary-yellow);
    color: var(--black);
    padding-left: 25px;
}

/* Menu responsivo melhorado */
@media (max-width: 1200px) {
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .admin-nav-link {
        font-size: 14px;
        padding: 6px 12px !important;
    }
    
    .dropdown-toggle {
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .admin-nav-link {
        font-size: 13px;
        padding: 6px 12px !important;
        margin-left: 8px;
    }
    
    .dropdown-toggle {
        font-size: 13px;
        padding: 5px 10px;
    }
}

@media (max-width: 900px) {
    .nav-menu {
        gap: 12px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .admin-nav-link {
        font-size: 12px;
        padding: 5px 10px !important;
        margin-left: 6px;
    }
    
    .dropdown-toggle {
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (max-width: 800px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(26, 37, 47, 0.98);
        backdrop-filter: blur(15px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        gap: 0;
        flex-wrap: nowrap;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-link {
        font-size: 16px;
        padding: 12px 20px;
        display: block;
        width: 100%;
        border-radius: 0;
        background: transparent;
    }
    
    .nav-link:hover {
        background: var(--primary-yellow);
        color: var(--black);
        transform: none;
        box-shadow: none;
    }
    
    .admin-nav-link {
        font-size: 16px;
        padding: 12px 20px !important;
        margin: 10px 0;
        background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
        color: var(--black) !important;
        border-radius: 8px;
        border: 2px solid var(--primary-yellow);
        z-index: 1001;
    }
    
    .admin-nav-link:hover {
        background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--accent-yellow) 100%);
        transform: translateY(-2px);
        border-color: var(--secondary-yellow);
    }
    
    /* Dropdown no mobile */
    .dropdown-menu {
        position: static;
        background: rgba(243, 156, 18, 0.1);
        border: 1px solid rgba(243, 156, 18, 0.3);
        border-radius: 8px;
        margin: 10px 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1003;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    
    .dropdown-item {
        padding: 8px 20px;
        font-size: 14px;
        border-bottom: 1px solid rgba(243, 156, 18, 0.1);
    }
    
    .dropdown-item:hover {
        background: var(--primary-yellow);
        color: var(--black);
        padding-left: 25px;
    }
    
    .dropdown-toggle {
        font-size: 16px;
        padding: 12px 20px;
        display: block;
        width: 100%;
        border-radius: 0;
        background: transparent;
        text-align: center;
    }
    
    .dropdown-toggle:hover {
        background: var(--primary-yellow);
        color: var(--black);
        transform: none;
        box-shadow: none;
    }
}

/* Knowledge Base Section */
.knowledge-section {
    background: linear-gradient(135deg, var(--primary-gray) 0%, var(--secondary-gray) 100%);
    padding: 80px 0;
    color: white;
}

.knowledge-section .section-header h2 {
    color: white;
}

.knowledge-section .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.knowledge-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.knowledge-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    text-align: center;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.card-content p {
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.6;
}

.card-content ul {
    list-style: none;
    padding: 0;
}

.card-content li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px;
}

.card-content li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-yellow);
    font-weight: bold;
}



/* Managers Agenda Section */
.managers-agenda-section {
    background: var(--white);
    padding: 80px 0;
    color: var(--dark-gray);
}

.managers-agenda-section .section-header h2 {
    color: var(--dark-gray);
}

.managers-agenda-section .section-header p {
    color: var(--secondary-gray);
}

.managers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.manager-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(243, 156, 18, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.manager-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(243, 156, 18, 0.4);
}

.manager-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--secondary-yellow));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.manager-card:hover::before {
    transform: scaleX(1);
}

.manager-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.manager-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.manager-avatar i {
    font-size: 24px;
    color: var(--dark-gray);
}

.manager-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-gray);
}

.manager-info .position {
    font-size: 0.9rem;
    color: var(--secondary-gray);
    margin-bottom: 3px;
}

.manager-info .department {
    font-size: 0.8rem;
    color: var(--secondary-gray);
    background: rgba(243, 156, 18, 0.1);
    padding: 3px 8px;
    border-radius: 12px;
    display: inline-block;
}

.manager-agenda-summary {
    margin-top: 20px;
}

.agenda-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(243, 156, 18, 0.1);
    border-radius: 10px;
}

.agenda-status.available {
    border-left: 4px solid #28a745;
}

.agenda-status.unavailable {
    border-left: 4px solid #dc3545;
}

.agenda-status-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.agenda-status.available .agenda-status-text {
    color: #28a745;
}

.agenda-status.unavailable .agenda-status-text {
    color: #dc3545;
}

.agenda-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.agenda-detail {
    text-align: center;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.agenda-detail .number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-yellow);
    display: block;
}

.agenda-detail .label {
    font-size: 0.7rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agenda-week {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
}

.agenda-week .week-text {
    font-size: 0.9rem;
    font-weight: 500;
}

.manager-card .view-agenda-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-yellow), var(--secondary-yellow));
    color: var(--dark-gray);
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.manager-card .view-agenda-btn:hover {
    background: linear-gradient(135deg, var(--secondary-yellow), var(--primary-yellow));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.loading-managers {
    text-align: center;
    padding: 40px;
    color: white;
}

.loading-managers i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-yellow);
}

.loading-managers p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.no-managers {
    text-align: center;
    padding: 40px;
    color: white;
}

.no-managers i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
}

.no-managers h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-managers p {
    font-size: 1rem;
    opacity: 0.8;
}



/* Responsive adjustments */
@media (max-width: 768px) {
    .managers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .manager-card {
        padding: 20px;
    }
    
    .manager-header {
        flex-direction: column;
        text-align: center;
    }
    
    .manager-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .agenda-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }
} 

/* Login Modal */
.login-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.login-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-header h2 {
    color: white;
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.login-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 5px 0 0 0;
    font-size: 14px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 18px;
}

.login-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-error {
    background: rgba(255, 0, 0, 0.1);
    color: #ff4444;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    display: none;
}

.login-success {
    background: rgba(0, 255, 0, 0.1);
    color: #00aa00;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
    text-align: center;
    display: none;
}

.close-login {
    position: absolute;
    right: 20px;
    top: 20px;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-login:hover {
    transform: scale(1.2);
}

/* User Menu */
.user-menu {
    position: relative;
    display: inline-block;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 15px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
}

.user-level {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    z-index: 1000;
    display: none;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.user-dropdown.show {
    display: block;
}

.dropdown-item {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f8f9fa;
}

.dropdown-item i {
    color: #667eea;
    width: 16px;
}

/* Protected Content */
.protected-content {
    display: none;
}

.protected-content.show {
    display: block;
}

/* Login Button */
.login-btn-nav {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.login-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .login-content {
        margin: 10% auto;
        width: 95%;
        padding: 25px;
    }
    
    .user-info {
        padding: 6px 12px;
    }
    
    .user-name {
        font-size: 13px;
    }
    
    .user-level {
        font-size: 11px;
    }
}

/* Para seções com fundo escuro */
.events-section .section-header h2 {
    color: white;
}

.events-section .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

.document-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.document-info {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--medium-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

.document-info i {
    width: 16px;
    margin-right: 8px;
    color: var(--primary-yellow);
    font-size: 0.85rem;
}

.document-actions {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: right;
    flex-shrink: 0;
}

.document-actions .btn {
    background: linear-gradient(135deg, var(--primary-yellow) 0%, var(--secondary-yellow) 100%);
    color: var(--black);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
    border: 2px solid var(--primary-yellow);
}

.document-actions .btn:hover {
    background: linear-gradient(135deg, var(--secondary-yellow) 0%, var(--accent-yellow) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.6);
    color: var(--black);
    text-decoration: none;
    border-color: var(--secondary-yellow);
}

.documents-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: var(--medium-gray);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(243, 156, 18, 0.3);
}

.documents-placeholder i {
    font-size: 3rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    display: block;
}

.documents-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.documents-placeholder small {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* Teste temporário - remover depois */
.dropdown-menu.test-show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: rgba(26, 37, 47, 0.98) !important;
    border: 1px solid var(--primary-yellow) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    min-width: 180px !important;
    z-index: 1003 !important;
    padding: 8px 0 !important;
    margin-top: 5px !important;
}

