.apoio-page {
    background: #f4f7ff;
}

.apoio-hero {
    position: relative;
    overflow: hidden;

    padding: 90px 0 120px;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(113, 0, 255, .65),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #1800ad 0%,
            #1029d8 45%,
            #4512d9 100%
        );

    color: #fff;
}

.apoio-hero::after {
    content: "4455";

    position: absolute;

    right: 3%;
    bottom: -100px;

    font-family: 'Barlow Condensed', sans-serif;

    font-size: 300px;
    font-weight: 900;

    color: rgba(255,255,255,.05);

    pointer-events: none;
}

.apoio-hero-grid {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        1.2fr
        .8fr;

    align-items: center;

    gap: 50px;
}

.apoio-eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    color: #ffed00;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 2px;
}

.apoio-hero h1 {
    max-width: 700px;

    margin: 0;

    font-size: clamp(
        54px,
        7vw,
        100px
    );

    line-height: .9;
}

.apoio-hero h1 span {
    display: block;

    color: #ffed00;
}

.apoio-hero p {
    max-width: 650px;

    margin-top: 25px;

    color: rgba(255,255,255,.85);

    font-size: 18px;
    line-height: 1.6;
}

.apoio-hero-number {
    color: rgba(255,255,255,.08);

    font-family: 'Barlow Condensed', sans-serif;

    font-size: 190px;
    font-weight: 900;

    text-align: center;
}


/* ================================
   EDITOR
================================ */

.apoio-editor-section {
    position: relative;

    margin-top: -75px;

    padding-bottom: 100px;
}

.apoio-editor-card {
    position: relative;
    z-index: 5;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 0;

    overflow: hidden;

    background: #fff;

    border-radius: 30px;

    box-shadow:
        0 30px 80px
        rgba(24,0,173,.14);
}

.apoio-coluna {
    padding: 45px;
}

.apoio-preview-coluna {
    border-left:
        1px solid
        #e7e8ef;
}

.apoio-bloco + .apoio-bloco {
    margin-top: 35px;
}

.apoio-etapa {
    display: block;

    margin-bottom: 12px;

    color: #1800ad;

    font-family: 'Barlow Condensed', sans-serif;

    font-size: 24px;
    font-weight: 900;
}

.apoio-ajuda {
    color: #707070;

    font-size: 13px;
}


/* UPLOAD */

.apoio-upload {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-height: 54px;

    background:
        linear-gradient(
            90deg,
            #087ce7,
            #2456ff
        );

    color: #fff;

    border-radius: 999px;

    font-weight: 900;

    cursor: pointer;

    transition: .2s ease;
}

.apoio-upload:hover {
    transform: translateY(-2px);
}

.apoio-upload input {
    display: none;
}


/* CANVAS */

/* ===================================
   CANVAS (CORRIGIDO)
=================================== */

.apoio-canvas-wrap,
.apoio-preview-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    border-radius: 20px;

    /* Mantém apenas a moldura azul */
    background: transparent;
    padding: 0;
}

#canvasEditor,
#canvasPreview {
    display: block;
    width: 100%;
    height: 100%;

    background: transparent;
    margin: 0;
    padding: 0;
}
/* CONTROLES */

.apoio-controles {
    display: none;

    margin-top: 20px;

    padding: 20px;

    background: #f6f7fb;

    border-radius: 18px;
}

.apoio-controles.ativo {
    display: block;
}

.apoio-controle > span,
.apoio-movimento > span {
    display: block;

    margin-bottom: 10px;

    color: #1800ad;

    font-size: 12px;
    font-weight: 900;
}

.apoio-range {
    display: grid;

    grid-template-columns:
        44px
        1fr
        44px;

    align-items: center;

    gap: 12px;
}

.apoio-range button,
.apoio-setas button {
    border: 0;

    background: #fff;

    color: #1800ad;

    border-radius: 50%;

    font-weight: 900;

    cursor: pointer;
}

.apoio-range button {
    width: 44px;
    height: 44px;
}

.apoio-range input {
    width: 100%;

    accent-color: #1800ad;
}

.apoio-movimento {
    margin-top: 20px;
}

.apoio-setas {
    display: flex;

    gap: 10px;
}

.apoio-setas button {
    width: 42px;
    height: 42px;
}


/* BOTÕES */

.apoio-reset {
    width: 100%;

    margin-top: 18px;

    min-height: 50px;

    border: 0;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #1800ad,
            #7200e8
        );

    color: #fff;

    font-weight: 900;

    cursor: pointer;
}

.apoio-btn-download,
.apoio-btn-share {
    width: 100%;

    min-height: 54px;

    border-radius: 999px;

    font-weight: 900;

    cursor: pointer;
}

.apoio-btn-download {
    border: 0;

    background: #ffed00;

    color: #1800ad;
}

.apoio-btn-share {
    margin-top: 12px;

    border:
        2px solid
        #1800ad;

    background: #fff;

    color: #1800ad;
}


/* PREVIEW */

.apoio-preview-text {
    margin: 18px 0;

    color: #555;

    font-size: 13px;

    text-align: center;
}

.apoio-preview-text i {
    color: #1800ad;
}


/* DICAS */

.apoio-dicas {
    margin-top: 25px;

    padding: 22px;

    background: #f1f4fb;

    border-radius: 18px;
}

.apoio-dicas h3 {
    color: #1800ad;

    font-size: 18px;
}

.apoio-dicas ul {
    margin: 0;

    padding: 0;

    list-style: none;
}

.apoio-dicas li {
    display: flex;

    gap: 8px;

    margin-top: 10px;

    color: #555;

    font-size: 13px;
}

.apoio-dicas i {
    color: #087ce7;
}

/* FIX FINAL DA MOLDURA */

.apoio-canvas-wrap,
.apoio-preview-wrap,
#canvasEditor,
#canvasPreview{
    background: transparent !important;
    padding: 0 !important;
}


/* RESPONSIVO */

@media (max-width: 900px) {

    .apoio-hero-grid {
        grid-template-columns: 1fr;
    }

    .apoio-hero-number {
        display: none;
    }

    .apoio-editor-card {
        grid-template-columns: 1fr;
    }

    .apoio-preview-coluna {
        border-left: 0;

        border-top:
            1px solid
            #e7e8ef;
    }

}


@media (max-width: 620px) {

    .apoio-hero {
        padding:
            70px
            0
            110px;
    }

    .apoio-editor-section {
        margin-top: -55px;
    }

    .apoio-coluna {
        padding: 22px;
    }

    .apoio-editor-card {
        border-radius: 22px;
    }

}

