
/* =========================================================
   TERMOS DE USO - NQUESTÕES
   Estilos específicos da página de termos.
========================================================= */

.termos-page {
    background: #f8f9fc;
    color: #212529;
}

/* CABEÇALHO */

.termos-hero {
    padding: 65px 0;
    background: linear-gradient(135deg, #f0f4ff, #ffffff);
    border-bottom: 1px solid #e9edf5;
}

.termos-hero-content {
    max-width: 850px;
}

.termos-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--bs-primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.termos-hero h1 {
    margin-bottom: 15px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
}

.termos-hero-content > p {
    max-width: 700px;
    margin-bottom: 20px;
    color: #647084;
    font-size: 1.08rem;
    line-height: 1.7;
}

.termos-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #667085;
    font-size: .88rem;
}

/* ÁREA DE CONTEÚDO */

.termos-content-section {
    padding: 40px 0 70px;
}

/* ÍNDICE LATERAL */

.termos-nav {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 22px 18px;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.termos-nav h2 {
    margin: 0 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
    font-size: 1rem;
    font-weight: 750;
}

.termos-nav a {
    display: block;
    padding: 8px 10px;
    border-radius: 7px;
    color: #596273;
    font-size: .86rem;
    line-height: 1.45;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.termos-nav a:hover,
.termos-nav a:focus-visible {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), .08);
}

/* DOCUMENTO */

.termos-document {
    padding: 38px 42px;
    background: #fff;
    border: 1px solid #e5e9f0;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .035);
}

.termos-intro {
    margin-bottom: 35px;
    padding: 22px 24px;
    background: #f7f9ff;
    border-left: 4px solid var(--bs-primary);
    border-radius: 5px;
}

.termos-intro p {
    margin-bottom: 12px;
    color: #475467;
    font-size: .97rem;
    line-height: 1.8;
}

.termos-intro p:last-child {
    margin-bottom: 0;
}

/* SEÇÕES E TÍTULOS */

.termos-topic {
    padding: 25px 0;
    border-bottom: 1px solid #edf0f4;
    scroll-margin-top: 95px;
}

.termos-topic:last-of-type {
    border-bottom: 0;
}

.termos-topic h2 {
    margin-bottom: 18px;
    color: #212529;
    font-size: 1.35rem;
    font-weight: 750;
    line-height: 1.4;
}

.termos-topic h3 {
    margin: 22px 0 12px;
    color: #343a40;
    font-size: 1.04rem;
    font-weight: 700;
}

.termos-topic p {
    margin-bottom: 14px;
    color: #525e70;
    font-size: .96rem;
    line-height: 1.8;
    text-align: justify;
}

.termos-topic p:last-child {
    margin-bottom: 0;
}

.termos-topic ul {
    margin: 12px 0 18px;
    padding-left: 24px;
    color: #525e70;
}

.termos-topic li {
    margin-bottom: 9px;
    padding-left: 4px;
    font-size: .96rem;
    line-height: 1.7;
}

.termos-topic li::marker {
    color: var(--bs-primary);
}

/* CONTATO */

.termos-contact-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-top: 22px;
    padding: 22px;
    background: #f7f9ff;
    border: 1px solid #e3e9fa;
    border-radius: 10px;
}

.termos-contact-box > i {
    flex-shrink: 0;
    color: var(--bs-primary);
    font-size: 1.7rem;
}

.termos-contact-box strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
}

.termos-contact-box p {
    margin-bottom: 12px;
    font-size: .9rem;
    text-align: left;
}

/* RODAPÉ DO DOCUMENTO */

.termos-final {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 25px;
    padding: 20px 0 0;
    border-top: 1px solid #edf0f4;
}

.termos-final i {
    flex-shrink: 0;
    color: var(--bs-primary);
    font-size: 1.6rem;
}

.termos-final p {
    margin: 0;
    color: #667085;
    font-size: .88rem;
    line-height: 1.6;
}

/* ACESSIBILIDADE */

.termos-nav a:focus-visible,
.termos-contact-box .btn:focus-visible {
    outline: 3px solid rgba(var(--bs-primary-rgb), .4);
    outline-offset: 3px;
}

/* RESPONSIVIDADE */

@media (max-width: 991.98px) {
    .termos-nav {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
    }

    .termos-nav h2 {
        grid-column: 1 / -1;
    }

    .termos-document {
        padding: 30px;
    }
}

@media (max-width: 575.98px) {
    .termos-hero {
        padding: 45px 0;
    }

    .termos-content-section {
        padding: 25px 0 45px;
    }

    .termos-nav {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .termos-document {
        padding: 22px 18px;
    }

    .termos-intro {
        padding: 18px;
    }

    .termos-topic {
        padding: 22px 0;
    }

    .termos-topic h2 {
        font-size: 1.2rem;
    }

    .termos-topic p,
    .termos-topic li {
        font-size: .92rem;
        text-align: left;
    }

    .termos-contact-box {
        padding: 17px;
    }
}