/* =========================================================
   GERABOI FOOTER
   Mobile-first
   ========================================================= */

.gb-footer {
    --footer-bg: #092b25;
    --footer-bg-light: #0d3931;
    --footer-text: #ffffff;
    --footer-muted: rgba(255, 255, 255, .64);
    --footer-border: rgba(255, 255, 255, .12);
    --footer-accent: #f15a24;

    position: relative;
    width: 100%;
    margin-top: 48px;

    overflow: hidden;

    background:
            radial-gradient(
                    circle at 15% 0%,
                    rgba(27, 101, 82, .28),
                    transparent 35%
            ),
            linear-gradient(
                    135deg,
                    var(--footer-bg-light) 0%,
                    var(--footer-bg) 48%,
                    #061f1b 100%
            );

    color: var(--footer-text);
}


/* =========================================================
   DESTAQUE SUPERIOR
   ========================================================= */

.gb-footer__accent {
    width: 100%;
    height: 3px;

    background: linear-gradient(
            90deg,
            #f15a24,
            #ff7a3d,
            #f15a24
    );
}


/* =========================================================
   CONTAINER
   ========================================================= */

.gb-footer__container {
    width: min(calc(100% - 32px), 1180px);

    margin-inline: auto;

    padding:
            38px
            0
            calc(24px + env(safe-area-inset-bottom));
}


/* =========================================================
   GRID
   ========================================================= */

.gb-footer__grid {
    display: grid;

    grid-template-columns: 1fr;

    gap: 34px;
}


/* =========================================================
   LOGO / MARCA
   ========================================================= */

.gb-footer__brand {
    text-align: center;
}

.gb-footer__logo {
    display: inline-flex;

    align-items: center;

    text-decoration: none;
}

.gb-footer__logo img {
    display: block;

    width: auto;
    max-width: 245px;
    height: auto;

    object-fit: contain;
}

.gb-footer__description {
    max-width: 330px;

    margin:
            18px
            auto
            0;

    color: var(--footer-muted);

    font-size: .82rem;
    line-height: 1.65;
}


/* =========================================================
   SEÇÕES
   ========================================================= */

.gb-footer__section {
    min-width: 0;
}

.gb-footer__heading {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-bottom: 18px;
}

.gb-footer__heading-icon {
    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    flex: 0 0 44px;

    border-radius: 14px;

    background: rgba(255, 255, 255, .08);

    color: #ffffff;
}

.gb-footer__heading-icon svg {
    width: 21px;
    height: 21px;
}

.gb-footer__heading h2 {
    margin: 0;

    color: #ffffff;

    font-size: .95rem;
    font-weight: 800;
}

.gb-footer__heading p {
    margin: 3px 0 0;

    color: var(--footer-muted);

    font-size: .72rem;
}


/* =========================================================
   CONTATOS
   ========================================================= */

.gb-footer__contacts {
    display: grid;

    gap: 5px;

    justify-content: center;
}

.gb-footer__contacts a {
    min-height: 40px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 6px 8px;

    border-radius: 9px;

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

    font-size: .78rem;
    font-weight: 600;

    text-decoration: none;

    transition:
            color 160ms ease,
            background 160ms ease;
}

.gb-footer__contacts a:hover {
    background: rgba(255, 255, 255, .06);

    color: #ffffff;
}

.gb-footer__contacts svg {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    color: #9bc2b4;
}


/* =========================================================
   CENTRAL DE AJUDA
   ========================================================= */

.gb-footer__support-button {
    width: 100%;
    max-width: 270px;

    min-height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    margin:
            14px
            auto
            0;

    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, .34);

    border-radius: 14px;

    background: rgba(255, 255, 255, .05);

    color: #ffffff;

    font-size: .78rem;
    font-weight: 800;

    text-decoration: none;

    transition:
            background 160ms ease,
            border-color 160ms ease,
            transform 160ms ease;
}

.gb-footer__support-button:hover {
    border-color: var(--footer-accent);

    background: var(--footer-accent);

    color: #ffffff;

    transform: translateY(-1px);
}

.gb-footer__support-button svg {
    width: 17px;
    height: 17px;
}

.gb-footer__support-button svg:last-child {
    margin-left: auto;
}


/* =========================================================
   DESENVOLVIMENTO
   ========================================================= */

.gb-footer__developer {
    display: flex;

    justify-content: center;

    text-decoration: none;
}

.gb-footer__developer img {
    display: block;

    width: auto;
    max-width: 155px;
    max-height: 52px;

    object-fit: contain;
}

.gb-footer__developer-text {
    max-width: 290px;

    margin:
            15px
            auto
            0;

    color: var(--footer-muted);

    font-size: .76rem;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   RODAPÉ INFERIOR
   ========================================================= */

.gb-footer__bottom {
    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 18px;

    margin-top: 34px;

    padding-top: 22px;

    border-top: 1px solid var(--footer-border);
}

.gb-footer__bottom p {
    margin: 0;

    color: var(--footer-muted);

    font-size: .69rem;

    text-align: center;
}

.gb-footer__bottom p strong {
    color: rgba(255, 255, 255, .88);

    font-weight: 800;
}

.gb-footer__bottom p span::before {
    content: " • ";

    margin-inline: 3px;
}


/* =========================================================
   LINKS
   ========================================================= */

.gb-footer__links {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-wrap: wrap;

    gap: 7px 16px;
}

.gb-footer__links a {
    position: relative;

    color: var(--footer-muted);

    font-size: .7rem;
    font-weight: 600;

    text-decoration: none;

    transition: color 160ms ease;
}

.gb-footer__links a:hover {
    color: #ffffff;
}

.gb-footer__links a + a::before {
    content: "";

    position: absolute;

    top: 50%;
    left: -8px;

    width: 1px;
    height: 11px;

    transform: translateY(-50%);

    background: var(--footer-border);
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) {

    .gb-footer {
        margin-top: 64px;
    }

    .gb-footer__container {
        padding-top: 46px;
    }

    .gb-footer__grid {
        grid-template-columns:
            minmax(0, 1.2fr)
            minmax(0, 1fr)
            minmax(0, .9fr);

        gap: 28px;
    }

    .gb-footer__brand {
        text-align: left;
    }

    .gb-footer__description {
        margin-left: 0;
        margin-right: 0;
    }

    .gb-footer__heading {
        justify-content: flex-start;
    }

    .gb-footer__contacts {
        justify-content: stretch;
    }

    .gb-footer__support-button {
        margin-left: 0;
        margin-right: 0;
    }

    .gb-footer__developer {
        justify-content: flex-start;
    }

    .gb-footer__developer-text {
        margin-left: 0;
        margin-right: 0;

        text-align: left;
    }

    .gb-footer__bottom {
        flex-direction: row;

        justify-content: space-between;

        gap: 30px;
    }

    .gb-footer__bottom p {
        text-align: left;
    }
}


/* =========================================================
   DESKTOP
   ========================================================= */

@media (min-width: 992px) {

    .gb-footer__container {
        padding-top: 54px;
        padding-bottom: 28px;
    }

    .gb-footer__grid {
        grid-template-columns:
            minmax(280px, 1.3fr)
            minmax(260px, 1fr)
            minmax(240px, .85fr);

        gap: 48px;
    }

    .gb-footer__section {
        padding-left: 32px;

        border-left: 1px solid var(--footer-border);
    }

    .gb-footer__logo img {
        max-width: 280px;
    }

    .gb-footer__bottom {
        margin-top: 44px;

        padding-top: 24px;
    }
}


/* =========================================================
   CELULARES PEQUENOS
   ========================================================= */

@media (max-width: 380px) {

    .gb-footer__container {
        width: calc(100% - 24px);
    }

    .gb-footer__logo img {
        max-width: 210px;
    }

    .gb-footer__bottom p span {
        display: block;

        margin-top: 3px;
    }

    .gb-footer__bottom p span::before {
        display: none;
    }
}