@media (max-width: 992px) {
    .about-content {
        display: flex; /* Usar flexbox em vez de grid */
        flex-direction: column; /* Empilhar elementos */
    }
    
    .about-photo-container {
        display: block !important; /* Forçar exibição */
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 400px;
        margin: 40px auto 60px; /* Adicionar margens */
        position: relative;
        z-index: 2;
    }

    .experience-badge {
        width: 100px; /* Reduzir tamanho */
        height: 100px;
        bottom: -10px; /* Ajustar posição */
        right: -10px;
        z-index: 3;
    }

    .experience-number {
        font-size: var(--text-3xl); /* Reduzir tamanho da fonte */
    }

    .experience-text {
        font-size: calc(var(--text-xs) - 1px);
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-date {
        position: absolute;
        left: 70px;
        width: auto;
        background-color: var(--primary-color); /* Adicionar background para destacar */
        color: var(--white); /* Melhorar contraste */
        padding: 5px 10px; /* Adicionar padding */
        border-radius: var(--radius-md); /* Arredondar bordas */
        z-index: 5; /* Garantir que fique acima do conteúdo */
        top: 5px; /* Ajustar posição vertical */
    }
    
    .timeline-content {
        width: calc(100% - 120px);
        margin-left: 120px;
        margin-top: 40px; /* Aumentar margem superior para dar espaço à data */
        z-index: 4;
        position: relative;
    }

    .timeline-item {
        padding-top: 10px; /* Adicionar espaço no topo */
        position: relative;
    }
    
}

@media (max-width: 768px) {
    .about-photo-container {
        max-width: 300px;
        margin: 0 auto 2rem;
        height: auto;
    }
    
    .about-photo-frame {
        height: auto;
        aspect-ratio: 3/4;
        transform: none;
    }
    
    .photo-layers-container {
        transform: none !important;
    }
    
    .photo-original {
        position: relative;
        height: auto;
    }
    .about-qualities {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .service-types {
        justify-content: center;
    }
    
    .experience-badge {
        width: 80px; /* Tamanho menor */
        height: 80px;
        bottom: -5px;
        right: -5px;
    }
    
    .experience-number {
        font-size: var(--text-2xl);
    }
    
    .experience-text {
        font-size: var(--text-xs);
        max-width: 60px; /* Limitar largura do texto */
    }
    
    /* Solução 5: Ajustar timeline para telas pequenas */
    .timeline-date {
        font-size: var(--text-xs); /* Reduzir fonte */
        padding: 3px 8px; /* Reduzir padding */
        top: 0;
    }
    
    .timeline-content {
        margin-top: 30px; /* Reduzir margem */
    }
}

@media (max-width: 576px) {
    .about-title .title-line {
        font-size: var(--text-4xl);
    }
    
    .about-title .title-accent {
        font-size: var(--text-2xl);
    }
    
    .experience-badge {
        width: 70px;
        height: 70px;
    }
    
    .experience-number {
        font-size: var(--text-3xl);
    }
    
    .experience-text {
        font-size: calc(var(--text-xs) - 1px);
    }
    
    .timeline-date {
        font-size: calc(var(--text-xs) - 1px);
        padding: 2px 6px;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px;
    }
}