:root {
    --bg: #f7f7f6;
    --text: #111111;
    --muted: #555555;
    --line: #e5e5e3;

    --card: rgba(255, 255, 255, 0.72);
    --pill: rgba(255, 255, 255, 0.6);

    --shadow: 0 10px 34px rgba(0, 0, 0, 0.06);
    --radius: 18px;

    --btn-bg: #111111;
    --btn-text: #ffffff;
    --btn-border: #111111;

    --ghost-bg: transparent;
    --ghost-text: #111111;
    --ghost-border: #e5e5e3;

    /* Status colors (sutis) */
    --status-inprogress-bg: rgba(245, 158, 11, 0.12);
    --status-inprogress-border: rgba(245, 158, 11, 0.30);
    --status-inprogress-text: #8a5a00;

    --status-published-bg: rgba(34, 197, 94, 0.12);
    --status-published-border: rgba(34, 197, 94, 0.30);
    --status-published-text: #0f6a2c;
}

html[data-theme="dark"] {
    --bg: #0f0f11;
    --text: #f0f0f0;
    --muted: #b8b8b8;
    --line: #242428;

    --card: rgba(22, 22, 25, 0.72);
    --pill: rgba(22, 22, 25, 0.65);

    --shadow: 0 10px 34px rgba(0, 0, 0, 0.35);

    --btn-bg: #f0f0f0;
    --btn-text: #0f0f11;
    --btn-border: #f0f0f0;

    --ghost-bg: transparent;
    --ghost-text: #f0f0f0;
    --ghost-border: #2a2a2f;

    --status-inprogress-bg: rgba(245, 158, 11, 0.16);
    --status-inprogress-border: rgba(245, 158, 11, 0.32);
    --status-inprogress-text: #ffd08a;

    --status-published-bg: rgba(34, 197, 94, 0.16);
    --status-published-border: rgba(34, 197, 94, 0.32);
    --status-published-text: #a6f4c5;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

/* Smooth scroll + header offset */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: min(1040px, calc(100% - 40px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(12px);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid var(--line);
}

.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 14px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
    user-select: none;
}

.brand__logo {
    height: 34px;
    width: 34px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.35);
    display: block;
}

.brand__name {
    font-weight: 600;
    letter-spacing: -0.02em;
    font-size: 15px;
}

.topbar__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav {
    display: none;
    align-items: center;
    gap: 14px;
}

.toggles {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
}

.link:hover {
    text-decoration: underline;
}

.link.subtle {
    color: var(--muted);
}

.pill {
    border: 1px solid var(--line);
    background: var(--pill);
    border-radius: 999px;
    padding: 8px 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.pill__icon {
    font-size: 13px;
    opacity: 0.9;
}

.pill__text {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero {
    padding: 72px 0 48px;
}

.kicker {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero__title {
    margin: 0;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.hero__subtitle {
    margin: 16px 0 0;
    max-width: 64ch;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.65;
}

.hero__cta {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid var(--btn-border);
    background: var(--btn-bg);
    color: var(--btn-text);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn:hover {
    filter: brightness(0.95);
}

.btn.ghost {
    background: var(--ghost-bg);
    color: var(--ghost-text);
    border: 1px solid var(--ghost-border);
}

.note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.section {
    padding: 56px 0;
}

.section__head {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.section__title {
    margin: 0;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.section__subtitle {
    margin: 0;
    color: var(--muted);
    max-width: 72ch;
    line-height: 1.65;
}

.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
    padding: 18px;
}

.card__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.badge {
    font-size: 12px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    background: color-mix(in srgb, var(--card) 70%, transparent);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    border: 1px solid;
}

.status .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.9;
}

.status.inprogress {
    background: var(--status-inprogress-bg);
    border-color: var(--status-inprogress-border);
    color: var(--status-inprogress-text);
}

.status.published {
    background: var(--status-published-bg);
    border-color: var(--status-published-border);
    color: var(--status-published-text);
}

.card__title {
    margin: 0 0 10px;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.card__text {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

/* NOVO: texto secundário menor (ex: privacidade do app) */
.card__text.small {
    margin-top: 10px;
    font-size: 13px;
    opacity: 0.9;
}

.card__actions {
    margin-top: 14px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.9;
}

.footer {
    border-top: 1px solid var(--line);
    padding: 18px 0 28px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

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

:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--text) 22%, transparent);
    outline-offset: 3px;
    border-radius: 12px;
}

.btn,
.pill,
.card {
    transition: filter 120ms ease, transform 120ms ease, border-color 120ms ease;
}

.btn:active,
.pill:active {
    transform: translateY(1px);
}

@media (min-width: 860px) {
    .nav {
        display: flex;
    }

    .grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1;
}

.pill__icon--lang {
    font-weight: 700;
    letter-spacing: -0.04em;
    font-size: 12px;
    opacity: 0.85;
}