.hero-title span { line-height: 1; }

/* Essay grid */
.essay-container { max-width: 1180px; }
.essay-grid {
    display: grid;
    grid-template-columns: minmax(420px, 0.98fr) minmax(320px, 0.72fr);
    gap: clamp(44px, 6vw, 92px);
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
}
.essay-grid:not(:has(.essay-figure)) { display: block; max-width: 760px; }
.essay-grid .scrolling-element { float: none; width: auto; }
.essay-copy { max-width: 680px; margin: 0; min-width: 0; }
.essay-copy p {
    font-size: 17px;
    line-height: 1.78;
    color: #5f5f5f;
    margin-bottom: 20px;
    text-align: left;
    text-wrap: pretty;
}
.dark-section .essay-copy p { color: #d0d0d0; }
.essay-copy h2 { margin: 0 0 26px; color: #111; }
.dark-section .essay-copy h2 { color: #fff; }
.essay-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8c6144;
    font-weight: 700;
    margin-bottom: 14px;
}
.essay-kicker .material-symbols-outlined { font-size: 16px; opacity: 0.75; }
.essay-intro { font-size: 22px; line-height: 1.75; max-width: 850px; margin: 0 auto; color: #e6e6e6; text-align: center; }
.essay-figure {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    justify-self: center;
    overflow: hidden;
    border-radius: 10px;
    position: sticky;
    top: 11vh;
    align-self: start;
}
.essay-figure img {
    width: 100%;
    height: auto;
    max-height: 78vh;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.28);
    background: #111;
}
.essay-figure .image-link { display: block; width: fit-content; max-width: 100%; margin: 0 auto; }
.essay-figure figcaption { position: static !important; margin-top: 12px; padding: 0; background: none !important; color: #999; font-size: 13px; line-height: 1.6; text-align: center; }
.dark-section .essay-grid:has(.essay-figure) { grid-template-columns: minmax(320px, 0.72fr) minmax(420px, 0.98fr); }
.dark-section .essay-grid .essay-figure { order: -1; }

/* Highlight */
.highlight-text { font-weight: 700; color: #8c6144; }
.dark-section .highlight-text { color: #e8c89a; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; }

/* Dashboard KPI – 4 cards */
.kpi-dashboard {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 28px 0 32px;
}
.kpi-card {
    padding: 20px 22px;
    background: #f7f4f0;
    border-radius: 10px;
    border-top: 3px solid #8c6144;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.kpi-card .kpi-icon {
    color: #8c6144;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.kpi-card .kpi-value {
    font-family: 'Six Caps', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1;
    color: #1a1a1a;
    letter-spacing: 1px;
}
.kpi-card .kpi-label { font-size: 12px; color: #888; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; line-height: 1.4; }

/* Barra de margem */
.margin-bar-wrap { margin: 8px 0 32px; }
.margin-bar-label-row { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin-bottom: 8px; }
.margin-bar-label-row .lb-cost { color: #888; }
.margin-bar-label-row .lb-profit { color: #8c6144; }
.margin-bar {
    height: 22px;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    background: #e8e0d8;
}
.margin-bar .bar-cost {
    width: 97.5%;
    background: linear-gradient(90deg, #c0b8b0 0%, #d4ccc4 100%);
    display: flex;
    align-items: center;
    padding-left: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #666;
    letter-spacing: 0.5px;
}
.margin-bar .bar-profit {
    flex: 1;
    background: #8c6144;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

/* Stat callout simples */
.stat-callout {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    margin: 18px 0 22px;
    padding: 20px 28px;
    border-left: 3px solid #8c6144;
    background: rgba(140,97,68,0.06);
    border-radius: 0 8px 8px 0;
}
.dark-section .stat-callout { background: rgba(255,255,255,0.04); border-left-color: #c9a47a; }
.stat-callout .stat-number { font-family: 'Six Caps', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); line-height: 1; color: #8c6144; letter-spacing: 2px; }
.dark-section .stat-callout .stat-number { color: #c9a47a; }
.stat-callout .stat-label { font-size: 13px; color: #888; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; }
.dark-section .stat-callout .stat-label { color: #aaa; }

/* Pull quote — estilo revista */
.pull-quote {
    margin: 36px 0 32px;
    padding: 0 0 0 24px;
    border-left: 4px solid #8c6144;
}
.dark-section .pull-quote { border-left-color: #c9a47a; }
.pull-quote blockquote {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(18px, 2.4vw, 24px);
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    color: #222;
}
.pull-quote blockquote::before,
.pull-quote blockquote::after { content: none !important; display: none !important; }
.dark-section .pull-quote blockquote { color: #f0ece6; }
.pull-quote blockquote strong { font-weight: 700; font-style: normal; color: #8c6144; }
.dark-section .pull-quote blockquote strong { color: #e8c89a; }

/* Warning/authority box */
.warning-box {
    margin: 32px 0 8px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a1f17 100%);
    border-radius: 10px;
    border-left: 4px solid #c9a47a;
}
.warning-box .wbox-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.warning-box .wbox-header .material-symbols-outlined { color: #c9a47a; font-size: 20px; }
.warning-box h4 { color: #fff !important; font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin: 0; }
.warning-box .highlight-text { color: #e8c89a !important; }
.warning-box strong { color: #e8c89a !important; }
.warning-box p { color: #f0f0f0 !important; font-size: 15px; line-height: 1.7; margin: 0; }

/* Malha urbana — 3 KPI horizontal */
.urban-mesh {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0 32px;
}
.urban-mesh-card {
    padding: 22px 18px;
    background: rgba(255,255,255,0.04);
    border-radius: 10px;
    border-bottom: 3px solid rgba(201,164,122,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.urban-mesh-card .mesh-icon { color: #c9a47a; font-size: 26px; }
.urban-mesh-card .mesh-value { font-family: 'Six Caps', sans-serif; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; color: #fff; letter-spacing: 2px; }
.urban-mesh-card .mesh-label { font-size: 11px; color: #aaa; letter-spacing: 1px; text-transform: uppercase; font-weight: 600; line-height: 1.4; }

/* Card última milha */
.last-mile-card {
    margin: 28px 0 32px;
    padding: 32px 36px;
    background: linear-gradient(135deg, #0c0c0c 0%, #1a120a 100%);
    border-radius: 12px;
    border: 1px solid rgba(201,164,122,0.25);
    display: flex;
    align-items: center;
    gap: 28px;
}
.last-mile-card .lm-icon-wrap {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201,164,122,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.last-mile-card .lm-icon-wrap .material-symbols-outlined { font-size: 32px; color: #c9a47a; }
.last-mile-card .lm-content { flex: 1; }
.last-mile-card .lm-big { font-family: 'Six Caps', sans-serif; font-size: clamp(3.5rem, 8vw, 6rem); line-height: 0.95; color: #e8c89a; letter-spacing: 3px; }
.last-mile-card .lm-sub { font-size: 13px; color: #c9a47a; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700; margin-top: 4px; }
.last-mile-card .lm-desc { font-size: 14px; color: #bbb; line-height: 1.6; margin-top: 8px; }

/* Glossário */
.gloss-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 24px; width: 100%; max-width: 100%; overflow: hidden; }
.gloss-item {
    padding: 18px 20px;
    border-left: 3px solid rgba(201,164,122,0.25);
    background: rgba(255,255,255,0.03);
    border-radius: 0 6px 6px 0;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.gloss-item:hover { border-left-color: #c9a47a; background: rgba(201,164,122,0.08); }
.gloss-item dt {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #c9a47a;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.gloss-item dt .material-symbols-outlined { font-size: 15px; opacity: 0.75; }
.gloss-item dd { font-size: 14px; color: #bbb; line-height: 1.6; margin: 0; }

/* ── Dashboard RD Saúde ────────────────────────────────── */
/* Tooltip */
.rddb-tooltip { position:absolute; background:#0c0a08; color:#f0ece6; font-size:11px; line-height:1.5; padding:7px 11px; border-radius:6px; border:1px solid rgba(201,164,122,0.3); pointer-events:none; white-space:nowrap; z-index:999; opacity:0; transition:opacity 0.15s; box-shadow:0 4px 16px rgba(0,0,0,0.4); }
.rddb-tooltip.visible { opacity:1; }
/* Animação de entrada */
@keyframes rddb-bar-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes rddb-fade-up { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes rddb-count { from { opacity:0.2; } to { opacity:1; } }
.rddb-animated .rddb-hbar-fill { transform-origin: left; animation: rddb-bar-in 0.7s cubic-bezier(.22,.61,.36,1) both; }
.rddb-animated .rddb-kpi { animation: rddb-fade-up 0.5s ease both; }
.rddb-animated .rddb-kpi:nth-child(1) { animation-delay:0.05s; }
.rddb-animated .rddb-kpi:nth-child(3) { animation-delay:0.10s; }
.rddb-animated .rddb-kpi:nth-child(5) { animation-delay:0.15s; }
.rddb-animated .rddb-kpi:nth-child(7) { animation-delay:0.20s; }
.rddb-animated .rddb-kpi:nth-child(9) { animation-delay:0.25s; }
.rddb-animated .rddb-kpi:nth-child(11) { animation-delay:0.30s; }
.rddb-animated .rddb-hbar-item:nth-child(1) .rddb-hbar-fill { animation-delay:0.1s; }
.rddb-animated .rddb-hbar-item:nth-child(2) .rddb-hbar-fill { animation-delay:0.2s; }
.rddb-animated .rddb-hbar-item:nth-child(3) .rddb-hbar-fill { animation-delay:0.3s; }
.rddb-animated .rddb-hbar-item:nth-child(4) .rddb-hbar-fill { animation-delay:0.4s; }
.rddb-animated .rddb-hbar-item:nth-child(5) .rddb-hbar-fill { animation-delay:0.5s; }
.rddb-animated .rddb-hbar-item:nth-child(6) .rddb-hbar-fill { animation-delay:0.35s; }
.rddb-animated .rddb-hbar-item:nth-child(7) .rddb-hbar-fill { animation-delay:0.42s; }
.rddb {
    background: #1e1a16;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.22);
    font-family: 'Poppins', sans-serif;
    max-width: 1120px;
    margin: 0 auto;
}
.rddb-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #18140f;
}
.rddb-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a47a;
    background: rgba(201,164,122,0.12);
    border-radius: 4px;
    padding: 3px 8px;
    margin-bottom: 6px;
}
.rddb-title { font-size: clamp(28px,4vw,48px); color: #f0ece6; margin: 0 0 4px; line-height: 1; }
.rddb-sub { font-size: 12px; color: #888; letter-spacing: 1px; margin: 0; }
.rddb-period {
    font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: #888; background: rgba(255,255,255,0.05); border-radius: 6px; padding: 6px 14px;
}
/* KPI strip */
.rddb-kpi-strip {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: #18140f;
}
.rddb-kpi {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 16px;
}
.rddb-kpi-sep { width: 1px; background: rgba(255,255,255,0.07); flex-shrink: 0; }
.rddb-kpi-icon { font-size: 20px; color: #c9a47a; opacity: 0.8; flex-shrink: 0; }
.rddb-kpi-body { min-width: 0; }
.rddb-kpi-val {
    font-family: 'Six Caps', sans-serif;
    font-size: clamp(20px, 2.8vw, 30px);
    line-height: 1;
    color: #f0ece6;
    letter-spacing: 1px;
    white-space: nowrap;
}
.rddb-kpi-val small { font-family: 'Poppins', sans-serif; font-size: 0.5em; color: #888; margin-left: 2px; font-weight: 600; }
.rddb-kpi-lbl { font-size: 10px; color: #888; letter-spacing: 0.5px; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rddb-kpi-delta { font-size: 10px; font-weight: 700; margin-top: 2px; }
.rddb-kpi-delta.up { color: #6dbc7a; }
/* Gráfico principal — largura total */
.rddb-chart-full { border-bottom: 1px solid rgba(255,255,255,0.07); }
/* Donut — largura total, centralizado */
.rddb-donut-section { border-bottom: 1px solid rgba(255,255,255,0.07); display:flex; flex-direction:column; align-items:center; padding: 28px 32px; }
.rddb-donut-section .rddb-panel-header { width:100%; margin-bottom:20px; }
.rddb-donut-center { display:flex; justify-content:center; }
.rddb-donut-legend-row { display:flex; justify-content:center; gap:28px; margin-top:18px; flex-wrap:wrap; }
.rddb-donut-leg-h { display:flex; align-items:center; gap:7px; font-size:12px; color:#aaa; }
.rddb-donut-leg-h strong { color:#e8e0d6; margin-left:2px; }
/* Row 2 colunas: Crescimento + Market Share */
.rddb-two-col { display:grid; grid-template-columns:1fr 1fr; border-bottom: 1px solid rgba(255,255,255,0.07); }
.rddb-two-col > .rddb-panel:first-child { border-right: 1px solid rgba(255,255,255,0.07); }
/* Sparkline — largura total */
.rddb-sparkline-section { border-bottom: 1px solid rgba(255,255,255,0.07); padding: 18px 32px 22px; background:#1e1a16; }
/* Indicadores — faixa horizontal */
.rddb-op-strip { display:flex; border-bottom: 0; }
.rddb-op-strip-item { flex:1; display:flex; align-items:center; gap:12px; padding:18px 20px; border-right:1px solid rgba(255,255,255,0.07); transition:background 0.2s; cursor:default; }
.rddb-op-strip-item:last-child { border-right:none; }
.rddb-op-strip-item:hover { background:rgba(255,255,255,0.04); }
.rddb-op-strip-icon { font-size:22px; color:#c9a47a; flex-shrink:0; }
.rddb-op-strip-val { font-family:'Six Caps',sans-serif; font-size:clamp(18px,2.2vw,26px); color:#f0ece6; line-height:1; letter-spacing:0.5px; }
.rddb-op-strip-val em { font-style:normal; font-size:0.55em; color:#888; margin-left:3px; font-family:'Poppins',sans-serif; font-weight:600; }
.rddb-op-strip-lbl { font-size:10px; color:#999; margin-top:3px; line-height:1.3; }
/* Panels */
.rddb-panel { padding: 20px 22px; background: #1e1a16; }
.rddb-panel-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; gap: 10px; }
.rddb-panel-title { font-size: 13px; font-weight: 700; color: #e8e0d6; letter-spacing: 0.5px; }
.rddb-panel-sub { font-size: 10px; color: #999; margin-top: 2px; }
.rddb-legend-row { display: flex; gap: 12px; flex-shrink: 0; }
.rddb-leg { font-size: 10px; font-weight: 600; display: flex; align-items: center; gap: 5px; }
.rddb-leg::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.rddb-leg--bar::before { background: #8c6144; }
.rddb-leg--line::before { background: #4a7c9e; border-radius: 50%; }
.rddb-leg--bar { color: #c9a47a; }
.rddb-leg--line { color: #7ab0cc; }
/* Horizontal bar list */
.rddb-hbar-list { display: flex; flex-direction: column; gap: 10px; }
.rddb-hbar-item { display: grid; grid-template-columns: 82px 1fr 44px; align-items: center; gap: 8px; }
.rddb-hbar-item--total .rddb-hbar-label { font-weight: 700; color: #e8e0d6; }
.rddb-hbar-label { font-size: 11px; color: #aaa; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rddb-hbar-track { height: 7px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.rddb-hbar-fill { height: 100%; border-radius: 4px; transition: width 0.8s ease; }
.rddb-hbar-val { font-size: 11px; font-weight: 700; color: #c9a47a; text-align: right; }
/* Bot row — definido acima */
/* Donut */
.rddb-donut-wrap { display: flex; align-items: center; gap: 18px; padding-top: 4px; }
.rddb-donut-legend { display: flex; flex-direction: column; gap: 8px; }
.rddb-donut-leg-item { display: flex; align-items: center; gap: 7px; font-size: 11px; color: #aaa; }
.rddb-donut-leg-item span { display: inline-block; width: 9px; height: 9px; border-radius: 2px; flex-shrink: 0; }
/* Classes para cores das barras (substitui inline style) */
.rddb-fill--cat1 { width:100%; background: linear-gradient(90deg,#5a3a24,#8c6144); }
.rddb-fill--cat2 { width:60.4%; background:#8c6144; }
.rddb-fill--cat3 { width:49.1%; background:#a07854; }
.rddb-fill--cat4 { width:40%; background:#c9a47a; }
.rddb-fill--cat5 { width:25.6%; background:#d4b48a; }
.rddb-fill--ms1 { width:84.5%; background:#5a3a24; }
.rddb-fill--ms2 { width:61.2%; background:#8c6144; }
.rddb-fill--ms3 { width:37%; background:#a07854; }
.rddb-fill--ms4 { width:36.5%; background:#b8946a; }
.rddb-fill--ms5 { width:30.5%; background:#c9a47a; }
.rddb-fill--ms6 { width:28.5%; background:#d4b48a; }
.rddb-fill--ms7 { width:49%; background:#4a7c9e; }
.rddb-hbar-val--blue { color:#7ab0cc; font-weight:700; }
/* Donut dots */
.rddb-leg-dot { display:inline-block; width:9px; height:9px; border-radius:2px; flex-shrink:0; }
.rddb-leg-dot--app { background:#8c6144; }
.rddb-leg-dot--desktop { background:#c9a47a; }
.rddb-leg-dot--super { background:#4a7c9e; }
.rddb-leg-dot--sac { background:#b8d4e8; }
/* SVG helpers */
.rddb-svg-full { width:100%; height:auto; display:block; }
.rddb-donut-svg { width:130px; height:130px; flex-shrink:0; }
.rddb-donut-svg-lg { width:220px; height:220px; }
.rddb-spark-svg { width:100%; height:auto; display:block; margin-top:8px; }
.rddb-arc--app    { --arc-len:417.2; --arc-gap:85.5;  animation-delay:0.8s; }
.rddb-arc--desk   { --arc-len:30.2;  --arc-gap:472.5; animation-delay:0.95s; }
.rddb-arc--super  { --arc-len:25.1;  --arc-gap:477.6; animation-delay:1.05s; }
.rddb-arc--sac    { --arc-len:5.0;   --arc-gap:497.7; animation-delay:1.1s; }
/* Donut arc animation — initial state set via JS, not !important, so keyframes can override */
.rddb-animated .rddb-donut-arc { animation: donut-draw 0.9s cubic-bezier(0.22,0.61,0.36,1) forwards; }
@keyframes donut-draw { to { stroke-dasharray: var(--arc-len) var(--arc-gap); } }
/* Linha principal — draw animation */
.rddb-chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.rddb-animated .rddb-chart-line { animation: line-draw 1s cubic-bezier(0.22,0.61,0.36,1) 0.6s forwards; }
@keyframes line-draw { to { stroke-dashoffset: 0; } }
/* Sparkline draw */
.rddb-spark-polyline { stroke-dasharray: 900; stroke-dashoffset: 900; }
.rddb-animated .rddb-spark-polyline { animation: line-draw 1.2s cubic-bezier(0.22,0.61,0.36,1) 1.2s forwards; }
/* Indicadores strip fade */
.rddb-animated .rddb-op-strip-item { animation: rddb-fade-up 0.5s ease both; }
.rddb-animated .rddb-op-strip-item:nth-child(1) { animation-delay:1.4s; }
.rddb-animated .rddb-op-strip-item:nth-child(2) { animation-delay:1.5s; }
.rddb-animated .rddb-op-strip-item:nth-child(3) { animation-delay:1.6s; }
.rddb-animated .rddb-op-strip-item:nth-child(4) { animation-delay:1.7s; }
.rddb-animated .rddb-op-strip-item:nth-child(5) { animation-delay:1.8s; }
/* Tag inline */
.rddb-tag { font-style:normal; font-size:9px; color:#888; margin-left:3px; }
/* Sparkline wrapper */
.rddb-sparkline-wrap { margin-top:14px; padding-top:12px; border-top:1px solid rgba(255,255,255,0.06); }
.rddb-sparkline-lbl { font-size:10px; color:#999; letter-spacing:0.5px; margin-bottom:6px; }
.rddb-donut-leg-item strong { color: #e8e0d6; margin-left: 2px; }
/* Op list */
.rddb-op-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.rddb-op-list li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: rgba(255,255,255,0.03); border-radius: 8px; }
.rddb-op-icon { font-size: 18px; color: #c9a47a; flex-shrink: 0; }
.rddb-op-body { min-width: 0; }
.rddb-op-val { font-size: 13px; font-weight: 700; color: #e8e0d6; line-height: 1.2; }
.rddb-op-val span { font-size: 10px; font-weight: 400; color: #888; margin-left: 4px; }
.rddb-op-lbl { font-size: 10px; color: #999; margin-top: 1px; }
/* Footer */
/* Hover effects */
.rddb-kpi { transition: background 0.2s; cursor: default; }
.rddb-kpi:hover { background: rgba(255,255,255,0.04); }
.rddb-hbar-item { transition: opacity 0.2s; cursor: default; }
.rddb-hbar-item:hover { opacity: 0.85; }
.rddb-hbar-item:hover .rddb-hbar-fill { filter: brightness(1.15); }
.rddb-hbar-fill { transition: filter 0.2s; }
.rddb-op-list li { transition: background 0.2s; }
.rddb-op-list li:hover { background: rgba(255,255,255,0.06); }
/* Animated KPI counter on scroll */
.rddb-kpi-val[data-target] { }
@keyframes rddb-pulse { 0%,100%{opacity:1} 50%{opacity:0.6} }
.rddb-kpi.is-counting .rddb-kpi-val { animation: rddb-pulse 0.8s ease-in-out; }

.rddb-footer {
    padding: 14px 32px;
    font-size: 11px;
    color: #888;
    background: #141008;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.rddb-footer a { color: #c9a47a; text-decoration: none; font-weight: 600; }
.rddb-footer a:hover { color: #f0ece6; }
/* Responsive */
@media (max-width: 979px) {
    .rddb-kpi-strip { flex-wrap: wrap; }
    .rddb-kpi { flex: 0 0 33.33%; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .rddb-kpi-sep { display: none; }
    .rddb-two-col { grid-template-columns: 1fr; }
    .rddb-two-col > .rddb-panel:first-child { border-right:none; border-bottom:1px solid rgba(255,255,255,0.07); }
    .rddb-op-strip { flex-wrap: wrap; }
    .rddb-op-strip-item { flex: 0 0 33.33%; border-bottom:1px solid rgba(255,255,255,0.07); }
}
@media (max-width: 600px) {
    .rddb-kpi { flex: 0 0 50%; }
    .rddb-header { flex-direction: column; gap: 8px; align-items: flex-start; }
    .rddb-hbar-item { grid-template-columns: 70px 1fr 36px; }
    .rddb-op-strip-item { flex: 0 0 50%; }
    .rddb-donut-legend-row { gap: 14px; }
}

/* CTA rodapé */
.essay-callout { max-width: 880px; margin: 0 auto; padding: 44px; border: 1px solid rgba(140,97,68,0.22); border-radius: 12px; background: #f7f4f0; }
.essay-callout p { color: #444; font-size: 22px; line-height: 1.7; margin: 0; text-align: center; }
.essay-colophon { max-width: 680px; margin: 0 auto; padding: 60px 0 48px; text-align: center; }
.essay-colophon .colophon-question { font-size: clamp(18px,2.5vw,24px); line-height: 1.6; color: #d0d0d0; font-style: italic; margin: 0 0 28px; }
.essay-colophon .colophon-question em { font-style: normal; color: #f0ece6; }
.essay-colophon .colophon-sig { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #555; margin: 0 0 6px; }
.essay-colophon .colophon-link { font-size: 13px; color: #8c6144; text-decoration: none; letter-spacing: 0.5px; border-bottom: 1px solid rgba(140,97,68,0.3); padding-bottom: 1px; transition: color 0.2s, border-color 0.2s; }
.essay-colophon .colophon-link:hover { color: #c9a47a; border-bottom-color: rgba(201,164,122,0.5); }

/* TikTok embed */
.tiktok-embed-wrap { display: flex; justify-content: center; }
.tiktok-embed-wrap .tiktok-embed { border-radius: 12px; overflow: hidden; }

/* Fonte da análise */
.source-note { font-size: 13px; color: #888; font-style: italic; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; margin-top: 32px; line-height: 1.7; }
.light-section .source-note { color: #aaa; border-top-color: rgba(0,0,0,0.1); }

@media (max-width: 979px) {
    .essay-grid { grid-template-columns: 1fr; max-width: 760px; }
    .essay-copy { max-width: 760px; }
    .essay-figure { position: relative; top: auto; max-width: min(520px, 100%); order: 2; }
    .dark-section .essay-grid .essay-figure { order: 2; }
    .gloss-grid { grid-template-columns: 1fr; }
    .kpi-dashboard { grid-template-columns: repeat(2, 1fr); }
    .urban-mesh { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .essay-copy p { font-size: 16px; line-height: 1.78; }
    .essay-copy h2 { font-size: clamp(42px, 14vw, 76px); }
    .essay-callout { padding: 28px; }
    .essay-callout p { font-size: 18px; }
    .warning-box { padding: 20px 22px; }
    .kpi-dashboard { grid-template-columns: 1fr 1fr; }
    .urban-mesh { grid-template-columns: 1fr; }
    .last-mile-card { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }
