/* ═══════════════════════════════════════════
   Vero+ — Termos & Privacidade
   Estilos especificos da pagina legal
   Base: styles.css (tokens e variaveis)
   ═══════════════════════════════════════════ */

/* ═══════════════ NAV (versao legal) ═══════════════ */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px var(--space-2xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-logo img {
    height: 22px;
    width: auto;
}

.nav-back {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: color 0.3s ease;
}

.nav-back:hover {
    color: var(--black);
}

.nav-back svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* ═══════════════ PAGE HEADER ═══════════════ */

.page-header {
    padding: 140px var(--space-2xl) 60px;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.page-header h1 {
    font-family: var(--font-family);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 500;
    line-height: 1.15;
    color: var(--black);
    margin-bottom: var(--space-md);
}

.page-header p {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
}

/* ═══════════════ TAB NAV ═══════════════ */

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 63px;
    z-index: 50;
    background: var(--cream);
}

.tab-btn {
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--gray-400);
    background: none;
    border: none;
    padding: 20px 40px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-btn:hover {
    color: var(--gray-600);
}

.tab-btn.active {
    color: var(--black);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--black);
}

/* ═══════════════ CONTENT ═══════════════ */

.content-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 72px var(--space-2xl) 140px;
}

.tab-content {
    display: none;
}

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

/* ═══════════════ LEGAL SECTIONS ═══════════════ */

.legal-section {
    margin-bottom: 56px;
}

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

.section-number {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-400);
    margin-bottom: var(--space-sm);
}

.legal-section h2 {
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 20px;
}

.legal-section p {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: var(--space-md);
}

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

.legal-section strong {
    font-weight: 500;
    color: var(--gray-800);
}

/* ═══════════════ LEGAL LIST ═══════════════ */

.legal-list {
    list-style: none;
    margin: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-list li {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gray-600);
    padding-left: 20px;
    position: relative;
}

.legal-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gray-400);
}

/* ═══════════════ DIVIDER ═══════════════ */

.section-divider {
    width: 32px;
    height: 1px;
    background: var(--gray-200);
    margin: 56px 0;
}

/* ═══════════════ INTRO ═══════════════ */

.legal-intro {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--gray-200);
}

/* ═══════════════ CONTACT BLOCK ═══════════════ */

.contact-block {
    margin-top: 56px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-card);
    border: 1px solid var(--gray-200);
}

.contact-block h3 {
    font-family: var(--font-family);
    font-size: 20px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 12px;
}

.contact-block p {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-600);
    line-height: 1.7;
}

.contact-block a {
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--gray-200);
    transition: border-color 0.3s ease;
}

.contact-block a:hover {
    border-color: var(--black);
}

/* ═══════════════ FOOTER (versao legal) ═══════════════ */

footer {
    padding: var(--space-2xl);
    border-top: 1px solid var(--gray-200);
}

.footer-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-logo img {
    height: 18px;
}

.footer-copy {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-400);
}

/* ═══════════════ RESPONSIVE ═══════════════ */

@media (max-width: 768px) {
    nav {
        padding: var(--space-md) var(--space-lg);
    }

    .page-header {
        padding: 110px var(--space-lg) var(--space-2xl);
    }

    .tab-nav {
        top: 55px;
    }

    .tab-btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 12px;
    }

    .content-wrap {
        padding: var(--space-2xl) var(--space-lg) 100px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .contact-block {
        padding: 28px var(--space-lg);
    }

    footer {
        padding: var(--space-xl) var(--space-lg);
    }

    .footer-inner {
        flex-direction: column;
        gap: var(--space-md);
    }
}
