﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --primary-pink: #FF0099;
    --primary-white: #FFFFFF;
    --active-blue: #00AEEF;
    --text-dark: #333333;
    --gold: #D4AF37;
    --pink-light: #FFF0F9;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Header & Navigation */
.main-header {
    background-color: rgba(255, 0, 153, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    color: var(--primary-white);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Navigation & Dropdown */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover {
    color: var(--primary-white);
    opacity: 0.8;
}

.nav-links a.active {
    color: var(--primary-white);
}

/* Dropdown Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--primary-white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    color: var(--text-dark) !important;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    display: block;
    font-weight: 600;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: var(--primary-pink) !important;
    padding-left: 2rem;
}

.nav-links a i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover>a i {
    transform: rotate(180deg);
}

/* Mobile Dropdown Fix */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: none;
        width: 100%;
        display: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        color: var(--primary-white) !important;
        text-align: center;
    }
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 25px;
    height: 3px;
    background-color: var(--primary-white);
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.militante-btn {
    background-color: var(--primary-white);
    color: var(--primary-pink) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    margin-left: 1rem;
}

.militante-btn:hover {
    transform: scale(1.05);
    background-color: var(--pink-light);
}

.militante-btn::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    border: none;
    background: transparent;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-white);
    border-radius: 3px;
    transition: var(--transition);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        /* Header height */
        flex-direction: column;
        background-color: var(--primary-pink);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0 !important;
        visibility: visible;
        opacity: 1;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    /* Animation for burger menu */
    .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 50vh;
    min-height: 600px;
    width: 100%;
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://portalunico.com/wp-content/uploads/2023/08/belem-do-para.webp') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 0, 153, 0.4);
    mix-blend-mode: multiply;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    width: 100%;
    max-width: 1300px;
    gap: 4rem;
}

.hero-text-container {
    flex: 1;
    text-align: left;
}

.deputy-img-container {
    flex: 0 0 500px;
    height: 550px;
    border-radius: 0;
    border: none;
    overflow: hidden;
    position: relative;
    background: transparent;
    box-shadow: none;
    display: flex;
    align-items: flex-end;
}

.deputy-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 95%);
    mask-image: linear-gradient(to bottom, black 75%, transparent 95%);
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
}

.deputy-img-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
    mask-image: linear-gradient(to bottom, transparent, black);
    pointer-events: none;
}

.hero-slogan-top {
    display: inline-block;
    background-color: var(--primary-pink);
    color: var(--primary-white);
    font-size: 2.2rem;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-slogan-main {
    display: block;
    color: var(--primary-white);
    font-size: 4rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-btn {
    display: none;
    /* Removed as per request */
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Beneficiaries Section (Carousel) */
.beneficiaries-section {
    background-color: #000;
    padding: 2rem 0;
    /* Reduced from 4rem */
    text-align: center;
    overflow: hidden;
}

.beneficiaries-section h2 {
    font-size: 1.5rem;
    /* Reduced from 2rem */
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    /* Reduced from 3rem */
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 0.5rem 0;
    /* Reduced from 2rem */
}

.carousel-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-color: #fff;
    /* Changed from #1a1a1a to #fff */
    border-radius: 20px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: var(--transition);
}

.carousel-item:hover {
    background-color: var(--primary-pink);
    border-color: var(--primary-pink);
    transform: translateY(-5px);
}

.carousel-item:hover img {
    filter: brightness(1) invert(0);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-120px * 5 - 2.5rem * 5));
    }
}

/* Pause animation on hover */
.carousel-track:hover {
    animation-play-state: paused;
}

/* Stats Section Redesign */
.stats-section {
    background-color: var(--primary-white);
    padding: 2rem 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-stat-header {
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
    z-index: 5;
    padding: 0 5%;
}

.stat-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 280px;
    z-index: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.stat-side.left {
    left: 8%;
}

.stat-side.right {
    right: 8%;
}

.stat-sub-item h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.stat-sub-item p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.main-stat-backdrop {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-color: var(--primary-white);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible;
    padding: 0;
    margin-top: 0;
}

.main-stat-backdrop .full-deputy-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    z-index: 1;
}

.main-stat-content {
    /* Removed absolute positioning */
    text-align: center;
    color: var(--primary-pink);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.total-value {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--primary-pink);
    text-shadow: none;
}

.total-label {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-pink), #ff33aa);
    color: var(--primary-white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 0 10px 20px rgba(255, 0, 153, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-transform: none;
}

.total-label i {
    font-size: 1.3rem;
    color: var(--primary-white);
}

/* Emendas CTA */
.emendas-cta-container {
    padding: 4rem 5%;
    background-color: var(--primary-white);
    text-align: center;
    border-bottom: 5px solid var(--primary-pink);
}

.emendas-btn {
    display: inline-block;
    background-color: var(--primary-pink);
    color: var(--primary-white);
    padding: 1.2rem 3rem;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 0, 153, 0.3);
    text-decoration: none;
}

.emendas-btn:hover {
    background-color: #e6008a;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 153, 0.4);
}

/* Count-up Animation styles */
.counter {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.counter.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .total-value {
        font-size: 4rem;
    }
}

/* Mobile Stats Grid */
.mobile-stats-grid {
    display: none;
    /* Hidden on desktop */
    width: 100%;
    max-width: 500px;
    /* Prevents stretching too much on larger mobile screens */
    margin: -50px auto 0;
    /* Centered with overlap */
    padding: 0 20px;
    /* Uniform padding */
    position: relative;
    z-index: 10;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.mobile-stat-item {
    background: var(--primary-white);
    padding: 1.5rem 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    text-align: center;
    border-bottom: 4px solid var(--primary-pink);
    transition: var(--transition);
}

.mobile-stat-item i {
    font-size: 1.8rem;
    color: var(--primary-pink);
    margin-bottom: 0.5rem;
    display: block;
}

.mobile-stat-item h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 0.2rem;
}

.mobile-stat-item p {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .mobile-stats-grid {
        display: grid;
    }

    .secondary-stats {
        flex-direction: column;
        gap: 3rem;
    }

    .total-value {
        font-size: 3rem;
    }

    .total-label {
        font-size: 1.2rem;
    }

    .main-stat-backdrop {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        padding-bottom: 4rem;
        padding-top: 2rem;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
        gap: 2rem;
    }

    .hero-text-container {
        text-align: center;
    }

    .hero-slogan-main {
        font-size: 3rem;
    }

    .deputy-img-container {
        flex: 0 0 450px;
        height: 500px;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-slogan-top {
        font-size: 1.5rem;
    }

    .hero-slogan-main {
        font-size: 2.2rem;
    }

    .deputy-img-container {
        flex: 0 0 350px;
        height: 400px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        /* Header height */
        flex-direction: column;
        background-color: var(--primary-pink);
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0 !important;
        visibility: visible;
        opacity: 1;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    /* Animation for burger menu */
    .mobile-menu-btn.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .stat-side {
        display: none;
        /* Hidden on mobile by user request */
    }

    .main-stat-header {
        padding: 0 10%;
        margin-bottom: 1.5rem;
    }

    .total-value {
        font-size: 2.5rem;
        /* Reduced from 5rem */
    }

    .total-label {
        font-size: 0.9rem;
        /* Reduced from 1.2rem */
        padding: 1.0rem 2rem;
        line-height: 1;
        min-width: 100%;
        margin: 0 auto;
        border-radius: 20px;
    }

    /* redundant block removed or merged above */

    .full-deputy-img {
        max-width: 100%;
        max-height: 80vh !important;
        object-fit: contain;
        z-index: 1;
        object-fit: contain;
        object-position: bottom;
        -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 95%);
        mask-image: linear-gradient(to bottom, black 75%, transparent 95%);
        filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.1));
    }

    .stat-sub-item h3 {
        font-size: 2.2rem;
    }

    .stat-icon {
        font-size: 2.5rem;
    }

    .stat-sub-item p {
        font-size: 1rem;
    }

    .stat-block {
        flex-direction: column;
        text-align: center;
    }

    /* Emendas Mobile adjustments */
    .emendas-hero h1 {
        font-size: 2rem;
    }

    .filter-bar {
        flex-direction: column;
    }

    .search-box {
        width: 100% !important;
    }

    .filters {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .emenda-card {
        padding: 1.5rem;
    }

    /* About Section Mobile */
    .about-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .btn-biografia {
        width: 100%;
    }

    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
}

/* Biography Mobile adjustments */
@media (max-width: 768px) {
    .bio-hero-container {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1.5rem 2rem;
        /* Added explicit mobile padding */
        gap: 3rem;
    }

    .bio-hero h1 {
        font-size: 1.7rem;
        line-height: 1.2;
        word-wrap: break-word;
    }

    .bio-hero p {
        margin: 0 auto;
    }

    .bio-hero-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .bio-main-img {
        box-shadow: 15px 15px 0 var(--primary-pink);
    }

    .cta-block {
        padding: 2.5rem 1.5rem;
    }
}

/* About Section Styles */
.about-section {
    padding: 6rem 0;
    background-color: var(--primary-white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.about-text {
    flex: 1;
}

.about-tag {
    display: inline-block;
    color: var(--primary-pink);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.about-text h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.highlight-name {
    color: var(--primary-pink);
}

.about-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.btn-biografia {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    background-color: var(--primary-pink);
    color: var(--primary-white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(255, 0, 153, 0.2);
}

.btn-biografia:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 0, 153, 0.3);
    background-color: #e6008a;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-photo {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 0 var(--primary-pink);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.about-photo:hover {
    transform: translate(5px, 5px);
    box-shadow: 10px 10px 0 var(--primary-pink);
}

.about-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary-pink) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 1;
}

/* Biography Page Styles */
.bio-page {
    background-color: var(--primary-white);
}

.bio-hero {
    background-color: var(--primary-white);
    color: var(--text-dark);
    padding: 10rem 0 0;
    position: relative;
    overflow: hidden;
}

.bio-hero-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding-bottom: 6rem;
}

.bio-hero-text {
    flex: 1.2;
}

.bio-tag {
    display: inline-block;
    color: var(--primary-pink);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.bio-hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.highlight-pink {
    color: var(--primary-pink);
}

.bio-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #555;
    max-width: 600px;
}

.bio-hero-image {
    flex: 0.8;
}

.bio-img-wrapper {
    position: relative;
}

.bio-main-img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 20px 20px 0 var(--primary-pink);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.bio-main-img:hover {
    transform: translate(5px, 5px);
    box-shadow: 10px 10px 0 var(--primary-pink);
}

.bio-img-decoration {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(var(--primary-pink) 2px, transparent 2px);
    background-size: 20px 20px;
    z-index: 1;
}

.hero-wave {
    position: relative;
    bottom: -5px;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.hero-wave .shape-fill {
    fill: #f8f9fa;
}

.bio-content {
    background-color: #f8f9fa;
    padding: 8rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

/* Biography Mobile Improvements */
@media (max-width: 768px) {
    .bio-hero-container {
        flex-direction: column;
        text-align: center;
        padding: 4rem 10px 2rem;
        /* Reduced horizontal padding further */
        gap: 3rem;
    }

    .bio-hero h1 {
        font-size: 1.5rem !important;
        /* Forced reduction */
        line-height: 1.2;
        word-wrap: break-word;
        padding: 0 5%;
    }

    .bio-hero p {
        font-size: 1rem;
        margin: 0 auto;
        padding: 0 5%;
    }

    .bio-hero-image {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .bio-main-img {
        box-shadow: 15px 15px 0 var(--primary-pink);
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Biography Content Styles (Shared) */
.bio-article {
    padding: 0;
}

.bio-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60px;
    height: 5px;
    background-color: var(--primary-pink);
    border-radius: 50px;
}

.bio-article p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
}

.drop-cap::first-letter {
    font-family: 'Poppins', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: var(--primary-pink);
    float: left;
    line-height: 1;
    padding-right: 15px;
    margin-top: 5px;
    text-shadow: 2px 2px 0px rgba(255, 0, 153, 0.1);
}

.section-divider {
    height: 1px;
    background: linear-gradient(to right, var(--primary-pink), transparent);
    margin: 4rem 0;
    opacity: 0.2;
}

/* Desktop Adjustments for Article */
@media (min-width: 769px) {
    .bio-article {
        padding-left: 2rem;
    }

    .bio-section {
        margin-bottom: 4rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .bio-article p {
        font-size: 1.05rem;
    }
}

/* Emendas Page Styles */
.emendas-page {
    background-color: #f8f9fa;
}

.emendas-hero {
    background-color: var(--primary-pink);
    color: var(--primary-white);
    padding: 8rem 5% 4rem;
    text-align: center;
}

.emendas-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.emendas-dashboard {
    padding: 3rem 0;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.search-box input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.8rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
}

.filters {
    display: flex;
    gap: 1rem;
}

.filters select {
    padding: 0.8rem 0.7rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: inherit;
    background-color: white;
    cursor: pointer;
}

.emendas-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.emenda-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-pink);
}

.emenda-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.emenda-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.emenda-category {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.tag-saÃºde {
    background-color: #e3f2fd;
    color: #1e88e5;
}

.tag-educaÃ§Ã£o {
    background-color: #f3e5f5;
    color: #8e24aa;
}

.tag-cultura {
    background-color: #fff3e0;
    color: #fb8c00;
}

.tag-seguranÃ§a {
    background-color: #ffebee;
    color: #e53935;
}

.tag-infraestrutura {
    background-color: #e8f5e9;
    color: #43a047;
}

.emenda-year {
    color: #777;
    font-weight: 600;
}

.emenda-value {
    font-size: 2rem;
    color: var(--primary-pink);
    font-weight: 900;
    margin-bottom: 1rem;
}

.emenda-institution,
.emenda-city {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    font-style: italic;
    color: #777;
}

.stat-number {
    font-size: 3rem;
}

.stat-number.pink {
    font-size: 3.5rem;
}

.stat-info {
    text-align: center;
}

/* Frentes Page Styles */
.frentes-page {
    background-color: #f8f9fa;
}

.frentes-hero {
    background-color: var(--primary-pink);
    color: var(--primary-white);
    padding: 8rem 5% 4rem;
    text-align: center;
}

.frentes-hero h1 {
    font-size: 3rem;
    font-weight: 900;
}

.frentes-content {
    padding: 5rem 0;
}

.frentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.frente-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.frente-card:hover {
    transform: translateY(-10px);
}

.frente-icon {
    font-size: 3rem;
    color: var(--primary-pink);
    margin-bottom: 1.5rem;
}

.frente-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.frente-card p {
    color: #666;
    line-height: 1.6;
}

/* Projetos de Lei Page Styles */
.projetos-page {
    background-color: #f8f9fa;
}

.projetos-hero {
    background-color: var(--text-dark);
    color: var(--primary-white);
    padding: 8rem 5% 4rem;
    text-align: center;
}

.projetos-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.projetos-stats {
    padding: 3rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.projeto-stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-bottom: 4px solid #eee;
}

.projeto-stat-card.destaque {
    border-bottom-color: var(--primary-pink);
}

.projeto-stat-card .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.projeto-stat-card.destaque .stat-number {
    color: var(--primary-pink);
}

.projeto-stat-card .stat-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
}

.projetos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.projeto-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.projeto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.projeto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.projeto-numero {
    font-weight: 800;
    color: #444;
}

.status-tag {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-aprovado {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.status-tramitaÃ§Ã£o {
    background-color: #fff3e0;
    color: #ef6c00;
}

.status-protocolado {
    background-color: #e3f2fd;
    color: #1976d2;
}

.projeto-titulo {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.projeto-descricao {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.projeto-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: #777;
    font-weight: 600;
}

.projeto-meta i {
    color: var(--primary-pink);
    margin-right: 0.3rem;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projeto-stat-card {
        padding: 1.5rem;
    }

    .projeto-stat-card .stat-number {
        font-size: 2.2rem;
    }

    .projetos-container {
        grid-template-columns: 1fr;
    }
}

/* Na Mídia Section Styles */
.media-section {
    padding: 8rem 0;
    background-color: var(--primary-white);
}

.media-section .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.media-section .section-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Media Carousel Styles */
.media-carousel-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
}

.media-carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollMedia 60s linear infinite;
    /* Slower for news */
}

.media-carousel-track:hover {
    animation-play-state: paused;
}

.media-carousel-track .news-card {
    flex: 0 0 450px;
    /* Wider cards for news */
    margin: 0;
}

@keyframes scrollMedia {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-450px * 3 - 2rem * 3));
    }
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 0, 153, 0.1);
}

.news-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}

.news-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background-color: var(--primary-pink);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.news-content {
    padding: 2rem;
}

.news-date {
    display: block;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 800;
}

.news-content p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.read-more {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.read-more:hover {
    gap: 1rem;
}

@media (max-width: 768px) {
    .media-carousel-track {
        animation-duration: 30s;
        /* Slightly faster on mobile if needed */
    }

    .media-carousel-track .news-card {
        flex: 0 0 300px;
        /* Smaller cards on mobile */
    }

    @keyframes scrollMedia {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-300px * 3 - 2rem * 3));
        }
    }

    .news-content h3 {
        font-size: 1.25rem;
    }
}

/* Footer Styles */
.main-footer {
    background-color: #111;
    color: var(--primary-white);
    padding: 5rem 0 0;
    margin-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 4rem;
    padding-bottom: 5rem;
}

.main-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--primary-white);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-pink);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.about-col p {
    color: #aaa;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1.2rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-pink);
    transform: translateY(-5px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: var(--primary-pink);
    padding-left: 0.5rem;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #aaa;
}

.contact-info li i {
    color: var(--primary-pink);
}

.footer-bottom {
    background-color: #000;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #666;
}

.footer-bottom span {
    color: #444;
    margin-left: 1rem;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}