/* =========================================================
   Termos de Uso e Privacidade (LGPD)
   ========================================================= */

/* ---------- Seção principal ---------- */
section.page-terms {
    padding: 1rem;
    background: var(--bege);
    color: var(--verde);
}

/* ---------- Topo ---------- */
section.page-terms .top-info {
    line-height: 1.5;
}

section.page-terms .top-info h1 {
    letter-spacing: -0.5px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.1;
}

section.page-terms .top-info h3 {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 500;
    color: var(--verde);
}

section.page-terms .top-info h3 span {
    letter-spacing: 1px;
}

/* ---------- Menu de seções (fixo) ---------- */
section.page-terms .menu {
    position: sticky;
    top: 120px;
    z-index: 98;
    display: flex;
    justify-content: space-between;
    padding: 60px 15px 0;
    background: var(--marrom);
    color: #fff;
    list-style: none;
}

section.page-terms .menu a {
    position: relative;
    display: flex;
    justify-content: center;
    width: fit-content;
    height: 40px;
    font-size: 16.67px;
    letter-spacing: -0.5px;
    color: #fff;
    transition: all .3s ease-in;
}

section.page-terms .menu a:before {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 100%;
    height: 4px;
    background: var(--verde);
    transform: scaleX(0);
    transform-origin: center;
    transition: all .2s ease-in-out;
}

section.page-terms .menu a:hover,
section.page-terms .menu a.active {
    font-weight: 600;
}

section.page-terms .menu a:hover:before,
section.page-terms .menu a.active:before {
    transform: scaleX(1);
}

/* ---------- Conteúdo ---------- */
main article {
    padding-top: 3rem;
    padding-bottom: 50px;
    scroll-margin-top: 180px;
}

main article:first-child {
    padding-top: 2rem;
    scroll-margin-top: 250px;
}

main h1 {
    position: relative;
    display: flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 30px;
    padding-left: 15px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

main h1:after {
    content: "";
    position: absolute;
    left: 0;
    width: 5px;
    height: 70%;
    background: var(--verde);
}

main h2 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 16.67px;
    font-weight: 600;
}

main p {
    margin-bottom: 15px;
    font-size: 15px;
}

main strong {
    font-weight: 600;
    text-transform: uppercase;
}

main a {
    font-weight: 500;
    font-style: italic;
    text-decoration: underline !important;
}

main ul,
main ol {
    margin-bottom: 30px;
    padding-left: 20px;
}

main ul li,
main ol li {
    margin-bottom: 15px;
    font-size: 15px;
}

/* ---------- Formulário (cancelar cadastro) ---------- */
article form {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    width: 400px;
}

article form .col-2 {
    display: flex;
    gap: 10px;
    width: 100%;
}

article form .group-input {
    display: flex;
    flex-direction: column;
    width: 100%;
}

article form .group-input label {
    font-size: 13px;
    font-weight: 600;
}

article form .group-input input {
    width: 100%;
    height: 40px;
    padding: 7px 1rem;
    border: 2px solid #dcd7ce;
    border-radius: 10px;
    background-color: transparent;
    box-shadow: none !important;
    outline: none !important;
    font-size: var(--fonte-normal);
    color: var(--verde);
}

article form .group-input input:focus {
    border-color: var(--verde);
}

article form .group-button {
    margin-top: 10px;
}

article form .group-button button {
    padding: 3px 22px;
    border: 1px solid #0000002f;
    border-radius: 5px;
    background: var(--verde);
    font-size: 15px;
    color: #fff;
    transition: all .3s ease;
}
article form .group-button button:hover {
    background-color: var(--marrom);
}

/* ---------- Botão "voltar ao topo" ---------- */
.backToTop {
    position: fixed;
    bottom: 0;
    right: 200px;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    padding: 7px 15px;
    border-radius: 10px 10px 0 0;
    background-color: #000;
    font-size: 20.83px;
    color: #fff;
    cursor: pointer;
}

.backToTop p {
    display: flex;
    align-items: center;
    gap: 10px;
    fill: #fff;
}

.backToTop svg {
    width: 30px;
    height: 30px;
    animation: pulse_arrow .6s infinite alternate;
}

@keyframes pulse_arrow {
    to {
        transform: translateY(3px);
    }
}

/* ---------- Responsivo ---------- */
@media (max-width: 800px) {
    .box-float {
        bottom: 3rem;
    }

    main article {
        padding-bottom: 0;
    }

    article#section_4 {
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .backToTop {
        right: 20px;
    }

    section.page-terms .top-info h1 {
        margin-bottom: 1rem;
    }

    section.page-terms .top-info h3 {
        flex-wrap: wrap;
        gap: 10px;
    }

    section.page-terms .menu {
        display: none;
    }

    article form {
        width: 100%;
    }
}
