/* Portas de entrada: as páginas públicas por onde servidores e equipe chegam ao Eleva Gestão
   (Área do Participante, login, código por e-mail, esqueci a senha, nova senha, buscar certificados, autenticidade).
   Sem Metronic. Cores da marca, as mesmas do site sejaeleva.com.br; os três degraus do símbolo marcam os sucessos.
   Layout: Views/Account/Portas/_LayoutPortas.cshtml. Comportamento: Portas.js. */

:root {
    --pe-noite: #281948;
    --pe-noite-2: #1b0f33;
    --pe-roxo: #43317b;
    --pe-roxo-2: #5b47a3;
    --pe-lilas: #cdc5ef;
    --pe-lilas-0: #f1edfc;
    --pe-verde: #00be6b;
    --pe-verde-btn: #009955;
    --pe-ciano: #26c2ff;
    --pe-papel: #ffffff;
    --pe-tinta: #1f1d2b;
    --pe-tinta-2: #625e78;
    --pe-borda: #e4dff1;
    --pe-campo: #f8f6fd;
    --pe-erro: #c0263d;
    --pe-erro-0: #fdebee;
    --pe-ok: #00794a;
    --pe-ok-0: #ddf6eb;
    --pe-aviso: #7a4d00;
    --pe-aviso-0: #fff2d6;
    --pe-fonte: 'Euclid Circular', 'Poppins', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --pe-mono: ui-monospace, 'Cascadia Mono', 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body.pe-body {
    margin: 0;
    background: var(--pe-noite);
    color: #fff;
    font: 15px/1.5 var(--pe-fonte);
    -webkit-font-smoothing: antialiased;
}

.pe {
    position: relative;
    min-height: 100vh;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pe a {
    color: inherit;
    text-decoration: none;
}

.pe button {
    font-family: inherit;
    cursor: pointer;
}

.pe h1,
.pe h2,
.pe h3,
.pe p {
    margin: 0;
}

.pe h1,
.pe h2 {
    text-wrap: balance;
}

.pe :focus-visible {
    outline: 3px solid var(--pe-ciano);
    outline-offset: 2px;
}

.pe [hidden] {
    display: none !important;
}

.pe-ic {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pe-deg {
    display: block;
}

    .pe-deg rect {
        fill: currentColor;
    }

.pe-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ------------------------------------------------------------------ Céu: o fundo de todas as páginas */

.pe-ceu {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(820px 560px at -5% -10%, rgba(205, 197, 239, .17), transparent 62%),
        radial-gradient(700px 520px at 105% 105%, rgba(38, 194, 255, .13), transparent 60%),
        radial-gradient(520px 420px at 92% 8%, rgba(0, 190, 107, .10), transparent 62%);
}

.pe-traco {
    position: absolute;
    border-radius: 999px;
    background: rgba(205, 197, 239, .075);
    mix-blend-mode: screen;
}

.pe-traco--1 { width: 640px; height: 120px; left: -180px; top: 120px; transform: rotate(-8deg); }
.pe-traco--2 { width: 120px; height: 520px; left: 30%; top: -220px; }
.pe-traco--3 { width: 520px; height: 120px; right: -160px; top: 440px; transform: rotate(6deg); }

.pe-ceu .pe-deg {
    position: absolute;
    width: 480px;
    right: -120px;
    bottom: -150px;
    color: rgba(0, 190, 107, .065);
}

/* ------------------------------------------------------------------ Peças comuns */

.pe-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--pe-lilas);
}

.pe-topo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 48px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

    .pe-topo img {
        height: 30px;
        width: auto;
        display: block;
    }

    .pe-topo nav {
        display: flex;
        gap: 22px;
        align-items: center;
        font-size: 14px;
        color: rgba(255, 255, 255, .78);
    }

        .pe-topo nav a:hover {
            color: #fff;
        }

.pe-pilula {
    border: 1.5px solid rgba(205, 197, 239, .45);
    padding: 7px 14px;
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    white-space: nowrap;
}

    .pe-pilula:hover {
        border-color: var(--pe-lilas);
    }

.pe-btn {
    border: 0;
    border-radius: 999px;
    min-height: 48px;
    padding: 0 22px;
    font: 600 15px var(--pe-fonte);
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    transition: transform .15s ease, box-shadow .15s ease, background .15s;
    white-space: nowrap;
    text-decoration: none;
}

    .pe-btn:hover {
        transform: translateY(-1px);
    }

.pe-btn--verde {
    background: var(--pe-verde-btn);
    color: #fff !important;
    box-shadow: 0 10px 22px -12px rgba(0, 153, 85, .9);
}

    .pe-btn--verde:hover {
        background: #00a65d;
    }

.pe-btn--roxo {
    background: var(--pe-roxo);
    color: #fff !important;
    box-shadow: 0 10px 22px -12px rgba(67, 49, 123, .9);
}

    .pe-btn--roxo:hover {
        background: var(--pe-roxo-2);
    }

.pe-btn--fantasma {
    background: transparent;
    color: var(--pe-roxo) !important;
    box-shadow: inset 0 0 0 1.5px var(--pe-borda);
}

.pe-btn--cheio {
    width: 100%;
}

.pe-btn--quadrado {
    width: 48px;
    padding: 0;
    flex: none;
}

.pe-btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pe-btn.ocupado {
    pointer-events: none;
    opacity: .85;
}

    .pe-btn.ocupado::after {
        content: "";
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 2px solid currentColor;
        border-right-color: transparent;
        animation: pe-gira .7s linear infinite;
    }

@keyframes pe-gira {
    to {
        transform: rotate(360deg);
    }
}

.pe-campo {
    display: grid;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pe-tinta);
}

    .pe-campo input,
    .pe-input {
        width: 100%;
        height: 50px;
        border-radius: 14px;
        border: 1.5px solid var(--pe-borda);
        background: var(--pe-campo);
        padding: 0 16px;
        font: 400 16px var(--pe-fonte);
        color: var(--pe-tinta);
        transition: border-color .15s, box-shadow .15s, background .15s;
    }

        .pe-campo input:focus,
        .pe-input:focus {
            outline: none;
            border-color: var(--pe-roxo);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(67, 49, 123, .13);
        }

    .pe-campo.erro input,
    .pe-input.erro {
        border-color: var(--pe-erro);
        box-shadow: 0 0 0 4px rgba(192, 38, 61, .10);
    }

.pe-senha {
    position: relative;
}

    .pe-senha input {
        padding-right: 52px;
    }

    .pe-senha button {
        position: absolute;
        right: 6px;
        top: 6px;
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: var(--pe-tinta-2);
        display: grid;
        place-items: center;
    }

        .pe-senha button:hover {
            background: var(--pe-lilas-0);
            color: var(--pe-roxo);
        }

.pe-caps {
    display: flex;
    gap: 6px;
    align-items: center;
    font-size: 12.5px;
    font-weight: 600;
    color: #8a5a00;
}

    .pe-caps .pe-ic {
        width: 15px;
        height: 15px;
    }

.pe-msg {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
}

    .pe-msg .pe-ic {
        margin-top: 1px;
    }

.pe-msg--erro {
    background: var(--pe-erro-0);
    color: var(--pe-erro);
}

.pe-msg--ok {
    background: var(--pe-ok-0);
    color: var(--pe-ok);
}

.pe-sub {
    font-size: 15px;
    color: var(--pe-tinta-2);
}

    .pe-sub b {
        color: var(--pe-tinta);
        overflow-wrap: anywhere;
    }

.pe-link {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--pe-roxo) !important;
    background: none;
    border: 0;
    padding: 0;
    justify-self: start;
}

.pe-mini-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--pe-roxo) !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    background: none;
    border: 0;
    padding: 0;
}

.pe-ajuda {
    font-size: 13.5px;
    color: var(--pe-tinta-2);
    background: var(--pe-campo);
    border-radius: 14px;
    padding: 12px 14px;
}

    .pe-ajuda b {
        color: var(--pe-tinta);
    }

    .pe-ajuda a {
        color: var(--pe-roxo) !important;
        font-weight: 600;
        text-decoration: underline !important;
    }

.pe-ok-lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

    .pe-ok-lista li {
        display: grid;
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        font-size: 14.5px;
    }

        .pe-ok-lista li > span {
            width: 38px;
            height: 38px;
            border-radius: 12px;
            display: grid;
            place-items: center;
            background: var(--pe-lilas-0);
            color: var(--pe-roxo);
        }

        .pe-ok-lista li b {
            display: block;
            font-weight: 600;
            color: var(--pe-tinta);
        }

        .pe-ok-lista li small {
            color: var(--pe-tinta-2);
            font-size: 13px;
        }

.pe-treme {
    animation: pe-treme .42s ease;
}

@keyframes pe-treme {
    20% { transform: translateX(-7px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(2px); }
}

/* Degraus que sobem: o momento de sucesso de todas as telas. */
.pe-sobe {
    width: 92px;
    color: var(--pe-verde);
}

    .pe-sobe rect {
        transform-box: fill-box;
        transform-origin: 50% 100%;
        animation: pe-degrau .7s cubic-bezier(.2, .9, .25, 1.25) both;
    }

        .pe-sobe rect:nth-child(1) { animation-delay: .05s; opacity: .55; }
        .pe-sobe rect:nth-child(2) { animation-delay: .2s; opacity: .78; }
        .pe-sobe rect:nth-child(3) { animation-delay: .35s; }

@keyframes pe-degrau {
    from {
        transform: translateY(36px) scaleY(.4);
        opacity: 0;
    }
}

.pe-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 48px;
    margin-top: auto;
    border-top: 1px solid rgba(205, 197, 239, .14);
    font-size: 13px;
    color: rgba(255, 255, 255, .66);
    max-width: 1280px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

    .pe-rodape b {
        color: #fff;
        font-weight: 600;
    }

    .pe-rodape .contatos {
        display: flex;
        gap: 18px;
        flex-wrap: wrap;
    }

        .pe-rodape .contatos a {
            display: inline-flex;
            gap: 6px;
            align-items: center;
        }

            .pe-rodape .contatos a:hover {
                color: #fff;
            }

    .pe-rodape .pe-ic {
        width: 14px;
        height: 14px;
    }

    .pe-rodape .equipe {
        color: var(--pe-lilas);
        text-decoration: underline;
        text-underline-offset: 3px;
        font-weight: 600;
    }

/* ------------------------------------------------------------------ Área do Participante */

.pe-hub-main {
    padding: 18px 48px 28px;
    display: grid;
    gap: 30px;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.pe-hub-intro {
    display: grid;
    gap: 12px;
    max-width: 700px;
}

    .pe-hub-intro h1 {
        font-size: 50px;
        font-weight: 700;
        line-height: 1.02;
        letter-spacing: -.03em;
    }

        .pe-hub-intro h1 span {
            color: var(--pe-verde);
        }

    .pe-hub-intro p {
        font-size: 17px;
        color: rgba(255, 255, 255, .75);
    }

.pe-acoes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.pe-acao {
    background: var(--pe-papel);
    color: var(--pe-tinta);
    border-radius: 24px;
    padding: 22px;
    display: grid;
    gap: 14px;
    box-shadow: 0 28px 50px -26px rgba(5, 2, 20, .75);
    min-width: 0;
}

.pe-acao-cab {
    display: flex;
    gap: 14px;
    align-items: center;
    border: 0;
    background: none;
    padding: 0;
    text-align: left;
    color: inherit;
    width: 100%;
    cursor: default !important;
    font: inherit;
}

.pe-acao-ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    flex: none;
}

    .pe-acao-ic .pe-ic {
        width: 22px;
        height: 22px;
    }

.pe-acao-ic--verde { background: #dcf6ea; color: #00794a; }
.pe-acao-ic--ciano { background: #dcf3ff; color: #0b6c97; }
.pe-acao-ic--amarelo { background: #fff1d1; color: #8a5a00; }

.pe-acao h2 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
    flex: 1;
}

.pe-acao-seta {
    display: none;
}

.pe-acao-corpo {
    display: grid;
    gap: 14px;
}

    .pe-acao-corpo > p {
        font-size: 14.5px;
        color: var(--pe-tinta-2);
    }

.pe-linha {
    display: flex;
    gap: 8px;
}

    .pe-linha .pe-input {
        height: 48px;
        min-width: 0;
    }

.pe-input--codigo {
    font-family: var(--pe-mono) !important;
    letter-spacing: .06em;
}

    .pe-input--codigo::placeholder {
        font-family: var(--pe-fonte);
        letter-spacing: 0;
    }

.pe-acao-ok {
    display: grid;
    gap: 10px;
    justify-items: start;
}

    .pe-acao-ok strong {
        font-size: 16px;
    }

    .pe-acao-ok p {
        font-size: 14px;
        color: var(--pe-tinta-2);
    }

    .pe-acao-ok .pe-sobe {
        width: 58px;
    }

.pe-acao .pe-msg {
    padding: 10px 12px;
    font-size: 13.5px;
}

.pe-hub-baixo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

    .pe-hub-baixo.sem-eventos {
        grid-template-columns: minmax(0, 1fr);
        max-width: 560px;
    }

.pe-bloco-tit {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

    .pe-bloco-tit h2 {
        font-size: 18px;
        font-weight: 600;
    }

    .pe-bloco-tit a {
        font-size: 13.5px;
        color: var(--pe-lilas);
        display: inline-flex;
        gap: 6px;
        align-items: center;
        white-space: nowrap;
    }

.pe-eventos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pe-evento {
    display: grid;
    gap: 8px;
    min-width: 0;
    align-content: start;
}

    .pe-evento:hover .pe-capa {
        transform: translateY(-2px);
    }

/* A capa é quadrada (710 × 710). Se a imagem não carregar, fica o cartão com o título. */
.pe-capa {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .6);
    transition: transform .2s ease;
    background: linear-gradient(135deg, #43317b 10%, #2b8fd6 100%);
}

.pe-capa--2 { background: linear-gradient(140deg, #008a52 0%, #43317b 100%); }
.pe-capa--3 { background: linear-gradient(135deg, #e2552f 0%, #f2a516 100%); }
.pe-capa--4 { background: linear-gradient(150deg, #1b0f33 0%, #6a55b8 100%); }

.pe-capa strong {
    font-size: 15px;
    line-height: 1.15;
    font-weight: 700;
    position: relative;
    z-index: 1;
    overflow-wrap: anywhere;
}

.pe-capa .pe-deg {
    position: absolute;
    width: 90px;
    right: -14px;
    top: -14px;
    color: rgba(255, 255, 255, .16);
}

.pe-capa img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
}

.pe-evento-info {
    display: grid;
    gap: 2px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .75);
}

    .pe-evento-info b {
        font-size: 13.5px;
        font-weight: 600;
        color: #fff;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .pe-evento-info span {
        display: flex;
        gap: 6px;
        align-items: center;
    }

    .pe-evento-info .pe-ic {
        width: 13px;
        height: 13px;
    }

.pe-app {
    border-radius: 24px;
    padding: 20px;
    background: linear-gradient(160deg, rgba(205, 197, 239, .16), rgba(205, 197, 239, .05));
    border: 1px solid rgba(205, 197, 239, .22);
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

    .pe-app h2 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .pe-app p {
        font-size: 13.5px;
        color: rgba(255, 255, 255, .74);
        margin: 0 0 12px;
    }

.pe-lojas {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

    .pe-lojas img {
        height: 40px;
        width: auto;
        display: block;
    }

.pe-celular {
    width: 104px;
    height: 200px;
    border-radius: 20px;
    background: #0b0715;
    border: 3px solid #3a2f57;
    padding: 10px 8px;
    display: grid;
    gap: 7px;
    align-content: start;
    transform: rotate(-6deg);
    box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .7);
}

    .pe-celular .cracha {
        background: #fff;
        border-radius: 9px;
        padding: 7px;
        display: grid;
        gap: 5px;
        justify-items: center;
    }

        .pe-celular .cracha svg {
            width: 56px;
            height: 56px;
        }

        .pe-celular .cracha i {
            display: block;
            height: 5px;
            width: 70%;
            border-radius: 3px;
            background: #281948;
        }

            .pe-celular .cracha i + i {
                width: 50%;
                background: #cdc5ef;
            }

    .pe-celular .lin {
        height: 7px;
        border-radius: 4px;
        background: rgba(205, 197, 239, .25);
    }

        .pe-celular .lin.v {
            background: var(--pe-verde);
            width: 60%;
        }

/* ------------------------------------------------------------------ Buscar certificados */

.pe-centro {
    padding: 6px 48px 32px;
    display: grid;
    justify-items: center;
    width: 100%;
}

.pe-split {
    width: 100%;
    max-width: 1060px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--pe-papel);
    color: var(--pe-tinta);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(5, 2, 20, .85);
    min-height: 540px;
}

.pe-split-arte {
    position: relative;
    background: radial-gradient(420px 320px at 30% 20%, rgba(38, 194, 255, .22), transparent 70%), linear-gradient(165deg, #4a3787 0%, #2a1b55 100%);
    color: #fff;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

    .pe-split-arte > .pe-deg {
        position: absolute;
        width: 300px;
        left: -60px;
        bottom: -80px;
        color: rgba(205, 197, 239, .10);
    }

    .pe-split-arte p {
        font-size: 14.5px;
        color: rgba(255, 255, 255, .8);
        max-width: 34ch;
        position: relative;
    }

.pe-leque {
    position: relative;
    height: 330px;
    margin-top: 10px;
}

.pe-cert {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 272px;
    height: 192px;
    margin: -96px 0 0 -136px;
    background: #fffdf9;
    border-radius: 10px;
    padding: 14px 16px;
    color: #2a2340;
    box-shadow: 0 22px 40px -16px rgba(5, 2, 20, .7);
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 6px;
    transition: transform .9s cubic-bezier(.2, .9, .25, 1.1);
}

    .pe-cert::before {
        content: "";
        position: absolute;
        inset: 6px;
        border: 1px solid #d9d0f2;
        border-radius: 6px;
        pointer-events: none;
    }

    .pe-cert .topo {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .pe-cert .topo .pe-deg {
            width: 20px;
            color: #43317b;
        }

        .pe-cert .topo span {
            font-size: 8px;
            font-weight: 700;
            letter-spacing: .26em;
            color: #43317b;
        }

    .pe-cert .nome {
        height: 9px;
        width: 70%;
        border-radius: 3px;
        background: #2a2340;
        margin-top: 6px;
    }

    .pe-cert .curso {
        height: 6px;
        width: 85%;
        border-radius: 3px;
        background: #b9b0d6;
    }

    .pe-cert .linhas {
        display: grid;
        gap: 4px;
        align-content: start;
        padding-top: 6px;
    }

        .pe-cert .linhas i {
            height: 4px;
            border-radius: 2px;
            background: #ece8f6;
        }

            .pe-cert .linhas i:nth-child(2) { width: 80%; }
            .pe-cert .linhas i:nth-child(3) { width: 60%; }

    .pe-cert .base {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

        .pe-cert .base i {
            height: 5px;
            width: 64px;
            border-radius: 3px;
            background: #d9d0f2;
        }

    .pe-cert .sinete {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #00a862;
        display: grid;
        place-items: center;
        color: #fff;
        box-shadow: 0 0 0 3px #dcf6ea;
    }

        .pe-cert .sinete .pe-ic {
            width: 18px;
            height: 18px;
        }

.pe-leque .c1 { transform: translate(-62px, 24px) rotate(-14deg); }
.pe-leque .c2 { transform: translate(-4px, -6px) rotate(-3deg); }
.pe-leque .c3 { transform: translate(58px, 26px) rotate(10deg); }
.pe-leque.fechado .pe-cert { transform: none; }

.pe-split-form {
    padding: 44px 46px;
    display: grid;
    align-content: center;
    gap: 18px;
    min-width: 0;
}

    .pe-split-form h1 {
        font-size: 32px;
        font-weight: 700;
        letter-spacing: -.02em;
        line-height: 1.08;
    }

    .pe-split-form .pe-eyebrow {
        color: var(--pe-roxo);
    }

    .pe-split-form form {
        display: grid;
        gap: 14px;
    }

.pe-ou {
    font-size: 13.5px;
    color: var(--pe-tinta-2);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

/* ------------------------------------------------------------------ Autenticidade */

.pe-aut-main {
    display: grid;
    justify-items: center;
    text-align: center;
    padding: 0 48px 36px;
    gap: 16px;
    width: 100%;
}

.pe-roseta {
    position: relative;
    width: 250px;
    height: 250px;
    display: grid;
    place-items: center;
    margin-top: -6px;
}

    .pe-roseta svg.r,
    .pe-carimbo svg.r {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

        .pe-roseta svg.r path,
        .pe-carimbo svg.r path {
            fill: none;
        }

    .pe-roseta .miolo {
        width: 86px;
        height: 86px;
        border-radius: 50%;
        background: rgba(205, 197, 239, .12);
        border: 1px solid rgba(205, 197, 239, .35);
        display: grid;
        place-items: center;
        color: #fff;
    }

        .pe-roseta .miolo .pe-ic {
            width: 38px;
            height: 38px;
            stroke-width: 1.6;
        }

    .pe-roseta.gira svg.r {
        animation: pe-gira 90s linear infinite;
    }

.pe-aut-main h1 {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.04;
    margin-top: -10px;
}

.pe-aut-main > p {
    font-size: 16.5px;
    color: rgba(255, 255, 255, .76);
    max-width: 52ch;
}

.pe-aut-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 560px;
    margin-top: 6px;
    background: #fff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 26px 50px -26px rgba(5, 2, 20, .85);
}

    .pe-aut-form:focus-within {
        box-shadow: 0 0 0 4px rgba(38, 194, 255, .45), 0 26px 50px -26px rgba(5, 2, 20, .85);
    }

    .pe-aut-form .pe-btn {
        min-height: 52px;
        padding: 0 26px;
    }

.pe-codigo {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    height: 52px;
    padding: 0 20px;
    font: 500 20px var(--pe-mono);
    letter-spacing: .12em;
    color: var(--pe-tinta);
}

    .pe-codigo:focus {
        outline: none;
    }

    .pe-codigo::placeholder {
        letter-spacing: .02em;
        font-family: var(--pe-fonte);
        font-size: 16px;
        color: #9a95ad;
    }

.pe-dica-tipo {
    min-height: 30px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: 13.5px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(205, 197, 239, .12);
    color: rgba(255, 255, 255, .86);
}

    .pe-dica-tipo b {
        font-family: var(--pe-mono);
        color: var(--pe-verde);
        font-weight: 600;
    }

    .pe-dica-tipo.vazia {
        background: transparent;
        color: rgba(255, 255, 255, .58);
    }

.pe-onde {
    width: 100%;
    max-width: 560px;
    text-align: left;
    margin-top: 4px;
}

    .pe-onde summary {
        cursor: pointer;
        font-size: 14px;
        color: var(--pe-lilas);
        list-style: none;
        display: inline-flex;
        gap: 6px;
        align-items: center;
    }

        .pe-onde summary::-webkit-details-marker {
            display: none;
        }

.pe-doc-rodape {
    margin-top: 12px;
    background: #fffdf9;
    color: #2a2340;
    border-radius: 14px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

    .pe-doc-rodape svg {
        width: 54px;
        height: 54px;
    }

    .pe-doc-rodape .t {
        font-size: 11.5px;
        color: #625e78;
        line-height: 1.5;
    }

    .pe-doc-rodape mark {
        background: none;
        color: #2a2340;
        font-family: var(--pe-mono);
        font-weight: 600;
        font-size: 12px;
        padding: 2px 6px;
        border-radius: 6px;
        box-shadow: 0 0 0 2px var(--pe-verde);
        white-space: nowrap;
    }

.pe-voltar {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 14px;
    color: var(--pe-lilas) !important;
    justify-self: start;
}

.pe-res {
    width: 100%;
    max-width: 820px;
    display: grid;
    gap: 14px;
    text-align: left;
}

.pe-selo {
    background: var(--pe-papel);
    color: var(--pe-tinta);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 40px 80px -40px rgba(5, 2, 20, .9);
}

.pe-selo-faixa {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 26px;
    background: var(--pe-ok-0);
    color: var(--pe-ok);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .16em;
}

    .pe-selo-faixa span {
        display: inline-flex;
        gap: 8px;
        align-items: center;
    }

    .pe-selo-faixa small {
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 0;
        color: #2f6e53;
        overflow-wrap: anywhere;
    }

.pe-selo--falta .pe-selo-faixa {
    background: var(--pe-aviso-0);
    color: var(--pe-aviso);
}

    .pe-selo--falta .pe-selo-faixa small {
        color: var(--pe-aviso);
        font-family: var(--pe-mono);
    }

.pe-selo-corpo {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 26px;
    padding: 26px;
}

.pe-carimbo {
    position: relative;
    width: 210px;
    height: 210px;
    display: grid;
    place-items: center;
    animation: pe-carimbo .8s cubic-bezier(.2, .9, .25, 1.2) both .1s;
}

    .pe-carimbo .miolo {
        width: 92px;
        height: 92px;
        border-radius: 50%;
        background: #00a862;
        color: #fff;
        display: grid;
        place-items: center;
        box-shadow: 0 0 0 6px #dcf6ea;
    }

        .pe-carimbo .miolo .pe-ic {
            width: 44px;
            height: 44px;
            stroke-width: 2.4;
        }

.pe-selo--falta .pe-carimbo .miolo {
    background: #e59a00;
    box-shadow: 0 0 0 6px #fff2d6;
}

@keyframes pe-carimbo {
    0% { transform: scale(1.7) rotate(-22deg); opacity: 0; }
    60% { transform: scale(.94) rotate(4deg); opacity: 1; }
    100% { transform: none; }
}

.pe-selo-dados {
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
}

    .pe-selo-dados h2 {
        font-size: 26px;
        font-weight: 700;
        letter-spacing: -.02em;
    }

        .pe-selo-dados h2 small {
            display: block;
            font-size: 13px;
            font-weight: 600;
            letter-spacing: .12em;
            text-transform: uppercase;
            color: var(--pe-tinta-2);
            margin-bottom: 4px;
        }

.pe-dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 22px;
    margin: 0;
}

    .pe-dl div {
        min-width: 0;
    }

    .pe-dl dt {
        font-size: 12px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--pe-tinta-2);
    }

    .pe-dl dd {
        margin: 2px 0 0;
        font-size: 15.5px;
        font-weight: 600;
        overflow-wrap: anywhere;
    }

    .pe-dl .largo {
        grid-column: 1 / -1;
    }

    .pe-dl code {
        font-family: var(--pe-mono);
        font-size: 14.5px;
        letter-spacing: .06em;
        background: var(--pe-lilas-0);
        padding: 2px 8px;
        border-radius: 7px;
    }

.pe-selo-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 16px 26px;
    border-top: 1px dashed var(--pe-borda);
    font-size: 13.5px;
    color: var(--pe-tinta-2);
}

    .pe-selo-rodape > span {
        flex: 1 1 320px;
    }

    .pe-selo-rodape .pe-btn {
        min-height: 42px;
        font-size: 14px;
        padding: 0 16px;
    }

.pe-dicas {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    font-size: 14.5px;
    color: var(--pe-tinta-2);
}

/* ------------------------------------------------------------------ Equipe: login, código, senha */

.pe-eq {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 540px);
    min-height: 100vh;
    flex: 1;
}

.pe-marca {
    position: relative;
    padding: 40px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    overflow: hidden;
    min-height: 100vh;
}

.pe-marca-logo {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    z-index: 2;
}

    .pe-marca-logo img {
        height: 38px;
        width: auto;
        display: block;
    }

    .pe-marca-logo span {
        font-size: 22px;
        font-weight: 500;
        color: var(--pe-lilas);
        line-height: 1;
        margin-bottom: -1px;
    }

.pe-marca-texto {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 12px;
    max-width: 400px;
}

    .pe-marca-texto h1 {
        font-size: 54px;
        font-weight: 700;
        line-height: 1.02;
        letter-spacing: -.03em;
    }

    .pe-marca-texto p {
        font-size: 17px;
        color: rgba(255, 255, 255, .74);
    }

    .pe-marca-texto .pe-eyebrow {
        color: var(--pe-verde);
    }

.pe-marca-rodape {
    position: relative;
    z-index: 2;
    font-size: 13px;
    color: rgba(255, 255, 255, .58);
}

.pe-mural {
    position: absolute;
    right: -30px;
    top: -120px;
    width: 380px;
    height: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    transform: rotate(-9deg);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 72%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 20%, #000 72%, transparent 100%);
    opacity: .92;
}

.pe-mural-col {
    display: grid;
    gap: 14px;
    align-content: start;
    animation: pe-mural 40s linear infinite;
}

.pe-mural-col--b {
    animation-duration: 48s;
    animation-direction: reverse;
    margin-top: -90px;
}

.pe-mural .pe-capa {
    border-radius: 18px;
}

    .pe-mural .pe-capa strong {
        font-size: 16px;
    }

@keyframes pe-mural {
    to {
        transform: translateY(-50%);
    }
}

/* Sem eventos para o mural: os degraus do símbolo, grandes e sobrepostos como no logo, com os módulos flutuando.
   Presa à direita e com tamanho limitado para não cobrir a saudação; abaixo de 1280 px não cabe e some. */
.pe-marca-arte {
    position: absolute;
    right: 3%;
    top: 10%;
    width: clamp(300px, calc(100% - 460px), 440px);
    aspect-ratio: 1 / 1;
    pointer-events: none;
}

.pe-arte-degraus {
    position: absolute;
    inset: 8%;
    width: 84%;
    height: 84%;
    overflow: visible;
}

    .pe-arte-degraus rect {
        mix-blend-mode: screen;
        transform-box: fill-box;
        transform-origin: 50% 100%;
        animation: pe-arte-sobe 1s cubic-bezier(.2, .9, .25, 1.15) both;
    }

        .pe-arte-degraus rect:nth-child(1) { fill: rgba(205, 197, 239, .30); animation-delay: .1s; }
        .pe-arte-degraus rect:nth-child(2) { fill: rgba(38, 194, 255, .30); animation-delay: .3s; }
        .pe-arte-degraus rect:nth-child(3) { fill: rgba(0, 190, 107, .55); animation-delay: .5s; }

@keyframes pe-arte-sobe {
    from {
        transform: translateY(40px) scaleY(.5);
        opacity: 0;
    }
}

.pe-arte-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    background: rgba(27, 15, 51, .62);
    border: 1px solid rgba(205, 197, 239, .32);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 14px 28px -16px rgba(0, 0, 0, .7);
    animation: pe-arte-flutua 7s ease-in-out infinite;
}

    .pe-arte-chip .pe-ic {
        width: 16px;
        height: 16px;
        color: var(--pe-verde);
    }

.pe-arte-chip--1 { left: 0; top: 62%; animation-delay: -1s; }
.pe-arte-chip--2 { left: 18%; top: 30%; animation-delay: -3s; }
.pe-arte-chip--3 { right: 0; top: 4%; animation-delay: -5s; }
.pe-arte-chip--4 { right: 2%; top: 52%; animation-delay: -2s; }
.pe-arte-chip--5 { left: 24%; top: 88%; animation-delay: -4s; }

@keyframes pe-arte-flutua {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.pe-mural-rotulo {
    position: absolute;
    right: 30px;
    bottom: 40px;
    z-index: 2;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(27, 15, 51, .72);
    border: 1px solid rgba(205, 197, 239, .3);
    padding: 6px 12px;
    border-radius: 999px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.pe-painel {
    background: var(--pe-papel);
    color: var(--pe-tinta);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 64px 26px;
    position: relative;
    color-scheme: light;
}

.pe-painel-in {
    display: grid;
    gap: 18px;
    align-content: center;
    flex: 1;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.pe-painel h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
}

.pe-painel .pe-eyebrow {
    color: var(--pe-roxo);
}

.pe-painel form {
    display: grid;
    gap: 16px;
}

.pe-painel .pe-sub {
    margin-top: -8px;
}

.pe-linha-entre {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
}

    .pe-linha-entre a {
        color: var(--pe-roxo) !important;
        font-weight: 600;
    }

.pe-switch {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    color: var(--pe-tinta);
    font-weight: 500;
    position: relative;
}

    .pe-switch input {
        position: absolute;
        opacity: 0;
        width: 1px;
        height: 1px;
    }

    .pe-switch i {
        width: 38px;
        height: 22px;
        border-radius: 999px;
        background: #ddd7ec;
        position: relative;
        transition: background .2s;
        flex: none;
    }

        .pe-switch i::after {
            content: "";
            position: absolute;
            top: 3px;
            left: 3px;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            background: #fff;
            box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
            transition: transform .2s;
        }

    .pe-switch input:checked + i {
        background: var(--pe-roxo);
    }

        .pe-switch input:checked + i::after {
            transform: translateX(16px);
        }

    .pe-switch input:focus-visible + i {
        outline: 3px solid var(--pe-ciano);
        outline-offset: 2px;
    }

.pe-participante {
    border-top: 1px solid var(--pe-borda);
    padding-top: 18px;
    display: grid;
    gap: 14px;
    font-size: 13.5px;
    color: var(--pe-tinta-2);
}

.pe-participante-direto {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

    .pe-participante-direto a {
        display: inline-flex;
        gap: 7px;
        align-items: center;
        padding: 8px 12px;
        border-radius: 12px;
        background: var(--pe-lilas-0);
        color: var(--pe-roxo) !important;
        font-weight: 600;
    }

        .pe-participante-direto a .pe-ic {
            width: 16px;
            height: 16px;
        }

/* O atalho da Área do Participante é um crachá de evento pendurado no cordão: QR, faixa da marca e um balanço
   no hover, como o crachá que o participante recebe no credenciamento. */
.pe-cracha {
    position: relative;
    display: block;
    padding-top: 20px;
    color: #fff !important;
    border-radius: 18px;
}

.pe-cracha-cordao {
    position: absolute;
    top: 0;
    left: 50%;
    width: 58px;
    height: 26px;
    transform: translateX(-50%);
    border: 4px solid var(--pe-verde);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
}

    .pe-cracha-cordao::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -8px;
        width: 20px;
        height: 12px;
        transform: translateX(-50%);
        border-radius: 4px;
        background: #b9acdf;
        box-shadow: inset 0 -3px 0 rgba(40, 25, 72, .25);
    }

.pe-cracha-cartao {
    position: relative;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 20px 16px 20px;
    border-radius: 18px;
    background: radial-gradient(240px 140px at 100% 0%, rgba(38, 194, 255, .22), transparent 70%), linear-gradient(140deg, #3d2b72 0%, #281948 72%);
    overflow: hidden;
    box-shadow: 0 18px 32px -18px rgba(40, 25, 72, .85);
    transform-origin: 50% -20px;
}

    .pe-cracha-cartao::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 6px;
        background: linear-gradient(90deg, var(--pe-verde), var(--pe-ciano));
    }

.pe-cracha-furo {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 28px;
    height: 6px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: var(--pe-papel);
}

.pe-cracha-qr {
    width: 64px;
    height: 64px;
    padding: 5px;
    border-radius: 10px;
    background: #fff;
    display: grid;
}

    .pe-cracha-qr svg {
        width: 100%;
        height: 100%;
    }

.pe-cracha-texto {
    display: grid;
    gap: 2px;
    min-width: 0;
    position: relative;
    z-index: 1;
}

    .pe-cracha-texto small {
        font-size: 10.5px;
        font-weight: 600;
        letter-spacing: .12em;
        text-transform: uppercase;
        color: var(--pe-verde);
    }

    .pe-cracha-texto b {
        font-size: 17px;
        font-weight: 700;
        letter-spacing: -.01em;
        color: #fff;
    }

    .pe-cracha-texto > span {
        font-size: 12.5px;
        line-height: 1.35;
        color: rgba(255, 255, 255, .74);
    }

.pe-cracha-seta {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(205, 197, 239, .16);
    color: #fff;
    position: relative;
    z-index: 1;
    transition: transform .2s ease, background .2s ease;
}

.pe-cracha-deg {
    position: absolute;
    width: 96px;
    right: -22px;
    top: -30px;
    color: rgba(205, 197, 239, .09);
}

.pe-cracha:hover .pe-cracha-cartao,
.pe-cracha:focus-visible .pe-cracha-cartao {
    animation: pe-balanca 1.1s ease-in-out;
}

.pe-cracha:hover .pe-cracha-seta,
.pe-cracha:focus-visible .pe-cracha-seta {
    transform: translateX(3px);
    background: var(--pe-verde);
}

@keyframes pe-balanca {
    0% { transform: rotate(0); }
    25% { transform: rotate(-2.4deg); }
    55% { transform: rotate(1.6deg); }
    80% { transform: rotate(-.6deg); }
    100% { transform: rotate(0); }
}

.pe-painel-rodape {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--pe-tinta-2);
    gap: 10px;
}

    .pe-painel-rodape img {
        height: 18px;
        width: auto;
        display: block;
    }

    .pe-painel-rodape span:last-child {
        display: inline-flex;
        gap: 6px;
        align-items: center;
    }

.pe-icone-redondo {
    width: 62px;
    height: 62px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    background: var(--pe-lilas-0);
    color: var(--pe-roxo);
}

    .pe-icone-redondo .pe-ic {
        width: 28px;
        height: 28px;
    }

.pe-icone-redondo--alerta {
    background: var(--pe-aviso-0);
    color: #8a5a00;
}

.pe-otp {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

    .pe-otp input {
        height: 62px;
        border-radius: 14px;
        border: 1.5px solid var(--pe-borda);
        background: var(--pe-campo);
        text-align: center;
        font: 600 26px var(--pe-mono);
        color: var(--pe-tinta);
        width: 100%;
        min-width: 0;
        padding: 0;
        transition: border-color .15s, box-shadow .15s;
    }

        .pe-otp input:focus {
            outline: none;
            border-color: var(--pe-roxo);
            background: #fff;
            box-shadow: 0 0 0 4px rgba(67, 49, 123, .13);
        }

        .pe-otp input.cheio {
            border-color: #b9acdf;
            background: #fff;
        }

    .pe-otp.erro input {
        border-color: var(--pe-erro);
        background: var(--pe-erro-0);
    }

    .pe-otp.ok input {
        border-color: var(--pe-verde);
        background: var(--pe-ok-0);
    }

.pe-reenviar {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 14px;
    color: var(--pe-tinta-2);
    min-height: 24px;
}

    .pe-reenviar svg {
        width: 22px;
        height: 22px;
        transform: rotate(-90deg);
        flex: none;
    }

    .pe-reenviar circle {
        fill: none;
        stroke-width: 3;
    }

    .pe-reenviar .trilho {
        stroke: var(--pe-borda);
    }

    .pe-reenviar .anel {
        stroke: var(--pe-roxo);
        stroke-linecap: round;
        transition: stroke-dashoffset 1s linear;
    }

    .pe-reenviar b {
        font-variant-numeric: tabular-nums;
        color: var(--pe-tinta);
    }

.pe-forca {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

    .pe-forca i {
        height: 6px;
        border-radius: 3px;
        background: #ece8f6;
        transition: background .25s;
    }

    .pe-forca[data-n="1"] i:nth-child(-n+1) { background: #e2553f; }
    .pe-forca[data-n="2"] i:nth-child(-n+2) { background: #f2a516; }
    .pe-forca[data-n="3"] i:nth-child(-n+3) { background: #26a8e0; }
    .pe-forca[data-n="4"] i { background: var(--pe-verde); }

.pe-requisitos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 13.5px;
    color: var(--pe-tinta-2);
}

    .pe-requisitos li {
        display: flex;
        gap: 8px;
        align-items: center;
    }

        .pe-requisitos li span {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1.5px solid #cfc7e6;
            display: grid;
            place-items: center;
            flex: none;
            transition: all .2s;
        }

            .pe-requisitos li span .pe-ic {
                width: 12px;
                height: 12px;
                stroke-width: 3;
                opacity: 0;
            }

        .pe-requisitos li.ok {
            color: var(--pe-ok);
        }

            .pe-requisitos li.ok span {
                background: var(--pe-verde);
                border-color: var(--pe-verde);
                color: #fff;
            }

                .pe-requisitos li.ok span .pe-ic {
                    opacity: 1;
                }

.pe-envelope {
    width: 120px;
    height: 96px;
    position: relative;
}

    .pe-envelope .carta {
        position: absolute;
        left: 18px;
        right: 18px;
        top: 0;
        height: 66px;
        background: #fff;
        border: 1.5px solid var(--pe-borda);
        border-radius: 8px;
        display: grid;
        gap: 5px;
        padding: 12px;
        animation: pe-carta 1.1s cubic-bezier(.5, 0, .2, 1) both .2s;
    }

        .pe-envelope .carta i {
            height: 4px;
            border-radius: 2px;
            background: #e5e0f3;
        }

            .pe-envelope .carta i:first-child {
                background: var(--pe-roxo);
                width: 50%;
            }

    .pe-envelope .base {
        position: absolute;
        inset: auto 0 0;
        height: 62px;
        border-radius: 12px;
        background: var(--pe-roxo);
        overflow: hidden;
    }

        .pe-envelope .base::before {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
            height: 62px;
            background: linear-gradient(to top right, transparent 49.5%, #5b47a3 50%) left / 50% 100% no-repeat, linear-gradient(to top left, transparent 49.5%, #5b47a3 50%) right / 50% 100% no-repeat;
        }

@keyframes pe-carta {
    from { transform: translateY(-34px); }
    to { transform: translateY(22px); }
}

.pe-carregando {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .9);
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    font-weight: 600;
    color: var(--pe-roxo);
    z-index: 4;
}

    .pe-carregando .pe-sobe {
        width: 70px;
        color: var(--pe-roxo);
    }

/* ------------------------------------------------------------------ Telas médias e celular */

@media (max-width: 1279px) {
    .pe-marca-arte {
        display: none;
    }
}

@media (max-width: 1080px) {
    .pe-eventos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pe-hub-baixo {
        grid-template-columns: minmax(0, 1fr) 320px;
    }
}

@media (max-width: 980px) {
    .pe-acoes {
        grid-template-columns: minmax(0, 1fr);
        max-width: 620px;
    }

    .pe-hub-baixo {
        grid-template-columns: minmax(0, 1fr);
    }

    .pe-eq {
        display: block;
        min-height: 100vh;
    }

    .pe-marca {
        min-height: 0;
        padding: 30px 24px 30px;
        gap: 22px;
    }

    .pe-mural,
    .pe-mural-rotulo,
    .pe-marca-arte,
    .pe-marca-rodape {
        display: none;
    }

    .pe-marca-texto h1 {
        font-size: 34px;
    }

    .pe-marca-texto p {
        font-size: 15px;
    }

    .pe-painel {
        border-radius: 28px 28px 0 0;
        padding: 28px max(22px, env(safe-area-inset-right)) 22px max(22px, env(safe-area-inset-left));
        min-height: calc(100vh - 220px);
    }

    .pe-painel-in {
        align-content: start;
    }
}

@media (max-width: 760px) {
    .pe-topo {
        padding: max(16px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) 10px max(20px, env(safe-area-inset-left));
    }

        .pe-topo img {
            height: 26px;
        }

        .pe-topo nav a:not(.pe-pilula) {
            display: none;
        }

    .pe-hub-main {
        padding: 10px 20px 24px;
        gap: 22px;
    }

    .pe-hub-intro h1 {
        font-size: 34px;
    }

    .pe-hub-intro p {
        font-size: 15px;
    }

    .pe-acoes {
        gap: 12px;
    }

    .pe-acao {
        padding: 16px 18px;
        border-radius: 20px;
        gap: 0;
    }

    .pe-acao-cab {
        cursor: pointer !important;
    }

    .pe-acao-seta {
        display: block;
        color: var(--pe-tinta-2);
        transition: transform .2s;
    }

    .pe-acao.aberta .pe-acao-seta {
        transform: rotate(180deg);
    }

    .pe-acao:not(.aberta) .pe-acao-corpo {
        display: none;
    }

    .pe-acao.aberta .pe-acao-corpo {
        margin-top: 14px;
    }

    .pe-acao-ic {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .pe-acao h2 {
        font-size: 16.5px;
    }

    .pe-eventos {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        scroll-snap-type: x mandatory;
        margin: 0 -20px;
        padding: 0 20px 4px;
        scrollbar-width: none;
    }

        .pe-eventos::-webkit-scrollbar {
            display: none;
        }

    .pe-evento {
        flex: 0 0 62%;
        scroll-snap-align: start;
    }

    .pe-app {
        grid-template-columns: 86px minmax(0, 1fr);
        padding: 16px;
    }

    .pe-celular {
        width: 84px;
        height: 164px;
    }

    .pe-rodape {
        padding: 20px max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
        flex-direction: column;
        align-items: flex-start;
    }

    .pe-centro {
        padding: 0 16px 24px;
    }

    .pe-split {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 24px;
        min-height: 0;
    }

    .pe-split-arte {
        padding: 12px 20px;
    }

        .pe-split-arte p {
            display: none;
        }

    .pe-leque {
        height: 210px;
        margin: 0;
        transform: scale(.62);
    }

    .pe-split-form {
        padding: 24px 22px 28px;
        gap: 16px;
    }

        .pe-split-form h1 {
            font-size: 26px;
        }

    .pe-aut-main {
        padding: 0 20px 28px;
    }

    .pe-roseta {
        width: 180px;
        height: 180px;
    }

        .pe-roseta .miolo {
            width: 66px;
            height: 66px;
        }

    .pe-aut-main h1 {
        font-size: 32px;
    }

    .pe-aut-main > p {
        font-size: 15px;
    }

    .pe-aut-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 8px;
    }

    .pe-codigo {
        font-size: 17px;
        height: 48px;
        text-align: center;
        padding: 0 8px;
    }

    .pe-aut-form .pe-btn {
        width: 100%;
        min-height: 48px;
    }

    .pe-selo-corpo {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px;
        gap: 12px;
        justify-items: center;
    }

    .pe-selo-dados {
        width: 100%;
    }

    .pe-carimbo {
        width: 150px;
        height: 150px;
    }

        .pe-carimbo .miolo {
            width: 66px;
            height: 66px;
        }

            .pe-carimbo .miolo .pe-ic {
                width: 32px;
                height: 32px;
            }

    .pe-selo-dados h2 {
        font-size: 22px;
        text-align: center;
    }

    .pe-dl {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .pe-selo-faixa {
        padding: 10px 18px;
        font-size: 11px;
    }

        .pe-selo-faixa small {
            display: none;
        }

    .pe-selo-rodape {
        padding: 14px 18px;
    }

        .pe-selo-rodape .pe-btn {
            flex: 1;
        }

    .pe-otp {
        gap: 7px;
    }

        .pe-otp input {
            height: 54px;
            font-size: 22px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .pe *,
    .pe *::before,
    .pe *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ------------------------------------------------------------------ Aviso dentro do formulário */

.pe-msg--aviso {
    background: var(--pe-aviso-0);
    color: var(--pe-aviso);
}

/* ------------------------------------------------------------------ Modal do Bootstrap 4 sem o CSS do Metronic
   Meus Certificados usa o modal do Bootstrap (avaliação e certificado emitido). Estas páginas não carregam o
   Metronic, então a base do modal fica aqui; o visual de cada janela vem de MeusCertificados.css e Avaliacao.css. */

body.pe-body.modal-open {
    overflow: hidden;
}

body.pe-body .modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    color: var(--pe-tinta);
}

body.pe-body.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}

body.pe-body .modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}

body.pe-body .modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -40px);
}

body.pe-body .modal.show .modal-dialog {
    transform: none;
}

body.pe-body .modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

body.pe-body .modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background: var(--pe-papel);
    border-radius: 24px;
    outline: 0;
    box-shadow: 0 40px 80px -30px rgba(5, 2, 20, 0.85);
}

body.pe-body .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background: #0b0618;
}

    body.pe-body .modal-backdrop.fade {
        opacity: 0;
    }

    body.pe-body .modal-backdrop.show {
        opacity: 0.62;
    }

body.pe-body .fade {
    transition: opacity 0.15s linear;
}

    body.pe-body .fade:not(.show) {
        opacity: 0;
    }

@media (min-width: 576px) {
    body.pe-body .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    body.pe-body .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}

/* ------------------------------------------------------------------ Caixa de aviso (MensagensDasPortas.js, o abp.message) */

body.pe-aviso-aberto {
    overflow: hidden;
}

.pe-aviso-fundo {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(11, 6, 24, 0.62);
    display: grid;
    place-items: center;
    padding: 20px;
    font-family: var(--pe-fonte);
}

    .pe-aviso-fundo[hidden] {
        display: none;
    }

.pe-aviso {
    width: 100%;
    max-width: 420px;
    background: var(--pe-papel);
    color: var(--pe-tinta);
    border-radius: 24px;
    padding: 26px 24px 22px;
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
    box-shadow: 0 40px 80px -30px rgba(5, 2, 20, 0.85);
    animation: pe-aviso-entra 0.18s ease-out;
}

@keyframes pe-aviso-entra {
    from {
        transform: translateY(12px) scale(0.98);
        opacity: 0;
    }
}

.pe-aviso h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.pe-aviso p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: var(--pe-tinta-2);
    overflow-wrap: anywhere;
}

.pe-aviso-ic {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: var(--pe-lilas-0);
    color: var(--pe-roxo);
}

    .pe-aviso-ic .pe-ic {
        width: 26px;
        height: 26px;
    }

.pe-aviso--ok .pe-aviso-ic { background: var(--pe-ok-0); color: var(--pe-ok); }
.pe-aviso--alerta .pe-aviso-ic { background: var(--pe-aviso-0); color: var(--pe-aviso); }
.pe-aviso--erro .pe-aviso-ic { background: var(--pe-erro-0); color: var(--pe-erro); }

.pe-aviso-botoes {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 6px;
    width: 100%;
}

    .pe-aviso-botoes .pe-btn {
        flex: 1 1 140px;
    }
