/* TikTok insights — dark variant of .insights */
.section-5 {
    background: #000;
    color: #fff;
    overflow: hidden;
    --accent: #fff;
}

/* black crumpled paper at 20% */
.section-5::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('imagens/bg papel preto.webp') center / cover no-repeat;
    opacity: 0.2;
    pointer-events: none;
}

.section-5 .ins-label { color: #ff4a4a; }
.section-5 .stat-grid .stat:nth-child(odd)  { border-right-color: rgba(255, 255, 255, 0.2); }
.section-5 .stat-grid .stat:nth-child(-n+2) { border-bottom-color: rgba(255, 255, 255, 0.2); }
.section-5 .stat-row { background: rgba(255, 255, 255, 0.07); }
.section-5 .stat-row .stat + .stat { border-left-color: rgba(255, 255, 255, 0.15); }
.section-5 .stat-row .stat strong { color: #ff4a4a; }

/* cards: dark, same airy layout */
.section-5 .card { background: rgba(20, 20, 20, 0.92); border-color: #262626; box-shadow: none; }
.section-5 .card-title { color: #8f8f8f; }
.section-5 .dot { background: #ff4a4a; }
.section-5 .tabs { background: #222; }
.section-5 .tab { color: #8f8f8f; }
.section-5 .tab:hover { color: #fff; }
.section-5 .tab.active { background: #3a3a3a; color: #fff; box-shadow: none; }
.section-5 .bar-label { color: #cfcfcf; }
.section-5 .bar-track { background: #2a2a2a; }
.section-5 .bar-fill { background: #fff; }
.section-5 .bar-val { color: #fff; }
.section-5 .gender-stat span { color: #cfcfcf; }
.section-5 .gender-stat strong { color: #fff; }
.section-5 .gender-stat.women i, .section-5 .donut-base { background: #fff; stroke: #fff; }
.section-5 .gender-stat.men i { background: #e02a2a; }
.section-5 .donut-men { stroke: #e02a2a; }
.section-5 .gender-stat.other i { background: #6b6b6b; }
.section-5 .donut-other { stroke: #6b6b6b; }

/* charts on the left, numbers on the right */
.section-5 .ins-wrap { grid-template-columns: 1.08fr 1fr; }
.section-5 .ins-info { order: 2; }
@media (max-width: 900px) {
    .section-5 .ins-wrap { grid-template-columns: 1fr; }
    .section-5 .ins-info { order: 0; } /* phones: numbers first, like Instagram */
}
