
:root {
    --bs-body-bg: #050816;
    --bs-body-color: #e5e7eb;
}

/* Garante texto claro em cards */
.card {
    background-color: #020617;
    border-color: #1f2937;
    color: #e5e7eb;
}

/* Links dentro de cards */
.card a {
    color: #e5e7eb;
}

.card a:hover {
    color: #6366f1;
}

/* Subtítulos / texto “muted” mais claro que preto */
.muted,
.text-muted {
    color: #9ca3af !important;
}



:root {
    --bg: #050816;
    --bg-soft: #0b1020;
    --bg-softer: #15192a;
    --accent: #4f46e5;
    --accent-soft: rgba(79, 70, 229, 0.12);
    --accent-strong: #6366f1;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: #1f2435;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
}

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

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
    color: var(--text);
}

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

a:hover {
    color: var(--accent-strong);
}

/* Layout base */

.page-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, rgba(3, 7, 18, 0.92), rgba(3, 7, 18, 0.7), transparent);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1.5rem;
}

/* Logo */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 40%;
    background: radial-gradient(circle at 30% 30%, #22c55e, #3b82f6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
}

.logo-text {
    font-size: 0.98rem;
}

/* Nav */

.nav-main {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.nav-main a {
    color: var(--text-muted);
    padding: 0.35rem 0.1rem;
    border-bottom: 1px solid transparent;
}

.nav-main a:hover {
    color: var(--text);
    border-color: var(--accent-strong);
}

/* Header actions */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Buttons */

.btn {
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.85rem;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: var(--accent);
    color: white;
}

.btn-outline {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent-strong);
    background: rgba(79, 70, 229, 0.16);
}

/* Mobile nav */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

@media (max-width: 768px) {
    .nav-main,
    .header-actions {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .site-header.nav-open .nav-main,
    .site-header.nav-open .header-actions {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 56px;
        right: 1.5rem;
        padding: 0.9rem 1rem;
        background: #020617;
        border-radius: 14px;
        border: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: var(--shadow-soft);
    }
}

/* Main content */

.site-main {
    flex: 1;
    padding: 1.7rem 0 2.5rem;
}

/* Cards genéricos */

.card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.06), rgba(15, 23, 42, 0.98));
    box-shadow: var(--shadow-soft);
    padding: 1.25rem 1.3rem;
}

.card + .card {
    margin-top: 1rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    background: #020617;
    padding: 2rem 0 1.5rem;
    margin-top: 1rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 2fr);
    gap: 2rem;
    align-items: flex-start;
}

.footer-logo {
    margin-bottom: 0.6rem;
}

.footer-text {
    font-size: 0.86rem;
    color: var(--text-muted);
    max-width: 280px;
}

.footer-columns {
    display: flex;
    gap: 3rem;
    font-size: 0.85rem;
}

.footer-columns h4 {
    margin: 0 0 0.5rem;
    font-size: 0.88rem;
    color: #e5e7eb;
}

.footer-columns a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.footer-columns a:hover {
    color: var(--accent-strong);
}

.footer-bottom {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
    font-size: 0.78rem;
    color: #6b7280;
    border-top: 1px solid rgba(31, 41, 55, 0.9);
    padding-top: 0.9rem;
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-columns {
        gap: 1.5rem;
    }
}

/* Helpers */

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

.h1 {
    font-size: clamp(2.1rem, 3vw, 2.7rem);
    font-weight: 600;
}

.h2 {
    font-size: 1.4rem;
    font-weight: 600;
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 0.72rem;
    color: var(--text-muted);
}


.reserved-sidebar-menu {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 16px;
    border: 1px solid rgba(55, 65, 81, 0.9);
    padding: 1rem 0.9rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.reserved-sidebar-menu .sidebar-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    padding-left: 0.25rem;
}

.reserved-sidebar-menu .nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.5rem;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #e5e7eb;
    border: 1px solid transparent;
}

.reserved-sidebar-menu .nav-link span {
    flex: 1;
}

.reserved-sidebar-menu .nav-link:hover {
    background: rgba(31, 41, 55, 0.9);
    border-color: rgba(55, 65, 81, 0.9);
    text-decoration: none;
}

.reserved-sidebar-menu .nav-link.active {
    background: rgba(79, 70, 229, 0.16);
    border-color: #4f46e5;
    color: #e5e7eb;
}

.logout-btn {
    font-size: 0.85rem;
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
}
