/* ==========================================================================
   Portal Transparência (Section VII)
   ========================================================================== */

.portal {
    padding: 96px 0;
    background-color: var(--color-white);
    overflow: hidden;
    position: relative;
}

.portal__inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

/* ===== Coluna de texto ===== */

.portal__content {
    flex: 0 0 560px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

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

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

/* ===== Checklist ===== */

.portal__checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.portal__checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-text);
    font-weight: 400;
    font-size: 16px;
    line-height: 170%;
    letter-spacing: -0.01em;
    color: #414651;
}

.portal__checklist-item svg {
    flex-shrink: 0;
    margin-top: 4px;
}

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

.portal__cta-wrapper {
    padding: 8px;
    align-self: flex-start;
    border-radius: 16px;
    border: 1px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(302.1deg, rgba(21, 94, 239, 0.39) 24.57%, rgba(21, 94, 239, 0) 70.33%) border-box;
}

.portal__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 32px;
    background: #1F3A5F;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    border-radius: 12px;
    transition: background var(--transition-fast);
    white-space: nowrap;
}

.portal__cta:hover {
    background: #2a4f7a;
}

.portal__cta svg {
    width: 24px;
    height: 24px;
}

/* ===== Devices image ===== */

.portal__devices {
    flex: 1;
    min-width: 0;
}

.portal__devices-img {
    display: block;
    width: 100%;
    height: auto;
}

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

@media (max-width: 1280px) {
    .portal__inner {
        gap: 64px;
    }

    .portal__content {
        flex: 0 1 560px;
        min-width: 0;
    }
}

@media (max-width: 1024px) {
    .portal {
        padding: 72px 0;
    }

    .portal__inner {
        gap: 48px;
    }

    .portal__content {
        flex: 1;
    }

    .portal__title {
        font-size: 28px;
        line-height: 34px;
    }
}

@media (max-width: 768px) {
    .portal {
        padding: 56px 0;
    }

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

    .portal__content {
        display: contents;
    }

    .portal__devices { order: 1; }
    .portal__label { order: 2; align-self: center; }
    .portal__title { order: 3; align-self: center; text-align: center; }
    .portal__description { order: 4; align-self: center; text-align: center; }
    .portal__checklist { order: 5; align-self: stretch; }
    .portal__cta-wrapper { order: 6; }

    .portal__title {
        font-size: 26px;
        line-height: 34px;
    }

    .portal__label {
        font-size: 16px;
    }

    .portal__devices {
        width: 85%;
        max-width: 408px;
        align-self: center;
    }

    .portal__cta-wrapper {
        align-self: center;
    }
}

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

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

    .portal__cta {
        padding: 16px 24px;
        font-size: 16px;
        white-space: normal;
        text-align: center;
    }
}
