/* ============================================================
   assets/style.css — CMS Político Premium
   Design system avançado com micro-animações e identidade forte
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--cor-fundo, #f5f7fa);
    color: #1e293b;
    overflow-x: hidden;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-32px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(32px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 20px rgba(255,255,255,0.1); }
    50%       { text-shadow: 0 0 40px rgba(255,255,255,0.4), 0 0 80px rgba(255,255,255,0.2); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes shimmer {
    0%   { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}
@keyframes bounceIn {
    0%   { transform: scale(0.3); opacity: 0; }
    50%  { transform: scale(1.05); }
    70%  { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes readProgress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== CONFIGURAÇÕES GLOBAIS & RITMO VERTICAL ===== */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
@media (max-width: 768px) {
    section { padding: 60px 0; }
}

.btn {
    border-radius: 100px !important; /* ULTRA ROUNDED */
    padding: 12px 28px !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ===== NAVBAR / HEADER (v2 - PREMIUM) ===== */
.cms-header {
    z-index: 1050;
    transition: all 0.4s ease;
}
.cms-header.scrolled {
    background: rgba(var(--cor-primaria-rgb, 26,58,108), 0.85) !important;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    padding: 0.4rem 0;
}
.cms-header .navbar {
    padding: 1rem 0;
    transition: all 0.4s ease;
}
.cms-logo {
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.cms-logo:hover { transform: scale(1.05); }
.cms-numero {
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

/* ── Pills de navegação (v2) ── */
.cms-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.82) !important;
    text-decoration: none !important;
    background: transparent;
    border: 1.5px solid transparent;
    transition:
        background  0.25s ease,
        border-color 0.25s ease,
        color        0.25s ease,
        transform    0.2s cubic-bezier(0.34,1.56,0.64,1);
    white-space: nowrap;
    cursor: pointer;
    letter-spacing: 0.02em;
    opacity: 0; /* Para animação de entrada */
    animation: slideInBottom 0.6s ease forwards;
}
@keyframes slideInBottom {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Staggered animation para os links */
.navbar-nav li:nth-child(1) .cms-nav-pill { animation-delay: 0.1s; }
.navbar-nav li:nth-child(2) .cms-nav-pill { animation-delay: 0.15s; }
.navbar-nav li:nth-child(3) .cms-nav-pill { animation-delay: 0.2s; }
.navbar-nav li:nth-child(4) .cms-nav-pill { animation-delay: 0.25s; }
.navbar-nav li:nth-child(5) .cms-nav-pill { animation-delay: 0.3s; }

.cms-nav-pill:hover,
.cms-nav-pill:focus-visible {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: var(--cor-secundaria) !important;
    transform: translateY(-1px);
}
.cms-nav-pill.active-section {
    background: rgba(255,255,255,0.18);
    border-color: var(--cor-secundaria);
    color: var(--cor-secundaria) !important;
    font-weight: 600;
}

/* ── Caret dropdown ── */
.cms-caret {
    transition: transform 0.3s ease;
}
.cms-nav-dropdown-toggle[aria-expanded="true"] .cms-caret {
    transform: rotate(180deg);
}

/* ── Dropdown Custom (v2) ── */
.cms-dropdown-menu {
    border-radius: 16px !important;
    padding: 8px !important;
    background: rgba(255,255,255,0.98) !important;
    min-width: 200px;
    animation: slideDown 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18) !important;
    backdrop-filter: blur(15px);
    transform-origin: top center;
}
.cms-dropdown-item {
    border-radius: 10px !important;
    padding: 9px 14px !important;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155 !important;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    display: flex;
    align-items: center;
}
.cms-dropdown-item:hover {
    background: var(--cor-fundo, #f5f7fa) !important;
    color: var(--cor-primaria) !important;
    transform: translateX(3px);
}

/* ── Botão CTA WhatsApp (v2) ── */
.cms-nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff !important;
    border: none;
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
    transition:
        transform  0.25s cubic-bezier(0.34,1.56,0.64,1),
        box-shadow 0.25s ease,
        background 0.25s ease;
    white-space: nowrap;
    animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 0.4s;
    opacity: 0;
}
.cms-nav-cta:hover {
    background: #1ebe5d;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(37,211,102,0.45);
}
.cms-nav-cta i { font-size: 1rem; }

/* ── Hamburguer customizado ── */
.cms-toggler {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    padding: 0;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid rgba(255,255,255,0.2) !important;
    border-radius: 10px !important;
    cursor: pointer;
    transition: background 0.2s ease;
}
.cms-toggler:hover { background: rgba(255,255,255,0.15); }
.cms-toggler-bar {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}
.cms-toggler[aria-expanded="true"] .cms-toggler-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.cms-toggler[aria-expanded="true"] .cms-toggler-bar:nth-child(2) {
    opacity: 0; width: 0;
}
.cms-toggler[aria-expanded="true"] .cms-toggler-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile menu ── */
@media (max-width: 991.98px) {
    #navMenu {
        background: var(--cor-primaria);
        padding: 1rem;
        border-top: 1px solid rgba(255,255,255,0.08);
        margin-top: 0.5rem;
        border-radius: 0 0 16px 16px;
    }
    .cms-nav-pill {
        display: block;
        border-radius: 12px;
        padding: 10px 16px;
        margin-bottom: 4px;
        border-color: rgba(255,255,255,0.08);
    }
    .cms-nav-cta {
        display: flex;
        justify-content: center;
        margin-top: 8px;
        padding: 12px 20px;
    }
    .cms-dropdown-menu { margin-left: 0 !important; }
    .cms-nav-pill.active-section,
    .cms-nav-pill:hover { transform: none; }
}

/* ===== HERO (v2 - Arrumações) ===== */
.cms-hero {
    overflow: hidden;
}
.cms-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}
/* Partículas decorativas no hero */
.cms-hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.cms-hero-particles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    animation: float 6s ease-in-out infinite;
}
.cms-hero-particles span:nth-child(1)  { width:80px;  height:80px;  top:15%; left:8%;   animation-delay: 0s;   }
.cms-hero-particles span:nth-child(2)  { width:40px;  height:40px;  top:70%; left:15%;  animation-delay: 1s;   }
.cms-hero-particles span:nth-child(3)  { width:120px; height:120px; top:30%; right:10%; animation-delay: 2s;   }
.cms-hero-particles span:nth-child(4)  { width:25px;  height:25px;  top:80%; right:20%; animation-delay: 0.5s; }
.cms-hero-particles span:nth-child(5)  { width:60px;  height:60px;  top:5%;  right:35%; animation-delay: 3s;   }
.cms-hero-particles span:nth-child(6)  { width:15px;  height:15px;  top:60%; left:45%;  animation-delay: 1.5s; }

.cms-hero > .container { position: relative; z-index: 1; }

.cms-numero-hero {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1;
    animation: pulse-glow 3s ease-in-out infinite;
    display: inline-block;
}
.cms-foto-candidato {
    border-radius: 16px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 4px rgba(255,255,255,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: float 5s ease-in-out infinite;
}
.cms-foto-candidato:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 40px 100px rgba(0,0,0,0.55), 0 0 0 4px rgba(255,255,255,0.2);
}
.cms-foto-placeholder {
    animation: float 5s ease-in-out infinite;
}
.cms-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: bounceIn 0.8s ease;
}

/* Decoração — linha diagonal no hero */
.cms-hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--cor-fundo, #f5f7fa);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 1;
}

/* ===== SECTION TITLES ===== */
.cms-section-title {
    position: relative;
    padding-left: 22px;
    font-size: 2rem;
}
.cms-title-accent {
    position: absolute;
    left: 0; top: 4px;
    width: 6px;
    height: calc(100% - 8px);
    border-radius: 6px;
    display: block;
}
.cms-section-subtitle {
    font-size: 1rem;
    color: #64748b;
    font-weight: 400;
    margin-top: 0.25rem;
}

/* ===== SEÇÃO DE DESTAQUES ===== */
.cms-destaque-section {
    background: #fff;
    position: relative;
}
.cms-destaque-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-secundaria));
}

/* ===== CARDS DE NOTÍCIA ===== */
.cms-card-noticia {
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    border-radius: 16px !important;
    overflow: hidden;
    background: #fff;
}
.cms-card-noticia:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.14) !important;
}
.cms-card-noticia .card-img-wrapper {
    overflow: hidden;
    position: relative;
}
.cms-card-noticia .card-img-wrapper img {
    transition: transform 0.5s ease;
    width: 100%;
    object-fit: cover;
}
.cms-card-noticia:hover .card-img-wrapper img {
    transform: scale(1.06);
}
.cms-card-noticia .card-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 50%);
    pointer-events: none;
}
.cms-card-noticia .card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}
.cms-card-noticia .badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 5px 12px;
}
.cms-card-noticia .card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0.5rem;
}
.cms-card-noticia .read-more {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.cms-card-noticia:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}

/* ===== SEÇÃO SOBRE ===== */
.cms-sobre-section {
    background: var(--cor-fundo, #f5f7fa);
    position: relative;
    overflow: hidden;
}
.cms-sobre-section::before {
    content: '';
    position: absolute;
    top: -80px; left: 0; right: 0;
    height: 80px;
    background: #fff;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.cms-bio-content {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #475569;
}
.cms-bio-content p { margin-bottom: 1.25rem; }
.cms-bio-content strong { color: #1e293b; font-weight: 700; }
.cms-stat-box {
    background: #fff;
    border-radius: 16px;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    border-top: 4px solid var(--cor-secundaria);
    transition: transform 0.3s ease;
}
.cms-stat-box:hover { transform: translateY(-4px); }
.cms-stat-number {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--cor-primaria);
    line-height: 1;
}
.cms-stat-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== PROPOSTAS ===== */
.cms-propostas-section {
    position: relative;
    overflow: hidden;
}
.cms-propostas-section::before {
    content: '';
    position: absolute;
    top: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--cor-fundo, #f5f7fa);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
    z-index: 0;
}
.cms-propostas-section > .container { position: relative; z-index: 1; }

.cms-proposta-card {
    border-radius: 20px !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    backdrop-filter: blur(8px);
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, background 0.3s ease !important;
    position: relative;
    overflow: hidden;
}
.cms-proposta-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--cor-secundaria);
    border-radius: 4px 0 0 4px;
    transition: width 0.3s ease;
}
.cms-proposta-card:hover::before { width: 6px; }
.cms-proposta-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25) !important;
    background: rgba(255,255,255,0.13) !important;
}
.cms-proposta-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}
.cms-proposta-card:hover .cms-proposta-icon {
    transform: rotate(10deg) scale(1.1);
}
.cms-proposta-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
.cms-proposta-card ul {
    padding-left: 1.2rem;
    margin: 0;
}
.cms-proposta-card ul li {
    margin-bottom: 0.35rem;
    font-size: 0.9rem;
}

/* ===== ÚLTIMAS NOTÍCIAS ===== */
.cms-noticias-section {
    background: #fff;
    position: relative;
}
.cms-noticias-section::before {
    content: '';
    position: absolute;
    top: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--cor-primaria);
    clip-path: polygon(0 0, 0 100%, 100% 0);
}
.cms-noticias-section > .container { position: relative; z-index: 1; }

/* ===== CONTATO ===== */
.cms-contato-section {
    background: var(--cor-fundo, #f5f7fa);
    position: relative;
    overflow: hidden;
}
.cms-contato-card {
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.06) !important;
    border-radius: 20px !important;
    background: #fff;
    position: relative;
    overflow: hidden;
}
.cms-contato-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: var(--cms-contato-color, var(--cor-primaria));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}
.cms-contato-card:hover::after { transform: scaleX(1); }
.cms-contato-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1) !important;
}
.cms-contato-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.cms-contato-card:hover .cms-contato-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* ===== SOCIAL BUTTONS ===== */
.cms-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff !important;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
    font-size: 1.2rem;
}
.cms-social-btn:hover {
    background: var(--cor-secundaria);
    color: #111 !important;
    transform: scale(1.15) translateY(-2px);
}

/* ===== FOOTER ===== */
.cms-footer {
    position: relative;
    overflow: hidden;
}
.cms-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cor-secundaria), transparent);
}
.cms-footer-text {
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    letter-spacing: 0.2px;
}
.cms-footer-material {
    display: inline-block;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* ===== BOTÃO VOLTAR AO TOPO ===== */
#btn-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--cor-secundaria);
    color: #111;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}
#btn-top.visible {
    opacity: 1;
    transform: translateY(0);
}
#btn-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

/* ===== BARRA DE PROGRESSO DE LEITURA (single.php) ===== */
#read-progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--cor-primaria), var(--cor-secundaria));
    z-index: 2000;
    transition: width 0.1s linear;
    border-radius: 0 3px 3px 0;
}

/* ===== SINGLE.PHP — ARTIGO ===== */
.cms-single-hero {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 2.5rem;
}
.cms-single-hero img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
}
.cms-single-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
    pointer-events: none;
}
.cms-noticia-corpo {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #334155;
}
.cms-noticia-corpo p { margin-bottom: 1.5rem; }
.cms-noticia-corpo h2, .cms-noticia-corpo h3 {
    color: var(--cor-primaria);
    font-weight: 700;
    margin: 2rem 0 1rem;
}
.cms-noticia-corpo img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.cms-noticia-corpo blockquote {
    border-left: 4px solid var(--cor-secundaria);
    padding: 1rem 1.5rem;
    background: var(--cor-fundo, #f5f7fa);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
    margin: 1.5rem 0;
}
.cms-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}
.cms-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.cms-share-whatsapp { background: #25D366; color: #fff !important; }
.cms-share-facebook { background: #1877F2; color: #fff !important; }
.cms-share-twitter  { background: #000; color: #fff !important; }

/* ===== ADMIN — SIDEBAR PREMIUM ===== */
.cms-admin-sidebar {
    background: #0f172a;
    min-height: calc(100vh - 56px);
    border-right: 1px solid rgba(255,255,255,0.06);
}
.cms-admin-sidebar .nav-link {
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    font-size: 0.88rem;
    border-radius: 10px;
    padding: 10px 14px;
    margin-bottom: 2px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cms-admin-sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}
.cms-admin-sidebar .nav-link.active {
    color: #fff;
    background: var(--cor-primaria, #1a3a6c);
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.cms-admin-sidebar .nav-link i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== BADGES ===== */
.badge { font-weight: 600; letter-spacing: 0.2px; }

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 991.98px) {
    .cms-hero { min-height: 80vh; }
    .cms-hero::after { height: 50px; }
    .cms-numero-hero { font-size: 2.5rem; }
    .cms-section-title { font-size: 1.6rem; }
    .cms-propostas-section::before,
    .cms-noticias-section::before,
    .cms-sobre-section::before { display: none; }
}
@media (max-width: 767.98px) {
    .cms-hero { min-height: 70vh; padding-top: 2rem; }
    .cms-numero-hero { font-size: 2rem; letter-spacing: -2px; }
    .cms-section-title { font-size: 1.4rem; }
    .cms-foto-candidato { max-height: 300px !important; }
    #btn-top { bottom: 1.25rem; right: 1.25rem; width: 42px; height: 42px; }
}

/* ===== UTILITÁRIOS ===== */
.fw-black { font-weight: 900 !important; }
.lh-1 { line-height: 1 !important; }
.text-gradient {
    background: linear-gradient(135deg, var(--cor-primaria), var(--cor-secundaria));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
