/* ==========================================================================
   Dobra 4: Sobre Mim (Bio)
   ========================================================================== */

.about-section {
    background-color: #000;
    position: relative;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 200px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: flex-start;
}

/* Coluna da Imagem */
.about-visual {
    position: relative;
    z-index: 2;
}

.profile-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(110%);
    transition: filter 0.5s ease;
}

.profile-frame:hover .profile-img {
    filter: grayscale(0%) contrast(100%);
}

.frame-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 2px solid #ff503c;
    border-right: 2px solid #ff503c;
    z-index: 3;
}

.frame-tag {
    position: absolute;
    bottom: 20px;
    left: -40px;
    background: #ff503c;
    color: #000;
    padding: 8px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    font-size: 0.9rem;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    letter-spacing: 2px;
}

/* Coluna de Texto */
.about-content {
    position: relative;
    z-index: 2;
}

.about-tag {
    font-family: 'JetBrains Mono', monospace;
    color: #ff503c;
    font-size: 0.9rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
}

.about-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    line-height: 0.9;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.about-title span {
    display: block;
}

.about-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 40px;
    max-width: 500px;
}

.about-bio strong {
    color: #fff;
}

/* Specs Grid (Estilo Terminal) */
.about-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    border-top: 1px solid #222;
    padding-top: 40px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.spec-label {
    font-family: 'JetBrains Mono', monospace;
    color: #555;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    color: #eee;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Background elements */
.about-bg-text {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-size: 25vw;
    font-weight: 900;
    color: rgba(255, 80, 60, 0.03);
    pointer-events: none;
    z-index: 1;
    white-space: nowrap;
}

@media (max-width: 992px) {
    .about-section {
        padding: 60px 0;
        margin-bottom: 100px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
        width: 100%;
        padding: 0 20px; /* Reduzido de 40px para evitar aperto excessivo */
        justify-items: center;
    }

    .about-visual {
        width: 85%;
        max-width: 320px;
        margin: 0 auto;
    }

    .about-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; /* Garante centralização total dos filhos */
    }

    .about-bio {
        margin: 0 auto 40px;
        font-size: 1rem;
        max-width: 100%; /* Permite ocupar a largura disponível */
    }

    .about-specs {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
        gap: 20px;
    }

    .spec-item {
        align-items: center; /* Centraliza o label e o value internamente */
    }

    .frame-tag {
        display: none;
    }
    
    .about-title {
        font-size: 2.2rem;
        width: 100%;
    }
}
