/* ==========================================================================
   SOBRE MIM - CUSTOM CSS
========================================================================== */

/* --------------------------------------------------------------------------
   HERO OVERRIDES
-------------------------------------------------------------------------- */
.about-hero {
    min-height: 100vh;
    padding-top: 150px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Transição suave do Hero para o fundo sólido */
.about-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 180px;
    z-index: 5;
    background: linear-gradient(to bottom, rgba(244, 247, 249, 0) 0%, var(--bg-color) 100%);
    pointer-events: none;
}

html.dark-theme .about-hero::after {
    background: linear-gradient(to bottom, rgba(26, 30, 38, 0) 0%, var(--bg-color) 100%);
}

/* --------------------------------------------------------------------------
   PROFILE CARD SECTION
-------------------------------------------------------------------------- */
.about-profile-section {
    position: relative;
    z-index: 10;
    padding: 4rem 1.5rem 6rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0; /* Card começa após o hero no desktop, garantindo 100vh limpo */
}

.about-profile-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 3rem;
    padding: 3rem;
    max-width: 850px;
    width: 100%;
    margin: 0 auto;
    border-radius: 1.5rem;
    border: 1px solid rgba(var(--border-color-rgb), 0.15); /* Fallback */
    border: 1px solid var(--border-color); /* If border-color is not rgb */
    background: rgba(15, 15, 20, 0.4); /* fallback dark */
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

html:not(.dark-theme) .about-profile-card {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

/* Card Left (Photo) */
.about-profile-left {
    flex-shrink: 0;
    width: 180px;
}

.about-profile-photo-wrapper {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    padding: 4px; /* for glowing effect spacing if needed */
}

.about-profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

/* Card Right (Info) */
.about-profile-right {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.about-profile-name {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.about-profile-handle {
    margin: 0;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.95rem;
    color: var(--secondary-text-color);
}

.about-profile-role {
    margin: 1rem 0 0 0;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-color);
}

.about-profile-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.2rem 0;
}
html:not(.dark-theme) .about-profile-divider {
    background: rgba(0, 0, 0, 0.15);
}

.about-profile-bio {
    margin: 0;
    line-height: 1.7;
    color: var(--secondary-text-color);
    font-size: 1rem;
}

/* Responsive Profile Card */
@media (max-width: 768px) {
    .about-hero {
        min-height: 100vh;
        padding-top: 100px;
    }

    .scroll-down-indicator {
        bottom: 120px !important;
        z-index: 20;
    }

    .about-profile-section {
        margin-top: -60px;
        padding-bottom: 4rem;
    }

    .about-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .about-profile-name { font-size: 1.8rem; }
    .about-profile-role { font-size: 1.05rem; }
}


/* --------------------------------------------------------------------------
   EDUCATION & SKILLS SECTION
-------------------------------------------------------------------------- */
.about-education-skills-section {
    padding: 6rem 1.5rem;
    background: transparent;
    position: relative;
    z-index: 2;
}

.about-es-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.about-es-col--left {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 4rem;
}
html:not(.dark-theme) .about-es-col--left { border-right-color: rgba(0, 0, 0, 0.15); }

.about-es-block {
    margin-bottom: 3rem;
}
.about-es-block:last-child {
    margin-bottom: 0;
}

.about-es-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color, #E5E7EB);
    padding-bottom: 0.3rem;
}

/* List Items (Edu / Lang) */
.about-es-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-es-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    flex-shrink: 0;
}
html:not(.dark-theme) .about-es-icon { background: rgba(0, 0, 0, 0.08); }

.about-es-info h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.about-es-info p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.about-es-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-es-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--text-secondary);
}
.about-es-list li .flag {
    font-size: 1.2rem;
}

/* Skills Column */
.about-skills-group {
    margin-bottom: 2.5rem;
}

.about-skills-subtitle {
    margin: 0 0 1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Responsive Ed/Skills */
@media (max-width: 800px) {
    .about-es-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-es-col--left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 3rem;
    }
    html:not(.dark-theme) .about-es-col--left { border-bottom-color: rgba(0, 0, 0, 0.15); }
}


/* --------------------------------------------------------------------------
   TIMELINE VERTICAL SECTION
-------------------------------------------------------------------------- */
.about-journey-section {
    padding: 6rem 1.5rem;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.about-journey-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-timeline {
    position: relative;
    margin-top: 4rem;
    padding-left: 0;
}

/* The vertical connecting line */
.about-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45px; /* Center with the icons. Space from left + half icon width */
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}
html:not(.dark-theme) .about-timeline::before {
    background: rgba(0, 0, 0, 0.18);
}

.about-timeline-item {
    position: relative;
    padding-left: 6rem;
    margin-bottom: 4rem;
    z-index: 2;
}

.about-timeline-item:last-child {
    margin-bottom: 0;
}

.about-timeline-icon {
    position: absolute;
    left: 21px; /* Center icon over the line (45px center - 24px half width = 21px) */
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-color);
    border: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-color);
    z-index: 3;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.about-timeline-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
html:not(.dark-theme) .about-timeline-content {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.about-timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
}
html:not(.dark-theme) .about-timeline-content:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

.about-timeline-content h4 {
    margin: 0 0 0.8rem 0;
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.about-timeline-content p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Timeline */
@media (max-width: 600px) {
    .about-timeline {
        padding-left: 0;
    }
    .about-timeline::before {
        left: 24px; /* Center on left edge */
    }
    .about-timeline-item {
        padding-left: 4.5rem;
    }
    .about-timeline-icon {
        left: 0;
    }
    .about-timeline-content {
        padding: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   MANIFESTO SECTION
-------------------------------------------------------------------------- */
.about-manifesto-section {
    padding: 120px 1.5rem;
    position: relative;
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.about-manifesto-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: center;
}

.manifesto-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.manifesto-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    opacity: 0.85;
    flex-shrink: 0;
}

.manifesto-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    opacity: 0.75;
}

.manifesto-grid {
    display: grid;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.manifesto-item {
    position: relative;
}

.manifesto-text {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.manifesto-item::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--accent-primary);
    margin: 2rem auto 0;
    opacity: 0.3;
}

.manifesto-item:last-child::after {
    display: none;
}

.manifesto-item:hover .manifesto-text {
    transform: translateY(-5px);
    color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   CTA SECTION
-------------------------------------------------------------------------- */
.about-cta-section {
    padding: 100px 1.5rem;
    text-align: center;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}
