/* ==========================================================================
   DENUNCIAS.STREAM - Identidade Visual Única (Robusta, Sóbria e Autoritativa)
   Faixa fixa compacta + Superfícies Slate/Marinho & Carmesim (Sem Tags / Sem Tema Alternável)
   ========================================================================== */
:root {
    --brand: #dc2626;
    --brand-bright: #ef4444;
    --brand-dark: #b91c1c;
    --crimson: #be123c;
    --navy: #0f172a;
    --navy-dark: #090f1d;
    --blue-bright: #1e40af;
    --amber: #d97706;
    --gold: #f59e0b;
    --orange: #c2410c;
    --danger: #dc2626;
    --danger-dark: #b91c1c;
    --success: #166534;
    --info: #1e40af;
    --purple: #334155;

    /* Superfícies & Tipografia (Identidade Única) */
    --bg: #eef2f7;
    --bg-alt: #e4eaf2;
    --surface: #ffffff;
    --surface-subtle: #f8fafc;
    --surface-hover: #f1f5f9;
    --border: #d5deea;
    --border-strong: #bac7d8;
    --text-primary: #0b1533;
    --text-secondary: #334155;
    --text-muted: #475569;
    --accent-link: #dc2626;
    --accent-link-alt: #172554;

    --slate-900: #0b1533;
    --slate-800: #1e293b;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-500: #64748b;
    --slate-300: #cbd5e1;
    --white: #ffffff;

    --card-shadow: 0 10px 26px -8px rgba(11, 21, 51, 0.1), 0 3px 8px rgba(11, 21, 51, 0.04);
    --card-shadow-hover: 0 18px 36px -10px rgba(11, 21, 51, 0.16);

    --font: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

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

html {
    font-family: var(--font);
    color: var(--text-primary);
    background: var(--bg);
    line-height: 1.5;
    overflow-y: scroll;
    -webkit-font-smoothing: antialiased;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text-primary);
}

main {
    flex: 1 0 auto;
}

img {
    display: block;
    max-width: 100%;
}

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
}

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

.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.flash-container {
    padding-top: 1rem;
}

/* =========================================
   HEADER BRANCO NÍTIDO + FAIXA FIXA NO TOPO
   ========================================= */
.sticky-top-shell {
    position: sticky;
    top: 0;
    z-index: 60;
}

.main-header {
    background: #ffffff;
    border-top: 3px solid var(--brand);
    border-bottom: 1px solid var(--border-strong);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(11, 21, 51, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
    gap: 1.5rem;
}

.header-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
    max-width: 245px;
    object-fit: contain;
}

@media (min-width: 960px) {
    .header-content {
        height: 86px;
    }
    .logo {
        height: 70px;
        max-width: 285px;
    }
}

.desktop-nav {
    display: none;
    align-items: center;
    gap: 1.75rem;
}

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

.desktop-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.94rem;
    padding: 0.42rem 0;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.desktop-nav .nav-link:hover {
    color: var(--brand);
}

.desktop-nav .nav-link.active {
    color: var(--text-primary);
    font-weight: 800;
    border-bottom-color: var(--brand);
}

.nav-actions-wrapper {
    display: none;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

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

.header-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: var(--surface-subtle);
    border: 1px solid var(--border-strong);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.16s ease;
    text-decoration: none;
}

.header-icon-btn:hover,
.header-icon-btn.active {
    background: rgba(220, 38, 38, 0.08);
    color: var(--brand);
    border-color: var(--brand);
}

.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.52rem 1rem;
    border-radius: 9px;
    font-size: 0.87rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-header--ghost {
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    background: var(--surface);
}

.btn-header--ghost:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.btn-header--primary {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28);
}

.btn-header--primary:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.btn-header--orange {
    background: var(--amber);
    color: #0b1533;
}

.btn-header--danger {
    background: var(--danger);
    color: #ffffff;
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.35rem;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-strong);
    background: var(--surface-subtle);
}

@media (min-width: 960px) {
    .menu-toggle {
        display: none;
    }
}

#mobile-menu {
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: var(--card-shadow);
}

.mobile-nav-item {
    display: block;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
}

.mobile-nav-item.active {
    color: var(--brand);
    font-weight: 700;
}

.mobile-menu-actions {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

/* =========================================
   FAIXA ROTATIVA DE AVISOS (CARROSSEL VIVO)
   ========================================= */
.marketing-section {
    background: #0b1533;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    position: relative;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide {
    min-width: 100%;
    padding: 0.45rem 3.35rem 0.45rem 0.85rem;
    color: #ffffff;
    display: flex;
    align-items: center;
}

@media (min-width: 640px) {
    .slide {
        padding: 0.68rem 4.75rem;
    }
}

.bg-grad-blue  { background: #0f172a; }
.bg-grad-red   { background: #191216; }
.bg-grad-green { background: #101918; }
.bg-grad-gray  { background: #161e2e; }

.slide-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

@media (min-width: 640px) {
    .slide-content {
        justify-content: center;
        gap: 0.65rem;
    }
}

.slide-main-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.28rem 0.55rem;
    font-size: 0.79rem;
    line-height: 1.32;
}

@media (min-width: 640px) {
    .slide-main-group {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 0.4rem 0.65rem;
        font-size: 0.88rem;
    }
}

.slide-badge {
    font-size: 0.63rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.14rem 0.48rem;
    border-radius: 4px;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .slide-badge {
        font-size: 0.68rem;
        padding: 0.18rem 0.55rem;
    }
}

.bg-yellow-500 { background: #f59e0b; }
.text-blue-900 { color: #0f172a; }
.bg-red-600    { background: #b91c1c; }
.bg-green-500  { background: #0f766e; }
.bg-blue-500   { background: #1e3a8a; }
.text-white    { color: #ffffff; }
.text-yellow-400 { color: #fbbf24; }
.text-orange-300 { color: #fed7aa; }
.text-green-300  { color: #e2e8f0; }

.slide-title-wrap {
    display: block;
    text-align: left;
}

.slide-title-wrap i {
    margin-right: 0.36rem;
    vertical-align: -1px;
}

@media (min-width: 640px) {
    .slide-title-wrap {
        text-align: center;
    }
}

.slide-text {
    color: #f8fafc;
    font-weight: 600;
}

.slide-highlight {
    font-weight: 800;
}

.carousel-dots {
    position: absolute;
    right: max(0.95rem, calc((100% - 1220px) / 2 + 1.25rem));
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 0.42rem;
    z-index: 4;
}

.carousel-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.42);
    transition: width 0.2s, background-color 0.2s;
}

.carousel-dots .dot.active {
    width: 18px;
    background: #fbbf24;
}

/* =========================================
   HERO ROBUSTO & SÓBRIO
   ========================================= */
.hero-compact {
    background: linear-gradient(180deg, #0f172a 0%, #162033 100%);
    color: #ffffff;
    padding: 2rem 0 1.85rem;
    border-bottom: 3px solid #dc2626;
}

@media (min-width: 768px) {
    .hero-compact {
        padding: 2.35rem 0 2.05rem;
    }
}

.hero-compact-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.hero-kicker {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.hero-compact h1 {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.028em;
    margin-bottom: 0.65rem;
    color: #ffffff;
}

@media (min-width: 768px) {
    .hero-compact h1 {
        font-size: 3rem;
    }
}

.hero-accent-gold {
    color: #fbbf24;
}

.hero-compact p.hero-lead {
    color: #cbd5e1;
    font-size: 1.04rem;
    line-height: 1.5;
    margin: 0 auto 0.75rem;
    max-width: 720px;
}

.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem 1.5rem;
    margin: 0 auto 1.2rem;
}

.hero-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.94rem;
    font-weight: 600;
    color: #f1f5f9;
}

.hero-feature-item i {
    color: #f59e0b;
    font-size: 0.88rem;
}

.hero-search-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.4);
    margin: 0 auto 0.95rem;
    max-width: 750px;
}

@media (min-width: 640px) {
    .hero-search-form {
        flex-direction: row;
        align-items: center;
    }
}

.hero-search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #ffffff;
    border-radius: 7px;
    padding: 0 0.9rem;
}

.hero-search-icon {
    color: #64748b;
    font-size: 0.98rem;
    flex-shrink: 0;
}

.hero-search-input {
    width: 100%;
    padding: 0.78rem 0;
    border: none;
    background: transparent;
    color: #0f172a;
    font-size: 0.96rem;
    font-family: inherit;
    font-weight: 500;
}

.hero-search-input:focus {
    outline: none;
}

.hero-search-btn {
    white-space: nowrap;
    padding: 0.78rem 1.4rem !important;
}

.hero-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.05rem;
}

.hero-stats-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    max-width: 750px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 500;
}

.hero-stats-inline strong {
    color: #ffffff;
    font-weight: 800;
}

.stats-sep {
    opacity: 0.5;
}

/* =========================================
   HOME: TIMELINE DO PASSO A PASSO
   ========================================= */
.home-sec-head {
    margin-bottom: 1.85rem;
}

.home-sec-head--center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 2.2rem;
}

.section-kicker {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    color: var(--brand);
    margin-bottom: 0.45rem;
}

.section-h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-h2 {
        font-size: 2.15rem;
    }
}

.title-accent {
    color: var(--brand);
}

.section-sub {
    color: var(--text-secondary);
    font-size: 0.97rem;
    margin: 0.5rem auto 0;
    max-width: 580px;
}

.timeline-section {
    background: linear-gradient(135deg, #0b1429 0%, #15264f 100%);
    color: #ffffff;
    padding: 3.45rem 0 3.75rem;
    border-top: 1px solid #0f172a;
    border-bottom: 3px solid #dc2626;
}

.timeline-section .home-sec-head {
    margin-bottom: 2.55rem;
}

.timeline-section .section-h2 {
    color: #ffffff;
    font-size: 1.85rem;
}

@media (min-width: 768px) {
    .timeline-section .section-h2 {
        font-size: 2.15rem;
    }
}

.timeline-section .section-sub {
    color: #9fb2d4;
    max-width: 640px;
}

.timeline-wrap {
    position: relative;
}

@media (min-width: 960px) {
    .timeline-rail {
        position: absolute;
        top: 22px;
        left: calc(12.5% - 10px);
        right: calc(12.5% - 10px);
        height: 1.5px;
        background: rgba(148, 163, 184, 0.34);
        z-index: 1;
        pointer-events: none;
    }
}

.timeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.15rem;
    position: relative;
    z-index: 2;
}

@media (min-width: 640px) {
    .timeline-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.25rem 1.75rem;
    }
}

@media (min-width: 960px) {
    .timeline-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
}

.timeline-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.05rem;
}

.timeline-node-row {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.timeline-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    border: none;
    box-shadow: 0 0 18px rgba(251, 191, 36, 0.42);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.timeline-step:hover .timeline-num {
    transform: translateY(-2px);
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.62);
}

.timeline-card {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0.25rem;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
    box-shadow: none;
    transition: none;
}

.timeline-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
}

.timeline-card p {
    font-size: 0.87rem;
    color: #cbd5e1;
    line-height: 1.58;
    max-width: 265px;
    margin: 0 auto;
}

/* =========================================
   HOME: TIPOS DE DENÚNCIA (3 Colunas Harmonizadas c/ Bordas Completas)
   ========================================= */
.types-section {
    background: #f1f5f9;
    padding: 3.15rem 0 3.45rem;
    border-bottom: 1px solid #cbd5e1;
}

.types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.4rem;
}

@media (min-width: 860px) {
    .types-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.type-card {
    background: #ffffff;
    border: 1.5px solid #94a3b8;
    border-radius: 12px;
    padding: 1.6rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    gap: 0.95rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.type-card:hover {
    border-color: #0f172a;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.11);
    transform: translateY(-2px);
}

.type-card-top {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.type-icon-sq {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    background: #0f172a;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.type-card:hover .type-icon-sq {
    background: #dc2626;
}

.type-card h3 {
    font-size: 1.14rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.22;
}

.type-subtitle {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.14rem;
}

.type-card p {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.56;
}

.type-checklist {
    display: flex;
    flex-direction: column;
    gap: 0.48rem;
    padding: 0.85rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    flex: 1;
}

.type-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.52rem;
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 600;
    line-height: 1.4;
}

.type-checklist li i {
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: #0f172a;
    flex-shrink: 0;
}

.type-card-link {
    width: 100%;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: 8px;
    padding: 0.72rem 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    color: #0f172a;
    border: 1.5px solid #0f172a;
    background: #f8fafc;
    transition: all 0.18s ease;
}

.type-card-link:hover,
.type-card-link--calote:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
}

/* =========================================
   HOME: ATIVIDADE RECENTE + REGRAS (Sóbrio & Sólido)
   ========================================= */
.activity-trust-section {
    background: #f1f5f9;
    padding: 3.15rem 0 3.25rem;
}

.activity-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 920px) {
    .activity-trust-grid {
        grid-template-columns: 1.12fr 1fr;
        align-items: stretch;
    }
}

.recent-feed-box,
.trust-list-box {
    background: #ffffff;
    border: 1.5px solid #94a3b8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.feed-header-row {
    background: #0f172a;
    border-bottom: 2px solid #dc2626;
    padding: 1rem 1.35rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.feed-header-row h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.feed-header-row h3 i {
    color: #e2e8f0;
    font-size: 0.94rem;
}

.feed-header-link {
    font-size: 0.84rem;
    font-weight: 700;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.feed-header-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.panel-empty-pad {
    padding: 1.5rem;
}

.feed-items-stack {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.feed-item {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    border-left: 3px solid #cbd5e1;
    padding: 1.05rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
    flex: 1;
    justify-content: center;
    transition: background-color 0.16s, border-left-color 0.16s;
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-item--calote      { border-left-color: #dc2626; }
.feed-item--preco_baixo { border-left-color: #475569; }
.feed-item--papa_teste  { border-left-color: #d97706; }
.feed-item--resolvida   { border-left-color: #15803d; }

.feed-item:hover {
    background: #f8fafc;
}

.feed-item-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 0.93rem;
}

.feed-accused-highlight {
    color: #b91c1c;
}

.feed-service-line {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.feed-item-locked {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.86rem;
    color: #475569;
}

.feed-item-locked i {
    color: #0f172a;
}

.feed-item-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.15rem;
}

.feed-open-link {
    font-weight: 800;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.feed-open-link:hover {
    color: #dc2626;
    text-decoration: underline;
}

.trust-items {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 1.02rem 1.3rem;
    border-bottom: 1px solid #e2e8f0;
    flex: 1;
    transition: background-color 0.16s;
}

.trust-item:last-child {
    border-bottom: none;
}

.trust-item:hover {
    background: #f8fafc;
}

.trust-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #0f172a;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.trust-item strong {
    display: block;
    font-size: 0.93rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.trust-item span {
    display: block;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.48;
}

/* =========================================
   HOME: FAIXA FINAL ROBUSTA
   ========================================= */
.bottom-cta-strip {
    background: #ffffff;
    border-top: 1px solid #cbd5e1;
    padding: 2.5rem 0;
}

.bottom-cta-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 10px;
    border-left: 5px solid #dc2626;
    padding: 2rem 2.15rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.bottom-cta-row {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    justify-content: space-between;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .bottom-cta-row {
        flex-direction: row;
        align-items: center;
    }
}

.bottom-cta-row h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.28rem;
}

.bottom-cta-row p {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.bottom-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* =========================================
   STATUS INLINE & META (Sem pílulas)
   ========================================= */
.status-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

.meta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dot-danger  { background: #dc2626; }
.dot-warning { background: #d97706; }
.dot-success { background: #166534; }
.dot-info    { background: #1e40af; }
.dot-purple  { background: #334155; }
.dot-muted   { background: #64748b; }

.status-text-danger  { color: #dc2626; }
.status-text-warning { color: #92400e; }
.status-text-success { color: #166534; }
.status-text-info    { color: #1e40af; }
.status-text-purple  { color: #334155; }
.status-text-muted   { color: var(--text-muted); }

.meta-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.7rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.protocol-code {
    font-weight: 800;
    color: var(--navy);
    font-size: 0.86rem;
    letter-spacing: 0.02em;
}

/* =========================================
   PÁGINAS INTERNAS, AUTH, CONSULTA & DOSSIÊ
   ========================================= */
.page-banner {
    background: linear-gradient(180deg, #0f172a 0%, #162033 100%);
    color: #ffffff;
    padding: 2.1rem 0;
    border-bottom: 3px solid #dc2626;
}

.page-banner h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
    .page-banner h1 {
        font-size: 2.05rem;
    }
}

.page-banner p {
    color: #cbd5e1;
    font-size: 0.94rem;
}

.page-banner-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.banner-meta-line {
    color: #e2e8f0;
    font-weight: 600;
}

.banner-protocol {
    color: #fde047;
    font-weight: 800;
}

.btn-banner-outline {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    font-weight: 700;
    padding: 0.46rem 0.85rem;
    border-radius: 8px;
    font-size: 0.81rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background-color 0.15s, border-color 0.15s;
}

.btn-banner-outline:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
}

.page-content-section {
    padding: 2rem 0 3.25rem;
    background: var(--bg);
}

/* Auth Cards */
.auth-section {
    padding: 2.5rem 1rem;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-top: 5px solid var(--brand);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.auth-card--wide {
    max-width: 610px;
}

.auth-card-head {
    padding: 1.4rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
}

.auth-card-head h1 {
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.auth-card-head p {
    color: var(--text-secondary);
    font-size: 0.86rem;
}

.auth-card-body {
    padding: 1.5rem;
}

.auth-divider-footer {
    margin-top: 1.35rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.inline-accent-link {
    color: var(--accent-link);
    font-weight: 700;
}

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

/* Forms & Cards */
.form-card,
.dossier-section-card {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--card-shadow);
}

.dossier-heading {
    font-size: 1.06rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;
}

.dossier-heading i {
    color: var(--brand);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.input-field {
    width: 100%;
    padding: 0.72rem 0.9rem;
    border-radius: 9px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    font-size: 0.93rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: border-color 0.15s, box-shadow 0.15s;
}

.input-field:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(23, 37, 84, 0.14);
}

textarea.input-field {
    min-height: 115px;
    resize: vertical;
}

.btn-primary-navy {
    background: #dc2626;
    color: #ffffff;
    font-weight: 800;
    padding: 0.78rem 1.4rem;
    border-radius: 8px;
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: background-color 0.15s ease;
}

.btn-primary-navy:hover {
    background: #b91c1c;
    color: #ffffff;
}

.btn-gold {
    background: #f59e0b;
    color: #0b1533;
    font-weight: 800;
    padding: 0.78rem 1.4rem;
    border-radius: 8px;
    font-size: 0.93rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: background-color 0.15s ease;
}

.btn-gold:hover {
    background: #d97706;
    color: #0b1533;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    font-weight: 700;
    padding: 0.74rem 1.3rem;
    border-radius: 9px;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    transition: background-color 0.15s, border-color 0.15s;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: #ffffff;
}

.btn-sm {
    padding: 0.46rem 0.85rem;
    font-size: 0.81rem;
}

.btn-block {
    width: 100%;
}

/* Alerts */
.alert {
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-left-width: 4px;
}

.alert-success { color: #166534; border-left-color: #16a34a; }
.alert-error   { color: #b91c1c; border-left-color: #dc2626; }
.alert-warning { color: #92400e; border-left-color: #d97706; }
.alert-info    { color: #1e40af; border-left-color: #2563eb; }

/* Filter Bar & Tabs Underline */
.filter-bar-card {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 15px;
    padding: 1.15rem 1.25rem 0;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
}

.search-row {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .search-row {
        flex-direction: row;
    }
}

.btn-quick-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.68rem 1.05rem;
    border-radius: 8px;
    background: #0f172a;
    border: none;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.87rem;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.btn-quick-check:hover {
    background: #1e293b;
    color: #ffffff;
}

.tabs-underline {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    border-top: 1px solid var(--border);
    padding-top: 0.2rem;
}

.tab-underline-link {
    padding: 0.72rem 0.15rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.tab-underline-link:hover {
    color: var(--text-primary);
}

.tab-underline-link.active {
    color: var(--brand);
    font-weight: 800;
    border-bottom-color: var(--brand);
}

.filter-subbar {
    background: var(--surface-subtle);
    border-top: 1px solid var(--border);
    padding: 0.75rem 1.25rem;
    margin: 0 -1.25rem;
    border-radius: 0 0 14px 14px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.filter-subbar-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.filter-subbar-controls .input-field {
    width: auto;
    padding: 0.42rem 0.72rem;
    font-size: 0.84rem;
}

.filter-subbar-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.clear-filters-link {
    color: var(--accent-link);
    text-decoration: underline;
}

/* Report Cards */
.reports-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.05rem;
}

.report-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-top: 4px solid #0f172a;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    transition: border-color 0.16s, box-shadow 0.16s;
}

.report-card--calote      { border-top-color: #dc2626; }
.report-card--preco_baixo { border-top-color: #0f172a; }
.report-card--papa_teste  { border-top-color: #d97706; }
.report-card--resolvida   { border-top-color: #15803d; }

.report-card:hover {
    border-color: #64748b;
    box-shadow: var(--card-shadow-hover);
}

.report-card--calote:hover      { border-top-color: #dc2626; }
.report-card--preco_baixo:hover { border-top-color: #0f172a; }
.report-card--papa_teste:hover  { border-top-color: #d97706; }
.report-card--resolvida:hover   { border-top-color: #15803d; }

.report-card-top {
    padding: 0.72rem 1.25rem;
    border-bottom: 1px solid #cbd5e1;
    background: #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
}

.protocol-pill-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.protocol-code-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #0f172a;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
}

.report-card-body {
    padding: 1.15rem 1.25rem 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
    background: #ffffff;
}

.report-title {
    font-size: 1.08rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
}

.report-title-link {
    color: inherit;
    transition: color 0.14s;
}

.report-title-link:hover {
    color: #dc2626;
}

.parties-panel {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

@media (min-width: 720px) {
    .parties-panel {
        grid-template-columns: 1fr 1fr;
    }
}

.party-col {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    min-width: 0;
}

.party-col--reporter {
    border-bottom: 1px solid #cbd5e1;
}

@media (min-width: 720px) {
    .party-col--reporter {
        border-bottom: none;
        border-right: 1px solid #cbd5e1;
    }
}

.party-col-head {
    padding: 0.55rem 0.95rem 0.5rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem 0.6rem;
    min-height: 42px;
    box-sizing: border-box;
}

.party-col--reporter .party-col-head {
    box-shadow: inset 0 3px 0 #1d4ed8;
}

.party-col--accused .party-col-head {
    box-shadow: inset 0 3px 0 #dc2626;
}

@media (min-width: 720px) {
    .party-col-head {
        height: 42px;
        padding: 3px 0.95rem 0;
        flex-wrap: nowrap;
    }
}

.party-col--reporter .party-label { color: #1d4ed8; }
.party-col--accused .party-label  { color: #dc2626; }

.party-rows {
    padding: 0.35rem 0.95rem 0.55rem;
    display: flex;
    flex-direction: column;
}

.party-kv-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.34rem 0;
    border-bottom: 1px solid #f1f5f9;
    min-height: 30px;
}

.party-kv-row:last-child {
    border-bottom: none;
}

.party-kv-main {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    min-width: 0;
    flex: 1;
}

.party-kv-key {
    width: 74px;
    flex-shrink: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.party-kv-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    min-width: 0;
    overflow-wrap: anywhere;
    line-height: 1.32;
}

.party-kv-val--primary {
    font-size: 0.92rem;
    font-weight: 800;
}

.party-kv-val--muted {
    color: #475569;
    font-weight: 600;
    font-size: 0.82rem;
}

.parties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    align-items: stretch;
}

@media (min-width: 720px) {
    .parties-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.party-box {
    border-radius: 8px;
    padding: 0.9rem 1.05rem;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.party-box--reporter {
    background: #ffffff;
    border-color: #cbd5e1;
    border-left: 4px solid #1d4ed8;
}

.party-box--accused {
    background: #ffffff;
    border-color: #cbd5e1;
    border-left: 4px solid #dc2626;
}

.party-box-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.party-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
}

.party-box--reporter .party-label { color: #1d4ed8; }
.party-box--accused .party-label  { color: #dc2626; }

.party-verified-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.24rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #1d4ed8;
}

.party-name {
    font-weight: 800;
    font-size: 0.97rem;
    color: var(--text-primary);
    line-height: 1.32;
    word-break: break-word;
}

.party-name-inline-sub {
    font-size: 0.81rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 0.25rem;
}

.party-name-meta {
    font-weight: 500;
    color: var(--text-muted);
}

.party-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.08rem;
    word-break: break-word;
}

.party-inline-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.38rem 1.1rem;
    margin-top: 0.12rem;
}

.party-datum {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    font-size: 0.82rem;
    color: #475569;
    min-width: 0;
}

.party-datum i {
    color: #64748b;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.party-datum strong {
    color: #0f172a;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.copy-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 0.76rem;
    padding: 0.12rem 0.28rem;
    border-radius: 4px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.14s, color 0.14s;
}

.copy-inline-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.verified-icon {
    color: #2563eb;
}

.report-metrics-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.65rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.72rem 0.92rem;
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.report-metrics-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1.4rem;
    font-size: 0.84rem;
    color: #475569;
    padding-top: 0.1rem;
}

.metric-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.metric-inline i {
    color: #64748b;
    font-size: 0.8rem;
}

.metric-inline strong {
    color: #0f172a;
    font-weight: 800;
}

.metric-cell {
    display: flex;
    flex-direction: column;
    gap: 0.14rem;
}

.metric-cell small {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}

.metric-cell strong {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-primary);
}

.metric-danger  { color: #dc2626 !important; }
.metric-warning { color: #b45309 !important; }
.metric-purple  { color: #0f172a !important; }
.metric-success { color: #166534 !important; }

.report-card-footer {
    padding: 0.72rem 1.25rem;
    border-top: 1px solid #cbd5e1;
    background: #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
}

.card-meta-chips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 1rem;
}

.card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
}

.card-meta-item i {
    color: #64748b;
    font-size: 0.78rem;
}

.card-meta-item strong {
    color: #0f172a;
    font-weight: 700;
}

.card-dossier-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    background: #0f172a;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.48rem 0.98rem;
    border-radius: 8px;
    transition: background-color 0.15s, transform 0.15s;
}

.card-dossier-btn:hover {
    background: #dc2626;
    color: #ffffff;
    transform: translateX(1px);
}

.empty-state-box {
    padding: 2.5rem 1.5rem;
}

.empty-state-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.empty-state-desc,
.empty-muted-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.empty-state-desc {
    margin-bottom: 1.15rem;
}

/* Dossier & Internal Components */
.price-compare-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-left: 3px solid var(--purple);
    border-radius: 10px;
    padding: 0.95rem;
    margin-bottom: 1rem;
}

.price-compare-item small {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.price-compare-item strong {
    font-size: 1.16rem;
    font-weight: 800;
    color: var(--text-primary);
}

.dossier-description {
    white-space: pre-line;
    color: var(--text-secondary);
    line-height: 1.72;
    font-size: 0.96rem;
}

.resolve-agreement-box {
    margin-top: 1.35rem;
    padding: 1.1rem 1.25rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
}

.resolve-agreement-box h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: #14532d;
    margin-bottom: 0.3rem;
}

.resolve-agreement-box p {
    font-size: 0.84rem;
    color: #166534;
    margin-bottom: 0.85rem;
}

.resolve-agreement-box label {
    color: #14532d;
}

.evidence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 0.9rem;
}

.evidence-card {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.evidence-thumb {
    width: 100%;
    height: 135px;
    border-radius: 7px;
    object-fit: cover;
    border: 1px solid var(--border);
    background: #0b1533;
}

.evidence-icon-box {
    width: 100%;
    height: 85px;
    border-radius: 7px;
    background: var(--bg-alt);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
}

.evidence-filename {
    font-weight: 700;
    font-size: 0.86rem;
    word-break: break-word;
    color: var(--text-primary);
}

.evidence-filemeta {
    font-size: 0.76rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.evidence-hash-row {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.inline-copy-btn {
    font-size: 0.72rem;
    color: var(--accent-link);
    font-weight: 700;
    text-decoration: underline;
}

.contestation-card {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-left: 3px solid var(--info);
    border-radius: 10px;
    padding: 1.15rem;
    margin-bottom: 0.95rem;
}

.contest-author-name {
    font-size: 0.98rem;
    color: var(--text-primary);
}

.contest-author-role,
.contest-date {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.contest-reason {
    font-weight: 700;
    color: var(--accent-link);
    margin-bottom: 0.35rem;
}

.contest-defense-text {
    white-space: pre-line;
    color: var(--text-secondary);
    font-size: 0.93rem;
    line-height: 1.62;
    margin-bottom: 0.6rem;
}

.contest-files-wrap {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
}

.contest-form-divider {
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid var(--border);
}

.sub-heading-md {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.sub-heading-sm {
    font-size: 0.94rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 1rem 0 0.6rem;
}

/* Type Selector Cards */
.type-selector-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
    .type-selector-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.type-option-card {
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    background: var(--surface-subtle);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: border-color 0.15s, background-color 0.15s;
}

.type-option-card input[type="radio"] {
    margin-top: 0.25rem;
    accent-color: var(--brand);
}

.type-option-card.selected {
    border-color: var(--brand);
    background: rgba(220, 38, 38, 0.06);
}

.type-option-title {
    display: block;
    color: var(--text-primary);
    font-size: 0.98rem;
}

.type-option-desc {
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.promo-confirm-box {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 0.85rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    cursor: pointer;
}

.promo-confirm-box span {
    font-size: 0.87rem;
    color: #92400e;
    font-weight: 700;
}

.field-help-note {
    font-size: 0.83rem;
    color: var(--text-muted);
    margin: -0.35rem 0 1.25rem;
}

.truth-declaration-box {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: var(--surface-subtle);
    border: 1px solid var(--border-strong);
    padding: 0.95rem 1rem;
    border-radius: 10px;
    margin: 1.1rem 0 1rem;
    cursor: pointer;
}

.truth-declaration-box span {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Upload Dropzone */
.upload-dropzone {
    border: 2px dashed var(--border-strong);
    background: var(--surface-subtle);
    border-radius: 10px;
    padding: 1.35rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s, background-color 0.15s;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--brand);
    background: rgba(220, 38, 38, 0.05);
}

.dropzone-icon {
    font-size: 2.1rem;
    color: var(--brand);
    margin-bottom: 0.4rem;
}

.dropzone-title {
    font-weight: 800;
    color: var(--text-primary);
}

.dropzone-sub {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

.selected-files-list {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.selected-file-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    font-size: 0.84rem;
}

/* Legal & Notifications */
.legal-container {
    max-width: 1120px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
}

.legal-sidebar,
.legal-articles-col {
    position: relative;
    min-width: 0;
    width: 100%;
}

.legal-toc-card {
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.legal-toc-head {
    background: var(--navy);
    color: #ffffff;
    padding: 0.85rem 1.05rem;
    border-bottom: 3px solid var(--brand);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.legal-toc-head-title {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.legal-toc-count {
    background: var(--slate-800);
    color: #e2e8f0;
    border: 1px solid #334155;
    border-radius: 4px;
    padding: 0.15rem 0.48rem;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.legal-toc-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1px;
    background: #e2e8f0;
}

@media (min-width: 560px) and (max-width: 959px) {
    .legal-toc-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal-toc-link:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

.legal-toc-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.74rem 0.95rem;
    background: #ffffff;
    color: var(--text-primary);
    border-left: 3px solid transparent;
    font-size: 0.87rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}

.legal-toc-num {
    width: 26px;
    height: 26px;
    border-radius: 5px;
    background: #e2e8f0;
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
    transition: background-color 0.14s ease, color 0.14s ease;
}

.legal-toc-text {
    flex: 1;
    min-width: 0;
    line-height: 1.3;
}

.legal-toc-arrow {
    font-size: 0.68rem;
    color: #94a3b8;
    flex-shrink: 0;
    transition: transform 0.14s ease, color 0.14s ease;
}

.legal-toc-link:hover {
    background: #f1f5f9;
    color: var(--brand-dark);
    text-decoration: none;
}

.legal-toc-link:hover .legal-toc-num {
    background: var(--navy);
    color: #ffffff;
}

.legal-toc-link:hover .legal-toc-arrow {
    color: var(--brand-dark);
    transform: translateX(2px);
}

.legal-toc-link.is-active {
    background: #f1f5f9;
    border-left-color: var(--brand);
    color: var(--text-primary);
    font-weight: 800;
}

.legal-toc-link.is-active .legal-toc-num {
    background: var(--brand);
    color: #ffffff;
}

.legal-toc-link.is-active .legal-toc-arrow {
    color: var(--brand);
    transform: translateX(2px);
}

.legal-toc-footer {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.85rem 0.95rem;
    background: var(--surface-subtle);
    border-top: 1px solid var(--border);
}

.legal-toc-secondary-btn {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 0.58rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.legal-toc-secondary-btn:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #ffffff;
    text-decoration: none;
}

@media (min-width: 960px) {
    .legal-layout {
        grid-template-columns: 290px minmax(0, 1fr);
        gap: 1.75rem;
    }

    .legal-sidebar {
        position: sticky;
        top: 146px;
    }

    .legal-toc-footer {
        display: flex;
    }
}

.legal-article-card {
    scroll-margin-top: 148px;
}

.legal-article-card p {
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.legal-article-card ul {
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: 1.25rem;
    list-style: disc;
}

.notif-item-box {
    padding: 0.95rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-subtle);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.notif-item-box.is-unread {
    border-color: rgba(220, 38, 38, 0.45);
    background: rgba(220, 38, 38, 0.05);
}

.notif-item-title {
    color: var(--text-primary);
    font-size: 0.95rem;
}

.notif-item-msg {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin: 0 0 0.3rem;
}

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

/* Preview Modal */
.preview-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 21, 51, 0.84);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

.preview-modal-backdrop.open {
    display: flex;
}

.preview-modal-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.preview-modal-header {
    padding: 0.85rem 1.15rem;
    background: #0b1533;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

#preview-modal-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#preview-counter {
    font-size: 0.78rem;
    color: #cbd5e1;
    white-space: nowrap;
}

.preview-modal-body {
    padding: 1rem;
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #1e293b;
    min-height: 260px;
}

/* Tabelas */
.simple-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.simple-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.simple-table th {
    text-align: left;
    padding: 0.7rem 0.85rem;
    background: var(--surface-subtle);
    color: var(--text-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    border-bottom: 2px solid var(--border);
}

.simple-table td {
    padding: 0.75rem 0.85rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

/* Paginação simples */
.pagination-row {
    display: flex;
    gap: 0.45rem;
    justify-content: center;
    margin-top: 1.75rem;
}

.page-num-link {
    padding: 0.42rem 0.8rem;
    border-radius: 7px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.page-num-link.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #ffffff;
}

/* =========================================
   FOOTER SÓBRIO & ENXUTO
   ========================================= */
.main-footer {
    background: #091124;
    color: #94a3b8;
    padding: 1.9rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
}

.footer-row {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    justify-content: space-between;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .footer-row {
        flex-direction: row;
        align-items: center;
    }
}

.footer-brand-line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 0.3rem;
}

.footer-site-name {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.footer-meta {
    font-size: 0.84rem;
    color: #94a3b8;
}

.footer-tagline {
    font-size: 0.83rem;
    color: #94a3b8;
    max-width: 560px;
}

.footer-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.86rem;
    color: #cbd5e1;
    font-weight: 600;
}

.footer-inline-links a:hover {
    color: var(--gold);
}

/* =========================================
   ACESSIBILIDADE, VERIFICADOR & TIMELINE DOSSIÊ
   ========================================= */
:focus-visible {
    outline: 3px solid rgba(220, 38, 38, 0.45);
    outline-offset: 2px;
}

.notif-dot-count {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    background: #dc2626;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
}

.quick-check-card {
    background: var(--surface-subtle);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    padding: 1.15rem 1.35rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--card-shadow);
}

.quick-check-result {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.dossier-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.dossier-timeline {
    position: relative;
    padding-left: 1.4rem;
    border-left: 2px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-event {
    position: relative;
}

.timeline-event::before {
    content: "";
    position: absolute;
    left: -1.78rem;
    top: 0.3rem;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--brand);
    border: 2px solid var(--surface);
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.35);
}

.timeline-event strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.92rem;
}

.timeline-event span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.83rem;
    margin-top: 0.12rem;
}

.dropzone-thumb {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.preview-modal-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.preview-modal-controls button {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-radius: 6px;
    padding: 0.3rem 0.55rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.preview-modal-controls button:hover {
    background: rgba(255, 255, 255, 0.24);
}

.app-toast {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 200;
    background: #0b1533;
    color: #ffffff;
    border: 1px solid rgba(251, 191, 36, 0.5);
    padding: 0.72rem 1.05rem;
    border-radius: 10px;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.app-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.char-counter-hint {
    display: block;
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.print-only-sha {
    display: none;
}

/* =========================================
   SELOS DE QUALIDADE & REPUTAÇÃO
   ========================================= */
.seal-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1.2;
}

.seal-pts {
    font-weight: 700;
    opacity: 1;
    font-size: 0.78rem;
}

.reputation-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.rep-stat-box {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.8rem 0.95rem;
}

.rep-stat-box small {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.rep-stat-box strong {
    font-size: 1.15rem;
    font-weight: 800;
}

.reputation-next-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.83rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
}

.reputation-progress-track {
    width: 100%;
    height: 10px;
    background: var(--bg-alt);
    border-radius: 999px;
    overflow: hidden;
}

.reputation-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #dc2626 0%, #fbbf24 100%);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.pts-pos { color: #15803d; }
.pts-neg { color: #dc2626; }

/* =========================================
   IMPRESSÃO / EXPORTAÇÃO PDF DO DOSSIÊ
   ========================================= */
@media print {
    .sticky-top-shell,
    .main-header,
    .main-footer,
    .no-print,
    .marketing-section,
    .preview-modal-backdrop,
    .app-toast {
        display: none !important;
    }

    body,
    main,
    .page-content-section {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
    }

    .page-banner {
        background: #ffffff !important;
        color: #000000 !important;
        border-bottom: 2px solid #0b1533;
        padding: 0.75rem 0 !important;
    }

    .page-banner h1,
    .page-banner p,
    .page-banner span,
    .page-banner strong {
        color: #000000 !important;
    }

    .dossier-section-card,
    .contestation-card,
    .evidence-card {
        box-shadow: none !important;
        border: 1px solid #94a3b8 !important;
        break-inside: avoid;
        background: #ffffff !important;
        color: #000000 !important;
    }

    .print-only-sha {
        display: block !important;
        font-size: 9px;
        font-family: monospace;
        color: #1e293b;
        margin-top: 2px;
    }
}
