/* Estilos adicionais para melhorar a navegação em dispositivos móveis */

/* Ajustes para o menu dropdown em dispositivos móveis */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
        z-index: 1001;
    }
    
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 80px;
        left: 0;
        background-color: var(--branco-puro);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 1000;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        padding: 0 0 0 20px;
        margin-top: 10px;
        width: 100%;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown > a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        margin-left: 5px;
    }
    
    .dropdown.active > a::after {
        content: '\f106';
    }
}

/* Estilos para as páginas internas */
.image-text-container {
    display: flex;
    gap: 30px;
    margin: 40px 0;
    align-items: center;
}

.image-text-container.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1.5;
}

.image-content {
    flex: 1;
}

.image-content img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
    font-size: 0.8rem;
    color: var(--cinza-medio);
    margin-top: 10px;
    text-align: center;
}

.highlight-box {
    background-color: var(--branco-grafite);
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    border-left: 4px solid var(--azul-principal);
}

.highlight-box h3 {
    margin-bottom: 15px;
}

.highlight-box ul {
    padding-left: 20px;
}

.highlight-box ul li {
    margin-bottom: 10px;
}

.section-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.link-card {
    display: flex;
    background-color: var(--branco-puro);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.link-icon {
    width: 60px;
    height: 60px;
    background-color: var(--azul-principal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--branco-puro);
    font-size: 1.5rem;
}

.link-content {
    flex: 1;
}

.link-content h3 {
    margin-bottom: 10px;
}

.link-content p {
    color: var(--cinza-medio);
    margin-bottom: 15px;
}

@media (max-width: 992px) {
    .image-text-container, .image-text-container.reverse {
        flex-direction: column;
    }
    
    .section-links {
        grid-template-columns: 1fr;
    }
}
