/* Seção editorial “Pra quem eu trabalho” da home. */
html.page-index .who-card {
    position: relative;
    width: min(1280px, calc(100% - 32px));
    max-width: none;
    margin: 42px auto 52px;
    padding: clamp(54px, 6vw, 74px) clamp(40px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow:
        0 32px 80px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

html.page-index .who-card::before {
    content: "";
    position: absolute;
    inset: 0;
    display: block;
    background:
        radial-gradient(circle at 50% -18%, rgba(27, 199, 251, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.56), transparent 38%);
    pointer-events: none;
}

html.page-index .who-head {
    position: relative;
    z-index: 1;
    width: min(100%, 820px);
    margin: 0 auto clamp(46px, 5vw, 58px);
    text-align: center;
}

html.page-index .who-title {
    margin: 0 0 16px;
    padding: 0;
    color: #0f172a;
    background: none;
    -webkit-text-fill-color: currentColor;
    font-size: clamp(2rem, 4.8vw, 3.25rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.045em;
    text-wrap: balance;
    animation: none;
}

html.page-index .who-description {
    max-width: 760px;
    margin: 0 auto;
    padding: 0;
    color: #64748b;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    text-align: center;
    text-wrap: pretty;
    word-spacing: normal;
    letter-spacing: normal;
}

html.page-index .who-list {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

html.page-index .who-item {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 0;
    padding: 0 clamp(30px, 3.2vw, 46px);
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.page-index .who-item::before {
    content: none;
}

html.page-index .who-item + .who-item {
    border-left: 1px solid rgba(148, 163, 184, 0.18);
}

html.page-index .who-item:hover {
    border-color: rgba(148, 163, 184, 0.18);
    box-shadow: none;
    transform: translate3d(0, -5px, 0);
}

html.page-index .who-item__icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin-bottom: 26px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 50%;
    background: #f1f5f9;
    color: #0f172a;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
    transition:
        color 300ms ease,
        background 300ms ease,
        border-color 300ms ease,
        box-shadow 300ms ease,
        transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.page-index .who-item__icon i {
    width: auto;
    height: auto;
    display: block;
    border-radius: 0;
    background: none;
    color: inherit !important;
    box-shadow: none;
    font-size: 1.28rem;
    line-height: 1;
    transform: none;
    transition: none;
}

html.page-index .who-item:hover .who-item__icon {
    border-color: transparent;
    background: linear-gradient(135deg, #056bf6, #1bc7fb);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(5, 107, 246, 0.24);
    transform: scale(1.06) rotate(-3deg);
}

html.page-index .who-item:hover .who-item__icon i {
    color: #ffffff !important;
    transform: none;
}

html.page-index .who-item h3 {
    min-height: 2.7em;
    margin: 0 0 14px;
    color: #0f172a;
    font-size: clamp(1.18rem, 1.7vw, 1.32rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-align: center;
    text-wrap: balance;
    animation: none;
}

html.page-index .who-item > p {
    width: 100%;
    max-width: 36ch;
    min-height: 5.1em;
    margin: 0 auto;
    padding: 0;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    text-wrap: pretty;
}


html.dark.page-index .who-card {
    border-color: rgba(96, 165, 250, 0.09);
    background: rgba(4, 8, 14, 0.94);
    box-shadow:
        0 32px 80px rgba(0, 2, 6, 0.62),
        inset 0 1px 0 rgba(96, 165, 250, 0.04);
}

html.dark.page-index .who-card::before {
    display: block;
    background: radial-gradient(circle at 50% -18%, rgba(37, 99, 235, 0.09), transparent 34%);
}

html.dark.page-index .who-title,
html.dark.page-index .who-item h3 {
    color: #f8fafc;
}

html.dark.page-index .who-description,
html.dark.page-index .who-item > p {
    color: #cbd5e1;
}

html.dark.page-index .who-item + .who-item {
    border-color: rgba(96, 165, 250, 0.09);
}

html.dark.page-index .who-item__icon {
    border-color: rgba(96, 165, 250, 0.09);
    background: rgba(10, 18, 31, 0.92);
    color: #93c5fd;
    box-shadow: none;
}


@media (max-width: 1100px) {
    html.page-index .who-card {
        padding-right: 34px;
        padding-left: 34px;
    }

    html.page-index .who-item {
        padding-right: 26px;
        padding-left: 26px;
    }
}

@media (max-width: 900px) {
    html.page-index .who-card {
        width: calc(100% - 20px);
        padding: 42px 28px;
        border-radius: 28px;
    }

    html.page-index .who-head {
        margin-bottom: 28px;
    }

    html.page-index .who-list {
        grid-template-columns: 1fr;
    }

    html.page-index .who-item {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px 20px;
        align-items: center;
        padding: 32px 6px;
        text-align: left;
    }

    html.page-index .who-item:hover {
        transform: none;
    }

    html.page-index .who-item + .who-item {
        border-top: 1px solid rgba(148, 163, 184, 0.18);
        border-left: 0;
    }

    html.dark.page-index .who-item + .who-item {
        border-top-color: rgba(96, 165, 250, 0.09);
    }

    html.page-index .who-item__icon {
        grid-column: 1;
        grid-row: 1;
        width: 64px;
        height: 64px;
        margin: 0;
    }

    html.page-index .who-item:hover .who-item__icon {
        transform: none;
    }

    html.page-index .who-item h3 {
        grid-column: 2;
        grid-row: 1;
        min-height: 0;
        margin: 0;
        text-align: left;
    }

    html.page-index .who-item > p {
        grid-column: 1 / -1;
        max-width: 620px;
        min-height: 0;
        margin: 2px 0 0;
        text-align: left;
    }

}

@media (max-width: 480px) {
    html.page-index .who-card {
        margin: 28px auto 38px;
        padding: 34px 20px;
        border-radius: 25px;
    }

    html.page-index .who-head {
        margin-bottom: 22px;
    }

    html.page-index .who-title {
        font-size: clamp(2rem, 10vw, 2.3rem);
        line-height: 1.08;
    }

    html.page-index .who-description {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    html.page-index .who-item {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 12px 16px;
        padding: 28px 2px;
    }

    html.page-index .who-item__icon {
        width: 56px;
        height: 56px;
    }

    html.page-index .who-item__icon i {
        font-size: 1.12rem;
    }

    html.page-index .who-item h3 {
        font-size: 1.12rem;
        line-height: 1.32;
    }

    html.page-index .who-item > p {
        font-size: 0.96rem;
        line-height: 1.65;
    }

}

@media (prefers-reduced-motion: reduce) {
    html.page-index .who-item,
    html.page-index .who-item__icon {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}
