/* =========================================================
   POPUP — SUPORTE AO ALUNO
========================================================= */

.et-support-popup {
    position: fixed;
    z-index: 99999;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity .25s ease,
        visibility .25s ease;
}

.et-support-popup.is-open {
    visibility: visible;
    opacity: 1;
}


/* OVERLAY */

.et-support-popup__overlay {
    position: absolute;
    inset: 0;

    background: rgba(10, 0, 18, .80);

    backdrop-filter: blur(5px);
}


/* MODAL */

.et-support-popup__dialog {
    position: relative;
    z-index: 2;

    width: min(100%, 760px);
    max-height: calc(100vh - 48px);

    overflow-y: auto;

    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;

    background:
        radial-gradient(
            circle at 100% 0,
            rgba(91,20,131,.38),
            transparent 35%
        ),
        #160025;

    box-shadow:
        0 35px 90px rgba(0,0,0,.50);

    transform: translateY(16px) scale(.98);

    transition: transform .25s ease;
}

.et-support-popup.is-open
.et-support-popup__dialog {
    transform: translateY(0) scale(1);
}


/* FECHAR */

.et-support-popup__close {
    position: absolute;
    z-index: 5;

    top: 16px;
    right: 16px;

    display: flex;
    width: 38px;
    height: 38px;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;

    background: rgba(255,255,255,.06);
    color: #ffffff;

    font-size: 26px;
    font-weight: 400;
    line-height: 1;

    transition: .2s ease;
}

.et-support-popup__close:hover {
    border-color: #89b331;
    background: #89b331;
    color: #160025;
}


/* CABEÇALHO */

.et-support-popup__header {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 20px;

    padding: 34px 70px 28px 34px;

    border-bottom: 1px solid rgba(255,255,255,.10);
}

.et-support-popup__icon {
    display: flex;

    width: 58px;
    height: 58px;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: rgba(137,179,49,.13);
    color: #9bc83b;
}

.et-support-popup__eyebrow {
    display: block;

    margin-bottom: 5px;

    color: #9bc83b;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .08em;
    text-transform: uppercase;
}

.et-support-popup__header h2 {
    margin: 0 0 9px;

    color: #ffffff;

    font-size: clamp(27px, 4vw, 36px);
    line-height: 1.1;
}

.et-support-popup__header p {
    max-width: 560px;

    margin: 0;

    color: rgba(255,255,255,.67);

    font-size: 14px;
    line-height: 1.65;
}


/* CONTEÚDO */

.et-support-popup__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;

    padding: 24px 34px;
}

.et-support-popup__group {
    padding: 22px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 14px;

    background: rgba(255,255,255,.035);
}

.et-support-popup__group-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;

    margin-bottom: 18px;
}

.et-support-popup__group-icon {
    display: flex;
    flex: 0 0 30px;

    width: 30px;
    height: 30px;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #89b331;
    color: #160025;

    font-size: 13px;
    font-weight: 900;
}

.et-support-popup__group h3 {
    margin: 0 0 3px;

    color: #ffffff;

    font-size: 17px;
}

.et-support-popup__group-header div > span {
    color: rgba(255,255,255,.52);

    font-size: 11px;
}

.et-support-popup__group ul {
    display: grid;
    gap: 9px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.et-support-popup__group li {
    position: relative;

    padding-left: 17px;

    color: rgba(255,255,255,.75);

    font-size: 13px;
    line-height: 1.45;
}

.et-support-popup__group li::before {
    position: absolute;

    top: 8px;
    left: 0;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #89b331;

    content: "";
}


/* RODAPÉ */

.et-support-popup__footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 22px;

    padding: 22px 34px 28px;

    border-top: 1px solid rgba(255,255,255,.10);
}

.et-support-popup__contact {
    display: grid;
    gap: 2px;
}

.et-support-popup__contact span {
    color: rgba(255,255,255,.50);

    font-size: 11px;
}

.et-support-popup__contact strong {
    color: #ffffff;

    font-size: 16px;
}

.et-support-popup__whatsapp {
    display: inline-flex;

    min-height: 48px;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 11px 20px;

    border-radius: 8px;

    background: #89b331;
    color: #160025;

    font-size: 13px;
    font-weight: 900;

    box-shadow:
        0 12px 28px rgba(137,179,49,.20);
}

.et-support-popup__whatsapp:hover {
    background: #9bc83b;
    color: #160025;

    transform: translateY(-2px);
}


/* BODY */

body.et-support-popup-open {
    overflow: hidden;
}


/* MOBILE */

@media (max-width: 680px) {

    .et-support-popup {
        align-items: flex-end;

        padding: 10px;
    }

    .et-support-popup__dialog {
        width: 100%;
        max-height: calc(100vh - 20px);

        border-radius: 16px;
    }

    .et-support-popup__header {
        grid-template-columns: 46px 1fr;

        gap: 14px;

        padding: 27px 54px 22px 20px;
    }

    .et-support-popup__icon {
        width: 44px;
        height: 44px;

        border-radius: 12px;
    }

    .et-support-popup__header h2 {
        font-size: 25px;
    }

    .et-support-popup__content {
        grid-template-columns: 1fr;

        padding: 18px 20px;
    }

    .et-support-popup__group {
        padding: 18px;
    }

    .et-support-popup__footer {
        align-items: stretch;
        flex-direction: column;

        padding: 19px 20px 22px;
    }

    .et-support-popup__whatsapp {
        width: 100%;
    }
}