:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #333333;
    --highlight-color: #f0f0f0;
    --gray-dark: #1a1a1a;
    --gray-medium: #2d2d2d;
    --gray-light: #444444;
    --interactiva-blue: #0066cc;
    --interactiva-dark: #004499;
}

body {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
}

/* ===== NAVBAR COMPACTADA COM LOGO GRANDE - IGUAL AO INDEX ===== */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 0.6rem 0 !important;
    min-height: 75px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

/* Logo grande e destacado */
.logo-image {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    margin-left: 0.5rem;
    background: linear-gradient(45deg, #fff, var(--interactiva-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-brand {
    font-weight: 700;
    display: flex;
    align-items: center;
    padding: 0.1rem 0;
}

/* Menu compacto */
.nav-link {
    font-weight: 500;
    margin: 0 0.3rem;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem !important;
    font-size: 0.95rem;
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--interactiva-blue) !important;
    background: rgba(0,102,204,0.1);
}

/* Admin Menu compacto */
.admin-menu-item {
    margin-left: 5px;
}

.admin-menu-link {
    background: rgba(0,102,204,0.1);
    border: 1px solid rgba(0,102,204,0.3);
    border-radius: 6px;
    margin: 0 3px;
    transition: all 0.3s ease;
    padding: 0.3rem 0.7rem !important;
    font-size: 0.9rem;
}

.admin-menu-link:hover {
    background: rgba(0,102,204,0.2);
    border-color: var(--interactiva-blue);
    transform: translateY(-1px);
}

/* ===== FOOTER - ESTILO IDÊNTICO AO INDEX ===== */
.footer-custom {
    background: linear-gradient(180deg, var(--gray-dark) 0%, var(--primary-color) 100%);
    border-top: 1px solid var(--gray-light);
    margin-top: 5rem;
}

.footer-title {
    color: var(--interactiva-blue);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-text {
    color: #b0b0b0;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--interactiva-blue);
    transform: translateX(5px);
}

.text-interactiva {
    color: var(--interactiva-blue) !important;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--interactiva-blue);
    color: white;
    transform: translateY(-2px);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--interactiva-blue);
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-label {
    display: block;
    color: #b0b0b0;
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.contact-value {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-value:hover {
    color: var(--interactiva-blue);
}

/* Footer Bottom */
.footer-divider {
    border-color: var(--gray-light);
    opacity: 0.3;
}

.footer-bottom {
    padding-top: 1rem;
}

.footer-copyright {
    color: #b0b0b0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.footer-legal-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: var(--interactiva-blue);
}

/* ===== ESTILOS ESPECÍFICOS DO MURAL ===== */

/* Section Title */
.section-title h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #0066cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    color: rgba(255,255,255,0.8);
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.back-btn:hover {
    background: var(--interactiva-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,102,204,0.3);
}

/* Expert Cards - ESTILO MELHORADO */
.expert-card {
    background: linear-gradient(145deg, var(--gray-dark), var(--gray-medium));
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.expert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.expert-card:hover::before {
    left: 100%;
}

.expert-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, var(--gray-medium), var(--gray-dark));
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: var(--interactiva-blue);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(45deg, var(--interactiva-blue), var(--interactiva-dark));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,102,204,0.3);
}

.expert-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid rgba(255,255,255,0.2);
    position: relative;
}

.expert-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.expert-card:hover .expert-img img {
    transform: scale(1.1);
}

.expert-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.expert-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.expert-info h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--interactiva-blue);
}

.expert-info p.text-light {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    color: #d0d0d0 !important;
}

.descricao-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.descricao-resumo {
    color: rgba(255,255,255,0.7) !important;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: all 0.3s ease;
}

.descricao-completa {
    color: rgba(255,255,255,0.7) !important;
    line-height: 1.6;
    margin-bottom: 0;
    display: none;
}

.descricao-container.expandido .descricao-resumo {
    display: none;
}

.descricao-container.expandido .descricao-completa {
    display: block;
}

.btn-expandir {
    background: transparent;
    border: none;
    color: var(--interactiva-blue);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-expandir:hover {
    color: #92fe9d;
    transform: translateY(-1px);
}

.btn-expandir .bi-chevron-down {
    transition: transform 0.3s ease;
}

.descricao-container.expandido .btn-expandir .bi-chevron-down {
    transform: rotate(180deg);
}

.expert-card .mt-3 {
    margin-top: auto !important;
}

/* Modal para visualização expandida */
.modal-especialista .modal-content {
    background: linear-gradient(135deg, var(--gray-dark) 0%, var(--gray-medium) 100%);
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.modal-especialista .modal-header {
    border-bottom: 1px solid var(--gray-light);
    padding: 2rem 2rem 1rem;
}

.modal-especialista .modal-body {
    padding: 1rem 2rem 2rem;
}

.modal-especialista .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-especialista .modal-title {
    color: white;
    font-weight: 700;
}

.modal-especialista .modal-subtitle {
    color: var(--interactiva-blue);
    font-weight: 600;
}

/* Proteção visual */
.protection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 31, 61, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.protection-modal {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 500px;
    width: 90%;
}

/* Botão Tech */
.btn-tech {
    background: linear-gradient(45deg, var(--interactiva-blue), var(--interactiva-dark));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,102,204,0.4);
    color: white;
}

/* Garantir que as colunas tenham altura igual */
.row.g-4 {
    align-items: stretch;
}

.col-lg-4.col-md-6 {
    display: flex;
}

/* Animações */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .section-title h1 {
        font-size: 2.2rem;
    }
    
    .expert-card {
        padding: 1.5rem;
    }
    
    .expert-img {
        width: 100px;
        height: 100px;
    }
    
    .modal-especialista .modal-header,
    .modal-especialista .modal-body {
        padding: 1.5rem;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 0.4rem 0 !important;
        min-height: 65px !important;
    }
    
    .logo-image {
        height: 50px;
    }
    
    .brand-text {
        font-size: 1.3rem;
        margin-left: 0.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem !important;
        font-size: 1rem;
    }
    
    .footer-links {
        gap: 0.75rem;
    }
    
    .footer-link {
        font-size: 1rem;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .footer-legal {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Ajuste extra para telas muito pequenas */
@media (max-width: 576px) {
    .navbar {
        padding: 0.3rem 0 !important;
        min-height: 60px !important;
    }
    
    .logo-image {
        height: 45px;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .section-title h1 {
        font-size: 1.8rem;
    }
    
    .expert-img {
        width: 90px;
        height: 90px;
    }
    
    .expert-card {
        padding: 1.2rem;
    }
}