/* ==============================
   PÁGINA METODOLOGIA — v12
   ============================== */

body.metodologia-page {
    background: #ffffff;
    margin: 0;
    padding: 0;
    position: relative;
    min-height: 100vh;
}

body.metodologia-page .rb-main {
    background: transparent;
    max-width: 100%;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    min-height: 0;
}

/* ── Layout util ── */
.meto-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */

.meto-hero-zone {
    background: url('../img/fundo-bg.png') center top / cover no-repeat;
    padding: 32px 0 0;
}

.meto-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 46% 54%;
    gap: 0;
    align-items: center;
    min-height: 320px;
}

.meto-hero-left {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding-right: 32px;
    padding-bottom: 28px;
}

.meto-hero-right {
    position: relative;
    height: 320px;
}

.meto-hud-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 80%, transparent 100%);
    pointer-events: none;
}

.meto-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    background: rgba(38,69,132,.10);
    border: 1.5px solid rgba(38,69,132,.20);
    border-radius: 999px;
    padding: 6px 16px;
    margin-bottom: 18px;
}

@keyframes meto-dot-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94, 0.65); }
    70%  { box-shadow: 0 0 0 6px rgba(34,197,94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94, 0); }
}

.meto-hero-badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: meto-dot-pulse 2s ease-out infinite;
}

.meto-hero-badge-text {
    font-family: 'Sora', sans-serif;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #264584;
}

.meto-hero-left h1 {
    font-family: 'Sora', 'Roboto', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #101d4f;
    line-height: 1.18;
    margin: 0;
}

.meto-hero-desc {
    font-family: 'DM Sans', 'Roboto', sans-serif;
    font-size: 0.9375rem;
    color: #334488;
    line-height: 1.75;
    font-weight: 400;
    max-width: 480px;
}

/* ══════════════════════════════
   TÍTULOS COMPARTILHADOS
   ══════════════════════════════ */

.meto-section-block {
    padding: 64px 0;
}

.meto-section-heading {
    font-family: 'Sora', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #101d4f;
    line-height: 1.2;
    margin: 0 0 20px;
}

.meto-section-lead {
    font-size: 0.9375rem;
    color: #334488;
    line-height: 1.75;
    margin: 0 0 16px;
    max-width: 760px;
}

/* ══════════════════════════════
   1. POR QUE AVALIAR — PIRÂMIDE
   ══════════════════════════════ */

.meto-federalism-section {
    background: transparent;
    border-top: 1px solid rgba(38,69,132,.10);
}

.meto-federalism-intro {
    margin-bottom: 40px;
}

.meto-federalism-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* Conceito box */
.meto-concept-box {
    background: #f6f8ff;
    border: 1.5px solid rgba(38,69,132,.18);
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 6px 28px rgba(16,29,79,.07);
}

.meto-concept-term {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #264584;
    letter-spacing: -.01em;
    border-bottom: 2px solid rgba(38,69,132,.15);
    padding-bottom: 10px;
    margin-bottom: 14px;
}

.meto-concept-def {
    font-size: 0.875rem;
    color: #334488;
    line-height: 1.8;
    margin: 0;
}

/* Pirâmide */
.meto-pyramid-wrap {
    position: relative;
    width: 400px;
    height: 310px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.meto-pyramid-wrap.meto-py-animate {
    opacity: 1;
}

.meto-pyramid-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.meto-py-line {
    stroke: #264584;
    stroke-width: 2;
    stroke-opacity: 0.42;
    fill: none;
    animation: meto-dash-flow 2.4s linear infinite;
}

@keyframes meto-dash-flow {
    to { stroke-dashoffset: -20; }
}

/* Nós da pirâmide — glassmorphism */
.meto-py-node {
    position: absolute;
    transform: translate(-50%, -50%);
}

.meto-py-top   { left: 50%;    top: 17%; }
.meto-py-left  { left: 17%;    top: 80%; }
.meto-py-right { left: 83%;    top: 80%; }

.meto-py-node-inner {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(38,69,132,.22);
    border-radius: 14px;
    padding: 10px 16px 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 22px rgba(38,69,132,.14), 0 1px 4px rgba(38,69,132,.08);
    min-width: 106px;
    transition: transform .2s, box-shadow .2s;
    cursor: default;
}

.meto-py-node-inner:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(38,69,132,.22);
}

.meto-py-node-icon {
    width: 30px;
    height: 30px;
    background: rgba(38,69,132,.10);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #264584;
    flex-shrink: 0;
}

.meto-py-node-icon svg {
    width: 16px;
    height: 16px;
}

.meto-py-node-label {
    font-family: 'Sora', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #101d4f;
    letter-spacing: .01em;
    line-height: 1;
    white-space: nowrap;
}

.meto-py-node-count {
    font-size: 0.5625rem;
    font-weight: 700;
    color: #264584;
    background: rgba(38,69,132,.10);
    border: 1px solid rgba(38,69,132,.14);
    border-radius: 20px;
    padding: 2px 8px;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.meto-py-arrow { display: none; }

.meto-federalism-footer-text {
    margin-top: 32px;
    font-size: 0.875rem;
    color: #4a5a7a;
    line-height: 1.75;
    max-width: 820px;
}

/* ══════════════════════════════
   2. FOTOS — SCROLL STACK
   ══════════════════════════════ */

.meto-scroll-section {
    position: relative;
    background: transparent;
}

.meto-scroll-sticky {
    position: relative;
    display: grid;
    grid-template-columns: 58% 42%;
    align-items: center;
    background: transparent;
    overflow: hidden; /* clipa fotos fora de tela sem cortar a sombra da foto visivel */
    padding: 32px 0;
}

.meto-scroll-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 24px 40px 24px 0;
    margin-left: -10vw; /* aproxima o texto da foto sem alterar o tamanho dela */
}

.meto-scroll-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background: #101d4f;
    color: #fff;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.meto-scroll-quote {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    font-style: italic;
    color: rgba(38,69,132,.88);
    line-height: 1.65;
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.meto-scroll-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background: #264584;
    border-radius: 2px;
}

.meto-scroll-source {
    font-size: 0.71875rem;
    font-weight: 600;
    color: rgba(38,69,132,.50);
    margin: 0;
    padding-left: 20px;
}

.meto-scroll-photos {
    position: relative;
    height: 56vh;
    overflow: visible; /* sombra e cantos arredondados livres — clip feito pelo sticky pai */
    cursor: ns-resize;
}

.meto-scroll-photo {
    position: absolute;
    top: 6vh;
    bottom: 6vh;
    left: 14vw;
    right: 14vw;
    border-radius: 20px;
    overflow: hidden;
    transform: translateY(160%); /* 160% garante ocultacao total abaixo do sticky */
    will-change: transform;
    box-shadow: 0 12px 48px rgba(16,29,79,.22);
}

.meto-scroll-photo[data-photo="0"] { z-index: 1; }
.meto-scroll-photo[data-photo="1"] { z-index: 2; }
.meto-scroll-photo[data-photo="2"] { z-index: 3; }
.meto-scroll-photo[data-photo="3"] { z-index: 4; }

.meto-scroll-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ══════════════════════════════
   3. HISTÓRICO — TIMELINE
   ══════════════════════════════ */

.meto-timeline-section {
    background: transparent;
    border-top: 1.5px solid rgba(38,69,132,.12);
    padding: 64px 0;
}

.meto-timeline-section .meto-inner {
    margin-bottom: 40px;
}

.meto-timeline-scroll-outer {
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 40px 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(38,69,132,.25) transparent;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Linha de ponta a ponta — desenha no scroll-outer, nao no track */
/* Linha horizontal na BASE da timeline */
.meto-timeline-scroll-outer::before {
    content: '';
    position: absolute;
    top: auto;
    bottom: 46px;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(38,69,132,.20);
    pointer-events: none;
    z-index: 0;
}

.meto-timeline-scroll-outer::-webkit-scrollbar { height: 4px; }
.meto-timeline-scroll-outer::-webkit-scrollbar-track { background: transparent; }
.meto-timeline-scroll-outer::-webkit-scrollbar-thumb { background: rgba(38,69,132,.25); border-radius: 2px; }

.meto-timeline-track {
    display: flex;
    gap: 0;
    position: relative;
    align-items: stretch;
    padding-top: 0;
    padding-bottom: 70px;
    min-width: max-content;
}

.meto-timeline-line { display: none; }

.meto-tl-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    flex-shrink: 0;
    position: relative;
}

/* Card: topo — alinhado pelo topo em todos os eventos */
.meto-tl-card {
    order: 1;
    background: #f6f8ff;
    border: 1px solid rgba(38,69,132,.12);
    border-radius: 14px;
    padding: 18px 20px;
    margin: 0 12px;
    width: calc(100% - 24px);
    box-shadow: 0 2px 12px rgba(16,29,79,.06);
    transition: box-shadow .2s, transform .2s;
    flex-shrink: 0;
}

.meto-tl-card:hover {
    box-shadow: 0 6px 24px rgba(16,29,79,.12);
    transform: translateY(-2px);
}

/* Conector: espaço flexível entre card e dot */
.meto-tl-connector {
    order: 2;
    flex: 1;
    width: 2px;
    min-height: 18px;
    background: rgba(38,69,132,.25);
    flex-shrink: 0;
}

/* Dot navy circular na linha horizontal */
.meto-tl-year-bubble {
    order: 3;
    position: static;
    width: 56px;
    height: 56px;
    background: #264584;
    color: #ffffff;
    font-family: 'Sora', sans-serif;
    font-size: 0.8125rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 0 0 4px rgba(255,255,255,.18), 0 4px 16px rgba(16,29,79,.40);
    border: 2px solid rgba(255,255,255,.30);
    flex-shrink: 0;
}

.meto-tl-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #101d4f;
    margin-bottom: 8px;
}

.meto-tl-text {
    font-size: 0.78125rem;
    color: #334488;
    line-height: 1.7;
    margin: 0 0 10px;
}

.meto-tl-subitems {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(38,69,132,.20);
}

.meto-tl-subitem {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.71875rem;
    color: #4a5a7a;
    line-height: 1.5;
}

.meto-tl-sub-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #264584;
    flex-shrink: 0;
    margin-top: 5px;
}

/* ══════════════════════════════
   4. COMO AVALIAMOS — BALÕES
   ══════════════════════════════ */

.meto-howwe-section {
    background: transparent;
    border-top: 1px solid rgba(38,69,132,.10);
}

.meto-defs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.meto-def-card {
    background: #f6f8ff;
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border: 1.5px solid rgba(255,255,255,.90);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 6px 32px rgba(10,20,60,.10);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: box-shadow .2s, transform .2s;
}

.meto-def-card:hover {
    box-shadow: 0 10px 36px rgba(10,20,60,.15);
    transform: translateY(-3px);
}

.meto-def-icon {
    width: 52px;
    height: 52px;
    background: rgba(38,69,132,.10);
    border: 1.5px solid rgba(38,69,132,.18);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #264584;
    flex-shrink: 0;
    transition: background .2s, border-color .2s;
}

.meto-def-card:hover .meto-def-icon {
    background: rgba(38,69,132,.16);
    border-color: rgba(38,69,132,.28);
}

.meto-def-icon svg { width: 26px; height: 26px; }

.meto-def-icon--eixo     { background: rgba(38,69,132,.09);  color: #1a3468; }
.meto-def-icon--criterio { background: rgba(55,50,140,.09);  color: #2e2a8a; border-color: rgba(55,50,140,.18); }
.meto-def-icon--parametro{ background: rgba(16,60,110,.09);  color: #103c6e; border-color: rgba(16,60,110,.18); }
.meto-def-icon--componente{ background: rgba(38,80,160,.09); color: #264584; border-color: rgba(38,80,160,.18); }

.meto-def-label {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #101d4f;
    letter-spacing: -.01em;
}

.meto-def-text {
    font-size: 0.8125rem;
    color: #334488;
    line-height: 1.75;
    margin: 0;
}

/* ══════════════════════════════
   5. CRITÉRIOS POR EIXO
   ══════════════════════════════ */

.meto-criteria-section {
    background: transparent;
    border-top: 1px solid rgba(38,69,132,.08);
}

.meto-eixos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 36px;
}

.meto-eixo-card {
    background: #f6f8ff;
    border: 1.5px solid rgba(38,69,132,.12);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(16,29,79,.05);
    transition: box-shadow .2s;
}

.meto-eixo-card:hover {
    box-shadow: 0 6px 24px rgba(16,29,79,.10);
}

.meto-eixo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Sora', sans-serif;
    font-size: 0.875rem;
    font-weight: 800;
    color: #101d4f;
    letter-spacing: .03em;
    text-transform: uppercase;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(38,69,132,.12);
}

.meto-eixo-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.meto-eixo-desc {
    font-size: 0.8125rem;
    color: #4a5a7a;
    line-height: 1.7;
    margin: 0 0 16px;
}

.meto-criteria-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meto-criterion-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255,255,255,.70);
    border-radius: 8px;
    border: 1px solid rgba(38,69,132,.08);
}

.meto-criterion-name {
    font-size: 0.78125rem;
    font-weight: 600;
    color: #264584;
    flex: 1;
    line-height: 1.35;
}

.meto-nivel-pills {
    display: flex;
    gap: 3px;
    flex-shrink: 0;
}

.meto-pip {
    width: 24px;
    height: 24px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.meto-pip.pip-1 { background: #e06b6b; }
.meto-pip.pip-2 { background: #f09a50; }
.meto-pip.pip-3 { background: #e8c53a; color: #554400; }
.meto-pip.pip-4 { background: #72be79; }
.meto-pip.pip-5 { background: #1a4a35; }
.meto-scale-pip.pip-1 { background: #e06b6b; }
.meto-scale-pip.pip-2 { background: #f09a50; }
.meto-scale-pip.pip-3 { background: #e8c53a; color: #554400; }
.meto-scale-pip.pip-4 { background: #72be79; }
.meto-scale-pip.pip-5 { background: #1a4a35; }

/* Tooltip (i) no heading dos critérios */
.meto-info-tip {
    display: inline-flex;
    align-items: center;
    position: relative;
    margin-left: 8px;
    vertical-align: middle;
    cursor: default;
    color: #264584;
    opacity: .55;
    transition: opacity .18s;
}

.meto-info-tip:hover,
.meto-info-tip:focus {
    opacity: 1;
    outline: none;
}

.meto-tip-text {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(100% + 8px);
    background: #101d4f;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 400;
    font-family: 'DM Sans', sans-serif;
    line-height: 1.5;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 7px;
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
}

.meto-info-tip:hover .meto-tip-text,
.meto-info-tip:focus .meto-tip-text {
    display: block;
}

.meto-tip-text::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #101d4f;
}

/* Critério expansível */
.meto-criterion-row {
    cursor: pointer;
    transition: background .18s, border-color .18s;
}

.meto-criterion-row:hover {
    background: rgba(38,69,132,.07);
    border-color: rgba(38,69,132,.18);
}

.meto-criterion-row[aria-expanded="true"] {
    background: rgba(38,69,132,.06);
    border-color: rgba(38,69,132,.22);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.meto-cr-chevron {
    flex-shrink: 0;
    color: #264584;
    opacity: .6;
    transition: transform .22s ease;
}

.meto-criterion-row[aria-expanded="true"] .meto-cr-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.meto-criterion-detail {
    background: rgba(38,69,132,.04);
    border: 1px solid rgba(38,69,132,.14);
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 12px 14px;
    margin-bottom: 4px;
}

.meto-cr-def {
    font-size: 0.8rem;
    color: #2a3a6a;
    line-height: 1.6;
    margin: 0 0 10px;
}

.meto-cr-params {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meto-cr-params li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.78rem;
    color: #1a3070;
    line-height: 1.5;
}

.meto-criteria-hint {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.82rem;
    color: #4a5a80;
    margin-top: -8px;
}

/* Fator de relevância / pesos */
.meto-weights-box {
    background: rgba(38,69,132,.04);
    border: 1.5px solid rgba(38,69,132,.12);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.meto-weights-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #101d4f;
    margin: 0 0 6px;
}

.meto-weights-desc {
    font-size: 0.87rem;
    color: #4a5a80;
    margin: 0 0 18px;
    line-height: 1.6;
}

.meto-weights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.meto-weight-item {
    border-radius: 10px;
    padding: 16px;
    border: 1.5px solid transparent;
}

.meto-weight-item--3 {
    background: rgba(38,69,132,.08);
    border-color: rgba(38,69,132,.20);
}

.meto-weight-item--2 {
    background: rgba(38,69,132,.05);
    border-color: rgba(38,69,132,.13);
}

.meto-weight-item--1 {
    background: rgba(38,69,132,.03);
    border-color: rgba(38,69,132,.09);
}

.meto-weight-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #264584;
    background: rgba(38,69,132,.12);
    border-radius: 999px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.meto-weight-item p {
    font-size: 0.82rem;
    color: #1a3070;
    line-height: 1.6;
    margin: 0 0 6px;
}

.meto-weight-ex {
    color: #4a5a80 !important;
    font-size: 0.76rem !important;
}

@media (max-width: 768px) {
    .meto-weights-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════
   6. O QUE AVALIAMOS
   ══════════════════════════════ */

.meto-scope-section {
    background: transparent;
    border-top: 1px solid rgba(38,69,132,.10);
}

.meto-scope-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 52px;
    align-items: start;
}

.meto-scope-text-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meto-scope-body {
    font-size: 0.9375rem;
    color: #334488;
    line-height: 1.78;
    margin: 0;
}


/* Timeline mini */
.meto-scope-timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    padding: 16px 20px;
    background: #f6f8ff;
    border-radius: 12px;
    border: 1px solid rgba(38,69,132,.12);
}

.meto-scope-tl-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.meto-scope-tl-year {
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    color: #101d4f;
    line-height: 1;
}

.meto-scope-tl-year.meto-scope-tl-future {
    color: #7a8a9a;
}

.meto-scope-tl-desc {
    font-size: 0.71875rem;
    color: #4a5a7a;
    line-height: 1.4;
}

.meto-scope-tl-arrow {
    font-size: 1.25rem;
    color: #264584;
    opacity: 0.5;
    flex-shrink: 0;
}

.meto-scope-note {
    font-size: 0.75rem;
    color: #7a8a9a;
    font-style: italic;
    margin: 0;
}

/* ── Nota Metodológica — dentro da coluna de texto ── */
.meto-nota-block {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin-top: 24px;
}
.meto-nota-cover-link {
    flex-shrink: 0;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 20px rgba(38,69,132,.12);
    transition: box-shadow .18s, transform .18s;
}
.meto-nota-cover-link:hover {
    box-shadow: 0 10px 32px rgba(38,69,132,.22);
    transform: translateY(-3px);
}
.meto-nota-thumb {
    width: 200px;
    height: 283px;
    background: #e8eff8;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.meto-nota-iframe-clip {
    position: absolute;
    top: 0; left: 0;
    width: 200px;
    height: 283px;
    overflow: hidden;
    pointer-events: none;
}
.meto-nota-iframe {
    width: 595px;
    height: 842px;
    transform: scale(0.3361);
    transform-origin: top left;
    border: none;
    pointer-events: none;
}
.meto-nota-text-side {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 8px;
}
.meto-nota-chip {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #264584;
    background: rgba(38,69,132,.08);
    border-radius: 4px;
    padding: 2px 6px;
    align-self: flex-start;
}
.meto-nota-body-text {
    font-size: 0.94rem;
    line-height: 1.75;
    color: #2a3a6a;
    margin: 0;
}
.meto-nota-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #264584;
    text-decoration: none;
    letter-spacing: .02em;
    transition: color .15s;
}
.meto-nota-cta-btn:hover {
    color: #101d4f;
}

/* Stats sidebar */
.meto-scope-stats-col {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Scale card (reutilizados do legacy) */
.meto-scale-card {
    background: rgba(255,255,255,.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255,255,255,.88);
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(10,20,60,.11), 0 1px 4px rgba(10,20,60,.06);
    padding: 20px;
}

.meto-scale-title {
    font-family: 'Sora', sans-serif;
    font-size: 0.59375rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #101d4f;
    margin-bottom: 16px;
}

.meto-scale-row {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
    position: relative;
    padding-bottom: 14px;
}

.meto-scale-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(to right, #e06b6b, #f09a50, #e8c53a, #72be79, #1a4a35);
}

.meto-scale-pip {
    flex: 1;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
}

.meto-scale-legend {
    display: flex;
    justify-content: space-between;
    font-size: 0.5625rem;
    color: #8a9ab0;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.meto-scale-note {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(16,29,79,.07);
}

.meto-scale-note-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.6875rem;
    color: #334488;
    line-height: 1.55;
    padding: 6px 0;
}

.meto-scale-note-item + .meto-scale-note-item {
    border-top: 1px dashed rgba(16,29,79,.06);
}

.meto-scale-note-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    font-family: 'DM Mono', monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Stat pills */
.meto-stat-pill {
    background: #f6f8ff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255,255,255,.88);
    border-radius: 14px;
    box-shadow: 0 6px 32px rgba(10,20,60,.11), 0 1px 4px rgba(10,20,60,.06);
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform .18s, box-shadow .18s;
}

.meto-stat-pill:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 28px rgba(10,20,60,.14);
}

.meto-stat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(16,29,79,.10);
    border: 1px solid rgba(16,29,79,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #101d4f;
}

.meto-stat-val {
    font-family: 'Sora', sans-serif;
    font-size: 1.625rem;
    font-weight: 800;
    color: #101d4f;
    line-height: 1;
}

.meto-stat-desc {
    font-size: 0.6875rem;
    color: #4a5a7a;
    margin-top: 4px;
    font-weight: 500;
    line-height: 1.45;
}

/* ══════════════════════════════
   RESPONSIVO
   ══════════════════════════════ */

@media (max-width: 1080px) {
    .meto-defs-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .meto-inner { padding: 0 20px; }

    .meto-hero-inner { grid-template-columns: 1fr; padding: 0 20px; }
    /* Mapa HUD animado vira fundo do titulo/subtitulo (em vez de sumir) */
    .meto-hero-inner { position: relative; overflow: hidden; }
    .meto-hero-left { position: relative; z-index: 1; }
    .meto-hero-right {
        position: absolute;
        inset: 0;
        height: auto;
        z-index: 0;
        opacity: .4;
        pointer-events: none;
    }
    .meto-hero-left h1 { font-size: 1.5rem; }

    .meto-federalism-body { grid-template-columns: 1fr; }
    .meto-pyramid-wrap { display: none; }

    /* Scroll stack: layout estático em <=900px (JS não anima) */
    .meto-scroll-section { height: auto; }
    .meto-scroll-sticky { position: static; height: auto; grid-template-columns: 1fr; overflow: visible; padding: 0; }
    .meto-scroll-text { padding: 20px 24px 28px; margin-left: 0; }
    .meto-scroll-photos { height: 240px; }
    /* oculta todas as fotos; mostra apenas a primeira */
    .meto-scroll-photo { top: 0; bottom: 0; left: 16px; right: 16px; border-radius: 16px; box-shadow: 0 6px 24px rgba(16,29,79,.14); display: none; }
    .meto-scroll-photo[data-photo="0"] { display: block; transform: none; }

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

    .meto-scope-grid { grid-template-columns: 1fr; }
    .meto-scope-stats-col { position: static; }

    .meto-nota-block { flex-direction: column; align-items: center; gap: 20px; }
    .meto-nota-thumb { width: 180px; height: 255px; }
    .meto-nota-iframe-clip { width: 180px; height: 255px; }
    .meto-nota-iframe { transform: scale(0.3025); }

    /* Timeline: flex-start evita o bug de corte no lado esquerdo em overflow-x: auto + justify: center */
    .meto-timeline-scroll-outer {
        padding: 0 16px 16px;
        justify-content: flex-start;
    }

    .meto-defs-grid { grid-template-columns: 1fr; }
    .meto-section-block { padding: 40px 0; }
    .meto-section-heading { font-size: 1.375rem; }
}

@media (max-width: 600px) {
    .meto-criterion-row { flex-direction: column; align-items: flex-start; gap: 6px; }
    .meto-nivel-pills { width: 100%; gap: 5px; }
    .meto-nivel-pills .meto-pip { flex: 1; width: auto; min-width: 0; height: 32px; font-size: 0.75rem; border-radius: 8px; }

    /* Timeline: foto 3 — ano grande à esquerda, conector tracejado, linha vertical */
    .meto-timeline-scroll-outer {
        overflow-x: visible;
        overflow-y: visible;
        padding: 8px 16px 24px;
    }
    .meto-timeline-scroll-outer::before { display: none; }

    .meto-timeline-track {
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
        padding: 0;
        gap: 0;
        position: relative;
    }

    /* Linha vertical tracejada — conecta os eventos pela esquerda */
    .meto-timeline-track::after {
        content: '';
        position: absolute;
        left: 65px; /* borda direita da coluna do ano */
        top: 20px;
        bottom: 20px;
        width: 1.5px;
        background: repeating-linear-gradient(
            to bottom,
            rgba(38,69,132,.30) 0px,
            rgba(38,69,132,.30) 5px,
            transparent 5px,
            transparent 10px
        );
        pointer-events: none;
    }

    .meto-tl-event {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
        padding: 12px 0;
        position: relative;
    }

    /* Ano: texto grande proeminente à esquerda */
    .meto-tl-year-bubble {
        order: 1;
        width: 66px;
        min-width: 66px;
        height: auto;
        border-radius: 4px;
        background: #fff; /* cobre a linha tracejada atrás do texto */
        box-shadow: none;
        color: #264584;
        font-size: 1.25rem;
        font-weight: 800;
        font-family: 'Sora', sans-serif;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-shrink: 0;
        align-self: flex-start;
        padding: 2px 0;
        position: relative;
        z-index: 1;
        line-height: 1.3;
    }

    /* Conector: dot + linha tracejada horizontal */
    .meto-tl-connector {
        display: flex;
        order: 2;
        width: 28px;
        min-width: 28px;
        flex-shrink: 0;
        align-self: flex-start;
        margin-top: 9px;
        background: transparent;
        position: relative;
        height: 2px;
    }

    .meto-tl-connector::before {
        content: '';
        position: absolute;
        left: -5px;
        top: -4px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #264584;
        z-index: 2;
    }

    .meto-tl-connector::after {
        content: '';
        position: absolute;
        left: 5px;
        right: -2px;
        top: 0;
        border-top: 2px dashed rgba(38,69,132,.45);
    }

    .meto-tl-card {
        order: 3;
        flex: 1;
        margin: 0;
        width: auto;
    }
}

/* ══════════════════════════════
   7. METODOLOGIA DE CÁLCULO
   ══════════════════════════════ */

.meto-calc-section {
    background: transparent;
    border-top: 1px solid rgba(38,69,132,.10);
}

.meto-calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
}

.meto-calc-card {
    background: #f6f8ff;
    border: 1.5px solid rgba(38,69,132,.12);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 3px 16px rgba(16,29,79,.07);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meto-calc-card--country {
    background: linear-gradient(145deg, #101d4f 0%, #264584 100%);
    border-color: transparent;
}

.meto-calc-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.meto-calc-step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #264584;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 1.125rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meto-calc-step--country {
    background: #f5c400;
    color: #101d4f;
}

.meto-calc-title {
    font-family: 'Sora', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #101d4f;
}

.meto-calc-card--country .meto-calc-title { color: #fff; }

.meto-calc-subtitle {
    font-size: 0.71875rem;
    color: #7a8a9a;
    margin-top: 2px;
}

.meto-calc-card--country .meto-calc-subtitle { color: rgba(255,255,255,.60); }

.meto-calc-formula {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(38,69,132,.06);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: 'DM Mono', 'Courier New', monospace;
    flex-wrap: wrap;
}

.meto-calc-formula math {
    font-size: 1.05rem;
    color: #264584;
}

.meto-calc-card--country .meto-calc-formula math {
    color: rgba(255,255,255,0.92);
}

.meto-calc-card--country .meto-calc-formula { background: rgba(255,255,255,.10); }

.meto-calc-lhs {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #264584;
    white-space: nowrap;
}

.meto-calc-card--country .meto-calc-lhs { color: #f5c400; }

.meto-calc-eq {
    font-size: 1.125rem;
    color: #7a8a9a;
}

.meto-calc-card--country .meto-calc-eq { color: rgba(255,255,255,.55); }

.meto-calc-frac {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.meto-calc-num {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #264584;
    border-bottom: 1.5px solid rgba(38,69,132,.35);
    padding-bottom: 3px;
    white-space: nowrap;
    text-align: center;
}

.meto-calc-den {
    font-size: 0.6875rem;
    color: #264584;
    padding-top: 3px;
    white-space: nowrap;
    text-align: center;
}

.meto-calc-card--country .meto-calc-num,
.meto-calc-card--country .meto-calc-den {
    color: rgba(255,255,255,.80);
    border-bottom-color: rgba(255,255,255,.25);
}

.meto-calc-desc {
    font-size: 0.78125rem;
    color: #334488;
    line-height: 1.75;
    margin: 0;
}

.meto-calc-card--country .meto-calc-desc { color: rgba(255,255,255,.78); }

.meto-calc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.6875rem;
}

.meto-calc-table th {
    background: rgba(38,69,132,.07);
    color: #264584;
    font-weight: 700;
    padding: 7px 10px;
    text-align: left;
    font-size: 0.59375rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.meto-calc-card--country .meto-calc-table th {
    background: rgba(255,255,255,.10);
    color: rgba(255,255,255,.65);
}

.meto-calc-table td {
    padding: 7px 10px;
    color: #334488;
    border-bottom: 1px solid rgba(38,69,132,.07);
    vertical-align: middle;
}

.meto-calc-card--country .meto-calc-table td {
    color: rgba(255,255,255,.80);
    border-bottom-color: rgba(255,255,255,.08);
}

.meto-calc-table tr.meto-calc-total td {
    background: rgba(38,69,132,.06);
    color: #101d4f;
    font-weight: 700;
    border-bottom: none;
    border-top: 1.5px solid rgba(38,69,132,.15);
}

.meto-calc-card--country .meto-calc-table tr.meto-calc-total td {
    background: rgba(245,196,0,.15);
    color: #f5c400;
    border-top-color: rgba(245,196,0,.25);
}

.meto-calc-legend {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-top: 1px solid rgba(38,69,132,.10);
    padding-top: 12px;
    font-size: 0.6875rem;
    line-height: 1.5;
}

.meto-calc-legend li {
    color: #5a6a8a;
}

.meto-calc-legend li strong {
    font-family: 'DM Mono', 'Courier New', monospace;
    font-weight: 600;
    color: #264584;
    margin-right: 3px;
}

.meto-calc-card--country .meto-calc-legend {
    border-top-color: rgba(255,255,255,.15);
}

.meto-calc-card--country .meto-calc-legend li {
    color: rgba(255,255,255,.60);
}

.meto-calc-card--country .meto-calc-legend li strong {
    color: rgba(255,255,255,.85);
}

@media (max-width: 900px) {
    .meto-calc-grid { grid-template-columns: 1fr; }
    .meto-calc-card { padding: 22px 18px; }
}

