/* ==========================================
   CAMPAIGN SITE: PROF. ANGELA GARCIA (7707)
   Candidata a Deputada Federal
   Color Palette: #F37021 (Orange) | #6900af (Purple) | #FFFFFF
   Fonts: Barlow, Outfit, Caveat
   ========================================== */

:root {
    --purple: #6900af;
    --purple-dark: #4d0082;
    --purple-light: #8e24d4;
    --purple-bg: #f8f4fc;
    --purple-bg-soft: #f4ecfa;
    --orange: #F37021;
    --orange-hover: #d95d12;
    --orange-light: #fff3eb;
    --text-main: #2b2b2b;
    --text-muted: #666666;
    --text-light: #888888;
    --bg-white: #ffffff;
    --font-main: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', 'Barlow', sans-serif;
    --font-cursive: 'Caveat', cursive;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 14px rgba(105, 0, 175, 0.07);
    --shadow-md: 0 8px 24px rgba(105, 0, 175, 0.12);
    --shadow-lg: 0 16px 40px rgba(105, 0, 175, 0.18);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    --footer-deep: #2a004d;
}

/* ==========================================
   GLOBAL BASKETBALL CURSOR & RESETS
   ========================================== */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    cursor: url('assets/basketball-cursor.svg') 16 16, auto; 
}

/* Screen reader only utility for SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

html { 
    scroll-behavior: smooth; 
    font-size: 16px; 
    cursor: url('assets/basketball-cursor.svg') 16 16, auto; 
}

body { 
    font-family: var(--font-main); 
    color: var(--text-main); 
    background-color: var(--bg-white); 
    line-height: 1.6; 
    overflow-x: hidden; 
    cursor: url('assets/basketball-cursor.svg') 16 16, auto; 
}

a, button, [role="button"], input, select, textarea, .btn, .proposta-card, .htl-card, .news-card, .reaction-btn, .footer-social-btn, .htl-nav, .modal-close {
    cursor: url('assets/basketball-cursor.svg') 16 16, pointer !important;
}

/* Mobile Touch Device Cursor Fallback */
@media (hover: none) and (pointer: coarse) {
    *, html, body {
        cursor: auto !important;
    }
    a, button, [role="button"], input, select, textarea, .btn, .proposta-card, .htl-card, .news-card, .reaction-btn, .footer-social-btn, .htl-nav, .modal-close {
        cursor: pointer !important;
    }
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }

/* TYPOGRAPHY */
.section-tag { 
    display: inline-block; 
    font-family: var(--font-main); 
    font-size: 0.85rem; 
    font-weight: 800; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    color: var(--orange); 
    margin-bottom: 12px; 
}
.section-tag.center { margin: 0 auto 12px auto; }
.section-title { 
    font-family: var(--font-heading); 
    font-size: 2.5rem; 
    font-weight: 800; 
    line-height: 1.2; 
    color: var(--purple); 
}
.section-desc { font-size: 1.1rem; color: var(--text-muted); line-height: 1.6; }
.highlight-orange { color: var(--orange); }
.highlight-purple { color: var(--purple); }
.grid-header { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: flex-end; margin-bottom: 50px; }
.text-center { text-align: center; }

/* BUTTONS */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px; 
    font-family: var(--font-main); 
    font-size: 1rem; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    padding: 14px 28px; 
    border-radius: var(--radius-full); 
    border: 2px solid transparent; 
    transition: var(--transition); 
    white-space: nowrap; 
}
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-xl { padding: 18px 42px; font-size: 1.15rem; }
.btn-orange { 
    background-color: var(--orange); 
    color: var(--bg-white); 
    border-color: var(--orange); 
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.35); 
}
.btn-orange:hover { 
    background-color: var(--orange-hover); 
    border-color: var(--orange-hover); 
    transform: translateY(-3px); 
    box-shadow: 0 10px 25px rgba(243, 112, 33, 0.45); 
}
.btn-outline-purple { background: transparent; color: var(--purple); border-color: var(--purple); }
.btn-outline-purple:hover { background-color: var(--purple-bg); transform: translateY(-3px); }
.btn-primary { background-color: var(--orange); color: var(--bg-white); }
.btn-orange-white { 
    background-color: var(--orange); 
    color: var(--bg-white); 
    border-color: var(--orange); 
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); 
}
.btn-orange-white:hover { 
    background-color: var(--bg-white); 
    color: var(--orange); 
    border-color: var(--bg-white); 
    transform: translateY(-3px); 
}
.btn-primary:hover { 
    background-color: var(--orange-hover); 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(243, 112, 33, 0.35); 
}
.btn-block { width: 100%; }

/* TOP ANNOUNCEMENT BAR */
.top-bar { 
    background: linear-gradient(90deg, var(--purple-dark) 0%, var(--purple) 50%, var(--orange) 100%); 
    color: var(--bg-white); 
    padding: 8px 0; 
    font-size: 0.85rem; 
    font-weight: 700; 
}
.top-bar-content { display: flex; align-items: center; justify-content: space-between; }
.badge-party { 
    background: rgba(255, 255, 255, 0.2); 
    padding: 3px 12px; 
    border-radius: var(--radius-full); 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
    display: flex; 
    align-items: center; 
}
.top-bar-logo-solidariedade { height: 38px; width: auto; object-fit: contain; display: block; }
.campaign-slogan { font-weight: 600; font-size: 0.9rem; }
.vote-number-tag { 
    display: flex; 
    align-items: center; 
    gap: 6px; 
    background: var(--bg-white); 
    color: var(--purple); 
    padding: 3px 12px; 
    border-radius: var(--radius-sm); 
    font-size: 0.82rem; 
}
.vote-number-tag strong { color: var(--orange); font-size: 1rem; }

/* NAVBAR HEADER */
.navbar-header { 
    position: sticky; 
    top: 0; 
    left: 0; 
    width: 100%; 
    background: rgba(255, 255, 255, 0.97); 
    backdrop-filter: blur(12px); 
    z-index: 1000; 
    border-bottom: 1px solid rgba(105, 0, 175, 0.08); 
    transition: var(--transition); 
}
.navbar-header.scrolled { box-shadow: var(--shadow-md); }
.navbar-container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo-img { height: 56px; width: auto; object-fit: contain; display: block; }
.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 0.95rem; font-weight: 700; color: var(--text-main); position: relative; padding: 6px 0; }
.nav-link:hover, .nav-link.active { color: var(--purple); }
.nav-link.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background-color: var(--orange); border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.badge-1707 { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    background: linear-gradient(135deg, var(--purple), var(--purple-light)); 
    color: var(--bg-white); 
    padding: 6px 14px; 
    border-radius: var(--radius-sm); 
    line-height: 1.2; 
}
.badge-title { font-size: 0.6rem; font-weight: 800; letter-spacing: 1px; opacity: 0.85; }
.badge-num { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 900; color: var(--orange); }
.mobile-toggle { 
    display: none; 
    background: none; 
    border: none; 
    font-size: 1.5rem; 
    color: var(--purple); 
    padding: 8px; 
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section { position: relative; overflow: hidden; background: #ffffff; }
.hero-bg-shapes { display: none; }
.banner-hero-fullwidth { width: 100%; display: block; line-height: 0; }
.banner-hero-img, .banner-hero-video, .banner-hero-mobile { width: 100%; height: auto; display: block; object-fit: cover; }
.banner-hero-mobile { display: none; }
.hero-container { padding-top: 32px; padding-bottom: 40px; }
.hero-cta-bar { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 24px; 
    background: var(--purple); 
    border-radius: var(--radius-lg); 
    padding: 24px 32px; 
    box-shadow: var(--shadow-lg);
}
.hero-cta-left { display: flex; align-items: center; gap: 20px; }
.hero-number-pill { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    background: var(--orange); 
    color: var(--bg-white); 
    padding: 8px 18px; 
    border-radius: var(--radius-md); 
    min-width: 80px; 
    box-shadow: 0 6px 20px rgba(243, 112, 33, 0.4); 
    flex-shrink: 0;
}
.pill-label { font-size: 0.6rem; font-weight: 800; letter-spacing: 1px; opacity: 0.9; }
.pill-val { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; line-height: 1; }
.hero-text-snippet { color: var(--bg-white); }
.hero-text-snippet h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; letter-spacing: 0.5px; margin-bottom: 4px; }
.hero-text-snippet p { font-size: 0.9rem; opacity: 0.85; }
.hero-cta-right { flex-shrink: 0; }

/* ==========================================
   PROPOSTAS SECTION
   ========================================== */
.propostas-section { background: var(--purple-bg); padding: 90px 0; }
.propostas-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 32px; 
}

.proposta-card { 
    background: var(--bg-white); 
    border-radius: var(--radius-lg); 
    padding: 38px 32px; 
    box-shadow: 0 10px 30px rgba(105, 0, 175, 0.08); 
    border: 1px solid rgba(105, 0, 175, 0.1); 
    transition: var(--transition); 
    position: relative; 
    overflow: hidden; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}
.proposta-card::before { 
    content: ''; 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 6px; 
    height: 100%; 
    background: linear-gradient(180deg, var(--purple), var(--orange)); 
    border-radius: 4px 0 0 4px; 
}
.proposta-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 45px rgba(105, 0, 175, 0.18); 
    border-color: rgba(105, 0, 175, 0.25); 
}
.card-icon-circle { 
    width: 64px; 
    height: 64px; 
    border-radius: 50%; 
    background: var(--purple-bg); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.7rem; 
    color: var(--purple); 
    margin-bottom: 22px; 
    transition: var(--transition); 
    box-shadow: 0 4px 12px rgba(105, 0, 175, 0.08);
}
.proposta-card:hover .card-icon-circle { 
    background: var(--purple); 
    color: var(--bg-white); 
    transform: scale(1.08) rotate(3deg);
}
.card-title { 
    font-family: var(--font-heading); 
    font-size: 1.35rem; 
    font-weight: 800; 
    color: var(--purple); 
    margin-bottom: 14px; 
    letter-spacing: 0.4px; 
    line-height: 1.3;
}
.card-text { 
    font-size: 1.12rem; 
    color: #4a4a4a; 
    line-height: 1.65; 
    margin-bottom: 24px; 
    flex-grow: 1;
}

.card-footer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid rgba(105, 0, 175, 0.1);
    flex-wrap: wrap;
}

.card-link { 
    font-size: 1.02rem; 
    font-weight: 800; 
    color: var(--orange); 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    transition: var(--transition); 
}
.card-link:hover { 
    gap: 10px; 
    color: var(--purple);
}

/* REACTION BUTTONS (LIKE / DISLIKE) */
.card-reactions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(105, 0, 175, 0.12);
    background: var(--purple-bg);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.reaction-btn i {
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.reaction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.reaction-btn:active {
    transform: scale(0.92);
}

.reaction-btn.like-btn:hover,
.reaction-btn.like-btn.active {
    background: rgba(34, 197, 94, 0.12);
    border-color: #22c55e;
    color: #15803d;
}
.reaction-btn.like-btn:hover i,
.reaction-btn.like-btn.active i {
    color: #16a34a;
    transform: scale(1.2) rotate(-8deg);
}

.reaction-btn.dislike-btn:hover,
.reaction-btn.dislike-btn.active {
    background: rgba(239, 68, 68, 0.12);
    border-color: #ef4444;
    color: #b91c1c;
}
.reaction-btn.dislike-btn:hover i,
.reaction-btn.dislike-btn.active i {
    color: #dc2626;
    transform: scale(1.2) rotate(8deg);
}

.reaction-count {
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

/* ==========================================
   MINHA HISTÓRIA (HORIZONTAL TIMELINE)
   ========================================== */
.historia-section { background: var(--bg-white); overflow: hidden; }
.historia-section .section-tag { 
    display: inline-block; 
    background: linear-gradient(90deg, var(--purple-dark), var(--purple)); 
    color: var(--bg-white); 
    padding: 8px 24px; 
    border-radius: var(--radius-full); 
    font-size: 0.8rem; 
    letter-spacing: 3px; 
    margin-bottom: 16px; 
}
.htl-wrapper { 
    position: relative; 
    margin-top: 36px; 
    user-select: none; 
    overflow: hidden; 
}
.htl-track { 
    display: flex; 
    gap: 20px; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    padding: 16px 20px 48px; 
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    cursor: grab; 
    scroll-snap-type: x mandatory; 
}
.htl-track::-webkit-scrollbar { display: none; }
.htl-track.dragging { cursor: grabbing; scroll-behavior: auto; }

.htl-card { 
    flex: 0 0 calc((100% - 40px) / 3); 
    min-width: 260px; 
    border-radius: var(--radius-md); 
    overflow: hidden; 
    box-shadow: var(--shadow-md); 
    border: 1px solid rgba(105, 0, 175, 0.08); 
    background: var(--bg-white); 
    scroll-snap-align: start; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}
.htl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.htl-photo-wrap { width: 100%; overflow: hidden; background: var(--purple-bg); display: block; }
.htl-photo { width: 100%; height: auto; display: block; object-fit: contain; transition: transform 0.4s ease; }
.htl-card:hover .htl-photo { transform: scale(1.03); }

.htl-nav { 
    position: absolute; 
    top: 45%; 
    transform: translateY(-50%); 
    width: 44px; 
    height: 44px; 
    border-radius: 50%; 
    background: var(--purple); 
    color: var(--bg-white); 
    border: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: var(--shadow-md); 
    transition: var(--transition); 
    z-index: 10; 
}
.htl-nav:hover { background: var(--orange); transform: translateY(-50%) scale(1.1); }
.htl-prev { left: 16px; }
.htl-next { right: 16px; }
.htl-fade { position: absolute; top: 0; height: calc(100% - 48px); width: 60px; pointer-events: none; z-index: 5; }
.htl-fade-left { left: 0; background: linear-gradient(to right, rgba(255,255,255,0.9), transparent); }
.htl-fade-right { right: 0; background: linear-gradient(to left, rgba(255,255,255,0.9), transparent); }
.htl-dots { display: flex; justify-content: center; gap: 8px; padding: 4px 0 0; }
.htl-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(105, 0, 175, 0.2); border: none; transition: var(--transition); padding: 0; }
.htl-dot.active, .htl-dot:hover { background: var(--orange); transform: scale(1.3); }

/* ==========================================
   RESULTADOS QUE FAZEM A DIFERENÇA (REALIZAÇÕES)
   ========================================== */
.realizacoes-section { 
    background: var(--purple-bg-soft); 
    padding: 90px 0;
}

/* STATS COUNTER STRIP (4 COLUNAS PERFEITAS) */
.stats-grid { 
    display: grid !important; 
    grid-template-columns: repeat(4, 1fr) !important; 
    gap: 24px; 
    margin-bottom: 48px; 
}

.stat-card { 
    background: var(--bg-white); 
    border-radius: var(--radius-md); 
    padding: 28px 20px; 
    text-align: center; 
    box-shadow: var(--shadow-sm); 
    border: 1px solid rgba(105, 0, 175, 0.08); 
    transition: var(--transition); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.stat-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--purple), var(--orange));
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover { 
    transform: translateY(-5px); 
    box-shadow: var(--shadow-md); 
}

.stat-card:hover::after { opacity: 1; }

.stat-icon { 
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--purple-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem; 
    color: var(--purple); 
    margin-bottom: 2px; 
    transition: var(--transition);
}

.stat-card:hover .stat-icon {
    background: var(--orange);
    color: #ffffff;
    transform: scale(1.08);
}

.stat-number { 
    font-family: var(--font-heading); 
    font-size: 2.5rem; 
    font-weight: 900; 
    color: var(--orange); 
    line-height: 1; 
}

.stat-label { 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    line-height: 1.35;
}

/* 2-COLUMN SPLIT: LISTA DE CONQUISTAS + DEPOIMENTO */
.realizacoes-content-grid { 
    display: grid !important; 
    grid-template-columns: 1.15fr 0.85fr !important; 
    gap: 36px; 
    align-items: stretch; 
}

.realizacoes-list { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    justify-content: space-between;
}

.realiz-item { 
    display: flex; 
    align-items: center; 
    gap: 18px; 
    background: var(--bg-white); 
    padding: 20px 24px; 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-sm); 
    border: 1px solid rgba(105, 0, 175, 0.06);
    transition: var(--transition); 
    flex: 1;
}

.realiz-item:hover { 
    transform: translateX(6px); 
    box-shadow: var(--shadow-md); 
    border-color: rgba(105, 0, 175, 0.2);
}

.realiz-icon { 
    width: 50px; 
    height: 50px; 
    border-radius: 14px; 
    background: var(--purple-bg); 
    color: var(--purple); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.25rem; 
    flex-shrink: 0; 
    transition: var(--transition);
}

.realiz-item:hover .realiz-icon {
    background: var(--purple);
    color: #ffffff;
}

.realiz-text strong { 
    display: block; 
    font-family: var(--font-heading);
    font-weight: 800; 
    color: var(--purple); 
    margin-bottom: 3px; 
    font-size: 1.05rem; 
}

.realiz-text span { 
    font-size: 0.92rem; 
    color: var(--text-muted); 
    line-height: 1.5;
    display: block;
}

.realizacoes-featured-card { 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    box-shadow: var(--shadow-lg); 
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
}

.featured-img-overlay { 
    position: relative; 
    height: 280px; 
    overflow: hidden; 
    background: #000;
}

.featured-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    object-position: center 15%;
    transition: transform 0.6s ease; 
}

.realizacoes-featured-card:hover .featured-img { 
    transform: scale(1.04); 
}

.featured-gradient { 
    position: absolute; 
    inset: 0; 
    background: linear-gradient(0deg, rgba(73, 0, 130, 0.9) 0%, rgba(73, 0, 130, 0.2) 60%, transparent 100%); 
}

.featured-card-content { 
    color: var(--bg-white); 
    padding: 28px 30px; 
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-tag { 
    display: inline-block;
    font-size: 0.75rem; 
    font-weight: 800; 
    letter-spacing: 2px; 
    color: var(--orange); 
    margin-bottom: 12px; 
    text-transform: uppercase;
}

.featured-quote-cursive { 
    font-family: var(--font-cursive); 
    font-size: 1.95rem; 
    line-height: 1.35; 
    margin-bottom: 18px; 
}

.featured-quote-cursive em { 
    color: var(--orange); 
    font-style: normal;
    font-weight: 700;
}

.featured-desc { 
    font-size: 0.9rem; 
    opacity: 0.85; 
    line-height: 1.5; 
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
}

/* ==========================================
   NOTÍCIAS SECTION
   ========================================== */
.noticias-section { background: var(--bg-white); padding: 90px 0; }
.noticias-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { 
    background: var(--bg-white); 
    border-radius: var(--radius-md); 
    padding: 28px 24px; 
    border: 1px solid rgba(105, 0, 175, 0.08); 
    box-shadow: var(--shadow-sm); 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
    transition: var(--transition); 
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(105, 0, 175, 0.18); }
.news-badge { 
    display: inline-block; 
    background: var(--orange-light); 
    color: var(--orange); 
    font-size: 0.7rem; 
    font-weight: 800; 
    letter-spacing: 1px; 
    padding: 3px 10px; 
    border-radius: var(--radius-full); 
    width: fit-content; 
}
.news-date { font-size: 0.8rem; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.news-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: var(--purple); line-height: 1.3; }
.news-excerpt { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.news-link { 
    font-size: 0.9rem; 
    font-weight: 700; 
    color: var(--orange); 
    display: inline-flex; 
    align-items: center; 
    gap: 6px; 
    transition: var(--transition); 
    margin-top: auto; 
}
.news-link:hover { gap: 10px; }

/* ==========================================
   CTA BANNER SECTION
   ========================================== */
.cta-banner-section { 
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 60%, var(--purple-light) 100%); 
    padding: 70px 0; 
    position: relative; 
    overflow: hidden; 
}
.cta-banner-container { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    gap: 40px; 
}
.cta-banner-content { color: var(--bg-white); }
.cta-title { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 900; line-height: 1.15; margin-bottom: 14px; }
.cta-desc { font-size: 1.05rem; opacity: 0.85; max-width: 500px; }
.cta-banner-action { flex-shrink: 0; }

/* ==========================================
   FOOTER (FUNDO BRANCO, TEXTOS EM ROXO)
   ========================================== */
.footer { 
    background: #ffffff !important; 
    color: var(--purple) !important; 
    border-top: 2px solid var(--purple-bg); 
    padding: 70px 0 0 0; 
}
.footer-container { display: flex; justify-content: center; gap: 80px; margin-bottom: 50px; text-align: center; }
.footer-logo-wrap { display: flex; align-items: center; justify-content: center; }
.footer-logo-img { height: 64px; width: auto; object-fit: contain; display: block; }
.footer-num-badge { 
    display: inline-block; 
    background: var(--orange); 
    color: #ffffff; 
    font-family: var(--font-heading); 
    font-weight: 900; 
    font-size: 1.2rem; 
    padding: 2px 14px; 
    border-radius: var(--radius-sm); 
    margin: 14px 0; 
}
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); }
.footer-heading { color: var(--purple); font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; margin-bottom: 18px; }
.footer-links li, .footer-contact li { margin-bottom: 12px; font-size: 0.95rem; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--orange); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact i { color: var(--orange); }
.footer-social-icons { display: flex; gap: 12px; justify-content: center; }
.footer-social-btn { 
    width: 42px; 
    height: 42px; 
    border-radius: 50%; 
    background: var(--purple-bg); 
    color: var(--purple); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.1rem;
    transition: var(--transition); 
}
.footer-social-btn:hover { background: var(--orange); color: #ffffff; transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid var(--purple-bg); padding: 22px 0; font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom-content { display: flex; justify-content: center; align-items: center; text-align: center; flex-direction: column; gap: 8px; }
.cnpj-text { color: var(--text-muted) !important; font-size: 0.82rem; }

/* ==========================================
   MODALS
   ========================================== */
.modal-overlay { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(0, 0, 0, 0.65); 
    backdrop-filter: blur(5px); 
    z-index: 2000; 
    display: none; 
    align-items: center; 
    justify-content: center; 
    padding: 20px; 
}
.modal-overlay.active { display: flex; }
.modal-card { 
    background: var(--bg-white); 
    border-radius: var(--radius-lg); 
    padding: 36px 32px; 
    max-width: 560px; 
    width: 100%; 
    max-height: 90vh; 
    overflow-y: auto; 
    position: relative; 
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3); 
    animation: modalIn 0.3s ease; 
}
@keyframes modalIn { 
    from { opacity: 0; transform: scale(0.92) translateY(20px); } 
    to { opacity: 1; transform: scale(1) translateY(0); } 
}
.modal-close { 
    position: absolute; 
    top: 18px; 
    right: 20px; 
    background: var(--purple-bg); 
    border: none; 
    width: 34px; 
    height: 34px; 
    border-radius: 50%; 
    font-size: 1.2rem; 
    color: var(--purple); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    transition: var(--transition); 
}
.modal-close:hover { background: var(--purple); color: var(--bg-white); }
.proposal-modal-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.proposal-modal-icon { 
    width: 54px; 
    height: 54px; 
    border-radius: 50%; 
    background: var(--purple); 
    color: var(--bg-white); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.4rem; 
}
.proposal-modal-tag { font-size: 0.75rem; font-weight: 800; color: var(--orange); letter-spacing: 1px; }
.proposal-modal-title { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 900; color: var(--purple); }
.proposal-modal-body { font-size: 0.98rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 28px; }
.proposal-modal-body ul { margin-top: 12px; padding-left: 20px; list-style-type: disc; }
.proposal-modal-body li { margin-bottom: 8px; }
.modal-footer-actions { display: flex; justify-content: flex-end; gap: 12px; }

/* BACK TO TOP */
.back-to-top { 
    position: fixed; 
    bottom: 30px; 
    right: 30px; 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    background: var(--purple); 
    color: var(--bg-white); 
    border: none; 
    font-size: 1.1rem; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: var(--shadow-md); 
    opacity: 0; 
    pointer-events: none; 
    transition: var(--transition); 
    z-index: 500; 
}
.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { background: var(--orange); transform: translateY(-3px); }

/* ==========================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATION
   ========================================== */

/* TABLET & INTERMEDIATE (MAX 1024px) */
@media (max-width: 1024px) {
    .navbar-container { height: 72px; }
    .badge-1707 { display: none; }
    .propostas-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 18px; }
    .realizacoes-content-grid { grid-template-columns: 1fr !important; gap: 32px; }
    .realizacoes-featured-card { height: auto; }
    .noticias-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
    .grid-header { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
}

/* MOBILE NAV BREAKPOINT (MAX 900px) */
@media (max-width: 900px) {
    .nav-menu { 
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: #ffffff; 
        padding: 24px; 
        box-shadow: var(--shadow-lg); 
        border-top: 2px solid var(--purple-bg); 
        flex-direction: column; 
        gap: 16px; 
        z-index: 999; 
    }
    .nav-menu.active { display: flex; }
    .mobile-toggle { display: flex; }
    .htl-card { flex: 0 0 calc((100% - 20px) / 2); }
}

/* SMALL TABLETS & LARGE PHONES (MAX 768px) */
@media (max-width: 768px) {
    .section { padding: 64px 0; }
    .section-title { font-size: 2rem; }
    .section-desc { font-size: 1rem; }
    .navbar-container { height: 68px; }
    .navbar-logo-img { height: 48px; }
    
    /* Hero */
    .hero-container { padding-top: 20px; padding-bottom: 28px; }
    .hero-cta-bar { 
        flex-direction: column; 
        align-items: stretch; 
        padding: 20px; 
        gap: 16px; 
    }
    .hero-cta-left { 
        flex-direction: row; 
        align-items: center; 
        gap: 14px; 
    }
    .hero-cta-right .btn { 
        width: 100%; 
        justify-content: center; 
    }

    /* Propostas */
    .propostas-grid { grid-template-columns: 1fr; gap: 20px; }
    .proposta-card { padding: 30px 24px; min-height: auto; }
    .card-title { font-size: 1.25rem; }
    .card-text { font-size: 1.05rem; }

    /* Minha História */
    .htl-track { padding: 12px 16px 44px; }
    .htl-card { flex: 0 0 80vw; max-width: 320px; }

    /* Realizações */
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px; margin-bottom: 36px; }
    .stat-card { padding: 22px 16px; }
    .stat-number { font-size: 2.2rem; }
    .stat-label { font-size: 0.78rem; }
    .realiz-item { padding: 18px; gap: 14px; }
    .featured-img-overlay { height: 240px; }
    .featured-quote-cursive { font-size: 1.7rem; }

    /* Notícias */
    .noticias-grid { grid-template-columns: 1fr; gap: 18px; }

    /* CTA Banner */
    .cta-banner-section { padding: 50px 0; }
    .cta-banner-container { flex-direction: column; text-align: center; gap: 24px; }
    .cta-title { font-size: 2rem; }
    .cta-desc { margin: 0 auto; }
    .cta-banner-action .btn { width: 100%; justify-content: center; }

    /* Footer */
    .footer { padding: 50px 0 0 0; }
    .footer-container { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-logo-wrap { justify-content: center; }
    .footer-contact li { justify-content: center; }
    .footer-social-icons { justify-content: center; }
    .footer-bottom-content { flex-direction: column; gap: 8px; text-align: center; }

    .modal-card { padding: 28px 20px; }
    .modal-title { font-size: 1.4rem; }
}

/* SMARTPHONES (MAX 580px) */
@media (max-width: 580px) {
    html { font-size: 15px; }
    .section { padding: 52px 0; }
    .container { padding: 0 18px; }
    
    .top-bar-content { 
        flex-direction: column; 
        gap: 6px; 
        text-align: center; 
        padding: 4px 0; 
    }
    .campaign-slogan { font-size: 0.78rem; }
    
    .section-title { font-size: 1.7rem; }
    .section-desc { font-size: 0.95rem; }

    /* Propostas */
    .proposta-card { padding: 26px 20px; }
    .card-title { font-size: 1.2rem; }
    .card-text { font-size: 1rem; }
    .card-footer-box { gap: 12px; }

    /* Timeline */
    .htl-card { flex: 0 0 86vw; max-width: 300px; }
    .htl-prev { left: 8px; }
    .htl-next { right: 8px; }

    /* Realizações */
    .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; margin-bottom: 28px; }
    .stat-card { padding: 18px 12px; }
    .stat-icon { width: 40px; height: 40px; font-size: 1.15rem; }
    .stat-number { font-size: 1.9rem; }
    .stat-label { font-size: 0.72rem; }
    .realiz-item { padding: 16px 14px; gap: 12px; }
    .realiz-icon { width: 42px; height: 42px; font-size: 1.1rem; border-radius: 10px; }
    .realiz-text strong { font-size: 0.95rem; }
    .realiz-text span { font-size: 0.85rem; }
    .featured-img-overlay { height: 210px; }
    .featured-card-content { padding: 22px 20px; }
    .featured-quote-cursive { font-size: 1.55rem; }

    .cta-title { font-size: 1.65rem; }
    .btn-xl { padding: 14px 26px; font-size: 1rem; }
    .back-to-top { width: 42px; height: 42px; font-size: 1rem; bottom: 20px; right: 20px; }
}

/* SMALL PHONES (MAX 400px) */
@media (max-width: 400px) {
    .section-title { font-size: 1.5rem; }
    .hero-number-pill { min-width: 65px; padding: 6px 12px; }
    .pill-val { font-size: 1.5rem; }
    .stat-number { font-size: 1.7rem; }
}

/* ------------------------------------------
   SEGURANÇA CHART SECTION
   ------------------------------------------ */
.seguranca-section {
    background-color: var(--white);
}

.dashboard-app {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-top: 30px;
    min-height: 600px;
    text-align: left;
}

.dashboard-sidebar {
    background: var(--purple-bg-soft);
    border-right: 1px solid #eaeaea;
    padding: 24px 16px;
}

.dashboard-sidebar nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dashboard-sidebar nav li + li {
    margin-top: 4px;
}

.navbtn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.navbtn:hover {
    background: rgba(105, 0, 175, 0.05);
    color: var(--purple);
}

.navbtn.active {
    background: var(--purple-light);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(142, 36, 212, 0.2);
}

.navbtn .label { display: flex; align-items: center; gap: 8px; }

.navbtn .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #cccccc;
    flex-shrink: 0;
}
.navbtn.active .dot { background: #ffffff; }

.navbtn .trend {
    font-size: 0.75rem;
    font-weight: 700;
}
.navbtn .trend.up { color: #d32f2f; }
.navbtn.active .trend.up { color: #ffbaba; }
.navbtn .trend.down { color: #388e3c; }
.navbtn.active .trend.down { color: #b3e5fc; }
.navbtn .trend.neutral { color: var(--text-light); }
.navbtn.active .trend.neutral { color: #ffffff; opacity: 0.7; }

.sidebar-foot {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    font-size: 0.75rem;
    color: var(--text-light);
    line-height: 1.5;
}

.dashboard-main {
    padding: 30px 40px 40px 10px;
    min-width: 0;
}

.cat-header { margin-bottom: 24px; }
.cat-header .eyebrow {
    font-family: var(--font-main);
    font-size: 0.75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}
.cat-header h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 10px;
    color: var(--purple-dark);
}
.cat-header p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 20px 0 30px;
}
.stat-card {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-bottom: 8px;
    min-height: 34px;
}
.stat-card .stat-value {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--purple-dark);
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.stat-card .stat-delta {
    font-size: 0.8rem;
    font-weight: 700;
}
.stat-delta.up { color: #d32f2f; }
.stat-delta.down { color: #388e3c; }
.stat-delta.neutral { color: var(--text-light); }

.panel {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    min-width: 0;
}
.panel-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-main);
}
.panel-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 0 20px;
}
.chart-wrap { position: relative; height: 350px; width: 100%; max-width: 100%; }
.chart-wrap.short { height: 280px; }

.breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eaeaea;
    font-size: 0.85rem;
}
.mini-list li:last-child { border-bottom: none; }
.mini-list .k { color: var(--text-muted); }
.mini-list .v {
    color: var(--text-main);
    font-weight: 700;
    white-space: nowrap;
}

.note {
    font-size: 0.85rem;
    color: var(--text-muted);
    border-left: 3px solid var(--orange);
    padding: 6px 0 6px 14px;
    margin-top: 20px;
    background: var(--orange-light);
    border-radius: 0 8px 8px 0;
}

.footer-src {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid #eaeaea;
    font-size: 0.8rem;
    color: var(--text-light);
}

@media (max-width: 880px) {
    .dashboard-app { grid-template-columns: 1fr; }
    .dashboard-sidebar { border-right: none; border-bottom: 1px solid #eaeaea; }
    .dashboard-main { padding: 24px 20px; min-width: 0; }
    .cat-header h3 { font-size: 1.6rem; }
}

@media (max-width: 768px) {
    .seguranca-section { padding: 40px 0 60px; }
    .dashboard-app { 
        margin-top: 20px;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }
    .dashboard-sidebar { padding: 16px 12px 10px; min-width: 0; }
    .dashboard-sidebar nav ul {
        display: flex;
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .dashboard-sidebar nav ul::-webkit-scrollbar {
        height: 6px;
    }
    .dashboard-sidebar nav ul::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.02);
        border-radius: 4px;
    }
    .dashboard-sidebar nav ul::-webkit-scrollbar-thumb {
        background: rgba(105, 0, 175, 0.2);
        border-radius: 4px;
    }
    .dashboard-sidebar nav li + li { margin-top: 0; }
    .navbtn {
        white-space: nowrap;
        padding: 8px 16px;
        width: auto;
    }
    .sidebar-foot { display: none; } /* Hide the footnote on mobile to save space */
    
    .dashboard-main { padding: 20px 15px; min-width: 0; }
    
    .cat-header h3 { font-size: 1.4rem; }
    .cat-header .eyebrow { font-size: 0.7rem; }
    .cat-header p { font-size: 0.9rem; }
    
    .stat-row { 
        grid-template-columns: 1fr 1fr; 
        gap: 12px; 
        margin: 16px 0 24px;
    }
    .stat-card { padding: 12px; }
    .stat-card .stat-value { font-size: 1.5rem; }
    .stat-card .stat-label { font-size: 0.75rem; min-height: 28px; }
    
    .panel { padding: 12px; margin-bottom: 16px; min-width: 0; }
    .panel-title { font-size: 1.05rem; }
    
    .chart-wrap { height: 260px; min-width: 0; }
    .chart-wrap.short { height: 220px; }
    
    .breakdown { grid-template-columns: 1fr; gap: 16px; }
    .mini-list .v { white-space: normal; text-align: right; max-width: 50%; }
}

@media (max-width: 400px) {
    .stat-row { grid-template-columns: 1fr; }
}

/* User Requested Mobile Reductions */
@media (max-width: 768px) {
    /* Reduce Button Sizes */
    .btn { padding: 8px 16px; font-size: 0.8rem; }
    .btn-lg { padding: 10px 18px; font-size: 0.85rem; }
    .btn-xl { padding: 12px 20px; font-size: 0.9rem; }
    
    /* Hide Top Bar entirely */
    .top-bar { display: none; }
    
    /* Reduce Solidariedade Logo */
    .top-bar-logo-solidariedade { height: 18px; }
    
    /* Reduce Hero Rectangle (hero-cta-bar) and inner texts */
    .hero-cta-bar {
        padding: 12px 16px;
        gap: 10px;
    }
    .hero-number-pill {
        padding: 6px 10px;
        min-width: 50px;
    }
    .pill-label { font-size: 0.5rem; letter-spacing: 0; }
    .pill-val { font-size: 1.25rem; }
    
    .hero-text-snippet h3 {
        font-size: 0.85rem;
        margin-bottom: 2px;
        line-height: 1.2;
    }
    .hero-text-snippet p {
        font-size: 0.75rem;
        margin: 0;
    }
    
    /* Toggle Banner */
    .banner-hero-video { display: none !important; }
    .banner-hero-mobile { display: block !important; }
}
