/* Fontes hospedadas localmente (subset latin) em vez de fonts.googleapis.com.
   Mantem a CSP fechada em font-src 'self' e tira duas dependencias externas. */
@font-face{font-family:"Barlow";src:url("fonts/barlow-300.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow";src:url("fonts/barlow-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow";src:url("fonts/barlow-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow";src:url("fonts/barlow-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Barlow";src:url("fonts/barlow-900.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}

*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #f47b20;
    --primary-bright: #ff9d3d;
    --bg: #0b0908;
    --fg: #f6f1eb;
    --line: rgba(255, 255, 255, 0.12);
    --muted: rgba(255, 255, 255, 0.58);
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-x: clip; /* clip nao cria contexto de rolagem: preserva o position:sticky da sidebar */
    background: var(--bg);
    color: var(--fg);
    font-family: "Barlow", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body ::selection {
    background: var(--primary);
    color: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

.bg-fixed-img,
.bg-overlay-dark,
.bg-overlay-radial {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.bg-fixed-img {
    z-index: -30;
    background: url("BackgroundSite.webp") center / cover no-repeat;
    filter: blur(5px) brightness(0.3) saturate(0.8);
    transform: scale(1.05);
}

.bg-overlay-dark {
    z-index: -20;
    background: rgba(10, 7, 4, 0.62);
}

.bg-overlay-radial {
    z-index: -10;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(244, 123, 32, 0.18), transparent 72%);
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-x: clip; /* clip nao cria contexto de rolagem: preserva o position:sticky da sidebar */
}

header {
    width: 100%;
    padding: clamp(0.75rem, 2vw, 1.25rem) clamp(1rem, 5vw, 3rem);
}

.header-inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand-name {
    color: #fff;
    font-size: clamp(1.1rem, 2.5vw, 1.875rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}

.candidate-number {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(244, 123, 32, 0.55);
    border-radius: 8px;
    background: rgba(18, 10, 4, 0.68);
    box-shadow: 0 0 24px rgba(244, 123, 32, 0.1);
    color: var(--primary-bright);
    text-transform: uppercase;
}

.candidate-number span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.candidate-number strong {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

main {
    flex: 1;
    width: 100%;
}

.hero-section {
    width: 100%;
    max-width: 62rem;
    min-height: min(620px, calc(100vh - 4rem));
    margin: 0 auto;
    padding: clamp(0.75rem, 2.5vw, 1.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 4vw, 3rem);
}

.hero-intro {
    margin-bottom: clamp(1rem, 2.5vw, 1.6rem);
    text-align: center;
}

.eyebrow,
.footer-kicker {
    color: var(--primary-bright);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-intro h1 {
    margin-top: 0.5rem;
    color: #fff;
    font-size: clamp(1.9rem, 5.5vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 0.95;
    text-transform: uppercase;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.45);
}

.hero-intro p {
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: clamp(0.8rem, 1.6vw, 1rem);
    font-weight: 300;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    height: clamp(260px, calc(100vh - 280px), 500px);
}

.hero-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 25px;
    background: rgba(12, 9, 7, 0.7);
    transition: border-radius 0.25s, border-color 0.25s, transform 0.25s;
}

.hero-card:hover {
    border-color: rgba(244, 123, 32, 0.7);
    border-radius: 10px;
    transform: translateY(-4px);
}

.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.7s ease;
}

.hero-card:hover img {
    transform: scale(1.05);
}

.hero-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.93), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.12));
}

.hero-card-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(1rem, 3vw, 1.6rem);
}

.card-mark {
    align-self: flex-start;
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(244, 123, 32, 0.7);
    border-radius: 3px;
    background: rgba(15, 8, 3, 0.58);
    color: var(--primary-bright);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.card-action {
    display: flex;
    justify-content: flex-end;
}

.hero-title {
    color: #fff;
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    margin-top: 0.3rem;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-card-proposals:hover .hero-title {
    color: var(--primary-bright);
}

.hero-card-proposals .hero-card-body {
    justify-content: flex-end;
}

.hero-card-community:hover .hero-title {
    color: #fff;
}

.overlay-discord {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.93), rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.08));
}

.arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.52);
    color: #fff;
    backdrop-filter: blur(4px);
    transition: background 0.2s, border-color 0.2s;
}

.hero-card-community:hover .arrow-btn {
    border-color: var(--primary);
    background: var(--primary);
}

.arrow-btn i,
.arrow-btn .ico-discord {
    font-size: 1.15rem;
}

.anim-card {
    opacity: 0;
}

.anim-card.visible {
    animation: fadeUp 0.55s cubic-bezier(0.22, 0.68, 0, 1.2) forwards;
}

.hero-grid .anim-card:nth-child(2).visible {
    animation-delay: 0.1s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.proposals-page {
    max-width: 72rem;
    min-height: auto;
    padding-top: clamp(1rem, 3vw, 2rem);
}

.page-heading {
    max-width: 44rem;
    margin: 0 auto clamp(2rem, 5vw, 3.5rem);
    text-align: center;
}

.page-heading h1 {
    margin-top: 0.65rem;
    color: #fff;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1;
    text-transform: uppercase;
}

.page-heading p {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.6;
}

.proposals-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.proposal-card {
    min-height: 12.5rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(26, 16, 9, 0.82), rgba(10, 8, 7, 0.72));
    transition: border-color 0.2s, transform 0.2s;
}

.proposal-card:hover {
    border-color: rgba(244, 123, 32, 0.64);
    transform: translateY(-3px);
}

.proposal-number {
    color: var(--primary-bright);
    font-family: "Press Start 2P", monospace;
    font-size: 0.72rem;
}

.proposal-card h2 {
    margin-top: 1.2rem;
    color: #fff;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 900;
    text-transform: uppercase;
}

.proposal-card p {
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.55;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: clamp(2rem, 5vw, 3.5rem);
    color: var(--primary-bright);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.15s;
}

.back-link:hover {
    color: #fff;
}

footer {
    width: 100%;
    margin-top: clamp(2rem, 6vw, 4rem);
    padding: clamp(2rem, 5vw, 3.5rem) 0 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(7, 6, 5, 0.88);
}

.footer-inner {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 5vw, 3rem);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr);
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-kicker {
    margin-bottom: 0.85rem;
    font-size: 0.65rem;
}

.footer-desc {
    max-width: 28rem;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
}

.social-row {
    display: flex;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.55);
    transition: background 0.15s, color 0.15s;
}

.social-btn:hover {
    color: #fff;
}

.social-btn.discord:hover {
    background: #5865f2;
}

.social-btn.youtube:hover {
    background: #f00;
}

.social-btn.instagram:hover {
    background: #e1306c;
}

.social-btn.tiktok:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-callout {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.9rem;
}

.footer-callout-text {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.1rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html {
    scrollbar-color: var(--primary) transparent;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
    background: transparent;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-bright);
}

@media (max-width: 639px) {
    .hero-section {
        min-height: auto;
    }

    .hero-grid,
    .proposals-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        height: auto;
        grid-template-rows: repeat(2, minmax(15rem, 1fr));
    }

    .hero-card {
        min-height: 16rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-callout {
        justify-content: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.4rem;
    }
}

@media (max-width: 380px) {
    .brand-name {
        font-size: 1rem;
    }

    .candidate-number {
        padding: 0.4rem 0.65rem;
    }

    .candidate-number strong {
        font-size: 1.15rem;
    }
}

/* Proposals index and detail layout */
.proposals-shell {
    width: min(100% - 2rem, 78rem);
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5rem);
    display: grid;
    grid-template-columns: minmax(13rem, 17rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
}

.proposal-index {
    position: sticky;
    top: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    padding: 1.5rem 1rem 1.5rem 0;
    border-right: 1px solid rgba(244, 123, 32, 0.28);
}

.proposal-index::-webkit-scrollbar {
    display: none;
}

.proposal-index-heading {
    padding: 0 0.75rem 1.25rem;
}

.proposal-index-heading .eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.16em;
}

.proposal-index-heading h1 {
    margin-top: 0.55rem;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.proposal-index-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.proposal-index-link {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.6rem;
    align-items: start;
    padding: 0.65rem 0.75rem;
    border-left: 2px solid transparent;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.proposal-index-link:hover,
.proposal-index-link.active {
    border-left-color: var(--primary);
    background: rgba(244, 123, 32, 0.09);
    color: #fff;
}

.index-number {
    padding-top: 0.05rem;
    color: var(--primary-bright);
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.index-title {
    overflow-wrap: anywhere;
}

.proposal-legend {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.35rem 0.75rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.68rem;
    font-weight: 300;
    line-height: 1.45;
}

.legend-dot {
    width: 0.45rem;
    height: 0.45rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px rgba(244, 123, 32, 0.7);
}

.proposal-content {
    min-width: 0;
}

.proposal-loading,
.proposal-error {
    display: grid;
    place-items: center;
    min-height: 25rem;
    color: var(--muted);
    text-align: center;
}

.loading-mark {
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    border: 2px solid rgba(244, 123, 32, 0.25);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.proposal-article {
    max-width: 57rem;
    padding: 1rem 0 5rem;
    scroll-margin-top: 1rem;
}

.proposal-article + .proposal-article {
    padding-top: 4.5rem;
    border-top: 1px solid rgba(244, 123, 32, 0.22);
}

.proposal-article-header {
    width: auto;
    padding: 0;
    margin: 0;
}

.proposal-eyebrow {
    display: block;
    color: var(--primary-bright);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    text-transform: uppercase;
}

.proposal-article-header h1 {
    max-width: 48rem;
    margin-top: 0.8rem;
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.05;
    text-transform: none;
}

.proposal-status {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.42rem 0.75rem;
    border-radius: 3px;
    background: var(--primary);
    color: #1a0d04;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proposal-summary {
    margin: 1.65rem 0 2.25rem;
    padding: 0.15rem 0 0.15rem 1rem;
    border-left: 3px solid var(--primary);
    color: rgba(255, 255, 255, 0.88);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-style: italic;
    line-height: 1.55;
}

.proposal-section {
    margin-top: 2.5rem;
}

.proposal-section-title {
    margin-bottom: 1rem;
    color: var(--primary-bright);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.proposal-paragraph {
    max-width: 52rem;
    margin-top: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
}

.proposal-items {
    display: grid;
    gap: 0.75rem;
    padding: 0;
    list-style: none;
    counter-reset: proposal-item;
}

.proposal-items li {
    position: relative;
    padding: 0.85rem 1rem 0.85rem 3.1rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.55;
}

.proposal-items li::before {
    position: absolute;
    top: 0.93rem;
    left: 1rem;
    color: var(--primary-bright);
    content: counter(proposal-item, decimal-leading-zero);
    counter-increment: proposal-item;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.proposal-items strong {
    color: #fff;
    font-weight: 700;
}

.proposal-subsection {
    margin-top: 1.5rem;
}

.proposal-subsection h3 {
    margin-bottom: 0.85rem;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: none;
}

.proposal-faq ul {
    display: grid;
    gap: 0.65rem;
    list-style: none;
}

.faq-accordion {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.035);
    transition: border-color 0.2s, background 0.2s;
}

.faq-accordion.open {
    border-color: rgba(244, 123, 32, 0.55);
    background: rgba(244, 123, 32, 0.07);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1rem;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.76);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
}

.faq-question:hover,
.faq-accordion.open .faq-question {
    color: #fff;
}

.faq-icon {
    display: grid;
    place-items: center;
    width: 1.4rem;
    height: 1.4rem;
    flex-shrink: 0;
    border: 1px solid rgba(244, 123, 32, 0.55);
    border-radius: 50%;
    color: var(--primary-bright);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-accordion.open .faq-icon {
    background: var(--primary);
    color: #1a0d04;
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.35s ease, opacity 0.25s ease;
}

.faq-answer-inner {
    min-height: 0;
    overflow: hidden;
}

.faq-answer p {
    padding: 0 1rem 1rem 1rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.65;
}

.faq-accordion.open .faq-answer {
    grid-template-rows: 1fr;
    opacity: 1;
}

@media (max-width: 800px) {
    .proposals-shell {
        width: min(100% - 1.25rem, 48rem);
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding-top: 0.5rem;
    }

    .proposal-index {
        position: sticky;
        top: 0;
        z-index: 5;
        width: min(100%, 32rem);
        margin-inline: auto;
        max-height: none;
        padding: 1rem 0 0;
        overflow: hidden;
        border: 1px solid rgba(244, 123, 32, 0.28);
        border-radius: 14px;
        background: rgba(11, 9, 8, 0.94);
        backdrop-filter: blur(12px);
    }

    .proposal-index-heading {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 0.65rem;
        padding: 0 0.25rem 0.75rem;
        text-align: center;
    }

    .proposal-index-heading .eyebrow {
        display: none;
    }

    .proposal-index-heading h1 {
        margin-top: 0;
        font-size: 1.15rem;
    }

    .proposal-index-list {
        display: flex;
        flex-direction: row;
        gap: 0.35rem;
        overflow-x: auto;
        padding: 0 0.25rem 0.7rem;
        margin-inline: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) rgba(255, 255, 255, 0.12);
    }

    .proposal-index-list::-webkit-scrollbar {
        display: block;
        height: 5px;
    }

    .proposal-index-list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.12);
        border-radius: 10px;
    }

    .proposal-index-list::-webkit-scrollbar-thumb {
        background: var(--primary);
        border-radius: 10px;
    }

    .proposal-index-link {
        min-width: max-content;
        grid-template-columns: auto 1fr;
        align-items: center;
        gap: 0.4rem;
        padding: 0.55rem 0.65rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        font-size: 0.75rem;
    }

    .proposal-index-link:hover,
    .proposal-index-link.active {
        border-color: rgba(244, 123, 32, 0.65);
        background: rgba(244, 123, 32, 0.12);
    }

    .proposal-legend {
        display: none;
    }

    .proposal-article {
        padding-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .proposal-article-header h1 {
        font-size: 1.75rem;
    }

    .proposal-summary {
        margin-top: 1.25rem;
        margin-bottom: 1.8rem;
        font-size: 1rem;
    }

    .proposal-section {
        margin-top: 2rem;
    }

    .proposal-paragraph,
    .proposal-items li,
    .faq-question,
    .faq-answer p {
        font-size: 0.9rem;
    }

    .proposal-items li {
        padding-left: 2.7rem;
    }
}
/* o ícone do Discord virou SVG embutido (antes era <i> do Font Awesome) */
.ico-discord { width: 1.15rem; height: 1.15rem; display: block; }
.social-btn .ico-discord { width: 1rem; height: 1rem; }


/* ---------- menu do topo ---------- */
.site-nav { display: flex; gap: clamp(0.6rem, 1.6vw, 1.4rem); align-items: center; }
.site-nav a {
    color: var(--muted);
    font-size: clamp(0.62rem, 1.1vw, 0.76rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
    color: #fff;
    border-bottom-color: var(--primary);
}

/* ---------- páginas de texto (sobre / sugestões) ---------- */
.texto-shell {
    width: 100%;
    max-width: 52rem;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 5vw, 3rem) clamp(3rem, 8vw, 5rem);
}
.texto-shell h1 {
    color: #fff;
    font-size: clamp(1.8rem, 5vw, 3rem);
    letter-spacing: -0.025em;
    margin-bottom: 0.6rem;
}
.texto-shell h2 {
    color: #fff;
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
    letter-spacing: -0.02em;
    margin: 2.2rem 0 0.8rem;
}
.texto-shell p { color: rgba(255,255,255,0.78); margin-bottom: 1rem; line-height: 1.7; }
.texto-shell p strong { color: var(--primary-bright); font-weight: 600; }
.texto-lead {
    color: #fff !important;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    font-style: italic;
    border-left: 3px solid var(--primary);
    padding-left: 1.1rem;
    margin: 1.4rem 0 2rem !important;
}
.aviso-rascunho {
    border: 1px dashed rgba(255,157,61,0.5);
    background: rgba(244,123,32,0.07);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    margin-top: 2.5rem;
}
.aviso-rascunho p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* ---------- formulário de sugestão ---------- */
.form-sugestao { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.campo { display: grid; gap: 0.4rem; }
.campo label {
    color: #fff; font-weight: 700;
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.campo .dica { color: var(--muted); font-size: 0.82rem; }
.campo input, .campo textarea {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--fg);
    font-family: inherit;
    font-size: 0.95rem;
    padding: 0.75rem 0.9rem;
    transition: border-color 0.15s, background 0.15s;
}
.campo textarea { min-height: 9rem; resize: vertical; line-height: 1.6; }
.campo input:focus, .campo textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.08);
}
.campo .contador { color: var(--muted); font-size: 0.75rem; text-align: right; }
/* honeypot: invisível para gente, tentador para robô */
.ninho { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-enviar {
    justify-self: start;
    background: var(--primary);
    color: #14100c;
    border: 1px solid var(--primary);
    border-radius: 10px;
    font-family: inherit; font-weight: 900;
    font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
    padding: 0.85rem 1.8rem;
    transition: background 0.15s, opacity 0.15s;
}
.btn-enviar:hover:not(:disabled) { background: var(--primary-bright); }
.btn-enviar:disabled { opacity: 0.5; cursor: not-allowed; }
.status-envio { font-size: 0.9rem; min-height: 1.4rem; }
.status-envio.ok { color: #7ddc8a; }
.status-envio.erro { color: #ff8f8f; }
