
    /* ── Tokens ──────────────────────────────────────────── */
:root {
    --red:       #c0392b;
    --red-dark:  #a93226;
    --red-light: #fdecea;
    --orange:    #e67e22;
    --orange-lt: #fef3e2;
    --white:     #ffffff;
    --bg:        #f8f6f3;
    --surface:   #ffffff;
    --border:    #e8e4df;
    --text:      #1a1816;
    --muted:     #7a756e;
    --mono:      'JetBrains Mono', monospace;
    --sans:      'Syne', sans-serif;
    --nav-h:     56px;
    --side-w:    248px;
}

/* ── Reset / Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

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

/* ── Navbar ──────────────────────────────────────────── */
.ozi-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: var(--red);
    z-index: 1000;
    border-bottom: 2px solid var(--red-dark);
}

.ozi-nav__container {
    max-width: 1320px;
    margin: 0 auto;
    height: 100%;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ozi-nav__brand {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ozi-nav__brand em {
    font-style: normal;
    color: var(--orange);
}
.ozi-nav__brand-badge {
    font-size: 10px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ozi-nav__links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.ozi-nav__links a {
    color: rgba(255,255,255,0.82);
    font-size: 13px;
    font-weight: 500;
    transition: color .15s;
}
.ozi-nav__links a:hover { color: var(--orange); }

.ozi-nav__github {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff !important;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 12px;
    transition: background .15s;
}
.ozi-nav__github:hover { background: rgba(255,255,255,0.22) !important; }

.ozi-nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}
.ozi-nav__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: .2s;
}

/* ── Layout ──────────────────────────────────────────── */
body { padding-top: var(--nav-h); }

/* ── Sidebar antiga removida — ver novo bloco abaixo ── */

.ozi-sidebar__section { margin-bottom: 1.5rem; }

.ozi-sidebar__heading {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--muted);
    padding: 0 1.25rem;
    margin-bottom: 4px;
}

.ozi-sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 1.25rem;
    font-size: 13px;
    color: var(--muted);
    border-left: 2px solid transparent;
    cursor: pointer;
    transition: all .15s;
    background: none;
    width: 100%;
    text-align: left;
    border-top: none;
    border-right: none;
    border-bottom: none;
}
.ozi-sidebar__link:hover {
    color: var(--red);
    background: var(--red-light);
    border-left-color: var(--orange);
}
.ozi-sidebar__link.active {
    color: var(--red);
    font-weight: 600;
    background: var(--red-light);
    border-left-color: var(--red);
}

.ozi-sidebar__dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
    opacity: .6;
}
.ozi-sidebar__link.active .ozi-sidebar__dot { opacity: 1; }

.ozi-sidebar__badge {
    margin-left: auto;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: .3px;
}
.ozi-sidebar__badge--red   { background: var(--red);    color: #fff; }
.ozi-sidebar__badge--orange { background: var(--orange); color: #fff; }

.ozi-sidebar__divider {
    height: 1px;
    background: var(--border);
    margin: 0.75rem 1.25rem;
}

/* ── Layout container ────────────────────────────────── */
.ozi-wrap {
    max-width: 1320px;
    margin: 0 auto;
}

.ozi-wrap__inner {
    display: flex;
    position: relative;
}

/* ── Sidebar ─────────────────────────────────────────── */
.ozi-sidebar {
    width: var(--side-w);
    min-width: var(--side-w);
    background: var(--surface);
    border-right: 1px solid var(--border);
    padding: 1.25rem 0 2rem;
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    overflow-y: auto;
}

/* ── Prose (Markdown output) ─────────────────────────── */
.ozi-prose {
    max-width: 780px;
    padding: 2.5rem 2.5rem 4rem;
}

.ozi-prose h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--red);
    margin-bottom: .4rem;
    line-height: 1.2;
    border-bottom: 2px solid var(--red-light);
    padding-bottom: .75rem;
}
.ozi-prose h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: .75rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ozi-prose h2::before {
    content: '';
    display: inline-block;
    width: 4px; height: 18px;
    background: var(--orange);
    border-radius: 2px;
    flex-shrink: 0;
}
.ozi-prose h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: .5rem;
    color: var(--text);
}

.ozi-prose p { margin-bottom: 1rem; color: #3a3632; }

.ozi-prose a { color: var(--red); }
.ozi-prose a:hover { color: var(--orange); text-decoration: underline; }

/* Inline code */
.ozi-prose code {
    font-family: var(--mono);
    font-size: 12.5px;
    background: var(--red-light);
    color: var(--red-dark);
    padding: 2px 6px;
    border-radius: 4px;
}

/* Code blocks */
.ozi-prose pre {
    background: #1e1a18;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 1.25rem 0;
    border-left: 3px solid var(--orange);
    position: relative;
}
.ozi-prose pre code {
    font-family: var(--mono);
    font-size: 13px;
    background: none;
    color: #e8ddd5;
    padding: 0;
    border-radius: 0;
}

/* Tables */
.ozi-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 13.5px;
}
.ozi-prose thead tr {
    background: var(--red);
    color: #fff;
}
.ozi-prose thead th {
    padding: 10px 14px;
    font-weight: 600;
    text-align: left;
    font-size: 12px;
    letter-spacing: .4px;
    text-transform: uppercase;
}
.ozi-prose tbody tr {
    border-bottom: 1px solid var(--border);
}
.ozi-prose tbody tr:nth-child(even) { background: var(--bg); }
.ozi-prose tbody td { padding: 9px 14px; }

/* Blockquote */
.ozi-prose blockquote {
    border-left: 4px solid var(--orange);
    background: var(--orange-lt);
    margin: 1.25rem 0;
    padding: .75rem 1.25rem;
    border-radius: 0 8px 8px 0;
}
.ozi-prose blockquote p { margin: 0; color: #5a4520; }

/* Lists */
.ozi-prose ul, .ozi-prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.ozi-prose li { margin-bottom: .35rem; }

/* Version badge after h1 */
.ozi-version-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--orange-lt);
    border: 1px solid #f0c070;
    color: var(--orange);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    font-family: var(--mono);
}

/* ── Breadcrumb ──────────────────────────────────────── */
.ozi-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 1.5rem;
}
.ozi-breadcrumb span { color: var(--border); }

/* ── Loading (wire:loading) ───────────────────────────── */
.ozi-loading {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 13px;
    padding: 2.5rem;
}
.ozi-loading.show { display: flex; }
.ozi-spinner {
    width: 18px; height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Overlay (mobile) ────────────────────────────────── */
.ozi-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 190;
}
.ozi-overlay.show { display: block; }

/* ── Footer ──────────────────────────────────────────── */
.ozi-footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: var(--muted);
    max-width: 780px;
}
.ozi-footer strong { color: var(--red); }

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
    .ozi-nav__links { display: none; }
    .ozi-nav__hamburger { display: flex; }

    .ozi-sidebar {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        z-index: 200;
        transform: translateX(-100%);
        transition: transform .25s ease;
    }
    .ozi-sidebar.open {
        transform: translateX(0);
        box-shadow: 4px 0 24px rgba(0,0,0,.12);
    }

    .ozi-prose { padding: 1.5rem 1.25rem 3rem; }
    .ozi-prose h1 { font-size: 1.6rem; }
    .ozi-footer { padding: 1.25rem; }
}

