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

 :root {
     --azul-escuro: #0f2a4a;
     --azul: #2e6db4;
     --azul-claro: #e8f0fb;
     --branco: #ffffff;
     --borda: #c5d5e8;
     --cinza: #6b85a3;
     --bege: #ede9e1;
 }

 html {
     scroll-behavior: smooth;
 }

 body {
     font-family: "Roboto", sans-serif;
     background: #f0f4f9;
     min-height: 100vh;
 }

 header {
     background: var(--branco);
     border-bottom: 1px solid var(--borda);
     position: sticky;
     top: 0;
     z-index: 100;
 }

 .navr {
     max-width: 1100px;
     margin: 0 auto;
     padding: 0 2rem;
     display: flex;
     align-items: center;
     justify-content: space-between;
     height: 60px;
 }

 .logo {
     font-family: "Roboto", sans-serif;
     font-weight: 700;
     font-size: 1.05rem;
     letter-spacing: 0.07em;
     text-transform: uppercase;
     color: var(--azul-escuro);
     text-decoration: none;
 }

 .logo span {
     color: var(--azul);
 }

 nav {
     display: flex;
 }

 .navl {
     position: relative;
 }

 .navl>a {
     display: flex;
     align-items: center;
     gap: 0.28rem;
     padding: 0 0.95rem;
     height: 60px;
     font-size: 0.75rem;
     font-weight: 400;
     letter-spacing: 0.07em;
     text-transform: uppercase;
     color: var(--azul-escuro);
     text-decoration: none;
     white-space: nowrap;
     position: relative;
 }

 .chevron {
     transition: transform 0.2s;
     color: var(--cinza);
 }

 .navl:hover>a {
     color: var(--azul);
 }

 .navl:hover>a .chevron {
     transform: rotate(180deg);
     color: var(--azul);
 }

 .navl>a::after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0.95rem;
     right: 0.95rem;
     height: 2px;
     background: var(--azul);
     transform: scaleX(0);
     transition: transform 0.18s;
 }

 .navl:hover>a::after {
     transform: scaleX(1);
 }

 .dropdown {
     position: absolute;
     top: calc(100% + 1px);
     left: 50%;
     transform: translateX(-50%) translateY(4px);
     background: var(--branco);
     border: 1px solid var(--borda);
     border-top: 2px solid var(--azul);
     min-width: 248px;
     box-shadow: 0 6px 20px rgba(15, 42, 74, 0.09);
     opacity: 0;
     pointer-events: none;
     transition: opacity 0.16s, transform 0.16s;
 }

 .navl:hover .dropdown {
     opacity: 1;
     pointer-events: all;
     transform: translateX(-50%) translateY(0);
 }

 .dropdownl {
     padding: 0.8rem 1.1rem 0.65rem;
     border-bottom: 1px solid var(--borda);
 }

 .dropdownl .label {
     font-size: 0.6rem;
     letter-spacing: 0.16em;
     text-transform: uppercase;
     color: var(--azul);
         font-family: 'Roboto';
 }

 .dropdown-links {
     padding: 0.35rem 0;
 }

 .dropdown-links a {
     display: flex;
     align-items: center;
     gap: 0.65rem;
     padding: 0.52rem 1.1rem;
     text-decoration: none;
 }

 .dropdown-links a:hover {
     background: var(--azul-claro);
 }

 .dropdown-links a:hover .li {
     color: var(--azul);
 }

 .li {
     color: var(--cinza);
     flex-shrink: 0;
     display: block;
     transition: color 0.15s;
 }

 .link-text strong {
     display: block;
     font-size: 0.82rem;
     font-weight: 500;
     color: var(--azul-escuro);
 }

 .link-text span {
     font-size: 0.72rem;
     color: var(--cinza);
     font-weight: 300;
 }

 .dropdownf {
     border-top: 1px solid var(--borda);
     padding: 0.5rem 1.1rem;
 }

 .dropdownf a {
     font-size: 0.65rem;
     letter-spacing: 0.08em;
     text-transform: uppercase;
     color: var(--azul);
     text-decoration: none;
 }

 .dropdownf a:hover {
     color: var(--azul-escuro);
 }

 /* ═══ HERO ═══ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 860px;
    background-image: url(/CIDADANIA/img/1024.jpg);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d2540 0%, #1a4880 60%, #2e6db4 100%);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(8, 18, 32, 0.0) 0%,
            rgba(8, 18, 32, 0.2) 40%,
            rgba(8, 18, 32, 0.82) 100%);
    z-index: 1;
}

.hero-texto {
    position: relative;
    z-index: 2;
    padding: 0 5vw 5.5rem;
    max-width: 820px;
}

.hero-kicker {
    font-family: "Roboto", sans-serif;
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #7ab3e0;
    margin-bottom: 1rem;
}

.hero-titulo {
    font-family: 'Roboto';
    font-size: clamp(2.8rem, 7vw, 5.8rem);
    font-weight: 700;
    line-height: 0.93;
    color: #fff;
    text-transform: uppercase;
}

.hero-titulo .azul {
    color: #4a90e2;
}

.hero-desc {
    margin-top: 1.5rem;
    font-family: "Roboto", sans-serif;
    font-size: 0.97rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.72);

}

 .hs {
     text-align: center;
 }

 .hs-n {
     font-family: "Roboto", sans-serif;
     font-size: 2rem;
     color: #fff;
     line-height: 1;
 }

 .hs-l {
     font-size: 0.58rem;
     letter-spacing: 0.12em;
     text-transform: uppercase;
     color: rgba(255, 255, 255, 0.45);
     margin-top: 0.3rem;
 }

 .index-bar {
     background: var(--azul-escuro);
     display: flex;
     overflow-x: auto;
 }

 .index-bar a {
     display: flex;
     align-items: center;
     gap: 0.5rem;
     padding: 0 2rem;
     height: 48px;
     font-size: 0.65rem;
     font-weight: 400;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     color: rgba(255, 255, 255, 0.5);
     text-decoration: none;
     white-space: nowrap;
     border-right: 1px solid rgba(255, 255, 255, 0.07);
     transition: color 0.18s, background 0.18s;
 }

 .index-bar a:hover {
     color: #fff;
     background: rgba(46, 109, 180, 0.2);
 }

 .index-bar a .idx {
     font-family: "Roboto", sans-serif;
     font-size: 0.7rem;
     color: rgba(255, 255, 255, 0.2);
     margin-right: 0.15rem;
 }

 .magazine {
     background: var(--branco);
     padding: 5rem 5vw;
 }

 .magazine-header {
     display: flex;
     align-items: baseline;
     gap: 1.5rem;
     margin-bottom: 3.5rem;
     border-bottom: 1px solid var(--borda);
     padding-bottom: 1rem;
 }

 .magazine-header .sec-num {
     font-family: "Roboto", sans-serif;
     font-size: 0.7rem;
     color: var(--cinza);
 }

 .magazine-header h2 {
     font-family: "Roboto", sans-serif;
     font-size: 1.4rem;
     color: var(--azul-escuro);
 }

 .magazine-header .kicker {
     margin-left: auto;
     font-size: 0.6rem;
     letter-spacing: 0.18em;
     text-transform: uppercase;
     color: #c0392b;
 }

 .mag-grid {
     display: grid;
     grid-template-columns: 1.2fr 1px 1fr 1px 1fr;
     gap: 0 3rem;
 }

 .mag-sep {
     background: var(--borda);
 }

 .mag-foto {
     width: 100%;
     aspect-ratio: 3/2;
     overflow: hidden;
     margin-bottom: 1.5rem;
 }

 .mag-foto img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
     transition: transform 0.6s;
 }

 .mag-foto:hover img {
     transform: scale(1.04);
 }

 .mag-lead {
     font-family: "Roboto", sans-serif;
     font-size: 1.15rem;
     color: var(--azul-escuro);
     line-height: 1.4;
     margin-bottom: 1.2rem;
 }

 .mag-corpo {
     font-size: 0.88rem;
     line-height: 1.85;
     color: #3a5570;
     font-weight: 300;
 }

 .mag-side-titulo {
     font-family: "Roboto", sans-serif;
     font-size: 1rem;
     color: var(--azul-escuro);
     margin-bottom: 0.9rem;
 }

 .mag-side-corpo {
     font-size: 0.84rem;
     line-height: 1.8;
     color: #4a6580;
     font-weight: 300;
     margin-bottom: 1.5rem;
 }

 .mag-quote {
     border-top: 2px solid var(--azul);
     padding-top: 1rem;
     margin-top: 1.5rem;
 }

 .mag-quote p {
     font-family: "Roboto", sans-serif;
     font-style: italic;
     font-size: 0.95rem;
     color: var(--azul-escuro);
     line-height: 1.55;
 }

 .mag-quote cite {
     display: block;
     font-size: 0.65rem;
     letter-spacing: 0.1em;
     text-transform: uppercase;
     color: var(--cinza);
     margin-top: 0.7rem;
     font-style: normal;
 }

 .mag-ficha {
     background: var(--azul-claro);
     padding: 1.4rem;
 }

 .mag-ficha-titulo {
     font-size: 0.6rem;
     letter-spacing: 0.16em;
     text-transform: uppercase;
     color: var(--azul);
     margin-bottom: 1rem;
 }

 .mag-ficha-row {
     display: flex;
     justify-content: space-between;
     padding: 0.5rem 0;
     border-bottom: 1px solid var(--borda);
     font-size: 0.82rem;
 }

 .mag-ficha-row:last-child {
     border-bottom: none;
 }

 .mag-ficha-row span:first-child {
     color: var(--cinza);
     font-weight: 300;
 }

 .mag-ficha-row span:last-child {
     color: var(--azul-escuro);
     font-weight: 500;
 }

 .funcoes-secao {
     background: var(--bege);
     padding: 5rem 5vw;
 }

 .sec-header {
     display: flex;
     justify-content: space-between;
     align-items: flex-end;
     margin-bottom: 2.5rem;
 }

 .sec-header-esq .kicker {
     font-size: 0.58rem;
     letter-spacing: 0.2em;
     text-transform: uppercase;
     color: #c0392b;
     margin-bottom: 0.6rem;
 }

 .sec-header-esq h2 {
     font-family: "Roboto", sans-serif;
     font-size: clamp(1.4rem, 2.5vw, 2rem);
     color: var(--azul-escuro);
     line-height: 1.1;
 }

 .sec-header-dir {
     font-size: 0.82rem;
     color: var(--cinza);
     font-weight: 300;
     max-width: 340px;
     text-align: right;
     line-height: 1.7;
 }

 .funcoes-row {
     display: grid;
     grid-template-columns: repeat(4, 1fr);
     gap: 1.5rem;
 }

 .funcao-card {
     background: var(--branco);
     padding: 0;
     overflow: hidden;
     border-bottom: 3px solid transparent;
     transition: border-color 0.2s;
 }

 .funcao-card:hover {
     border-color: var(--azul);
 }

 .funcao-card-top {
     background: var(--azul-escuro);
     padding: 1.8rem 1.6rem 1.4rem;
     display: flex;
     justify-content: space-between;
     align-items: flex-start;
 }

 .funcao-card-top svg {
     width: 28px;
     height: 28px;
     color: #4a90e2;
 }

 .funcao-n {
     font-family: "Roboto", sans-serif;
     font-size: 2rem;
     color: #4a90e2;
     line-height: 1;
 }

 .funcao-card-body {
     padding: 1.4rem 1.6rem 1.6rem;
 }

 .funcao-card-titulo {
     font-family: "Roboto", sans-serif;
     font-size: 1.05rem;
     color: var(--azul-escuro);
     margin-bottom: 0.6rem;
 }

 .funcao-card-desc {
     font-size: 0.82rem;
     line-height: 1.75;
     color: #4a6580;
     font-weight: 300;
 }

 .composicao-secao {
     background: var(--azul-escuro);
     padding: 5rem 5vw;
 }

 .composicao-topo {
     display: grid;
     grid-template-columns: 1fr 2fr;
     gap: 5rem;
     margin-bottom: 3.5rem;
     align-items: end;
 }

 .composicao-topo h2 {
     font-family: "Roboto", sans-serif;
     font-size: clamp(1.6rem, 3vw, 2.4rem);
     color: #fff;
     line-height: 1.1;
 }

 .composicao-topo .kicker {
     font-size: 0.58rem;
     letter-spacing: 0.2em;
     text-transform: uppercase;
     color: #4a90e2;
     margin-bottom: 0.8rem;
 }

 .composicao-topo p {
     font-size: 0.88rem;
     color: #7a9cc0;
     font-weight: 300;
     line-height: 1.8;
 }

 .barra-titulo {
     font-size: 0.58rem;
     letter-spacing: 0.14em;
     text-transform: uppercase;
     color: rgba(255, 255, 255, 0.3);
     margin-bottom: 0.6rem;
 }

 .barra {
     display: flex;
     height: 52px;
     margin-bottom: 2.5rem;
 }

 .b {
     display: flex;
     align-items: center;
     justify-content: center;
     transition: filter 0.2s;
     cursor: default;
     position: relative;
 }

 .b:hover {
     filter: brightness(1.2);
 }

 .b:hover .b-tooltip {
     opacity: 1;
     transform: translateY(-8px);
 }

 .b-tooltip {
     position: absolute;
     bottom: 100%;
     left: 50%;
     transform: translateX(-50%) translateY(0px);
     background: rgba(5, 15, 28, 0.92);
     color: #fff;
     font-size: 0.7rem;
     padding: 0.3rem 0.6rem;
     white-space: nowrap;
     pointer-events: none;
     opacity: 0;
     transition: opacity 0.15s, transform 0.15s;
     margin-bottom: 6px;
 }

 .b span {
     font-size: 0.62rem;
     font-weight: 500;
     color: #fff;
     letter-spacing: 0.03em;
     white-space: nowrap;
     overflow: hidden;
 }

 .b-ad {
     flex: 80;
     background: #2a75c7;
 }

 .b-ps {
     flex: 78;
     background: #e8234a;
 }

 .b-ch {
     flex: 50;
     background: #374955;
 }

 .b-il {
     flex: 8;
     background: #00bcd4;
 }

 .b-be {
     flex: 5;
     background: #9c27b0;
 }

 .b-pcp {
     flex: 4;
     background: #e65722;
 }

 .b-l {
     flex: 1;
     background: #00897b;
 }

 .b-pan {
     flex: 1;
     background: #546e7a;
 }

 .b-out {
     flex: 3;
     background: #607d8b;
 }

 .partidos-tabela {
     width: 100%;
     border-collapse: collapse;
 }

 .partidos-tabela th {
     text-align: left;
     font-size: 0.58rem;
     letter-spacing: 0.14em;
     text-transform: uppercase;
     color: rgba(255, 255, 255, 0.3);
     padding: 0 1rem 0.8rem;
     border-bottom: 1px solid rgba(255, 255, 255, 0.08);
 }

 .partidos-tabela th:last-child {
     text-align: right;
 }

 .partidos-tabela td {
     padding: 0.85rem 1rem;
     border-bottom: 1px solid rgba(255, 255, 255, 0.05);
     font-size: 0.84rem;
 }

 .partidos-tabela tr:hover td {
     background: rgba(46, 109, 180, 0.07);
 }

 .partido-cel-cor {
     display: flex;
     align-items: center;
     gap: 0.8rem;
 }

 .p-cor {
     width: 3px;
     height: 28px;
     border-radius: 2px;
     flex-shrink: 0;
 }

 .p-sigla {
     font-family: "Roboto", sans-serif;
     font-size: 0.95rem;
     color: #fff;
 }

 .p-nome {
     font-size: 0.75rem;
     color: rgba(255, 255, 255, 0.4);
     font-weight: 300;
 }

 .p-seats {
     font-family: "Roboto", sans-serif;
     font-size: 1.3rem;
     color: #fff;
     text-align: right;
 }

 .p-pct {
     font-size: 0.72rem;
     color: rgba(255, 255, 255, 0.35);
     text-align: right;
 }

 .p-barra-cel {
     padding-right: 1rem;
 }

 .p-mini-barra {
     height: 4px;
     background: rgba(255, 255, 255, 0.08);
     border-radius: 2px;
     overflow: hidden;
     width: 120px;
 }

 .p-mini-fill {
     height: 100%;
     border-radius: 2px;
 }

 .grafico-secao {
     background: var(--bege);
     padding: 5rem 5vw;
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 6rem;
     align-items: center;
 }

 .grafico-esq .kicker {
     font-size: 0.58rem;
     letter-spacing: 0.2em;
     text-transform: uppercase;
     color: #c0392b;
     margin-bottom: 0.8rem;
 }

 .grafico-esq h2 {
     font-family: "Roboto", sans-serif;
     font-size: clamp(1.4rem, 2.5vw, 2rem);
     color: var(--azul-escuro);
     line-height: 1.15;
     margin-bottom: 1.2rem;
 }

 .grafico-esq p {
     font-size: 0.88rem;
     color: #4a6580;
     font-weight: 300;
     line-height: 1.8;
 }

 #rodape {
     background: var(--azul-escuro);
     border-top: 3px solid var(--azul);
     color: #b8d0e8;
 }

 .rod-corpo {
     max-width: 1100px;
     margin: 0 auto;
     padding: 52px 40px 32px;
     display: grid;
     grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
     gap: 48px;
 }

 .rod-marca .rod-logo {
     font-family: "Roboto", sans-serif;
     font-size: 1.15rem;
     font-weight: 700;
     letter-spacing: 0.08em;
     text-transform: uppercase;
     color: var(--branco);
     text-decoration: none;
     display: inline-block;
     margin-bottom: 14px;
 }

 .rod-marca .rod-logo span {
     color: var(--azul);
 }

 .rod-marca p {
     font-size: 0.86rem;
     line-height: 1.75;
     opacity: 0.75;
     max-width: 240px;
     font-weight: 300;
 }

 .rod-redes {
     display: flex;
     gap: 10px;
     margin-top: 20px;
 }

 .rod-redes a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 36px;
     height: 36px;
     border-radius: 50%;
     border: 1px solid rgba(46, 109, 180, 0.35);
     background: rgba(46, 109, 180, 0.1);
     color: #a8c8e8;
     transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.18s;
 }

 .rod-redes a:hover {
     background: var(--azul);
     border-color: var(--azul);
     color: var(--branco);
     transform: translateY(-3px);
 }

 .rod-col h4 {
     font-size: 0.65rem;
     font-weight: 500;
     letter-spacing: 0.16em;
     text-transform: uppercase;
     color: var(--branco);
     margin-bottom: 16px;
     padding-bottom: 10px;
     border-bottom: 1px solid rgba(46, 109, 180, 0.25);
 }

 .rod-col ul {
     list-style: none;
 }

 .rod-col ul li {
     margin-bottom: 9px;
 }

 .rod-col ul li a {
     font-size: 0.84rem;
     color: #a0bcd8;
     text-decoration: none;
     transition: color 0.18s, padding-left 0.18s;
     display: inline-block;
     font-weight: 300;
 }

 .rod-col ul li a:hover {
     color: var(--branco);
     padding-left: 4px;
 }

 .rod-contacto ul li {
     display: flex;
     align-items: flex-start;
     gap: 9px;
     font-size: 0.84rem;
     color: #a0bcd8;
     margin-bottom: 11px;
     font-weight: 300;
 }

 .rod-contacto ul li svg {
     flex-shrink: 0;
     margin-top: 2px;
     color: var(--azul);
     opacity: 0.85;
 }

 .rod-contacto ul li a {
     color: #a0bcd8;
     text-decoration: none;
     transition: color 0.18s;
 }

 .rod-contacto ul li a:hover {
     color: var(--branco);
 }

 .rod-base {
     border-top: 1px solid rgba(46, 109, 180, 0.2);
     padding: 14px 40px;
     max-width: 1100px;
     margin: 0 auto;
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 12px;
     flex-wrap: wrap;
 }

 .rod-base span {
     font-size: 0.7rem;
     letter-spacing: 0.04em;
     color: #5a7a9a;
 }

 .rod-juridico {
     display: flex;
 }

 .rod-juridico a {
     font-size: 0.7rem;
     letter-spacing: 0.04em;
     color: #5a7a9a;
     text-decoration: none;
     padding: 0 14px;
     border-left: 1px solid rgba(46, 109, 180, 0.2);
     transition: color 0.18s;
 }

 .rod-juridico a:first-child {
     border-left: none;
 }

 .rod-juridico a:hover {
     color: var(--branco);
 }

 @media (max-width: 1000px) {
     .mag-grid {
         grid-template-columns: 1fr;
     }

     .mag-sep {
         display: none;
     }

     .funcoes-row {
         grid-template-columns: repeat(2, 1fr);
     }

     .grafico-secao {
         grid-template-columns: 1fr;
         gap: 3rem;
     }

     .composicao-topo {
         grid-template-columns: 1fr;
         gap: 2rem;
     }
 }

 @media (max-width: 700px) {
     .hero-stats-inline {
         display: none;
     }

     .funcoes-row {
         grid-template-columns: 1fr;
     }

     .sec-header {
         flex-direction: column;
         align-items: flex-start;
         gap: 0.8rem;
     }

     .sec-header-dir {
         text-align: left;
     }

     .rod-corpo {
         grid-template-columns: 1fr 1fr;
         padding: 40px 24px 24px;
     }

     .p-mini-barra {
         width: 60px;
     }
 }

 @media (max-width: 500px) {
     .rod-corpo {
         grid-template-columns: 1fr;
         gap: 32px;
     }

     .rod-base {
         flex-direction: column;
         text-align: center;
         padding: 14px 24px;
     }
 }