
@import url('https://fonts.googleapis.com/css2?family=Arimo:wght@400;500;600;700&display=swap');

:root {
    --blue-dark: #123e7e;
    --blue: #114694;
    --blue-light: #4a90e2;
    --bg-gray: #f4f7f9;
    --text: #444b56;
    --muted: #718096;
    --orange: #ff6b35;
    --white: #ffffff;
    --border: #e3e9f1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px;
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: 'Arimo', Arial, sans-serif;
    line-height: 1.65;
}

a {
    text-decoration: none;
}

/* CABEÇALHO */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin: 20px;
    padding: 13px 24px;
    min-height: 76px;
    background: var(--blue);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .12);
}

.logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 43px;
    max-width: 180px;
    object-fit: contain;
}

.nav-menu {
    flex: 1;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(14px, 2.4vw, 35px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    transition: opacity .2s ease;
}

.menu a:hover,
.menu a[aria-current="page"] {
    opacity: .75;
}

.menu img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.profile {
    flex-shrink: 0;
}

.profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-link img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 4px;
    object-fit: contain;
    background: var(--orange);
}

/* ÁREA PRINCIPAL */

.terms-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 35px 0 75px;
}

/* DESTAQUE */

.terms-hero {
    padding: 48px 45px;
    margin-bottom: 28px;
    border-radius: 22px;
    background: linear-gradient(120deg, #123e7e, #2366b7);
    color: #fff;
}

.hero-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 15px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    font-size: 30px;
    font-weight: 600;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: #b9d7ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.terms-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
}

.terms-hero > p {
    max-width: 700px;
    margin: 0;
    color: #e2ecfb;
    font-size: 16px;
}

.updated-date {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 23px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    color: #e2ecfb;
    font-size: 13px;
}

/* AVISO */

.terms-notice {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 24px;
    margin-bottom: 28px;
    border: 1px solid #dce7f7;
    border-left: 4px solid var(--blue);
    border-radius: 12px;
    background: #eaf2ff;
}

.notice-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 27px;
    height: 27px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    color: var(--blue);
    font-weight: 700;
    font-size: 16px;
}

.terms-notice h2 {
    margin: 0 0 5px;
    color: var(--blue);
    font-size: 17px;
}

.terms-notice p {
    margin: 0;
    color: var(--text);
    font-size: 14px;
}

/* ÍNDICE E CONTEÚDO */

.terms-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 25px;
}

.terms-sidebar,
.terms-content {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(18, 62, 126, .05);
}

/* ÍNDICE LATERAL */

.terms-sidebar {
    position: sticky;
    top: 20px;
    padding: 22px 16px;
}

.terms-sidebar h2 {
    margin: 0 8px 15px;
    color: var(--blue);
    font-size: 17px;
}

.terms-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.terms-sidebar nav a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 8px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    transition: background .2s ease, color .2s ease;
}

.index-number {
    flex-shrink: 0;
    color: var(--blue-light);
    font-size: 12px;
    font-weight: 700;
}

.terms-sidebar nav a:hover {
    background: #edf3fc;
    color: var(--blue);
}

/* TEXTO DOS TERMOS */

.terms-content {
    padding: 12px 32px;
}

.terms-section {
    padding: 27px 0;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 25px;
}

.terms-section:last-of-type {
    border-bottom: none;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 15px;
}

.section-number {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 11px;
    background: #eaf2ff;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0;
    color: var(--blue);
    font-size: 19px;
    line-height: 1.4;
}

.terms-section p {
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.terms-section p:last-child {
    margin-bottom: 0;
}

/* MENSAGEM FINAL */

.terms-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 24px 0 15px;
}

.note-icon {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--blue);
    font-weight: 700;
}

.terms-footer-note p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

/* RODAPÉ */

.site-footer {
    padding: 38px 5% 20px;
    background: var(--blue);
    color: #fff;
}

.footer-inner {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.footer-brand img {
    width: auto;
    height: 38px;
    max-width: 180px;
    object-fit: contain;
}

.footer-brand p {
    margin: 12px 0 25px;
    color: #dce8f8;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 25px;
}

.footer-links a {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    color: #dce8f8;
    font-size: 13px;
}

/* ACESSIBILIDADE */

a:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 4px;
}

/* TABLETS */

@media (max-width: 900px) {
    .header {
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-menu {
        order: 3;
        flex-basis: 100%;
    }

    .menu {
        flex-wrap: wrap;
        gap: 12px 22px;
    }

    .terms-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 16px;
    }

    .terms-content {
        padding: 10px 22px;
    }
}

/* CELULARES */

@media (max-width: 650px) {
    .header {
        margin: 12px;
        padding: 13px 16px;
        gap: 15px;
    }

    .logo img {
        height: 38px;
        max-width: 145px;
    }

    .nav-menu {
        overflow-x: auto;
    }

    .menu {
        flex-wrap: nowrap;
        justify-content: flex-start;
        width: max-content;
        gap: 18px;
        padding-bottom: 5px;
    }

    .menu a {
        white-space: nowrap;
        font-size: 13px;
    }

    .menu img {
        width: 18px;
        height: 18px;
    }

    .profile-link img {
        width: 38px;
        height: 38px;
    }

    .terms-container {
        width: 92%;
        padding: 24px 0 45px;
    }

    .terms-hero {
        padding: 30px 23px;
        border-radius: 16px;
    }

    .terms-hero h1 {
        font-size: 31px;
    }

    .terms-hero > p {
        font-size: 14px;
    }

    .terms-notice {
        padding: 18px 15px;
        gap: 12px;
    }

    .terms-notice p {
        font-size: 13px;
    }

    .terms-layout {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .terms-sidebar,
    .terms-content {
        width: 100%;
    }

    .terms-sidebar {
        position: static;
        padding: 20px 14px;
    }

    .terms-sidebar nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
    }

    .terms-sidebar nav a {
        font-size: 12px;
        padding: 9px 6px;
    }

    .terms-content {
        padding: 8px 18px;
    }

    .terms-section {
        padding: 22px 0;
    }

    .section-heading {
        align-items: flex-start;
        gap: 11px;
    }

    .section-number {
        width: 35px;
        height: 35px;
        border-radius: 9px;
    }

    .section-heading h2 {
        padding-top: 3px;
        font-size: 17px;
    }

    .terms-section p {
        font-size: 13px;
        line-height: 1.8;
    }

    .site-footer {
        padding: 30px 22px 20px;
    }

    .footer-links {
        gap: 15px 20px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

/* CELULARES PEQUENOS */

@media (max-width: 380px) {
    .terms-sidebar nav {
        grid-template-columns: 1fr;
    }

    .terms-content {
        padding: 8px 14px;
    }

    .terms-hero h1 {
        font-size: 27px;
    }
}

