/* ==========================================================================
   CSS VARIABLES & TOKENS (Design System)
   ========================================================================== */
:root {
    --primary: #0A2540;         /* Azul Marinho Premium (Sofisticado e Sóbrio) */
    --primary-light: #1A3E60;
    --primary-dark: #051424;
    
    --secondary: #E35E14;       /* Laranja Queimado Oficial */
    --secondary-light: #F7762D;
    --secondary-dark: #B54508;
    
    --accent: #FFB300;          /* Dourado Quente */
    
    --bg-light: #F8FAFC;        /* Cinza azulado ultra leve */
    --bg-cream: #FCFAF6;        /* Off-white quente e refinado */
    --bg-white: #FFFFFF;
    --bg-dark: #0A192F;         /* Azul escuro profundo */
    
    --text-dark: #0A2540;       
    --text-muted: #627285;      
    --text-light: #F8FAFC;      
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    --border-radius-sm: 6px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
    
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.05), 0 1px 2px rgba(10, 37, 64, 0.03);
    --shadow-md: 0 10px 20px -5px rgba(10, 37, 64, 0.08), 0 3px 6px -3px rgba(10, 37, 64, 0.04);
    --shadow-lg: 0 25px 50px -12px rgba(10, 37, 64, 0.12);
    
    --container-width: 1140px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

section[id] {
    scroll-margin-top: 90px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   REUSABLE UTILITIES & COMPONENTS
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-pill-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--border-radius-full);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background-color: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    transition: var(--transition-fast);
}

.btn-pill-nav:hover {
    background-color: #FFFFFF;
    color: var(--primary);
    border-color: #FFFFFF;
}

.mobile-only-btn {
    display: none;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-light);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--text-light);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-dark);
    border-color: rgba(10, 37, 64, 0.2);
}

.btn-outline:hover {
    background-color: rgba(10, 37, 64, 0.04);
    border-color: var(--text-dark);
    transform: translateY(-1px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.icon {
    width: 18px;
    height: 18px;
}

.icon-right {
    width: 16px;
    height: 16px;
    transition: var(--transition-fast);
}

.btn:hover .icon-right {
    transform: translateX(3px);
}

.section-tag {
    display: inline-block;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 680px;
    margin: 0 auto 48px auto;
    color: var(--text-muted);
    line-height: 1.5;
}

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 37, 64, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-normal);
}

.header-scrolled {
    background-color: rgba(10, 37, 64, 0.92);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.party-logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.candidate-number-badge {
    background-color: #FFFFFF;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: #FFFFFF;
    opacity: 0.9;
}

.nav-link:hover {
    color: var(--accent);
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger menu for mobile */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION (MOCKUP VIBE - GLOWING ORANGE HALO & NOVA URNA UE2022)
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 130px;
    padding-bottom: 90px;
    background: radial-gradient(circle at 50% 25%, #FFB300 0%, #D85205 32%, #A03800 68%, #521800 100%);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 56px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: flex-start;
}

.hero-logo-img {
    max-width: 380px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-serif-subtitle {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFE082;
    line-height: 1.1;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, #FFFFFF 0%, #FFE082 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   NOVA URNA ELETRÔNICA OFICIAL TSE (MODELO UE2022 / UE2020)
   ========================================================================== */
.ue2022-urna-card {
    background: linear-gradient(180deg, #F8FAFC 0%, #E2E8F0 60%, #CBD5E1 100%);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), inset 0 2px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid #94A3B8;
    max-width: 440px; /* Reduzido em ~20% */
    margin: 8px 0;
}

/* Moldura Widescreen Black Glass */
.ue2022-screen-bezel {
    background-color: #090D16;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9), 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* Screen Container & Animation States */
.urna-screen-container {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #1E293B;
    background-color: #F8FAFC;
    min-height: 180px;
}

.urna-screen {
    display: grid;
    grid-template-columns: 1fr 92px;
    grid-template-rows: 1fr auto;
    padding: 10px;
    gap: 6px;
    color: #0F172A;
    height: 100%;
    transition: opacity 0.3s ease;
}

.urna-screen-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.urna-screen-header {
    font-size: 0.58rem;
    font-weight: 700;
    color: #64748B;
    letter-spacing: 0.05em;
}

.urna-cargo {
    font-size: 0.85rem;
    font-weight: 900;
    color: #0F172A;
    margin-bottom: 6px;
}

.urna-number-row {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.urna-digit {
    width: 24px;
    height: 32px;
    border: 2px solid #0F172A;
    background-color: #FFFFFF;
    color: #0F172A;
    font-family: monospace;
    font-size: 1.3rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.urna-digit.active-cursor {
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
    0%, 100% { border-color: #0F172A; }
    50% { border-color: #E35E14; background-color: rgba(227, 94, 20, 0.12); }
}

.urna-candidate-details {
    border-top: 1px solid #E2E8F0;
    padding-top: 6px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.urna-candidate-details.show-details {
    opacity: 1;
    transform: translateY(0);
}

.urna-nome-line {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: #0F172A;
    line-height: 1.15;
}

.urna-subtitulo-line {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: #334155;
}

.urna-screen-right {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.urna-screen-right.show-photo {
    opacity: 1;
    transform: scale(1);
}

.urna-candidate-photo {
    width: 90px;
    height: 112px;
    object-fit: cover;
    object-position: center;
    border: 1px solid #94A3B8;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.urna-footer-instructions {
    grid-column: 1 / -1;
    border-top: 1px solid #E2E8F0;
    padding-top: 6px;
    font-size: 0.68rem;
    color: #475569;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.urna-footer-instructions.show-instructions {
    opacity: 1;
}

.inst-line.green strong {
    color: #15803D;
    font-weight: 800;
}

/* FIM Screen Overlay */
.urna-fim-screen {
    position: absolute;
    inset: 0;
    background-color: #F8FAFC;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 16px;
    text-align: center;
}

.urna-fim-screen.active {
    opacity: 1;
    visibility: visible;
}

.fim-text {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 900;
    color: #0F172A;
    letter-spacing: 0.12em;
    line-height: 1;
    margin-bottom: 8px;
}

.fim-subtext {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: #16A34A;
    margin-bottom: 12px;
}

.fim-number-badge {
    background-color: var(--primary);
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    padding: 4px 18px;
    border-radius: var(--border-radius-full);
}

/* Lower Housing: Embossed Logo & Keypad */
.ue2022-lower-housing {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding-top: 4px;
}

.ue2022-embossed-seal {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 2px solid rgba(71, 85, 105, 0.25);
    padding: 6px 10px;
    border-radius: 6px;
    color: #475569;
    box-shadow: inset 1px 1px 1px rgba(255,255,255,0.9), inset -1px -1px 2px rgba(0,0,0,0.15);
    opacity: 0.8;
}

.seal-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #334155;
}

.seal-icon {
    width: 13px;
    height: 13px;
    color: #334155;
}

.seal-model {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.8rem;
    color: #475569;
    letter-spacing: 0.1em;
}

/* Keypad Area & Pressed States (UE2022 Layout Reduzido 20%) */
.ue2022-keypad-container {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}

.keypad-numeric-grid {
    display: grid;
    grid-template-columns: repeat(3, 27px);
    gap: 5px;
}

.key-btn {
    background-color: #0F172A;
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 27px;
    border-radius: 4px;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.25);
    transition: transform 0.1s ease, filter 0.1s ease, background-color 0.1s ease;
    user-select: none;
    border: 1px solid #1E293B;
}

.key-zero {
    grid-column: 2;
}

.keypad-actions-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 60px;
}

.action-btn {
    width: 100%;
    height: 27px;
    border-radius: 4px;
    font-size: 0.48rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,0.3), 0 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.1s ease, filter 0.1s ease;
    user-select: none;
    border: 1px solid rgba(0,0,0,0.2);
}

.btn-branco {
    background-color: #FFFFFF;
    color: #000000;
}

.btn-corrige {
    background-color: #EA580C;
    color: #FFFFFF;
}

.btn-confirma {
    background-color: #16A34A;
    color: #FFFFFF;
    font-size: 0.55rem;
    height: 59px; /* Ocupa 2 linhas (27px + 5px + 27px) */
}

/* Key Pressed Highlight Class */
.key-btn.key-pressed, .action-btn.key-pressed {
    transform: translateY(2px) scale(0.95) !important;
    filter: brightness(1.4) !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.6) !important;
}

/* Compromisso Subblock */
.compromisso-subblock {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.subblock-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.subblock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.subblock-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.subblock-icon {
    width: 22px;
    height: 22px;
    color: #FFD54F;
    flex-shrink: 0;
}

.subblock-item h4 {
    font-size: 0.85rem;
    color: #FFFFFF;
    margin-bottom: 2px;
}

.subblock-item p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

/* Candidate Portrait Card with 3D Float & Parallax Tilt */
.hero-image-wrapper {
    perspective: 1000px;
    display: flex;
    justify-content: center;
}

.candidate-portrait-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    border: 3px solid rgba(255, 255, 255, 0.25);
    background-color: var(--bg-white);
    max-width: 400px;
    transform-style: preserve-3d;
    transform: rotateY(-8deg) rotateX(4deg) translateZ(10deg);
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    animation: float3d 6s ease-in-out infinite;
}

@keyframes float3d {
    0%, 100% {
        transform: rotateY(-8deg) rotateX(4deg) translateY(0px) translateZ(10deg);
    }
    50% {
        transform: rotateY(-5deg) rotateX(2deg) translateY(-12px) translateZ(20deg);
    }
}

.portrait-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   TIMELINE SECTION (TRAJETÓRIA)
   ========================================================================== */
.timeline-section {
    padding: 90px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid rgba(10, 37, 64, 0.04);
}

.timeline-header {
    text-align: center;
    margin-bottom: 48px;
}

.timeline-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.timeline-step {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 32px;
    border: 1px solid rgba(10, 37, 64, 0.06);
    box-shadow: var(--shadow-sm);
}

.timeline-step.highlight-step {
    background: linear-gradient(135deg, #0A2540 0%, #1E3A5F 100%);
    color: #FFFFFF;
}

.step-year {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 12px;
    line-height: 1;
}

.highlight-step .step-year {
    color: #FFD54F;
}

.timeline-step h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.highlight-step h3 {
    color: #FFFFFF;
}

.timeline-step p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.highlight-step p {
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   STATS DASHBOARD SECTION (HERO VIBE)
   ========================================================================== */
.stats-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #0A2540 0%, #061729 100%);
    color: #FFFFFF;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.stat-num-value {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 900;
    color: #FFB300;
    line-height: 1;
    margin-bottom: 4px;
    white-space: nowrap;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 900;
    color: #FFB300;
}

.stat-label-large {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    color: #FFFFFF;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: #FFFFFF;
}

.stat-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
}

/* ==========================================================================
   BIOGRAPHY SECTION (Quem é João)
   ========================================================================== */
.bio-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.bio-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: center;
}

.bio-content-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bio-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

.bio-text p {
    line-height: 1.6;
}

.bio-cta-row {
    display: flex;
    margin-top: 24px;
}

.bio-image-area {
    position: relative;
}

.bio-photo-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.bio-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

/* ==========================================================================
   PARCERIA MANGA SECTION
   ========================================================================== */
.parceria-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.parceria-section .section-title {
    color: var(--text-light);
}

.parceria-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.parceria-section .real-campaign-list li h3 {
    color: var(--accent);
}

.parceria-section .real-campaign-list li p {
    color: rgba(255, 255, 255, 0.75);
}

.parceria-section .quote-text {
    color: var(--text-light);
}

.parceria-section .quote-author {
    color: var(--accent);
}

.parceria-section .parceria-quote-card {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.section-header {
    margin-bottom: 56px;
}

.parceria-content-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 56px;
}

.parceria-photo-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.parceria-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.parceria-list-wrapper {
    display: flex;
    flex-direction: column;
}

.real-campaign-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.real-campaign-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.list-bullet {
    color: var(--secondary);
    font-size: 1.8rem;
    line-height: 1;
    font-weight: bold;
    flex-shrink: 0;
}

.real-campaign-list li h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 700;
}

.real-campaign-list li p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.parceria-quote-card {
    border-top: 1px solid rgba(10, 37, 64, 0.1);
    padding-top: 32px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-style: italic;
}

.quote-author {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--secondary);
    font-size: 1rem;
    text-transform: uppercase;
}

/* ==========================================================================
   PRINCIPAL BANDEIRA: PACTO FEDERATIVO
   ========================================================================== */
.pacto-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.pacto-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}

.pacto-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.pacto-highlight {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.5;
}

.pacto-text-flow {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--text-dark);
    line-height: 1.6;
}

.pacto-quote-accent {
    border-left: 3px solid var(--secondary);
    padding-left: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary);
    font-style: italic;
    margin-top: 16px;
}

.pacto-visual-area {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.pacto-photo-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pacto-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.pacto-data-card {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10, 37, 64, 0.04);
}

.pacto-data-card h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 800;
}

.pacto-data-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pacto-data-label {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 0.05em;
}

.pacto-data-label.text-orange {
    color: var(--secondary);
}

.pacto-data-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.pacto-data-divider {
    height: 1px;
    background-color: rgba(10, 37, 64, 0.08);
    margin: 20px 0;
}

/* ==========================================================================
   OUTRAS BANDEIRAS SECTION
   ========================================================================== */
.bandeiras-section {
    padding: 100px 0;
    background: radial-gradient(circle at 50% 25%, #FFB300 0%, #D85205 32%, #A03800 68%, #521800 100%);
    border-top: none;
    border-bottom: none;
}

.bandeiras-section .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.bandeiras-section .section-title {
    color: #fff;
}

.bandeiras-section .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.bandeiras-list-layout {
    max-width: 900px;
    margin: 0 auto;
}

.bandeiras-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.bandeira-list-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.bandeira-list-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bandeira-number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: #FFFFFF;
    background-color: #0A2540;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.bandeira-content h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 700;
}

.bandeira-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.55;
}

/* ==========================================================================
   EMENDAS SECTION
   ========================================================================== */
.emendas-section {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.emendas-block {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.emendas-photo-side {
    position: relative;
}

.emendas-photo {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

.emendas-content-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.emendas-text {
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 28px;
    line-height: 1.6;
}

.emendas-destinos-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.destino-row-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.destino-bullet {
    color: var(--secondary);
    font-size: 1.2rem;
    line-height: 1;
    font-weight: bold;
}

.destino-row-item h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 700;
}

.destino-row-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.emendas-cta-box-nested {
    background-color: var(--bg-light);
    border-radius: var(--border-radius-md);
    padding: 24px 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(10, 37, 64, 0.04);
    width: 100%;
}

.emendas-cta-box-nested h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 6px;
    font-weight: 700;
}

.emendas-cta-box-nested p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.emendas-cta-box-nested .btn {
    background-color: #25D366;
    border-color: #25D366;
    color: var(--text-light);
}

.emendas-cta-box-nested .btn:hover {
    background-color: #20BA5A;
    border-color: #20BA5A;
}

/* ==========================================================================
   CALL TO ACTION FINAL
   ========================================================================== */
.final-cta-section {
    padding: 100px 0;
    background-color: var(--bg-cream);
    border-top: 1px solid rgba(10, 37, 64, 0.04);
}

.final-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--primary);
}

.final-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 48px;
}

/* Ballot Display styling */
.ballot-display {
    background-color: var(--primary);
    border-radius: var(--border-radius-md);
    padding: 32px 48px;
    max-width: 480px;
    margin: 0 auto 48px auto;
    color: var(--text-light);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.display-role {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.display-numbers {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.digit {
    width: 48px;
    height: 60px;
    background-color: var(--bg-white);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.display-name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    color: var(--text-light);
}

.display-party {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--accent);
}

.social-links-row {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-circle {
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-full);
    background-color: var(--bg-white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(10, 37, 64, 0.1);
}

.social-circle:hover {
    background-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-circle svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0;
    font-size: 0.85rem;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.party-logo-footer-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.legal-notice {
    line-height: 1.6;
}

.dev-credits {
    text-align: right;
    font-size: 0.8rem;
    opacity: 0.8;
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .hero-serif-subtitle {
        font-size: 2.2rem;
    }

    .ue2022-urna-card {
        margin: 8px auto;
    }

    .subblock-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        text-align: left;
    }

    .timeline-track {
        grid-template-columns: 1fr;
    }

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

    .bio-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .bio-image-area {
        max-width: 500px;
        margin: 0 auto;
    }

    .parceria-content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .parceria-photo-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .pacto-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .emendas-block {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.6rem;
    }

    .hero-serif-subtitle {
        font-size: 1.8rem;
    }

    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background-color: var(--primary);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        box-shadow: var(--shadow-md);
        transition: var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger-menu {
        display: flex;
    }

    .mobile-only-btn {
        display: flex;
        width: 100%;
        margin-top: 20px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .dev-credits {
        text-align: center;
    }
}
