/* =========================================================
   ABOUT.CSS – Premium Overhaul | Rodrigo Leite 2025-07-03
   ---------------------------------------------------------
   • Advanced intro section with two-column layout.
   • Icon-driven philosophy cards for scannability.
   • Professional certifications strip with badges.
   • Aligned with the Apple Dark Mode design system.
   ======================================================= */

/* ---------- 1. INTRO SECTION ---------- */
.about-intro {
    padding-block: clamp(5rem, 10vw, 8rem);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr);
    gap: clamp(3rem, 6vw, 6rem);
    align-items: center;
}

.intro-greeting {
    display: block;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: var(--fs-300);
}

.intro-text h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}

.intro-text .lead {
    font-size: var(--fs-500);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 60ch;
}

.intro-text .lead:last-of-type {
    margin-top: 1.5rem;
}

.intro-image-wrapper {
    border-radius: var(--radius);
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.intro-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.intro-image-wrapper:hover img {
    transform: scale(1.05);
}

/* ---------- 2. PHILOSOPHY SECTION ---------- */
.philosophy {
    padding-block: clamp(5rem, 10vw, 8rem);
    background: var(--bg-alt);
    border-block: 1px solid var(--border);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.philosophy-card {
    background: var(--bg-elevated);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition-med);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    background: var(--bg);
}

.philosophy-icon {
    width: 48px;
    height: 48px;
    margin-inline: auto;
    margin-bottom: 1.5rem;
    background-color: var(--primary);
    transition: var(--transition-med);
}

.philosophy-card:hover .philosophy-icon {
    background-color: var(--accent);
    transform: rotate(-15deg);
}

#icon-thinking { -webkit-mask: url('data:image/svg+xml,...') center/contain no-repeat; mask: url('...') }
#icon-communication { -webkit-mask: url('data:image/svg+xml,...') center/contain no-repeat; mask: url('...') }
#icon-execution { -webkit-mask: url('data:image/svg+xml,...') center/contain no-repeat; mask: url('...') }
/* (SVG URLs são as mesmas da resposta anterior, omitidas para brevidade) */

.philosophy-card h3 {
    font-family: var(--font-display);
    font-size: var(--fs-600);
    margin-bottom: .75rem;
}

.philosophy-card p {
    color: var(--text-secondary);
    max-width: 35ch;
    margin-inline: auto;
}

/* ---------- 3. CERTIFICATIONS STRIP ---------- */
.certifications-strip {
    padding-block: 4rem;
    text-align: center;
}

.strip-title {
    color: var(--text-muted);
    font-size: var(--fs-400);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 2rem;
}

.badges-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.badge {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-med);
}

.badge img {
    height: 180px;
    width: 100%;
    filter: grayscale(1) opacity(0.7); /* Estilo para integrar com o tema escuro */
    transition: var(--transition-med);
}

.badge:hover img {
    filter: grayscale(0) brightness(1);
    transform: translateY(-8px);
}

.badge span {
    font-size: var(--fs-300);
    color: var(--text-secondary);
    font-weight: 500;
}


/* ---------- 4. RESPONSIVE ---------- */
@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-image-wrapper {
        order: -1;
        max-width: 380px;
        margin-inline: auto;
        margin-bottom: 3rem;
    }
}