@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700,700i&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,400,700,&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Old+Standard+TT:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --c1: #070A1A;
    --c2: #14184A;
    --c3: #1C2280;
    --c4: #3A3BE9;
    --bg-deep: #0e2a3a;
    /* azul profundo direita */
    --bg-sky: #cfe6ef;
    /* céu claro esquerda */
    --bg-horizon: #5aa0c0;
    /* transição médio */
    --spark: #ff7a2a;
    /* laranja das faíscas */
    --white: #ffffff;
    --deep: #0f2b3a;
    /* azul escuro base */
    --sky: #9fc4d6;
    /* azul claro */
    --cream: #f3e3c9;
    /* luz no topo-direito */
    --pink: #e8a7b6;
    /* poeira rosada */
    --blue: #315e79;
    /* poeira azul */
    --colorOrange: #f58031;
    /* Cor Título: Laranja*/
    --dark-blue: #000b3d;
    --blue-menu: #17364a;

}

@font-face {
    font-family: "Cocomat Pro";
    src: url("/fonts/CocomatPro-Light.woff2") format("woff2"),
        url("/fonts/CocomatPro-Light.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cocomat Pro medium";
    src: url("/fonts/CocomatPro-Medium.woff2") format("woff2"),
        url("/fonts/CocomatPro-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Cocomat Pro";
    src: url("/fonts/CocomatPro-Black.woff2") format("woff2"),
        url("/fonts/CocomatPro-Black.woff") format("woff");
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    padding: 0;
    margin: 0
}



body {
    font-family: "Questrial", sans-serif;
    color: #ffffff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.4;
    font-style: normal;
    padding: 0;
    margin: 0;
    overflow-y: hidden;

    @media (max-width: 768px) {
        overflow-y: auto;
    }
}


/* Overlay para o menu mobile */

body.nav-open::before {
    opacity: 1;
}





/* --- 2. Navegação --- */
/* Navigation (from Navigation.css) */
.fixed-navigation {

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #c5d7d9;
    width: 100vw;


}

.center {
    display: flex;
    alignment-baseline: ideographic;
    padding: 1rem 0.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: space-between;
    gap: 0 32px;

    @media (max-width: 900px) {
        padding: 0rem 1.2rem;
        gap: 0;
        justify-content: space-around;

    }
}

.header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    /* Ajuste para aproximar menu e logo */
}

/* Desktop - normal */
.header-right {
    display: flex;
    gap: 14px;
    align-items: center;
}

/* Mobile - esconde no topo */
@media (min-width: 600px) {
    .nav-item-mobile {
        display: none;
    }
}

@media (max-width: 600px) {
    .header-right {
        display: none !important;
    }

    .nav-item-mobile {
        display: block;
    }

    .menu-mobile .menu-actions {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin-top: 8px;
    }

    .menu-mobile .menu-actions a {
        display: block;
        padding: 12px 20px;
        color: #fff;
        text-decoration: none;
        background: #2a385e;
        margin-bottom: 6px;
        border-radius: 7px;
        text-align: center;
        font-weight: bold;
    }
}


.nav-brand .nav-logo {
    height: auto;
    width: auto;
    max-width: 110px;
}

.nav-menu {
    display: flex;
    gap: 12px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 28px;
    /* espaço entre os links */
    margin: 0;

    @media screen and (max-width: 900px) {
        gap: 8px;


    }
}

.nav-item {
    color: var(--blue-menu);
    /* azul escuro do texto */
    font: 500 16px/1.3;
    text-decoration-thickness: 2px;
    /* espessura do sublinhado */
    text-underline-offset: 2px;
    /* distância do sublinhado ao texto */
    text-decoration-color: currentColor;
    /* sublinhado na mesma cor */
    background: none;
    border: none;
    cursor: pointer;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px)
}

.nav-item.active {
    color: #0C9CF3
}

.nav-cta-button {
    background: var(--dark-blue);
    color: #fff;
    border: none;
    padding: 0.75rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;

    @media screen and (max-width: 900px) {
        font-size: 0.6em;
        padding: auto;

    }
}

.nav-cta-button:hover {
    transform: translateY(-2px)
}


.nav-cta .nav-item {
    color: var(--blue-menu);
    text-decoration: none;
    margin-right: 15px;
}

@media(max-width:768px) {
    .fixed-navigation {
        padding: 0.75rem 1rem
    }

    .nav-menu {
        display: none
    }

    .nav-cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.8rem
    }
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #000;
    font-size: 1.4rem;
    cursor: pointer
}

.nav-close {
    /* Esconde o botão de fechar por padrão */
    display: none;
}

.hamburger {
    display: inline-block
}

@media(max-width:768px) {
    .nav-toggle {
        display: block
    }

    .nav-menu {
        position: fixed;
        top: 64px;
        /* Altura da barra de navegação */
        left: 0;
        right: 0;
        background: #c5d7d9;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform .3s ease-in-out, opacity .3s ease-in-out;
        z-index: 1001;
        /* Garante que o menu fique sobre o overlay */
    }

    .nav-close {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 2rem;
        color: var(--white);
        background: none;
        border: none;
    }

    body.nav-open .nav-menu {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto
    }

    .nav-item {
        width: 100%;
        text-align: left;
        padding: 12px;
        border-radius: 8px;
        color: #0f0f10;
    }

    .nav-menu ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}




:root {
    --bg: #fff;
    --card: #ffffff;
    --text: #20262e;
    --muted: #5c6773;
    --brand: #1d4ed8;
    /* azul principal */
    --brand-2: #0b2a6f;
    /* azul escuro p/ botões */
    --chip: #e9eef7;
    --border: #e6e8ec;
    --shadow: 0 8px 24px rgba(0, 0, 0, .06);
    --radius: 16px;
}

/* Reset enxuto */
* {
    box-sizing: border-box
}

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

body {

    color: var(--text);
    background: var(--bg);
    position: relative;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

/* Header */
.topbar {
    position: inherit;
    top: 0;
    z-index: 50;
    background: #eef2f7;
    border-bottom: 1px solid var(--border);
    backdrop-filter: saturate(120%) blur(6px);
    min-height: 86px;
}

.topbar .wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700
}

.logo svg {
    width: 36px;
    height: 36px
}

.nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 18px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 600;
    transition: .2s transform ease;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-outline {
    background: #fff;
    border-color: var(--border)
}

.btn-primary {
    background: var(--brand-2);
    color: #fff
}

/* Layout principal */
.container {
    max-width: 1200px;
    margin: 5px auto 10px auto;
    padding: 0 20px 48px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
}

@media (max-width: 980px) {
    .container {
        grid-template-columns: 1fr;
        padding: 0 15px 48px;
        margin: 16px auto;
    }

    .sidebar {
        position: relative;
        top: auto;
        order: -1;
        /* Coloca sidebar antes do conteúdo */
        margin-bottom: 24px;
    }
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 88px;
    align-self: start;
    padding: 14px;
    max-height: calc(100vh - 220px);
    /* Mesma altura que o content */
    overflow: hidden;
    /* Remove overflow da sidebar principal */
    display: flex;
    flex-direction: column;
}

@media (max-width: 980px) {
    .sidebar {
        position: relative;
        top: auto;
        padding: 16px;
        background: #f8fafc;
        border-radius: 12px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow);
        max-height: none;
        /* Remove altura máxima no mobile */
        overflow: visible;
        /* Remove scroll no mobile */
    }
}

.sidebar .chip {
    background: var(--chip);
    color: #0f213f;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    display: inline-block;
    margin: 0 0 16px;
    font-size: 14px;
}

@media (max-width: 980px) {
    .sidebar .chip {
        text-align: center;
        display: block;
        margin: 0 0 20px;
        padding: 8px 16px;
        font-size: 15px;
    }

    /* Mostrar botão voltar ao topo em tablet/mobile */
    #back-to-top {
        display: flex;
    }
}

@media (max-width: 480px) {
    #back-to-top {
        left: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

.toc {
    list-style: none;
    margin: 0;
    padding: 4px;
    flex: 1;
    /* Permite que o TOC ocupe o espaço restante */
    overflow-y: auto;
    /* Scroll próprio se necessário */
}

.toc li {
    margin: 2px 0
}

.toc a {
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--muted);
    border: 1px solid transparent;
    font-weight: 400;
    transition: all 0.2s ease;
}

.toc a:hover {
    background: #f1f5fb;
    color: var(--text)
}

.toc a.active {
    color: var(--brand-2);
    background: #eef3ff;
    border-color: #d9e3ff;
    font-weight: 500;
}

@media (max-width: 980px) {
    .toc {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 8px;
        padding: 8px;
    }

    .toc li {
        margin: 0
    }

    .toc a {
        text-align: center;
        padding: 10px 8px;
        font-size: 14px;
        line-height: 1.3;
    }
}

@media (max-width: 640px) {
    .toc {
        grid-template-columns: 1fr;
    }

    .toc a {
        text-align: left;
        padding: 12px 16px;
        font-size: 15px;
    }
}

/* Conteúdo */
.content {
    background: var(--bg);
    padding: 28px 28px 8px;
    max-height: calc(100vh - 210px);
    /* Altura máxima baseada na altura da viewport */
    overflow-y: auto;
    /* Scroll vertical quando necessário */
    overflow-x: hidden;
    /* Sem scroll horizontal */
}

/* Customização do scrollbar para o content e sidebar */
.content::-webkit-scrollbar,
.sidebar::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-track,
.sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.content::-webkit-scrollbar-thumb,
.sidebar::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.content::-webkit-scrollbar-thumb:hover,
.sidebar::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}



h1 {
    font-size: 32px;
    line-height: 1.2;
    margin: 6px 0 8px;
    color: #0f213f
}

h2 {
    font-size: 22px;
    margin: 26px 0 10px;
    color: #0f213f
}

.lead {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px
}

.section {
    padding: 8px 0 18px;
    border-top: 1px dashed var(--border)
}

.section:first-of-type {
    border-top: none
}

ul {
    padding-left: 18px
}

li {
    margin: 6px 0
}

.muted {
    color: var(--muted)
}

/* Botão voltar ao topo - somente mobile/tablet */
#back-to-top {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-2);
    color: #fff;
    border: none;
    box-shadow: 0 4px 16px rgba(11, 42, 111, 0.3);
    display: flex;
    /* Visível mas opaco inicialmente */
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.2s ease;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

#back-to-top:hover {
    box-shadow: 0 6px 20px rgba(11, 42, 111, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .content {
        padding: 20px 16px 8px;
        max-height: calc(100vh - 180px);
        /* Altura ajustada para mobile */
    }
}

h1 {
    font-size: 28px;
    margin: 8px 0 12px;
}

h2 {
    font-size: 20px;
    margin: 20px 0 8px;
}

.lead {
    font-size: 16px;
    margin-bottom: 20px;
}

.section {
    padding: 12px 0 20px;
}

ul {
    padding-left: 20px
}

li {
    margin: 8px 0;
    line-height: 1.5
}

/* Melhor legibilidade no mobile */
p {
    margin-bottom: 16px;
    line-height: 1.6;
}


/* Toggle entre documentos */
.document-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
    border: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f1f5f9;
    /* Garantir fundo opaco */
}

.toggle-btn {
    flex: 1;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: #fff;
    color: var(--brand-2);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-btn:hover:not(.active) {
    color: var(--text);
    background: rgba(255, 255, 255, 0.7);
}

/* Conteúdo dos documentos */
.document-content {
    display: none;
}

.document-content.active {
    display: block;
}

/* Mantém os alvos de âncora visíveis sob o topo fixo */
#main,
#privacy-content,
#terms-content,
.section {}

@media (max-width: 980px) {
    .document-toggle {
        margin-bottom: 16px;
        position: relative;
        /* Remove sticky no mobile */
        top: auto;
    }

    .toggle-btn {
        padding: 12px 8px;
        font-size: 13px;
    }
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 25px 0 15px;
    margin-bottom: 20px;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
}

.breadcrumbs li:not(:last-child)::after {
    content: "›";
    margin: 0 8px;
    color: #adb5bd;
    font-weight: bold;
}

.breadcrumbs a {
    color: var(--c4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--c2);
    text-decoration: underline;
}

.breadcrumbs li:last-child {
    color: var(--c1);
    font-weight: 500;
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 20px 0;
        margin-bottom: 15px;
    }

    .breadcrumbs ol {
        padding: 0 15px;
    }

    .breadcrumbs li {
        font-size: 13px;
    }

    .breadcrumbs li:not(:last-child)::after {
        margin: 0 6px;
    }
}