.main{
    padding-bottom: 1rem;
}
.footer {
    position: relative;
    isolation: isolate;

    padding: 1.5rem 3rem;
    min-height: 10vh;

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

    background-color: #fff;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 120px;

    transform: translateY(-100%); /* sobe */

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 160' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 80 C200 140 500 140 720 90 C950 40 1200 60 1440 110 V160 H0 Z' fill='%23ffffff'/%3E%3C/svg%3E");

    background-size: cover;
    background-repeat: no-repeat;

    pointer-events: none;
}



/* ================= LEFT SIDE ================= */

.container-esquerda {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-esquerda {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--cor-azul-padrao);
}

.footer-esquerda img {
    max-width: 200px;
    max-height: 60px;
}

/* linha com degradê */
.linha-vertical {
    width: 2px;
    height: 60px; /* altura fixa funciona melhor aqui */

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(180, 180, 180, 0.4) 20%,
        rgba(180, 180, 180, 0.8) 50%,
        rgba(180, 180, 180, 0.4) 80%,
        transparent 100%
    );
}

/* ================= TEXT ================= */

.info-texto h2 {
    font-size: 11px;
    margin: 0;
    color: var(--cor-azul-padrao);
    line-height: 1.4;
}

.footer-direita {
    display: flex;
    align-items: center;
}

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

.footer-link {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 15px;
    justify-content: center;
    margin-left: auto;
    position: relative;
}

/* linha degradê */
.footer-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;

    width: 2px;
    height: 100%;

    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(180, 180, 180, 0.4) 20%,
        rgba(180, 180, 180, 0.8) 50%,
        rgba(180, 180, 180, 0.4) 80%,
        transparent 100%
    );
}

.footer-link a {
    font-size: 11px;
    color: var(--cor-azul-padrao);
    text-decoration: none;
    line-height: 1.4;
}

.footer-link a:hover {
    text-decoration: underline;
}

/* ================= OUTROS ================= */

.logo-reuse {
    width: 140px;
}

.form-deslogar {
    margin-inline: auto;
}

.navbar-opcoes-mobile {
    display: none;
}

.dropmenu-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@media (max-width: 768px) {

    .footer {
        flex-wrap: wrap;
        gap: 20px;
        padding: 20px;
    }

    .container-esquerda {
        width: 100%;
    }

    .footer-link {
        margin-left: 0;
        flex-direction: row;
        gap: 20px;
        border: none;
        padding-left: 0;
    }

    .footer-link::before {
        display: none;
    }

    .info-texto h2 {
        font-size: 13px;
    }
}

/* ================= MOBILE ================= */
@media (max-width: 480px) {

    .footer {
        flex-direction: column;
        align-items: center; /* centraliza tudo */
        text-align: center;
        gap: 20px;
        padding: 1rem;
    }

    .container-esquerda {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .footer-esquerda {
        justify-content: center;
    }

    .linha-vertical {
        display: none;
    }

    .footer-direita {
        justify-content: center;
    }

    .info-texto h2 {
        font-size: 12px;
        text-align: center;
    }

    .footer-link {
        width: 100%;
        flex-direction: column; /* volta a ficar vertical */
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 0;
        margin: 0;
    }

    .footer-link::before {
        display: none;
    }

    .footer-link a {
        font-size: 12px;
        text-align: center;
    }

    .footer-esquerda img {
        max-width: 140px;
    }
}
