/* ==========================================================================
   Liderança e Equipe — Seção 4 (Sobre)
   ========================================================================== */

.equipe {
    position: relative;
    padding: 96px 0 96px;
    background-color: #EFF4FF;
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 97px),
        calc(100% - 120px) 100%,
        120px 100%,
        0 calc(100% - 97px)
    );
}

.equipe__inner {
    position: relative;
    z-index: 1;
}

/* ===== Layout principal ===== */

.equipe__content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
}

/* ===== Imagem ===== */

.equipe__image-wrapper {
    flex-shrink: 0;
    width: 520px;
}

.equipe__image {
    display: block;
    width: 100%;
    height: 680px;
    object-fit: cover;
    /* Rounded corners (12px) nos 3 cantos + corte diagonal no canto inferior esquerdo */
    clip-path: url(#equipe-clip);
}

/* ===== Texto (direita) ===== */

.equipe__text {
    flex: 1;
    padding-top: 24px;
}

.equipe__header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.equipe__label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-text-alt);
    font-weight: 400;
    font-size: 18px;
    line-height: 170%;
    letter-spacing: -0.01em;
    color: #252B37;
}

.equipe__line {
    display: inline-block;
    width: 71px;
    height: 0;
    border-top: 2px solid var(--color-primary);
    flex-shrink: 0;
}

.equipe__title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 32px;
    line-height: 38px;
    color: #252B37;
}

.equipe__description {
    font-family: var(--font-text-alt);
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    letter-spacing: -0.01em;
    color: #414651;
}

/* ===== Items ===== */

.equipe__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.equipe__item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.equipe__icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 39px;
    gap: 0;
}

.equipe__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 44px;
    background: #F5F5F5;
    border: 1px solid rgba(33, 33, 33, 0.1);
    border-radius: 6px;
    flex-shrink: 0;
}

.equipe__icon-line {
    display: block;
    width: 1px;
    height: 40px;
    background: rgba(33, 33, 33, 0.1);
}

.equipe__item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 4px;
}

.equipe__item-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 20px;
    line-height: 23px;
    color: #252B37;
}

.equipe__item-desc {
    font-family: var(--font-text-alt);
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    letter-spacing: -0.01em;
    color: #252B37;
}

/* ===== CTA Button ===== */

.equipe__cta-wrapper {
    padding: 8px;
    display: inline-block;
    border-radius: 16px;
    position: relative;
    background: linear-gradient(302.1deg, rgba(21, 94, 239, 0.39) 24.57%, rgba(21, 94, 239, 0) 70.33%);
}

.equipe__cta-wrapper::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: 15px;
    background: #EFF4FF;
    z-index: 0;
}

.equipe__cta {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1F3A5F;
    padding: 15px 42px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.equipe__cta:hover {
    background: #2a4d7a;
}

.equipe__cta svg {
    flex-shrink: 0;
}

/* ===== Responsivo ===== */

@media (max-width: 1024px) {
    .equipe__content {
        gap: 48px;
    }

    .equipe__image-wrapper {
        width: 400px;
    }

    .equipe__image {
        height: 560px;
    }

    .equipe__item {
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .equipe {
        padding: 64px 0 48px;
        /* Sem corte diagonal no mobile — visual mais limpo junto das próximas seções. */
        clip-path: none;
    }

    .equipe__content {
        flex-direction: column;
        gap: 40px;
    }

    .equipe__image-wrapper {
        width: 100%;
    }

    .equipe__image {
        width: 100%;
        height: 350px;
    }

    .equipe__text {
        padding-top: 0;
    }

    .equipe__item {
        gap: 24px;
    }

    .equipe__icon-line {
        height: 56px;
    }
}

@media (max-width: 480px) {
    .equipe {
        padding: 48px 0 32px;
    }

    .equipe__title {
        font-size: 24px;
        line-height: 30px;
    }

    .equipe__items {
        gap: 16px;
    }

    .equipe__item {
        gap: 16px;
    }

    .equipe__icon-line {
        height: 40px;
    }

    .equipe__item-title {
        font-size: 18px;
    }

    .equipe__item-desc {
        font-size: 14px;
    }

    .equipe__cta {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 16px;
    }

    .equipe__cta-wrapper {
        width: 100%;
    }
}
