/* Responsividade */

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Tablets Pequenos */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--color-white);
        flex-direction: column;
        padding: var(--spacing-xl);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: var(--spacing-md);
        border-bottom: 1px solid var(--color-gray);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .hero-section {
        min-height: 500px;
        padding: var(--spacing-xl) 0;
        margin-top: 70px;
    }
    
    .section-with-bg {
        background-attachment: scroll !important;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .team-member-image {
        width: 150px;
        height: 150px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .publications-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .logo-main {
        font-size: 1.1rem !important;
    }
    
    .logo-subtitle {
        font-size: 0.65rem !important;
    }
    
    .footer-logo .logo-main {
        font-size: 1.25rem !important;
    }
    
    .footer-logo .logo-subtitle {
        font-size: 0.7rem !important;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
    
    .section-title h2 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: var(--spacing-md);
    }
    
    .team-member-image {
        width: 120px;
        height: 120px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Animações reduzidas para usuários que preferem */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

