﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    min-height: 100vh;
    padding-left: 0;
    transition: padding-left 0.3s ease;
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

body.menu-aberto {
    padding-left: 280px;
}

/* Botão Toggle Menu */
.toggle-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(74, 144, 226, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.toggle-menu:hover {
    background: rgba(74, 144, 226, 1);
    transform: scale(1.1);
}

.toggle-menu.menu-aberto {
    left: 270px;
}

/* Menu de Navegação Lateral */
.menu-navegacao {
    position: fixed;
    left: -280px;
    top: 0;
    width: 260px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-right: 2px solid #4a90e2;
    padding: 80px 20px 20px 20px;
    overflow-y: auto;
    z-index: 1000;
    transition: left 0.3s ease;
}

.menu-navegacao::-webkit-scrollbar {
    width: 6px;
}

.menu-navegacao::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.menu-navegacao::-webkit-scrollbar-thumb {
    background: rgba(74, 144, 226, 0.6);
    border-radius: 3px;
}

.menu-navegacao.aberto {
    left: 0;
}

.menu-navegacao h3 {
    color: #4a90e2;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid #4a90e2;
    padding-bottom: 10px;
}

.menu-item {
    display: block;
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.3);
    border-radius: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item:hover {
    background: rgba(74, 144, 226, 0.3);
    border-color: #4a90e2;
    transform: translateX(5px);
}

.menu-item.equipe-principal {
    background: rgba(74, 144, 226, 0.2);
    font-weight: bold;
    font-size: 1rem;
}

.menu-item.subequipe {
    margin-left: 15px;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
}

/* Conteúdo Principal */
.conteudo-principal {
    padding: 20px;
    transition: all 0.3s ease;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.logo {
    width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.secao-principal {
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.titulo-secao {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    background: linear-gradient(45deg, #4a90e2, #7bb3f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.card-pessoa {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    backdrop-filter: blur(5px);
}

.card-pessoa:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #4a90e2;
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.3);
}

.foto-circular {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #4a90e2;
    transition: all 0.3s ease;
}

.card-pessoa:hover .foto-circular {
    border-color: #7bb3f0;
    transform: scale(1.05);
}

.card-pessoa h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #ffffff;
}

.card-pessoa p {
    color: #b0c4de;
    font-size: 1rem;
    margin-bottom: 10px;
}

.clique-info {
    font-size: 0.85rem;
    color: #4a90e2;
    font-style: italic;
}

.linha-conectora {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #4a90e2, transparent);
    margin: 20px auto;
}

.subequipe {
    margin-top: 40px;
    padding: 30px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 15px;
    border-left: 4px solid #4a90e2;
}

.titulo-subequipe {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #7bb3f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hierarquia Visual */
.organograma-hierarquico {
    margin-top: 30px;
}

.linha-lider {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.linha-conectora {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.linha-vertical {
    width: 3px;
    height: 40px;
    background: linear-gradient(to bottom, #4a90e2, transparent);
    border-radius: 2px;
}

.linha-liderados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    justify-items: center;
}

.card-pessoa.lider {
    position: relative;
    z-index: 2;
}

.card-pessoa.liderado {
    position: relative;
    z-index: 1;
}

.card-pessoa.lider .foto-circular {
    border: 3px solid #4a90e2;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
}

.card-pessoa.liderado .foto-circular {
    border: 2px solid rgba(74, 144, 226, 0.3);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    justify-content: space-between;
}

.foto-circular {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card-pessoa:hover .foto-circular {
    border-color: #4a90e2;
    transform: scale(1.05);
}

.pessoa-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pessoa-info h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.pessoa-info .cargo {
    margin: 0 0 10px 0;
    color: #7bb3f0;
    font-size: 0.9rem;
}

.pessoa-info .email {
    margin: 0 0 10px 0;
    color: #aaa;
    font-size: 0.8rem;
}

.texto-responsabilidades {
    margin: 10px 0 0 0;
    color: #4a90e2;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.card-pessoa:hover .texto-responsabilidades {
    opacity: 1;
    color: #7bb3f0;
}

/* Remove estilos de botão que possam existir */
.btn-detalhes {
    display: none !important;
}

/* Modal centralizado */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-conteudo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 2px solid rgba(74, 144, 226, 0.3);
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-fechar {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: #4a90e2;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
}

.modal-fechar:hover {
    color: #7bb3f0;
    transform: scale(1.1);
}

/* Responsividade do modal */
@media (max-width: 768px) {
    .modal-conteudo {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
    }
}

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

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 5% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    border: 2px solid #4a90e2;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

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

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #4a90e2;
}

.modal h2 {
    color: #4a90e2;
    margin-bottom: 10px;
    font-size: 2rem;
}

.modal h3 {
    color: #7bb3f0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

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

.modal li {
    background: rgba(74, 144, 226, 0.1);
    margin-bottom: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid #4a90e2;
    transition: all 0.3s ease;
}

.modal li:hover {
    background: rgba(74, 144, 226, 0.2);
    transform: translateX(5px);
}

/* Responsividade */
@media (max-width: 768px) {
    .menu-navegacao {
        width: 100%;
        left: -100%;
    }

    .toggle-menu.menu-aberto {
        left: 20px;
    }

    body.menu-aberto {
        padding-left: 0;
    }

    .grid-pessoas {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .titulo-secao {
        font-size: 2rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 20px;
    }
}