/* Seção Sobre Mim - Versão Corrigida com Responsividade Melhorada */
.about-section {
    background-color: #4a4a5a; /* Fundo escuro igual às outras seções */
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Cabeçalho da seção */
.about-header {
    text-align: center;
    margin-bottom: 80px;
}

.about-title {
    color: #9b59b6; /* Roxo igual ao título "Serviços" */
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    letter-spacing: -1px;
}

.about-subtitle {
    color: #ffffff; /* Texto branco */
    font-size: 20px;
    font-weight: 400;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

/* Conteúdo principal */
.about-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
}

/* Texto à esquerda */
.about-text {
    padding-right: 20px;
}

.about-description {
    color: #ffffff; /* Texto branco */
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}

/* Cards de estatísticas à direita */
.about-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-card {
    background: transparent; /* Fundo transparente */
    border: 2px solid #ffffff; /* Borda branca */
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: none; /* Remove sombra */
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-color: #9b59b6; /* Borda roxa no hover */
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #f1c40f; /* Números amarelos */
    margin-bottom: 10px;
    line-height: 1;
}

.stat-number::after {
    content: '+';
    font-size: 36px;
    margin-left: 5px;
    color: #f1c40f; /* + amarelo também */
}

.stat-label {
    color: #ffffff; /* Labels em branco */
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-header {
    animation: fadeInUp 0.8s ease-out;
}

.about-text {
    animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.about-stats {
    animation: fadeInRight 0.8s ease-out 0.4s both;
}

.stat-card:nth-child(1) {
    animation-delay: 0.6s;
}

.stat-card:nth-child(2) {
    animation-delay: 0.8s;
}

.stat-card:nth-child(3) {
    animation-delay: 1s;
}

/* RESPONSIVIDADE MELHORADA */

/* Tablets grandes (1024px - 1200px) */
@media (max-width: 1200px) {
    .about-content {
        grid-template-columns: 1fr 380px;
        gap: 50px;
    }
    
    .about-text {
        padding-right: 15px;
    }
}

/* Tablets médios (768px - 1024px) */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 320px;
        gap: 40px;
    }
    
    .about-text {
        padding-right: 10px;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .stat-label {
        font-size: 13px;
    }
}

/* Tablets pequenos e mobile landscape (600px - 768px) */
@media (max-width: 768px) {
    .about-section {
        padding: 80px 0;
    }
    
    .about-container {
        padding: 0 15px;
    }
    
    .about-header {
        margin-bottom: 60px;
    }
    
    .about-title {
        font-size: 36px;
    }
    
    .about-subtitle {
        font-size: 18px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-text {
        padding-right: 0;
        order: 1;
    }
    
    /* Cards em grid 3 colunas para tablets pequenos */
    .about-stats {
        order: 2;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .stat-card {
        padding: 20px 15px;
        min-height: 140px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .stat-number {
        font-size: 32px;
        margin-bottom: 8px;
    }
    
    .stat-number::after {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
        line-height: 1.2;
    }
}

/* Mobile portrait (480px - 600px) */
@media (max-width: 600px) {
    .about-title {
        font-size: 32px;
    }
    
    .about-subtitle {
        font-size: 16px;
    }
    
    .about-description {
        font-size: 15px;
        line-height: 1.6;
        text-align: left;
    }
    
    /* Cards em 2 colunas + 1 embaixo para mobile */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Terceiro card ocupa as duas colunas */
    .stat-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .stat-card {
        padding: 18px 12px;
        min-height: 120px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-number::after {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 10px;
    }
}

/* Mobile pequeno (max-width: 480px) */
@media (max-width: 480px) {
    .about-section {
        padding: 60px 0;
    }
    
    .about-header {
        margin-bottom: 40px;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .about-subtitle {
        font-size: 15px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    /* Cards em coluna única para mobile muito pequeno */
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .stat-card:nth-child(3) {
        grid-column: auto;
        max-width: none;
    }
    
    .stat-card {
        padding: 20px 15px;
        min-height: 100px;
    }
    
    .stat-number {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .stat-number::after {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 11px;
        line-height: 1.3;
    }
}

/* Animação de contagem dos números */
.stat-number.counting {
    color: #e13ce7; /* Vermelho durante a contagem */
    transition: color 0.3s ease;
}

.stat-number.completed {
    color: #f1c40f; /* Amarelo quando completa */
}

/* Melhorias adicionais para acessibilidade e UX */
@media (prefers-reduced-motion: reduce) {
    .about-header,
    .about-text,
    .about-stats,
    .stat-card {
        animation: none;
    }
    
    .stat-card:hover {
        transform: none;
    }
}

/* Ajustes para telas muito largas */
@media (min-width: 1400px) {
    .about-container {
        max-width: 1400px;
    }
    
    .about-content {
        grid-template-columns: 1fr 450px;
        gap: 80px;
    }
    
    .about-title {
        font-size: 52px;
    }
    
    .about-subtitle {
        font-size: 22px;
    }
    
    .about-description {
        font-size: 17px;
    }
}