/* ============================================================
   CATATAU — terms.css
   Página de Termos de Serviço (sidebar fixa + conteúdo).
   Mesmo visual do products: preto, borda fina, branco = ação.
   ============================================================ */

@font-face {
    font-family: 'DrukWide';
    src: url('https://fonts.cdnfonts.com/s/15622/DrukWide-Heavy-Trial.woff') format('woff');
    font-weight: 900;
    font-display: swap;
}

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

:root {
    --white: #ffffff;
    --font-sans: 'Poppins', sans-serif;
    --font-mono: 'Space Mono', monospace;
    --sidebar-w: 260px;
    --content-max: 780px;
}

html { scroll-behavior: smooth; }

body.terms-page {
    background: #000;
    color: var(--white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ── BOTÃO VOLTAR ── */
.terms-close {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 500;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, transform 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.terms-close:hover {
    background: rgba(255,255,255,0.12);
    color: var(--white);
    transform: rotate(90deg);
}

/* ── LAYOUT ── */
.terms-layout {
    display: flex;
    min-height: 100vh;
}

/* ── SIDEBAR ── */
.terms-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: rgba(6,6,6,0.95);
    border-right: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    padding: 0 0 0;
    overflow-y: auto;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.terms-sidebar::-webkit-scrollbar { width: 0; }

.terms-sidebar-logo {
    padding: 24px 24px 24px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 16px;
}
.terms-logo-img { width: 72px; opacity: 0.85; display: block; }

.terms-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 12px;
}

.terms-nav-link {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.02em;
}
.terms-nav-link:hover {
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.75);
}
.terms-nav-link.active {
    background: rgba(255,255,255,0.07);
    color: var(--white);
}

/* idioma fixo (só PT) */
.terms-lang {
    margin-top: auto;
    padding: 20px 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.terms-lang-static {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    color: rgba(255,255,255,0.55);
    font-size: 12.5px;
    font-weight: 500;
}
.terms-lang-static img {
    width: 24px; height: 18px; object-fit: cover; border-radius: 2px; display: block;
}

/* ── CONTENT ── */
.terms-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    padding: 80px 60px 100px;
    max-width: calc(var(--sidebar-w) + var(--content-max));
}

/* ── HERO ── */
.terms-hero {
    margin-bottom: 50px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.terms-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    padding: 4px 10px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.terms-title {
    font-family: 'DrukWide', 'Arial Black', sans-serif;
    font-weight: 900;
    font-size: clamp(32px, 4vw, 56px);
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff 0%, #ccc 60%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    line-height: 1.15;
    padding-bottom: 4px;
}

.terms-updated {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.terms-intro {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.50);
    max-width: 640px;
}
.terms-intro strong { color: rgba(255,255,255,0.85); font-weight: 600; }

/* ── SECTIONS ── */
.terms-section {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    scroll-margin-top: 40px;
}
.terms-section:last-of-type { border-bottom: none; }

.terms-heading {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 20px;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.terms-subheading {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 13px;
    color: rgba(255,255,255,0.70);
    margin-top: 24px;
    margin-bottom: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.terms-section p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255,255,255,0.50);
    margin-bottom: 16px;
}
.terms-section p strong { color: rgba(255,255,255,0.80); font-weight: 600; }
.terms-section a:not(.terms-contact-item) { color: rgba(255,255,255,0.85); text-decoration: underline; text-underline-offset: 3px; }

/* ── LISTAS ── */
.terms-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.terms-list li {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255,255,255,0.50);
    padding-left: 20px;
    position: relative;
}
.terms-list li strong { color: rgba(255,255,255,0.80); font-weight: 600; }
.terms-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.20);
}
.terms-list-ordered { counter-reset: item; }
.terms-list-ordered li { counter-increment: item; }
.terms-list-ordered li::before {
    content: counter(item) '.';
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255,255,255,0.30);
    top: 2px;
}

/* ── CALLOUTS ── */
.terms-callout {
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 20px;
    border-left: 3px solid;
}
.terms-callout strong { font-weight: 600; color: inherit; }
.terms-callout i { font-size: 12px; }
.terms-callout-warning {
    background: rgba(255,200,80,0.06);
    border-color: rgba(255,200,80,0.4);
    color: rgba(255,200,80,0.85);
}
.terms-callout-danger {
    background: rgba(255,60,60,0.06);
    border-color: rgba(255,60,60,0.4);
    color: rgba(255,100,100,0.85);
}
.terms-callout-info {
    background: rgba(80,180,255,0.06);
    border-color: rgba(80,180,255,0.4);
    color: rgba(80,180,255,0.85);
}

/* ── DATA GRID ── */
.terms-data-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}
.terms-data-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 16px 20px;
    transition: border-color 0.2s, background 0.2s;
}
.terms-data-item:hover {
    border-color: rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.045);
}
.terms-data-label {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.80);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.terms-data-label i { color: rgba(255,255,255,0.35); font-size: 12px; width: 14px; text-align: center; }
.terms-data-desc {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255,255,255,0.45);
}
.terms-data-desc strong { color: rgba(255,255,255,0.75); font-weight: 600; }

/* ── CONTACT GRID ── */
.terms-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 20px 0;
}
.terms-contact-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.terms-contact-item:hover {
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}
.terms-contact-item i {
    font-size: 20px;
    color: rgba(255,255,255,0.40);
    margin-bottom: 4px;
}
.terms-contact-item span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255,255,255,0.80);
}
.terms-contact-item small {
    font-size: 11px;
    font-family: var(--font-mono);
    color: rgba(255,255,255,0.30);
    letter-spacing: 0.05em;
}

/* ── FOOTER ── */
.terms-footer {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.terms-footer p {
    font-size: 12px !important;
    color: rgba(255,255,255,0.25) !important;
    margin-bottom: 0 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .terms-sidebar { display: none; }
    .terms-content { margin-left: 0; padding: 90px 24px 60px; max-width: none; }
    .terms-contact-grid { grid-template-columns: 1fr; }
}
